function DrawHeader() {

	var showPortfolios=false;

	document.write("<center>");
	document.write("<a href=index.html><img src=mastheadLogo.jpg alt='A Fresh Perspective: Photography by Andrea & Zak Metz'></a><br /><br />");

	if(document.URL.indexOf("ViewYourShoot")>=0) {
		document.write("<a href=ViewYourShoot.html><img src=mastheadViewYourShootRed.jpg alt='View Your Shoot'></a>");
	} else {
		document.write("<a href=ViewYourShoot.html><img src=mastheadViewYourShoot.jpg alt='View Your Shoot'></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("PriceList")>=0) {
		document.write("<a href=PriceList.html><img src=mastheadPriceListRed.jpg alt='Price List'></a>");
	} else {
		document.write("<a href=PriceList.html><img src=mastheadPriceList.jpg alt='Price List'></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("Portfolios")>=0 ||
		document.URL.indexOf("ChildrensPortraits")>=0 ||
		document.URL.indexOf("HighSchoolSeniors")>=0 ||
		document.URL.indexOf("WeddingAlbums")>=0 ||
		document.URL.indexOf("WeddingPhotography")>=0 ||
		document.URL.indexOf("WeddingSlideshows")>=0 ||
		document.URL.indexOf("FamilyPortraits")>=0 ||
		document.URL.indexOf("LiveMusicPhotography")>=0 ||
		document.URL.indexOf("ModelPhotography")>=0	||
		document.URL.indexOf("SportsPhotography")>=0
		) {
		document.write("<a href=Portfolios.html><img src=mastheadPortfoliosRed.jpg alt='Portfolios'></a>");
		showPortfolios=true;
	} else {
		document.write("<a href=Portfolios.html><img src=mastheadPortfolios.jpg alt='Portfolios'></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("ContactInformation")>=0) {
		document.write("<a href=ContactInformation.html><img src=mastheadContactUsRed.jpg alt='Contact'></a>");
	} else {
		document.write("<a href=ContactInformation.html><img src=mastheadContactUs.jpg alt='Contact'></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("News")>=0) {
		document.write("<a href=http://www.facebook.com/pages/A-Fresh-Perspective-Photography-Andrea-Zak-Metz-Southeastern-Minnesota/262660696845?ref=ts target=_blank><img src=mastheadNewsRed.jpg alt='News'></a>");
	} else {
		document.write("<a href=http://www.facebook.com/pages/A-Fresh-Perspective-Photography-Andrea-Zak-Metz-Southeastern-Minnesota/262660696845?ref=ts target=_blank><img src=mastheadNews.jpg alt='News'></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("photog-cancelled")>=0 ||
		document.URL.indexOf("photog-success")>=0 ||
		document.URL.indexOf("ProSelectTemplatesForGNPFrames")>=0
	) {
		document.write("<a href=ProSelectTemplatesForGNPFrames.html><img src=mastheadForPhotogsRed.jpg alt='For Photogs'></a>");
	} else {
		document.write("<a href=ProSelectTemplatesForGNPFrames.html><img src=mastheadForPhotogs.jpg alt='For Photogs'></a>");
	}

if(false) {

	document.write("<br />");	

	document.write("<img src=mastheadPortfolioDivider.jpg><br />");

	if(document.URL.indexOf("ChildrensPortraits")>=0) {
		document.write("<a href=ChildrensPortraits.html><img src=mastheadKidsRed.jpg></a>");
	} else {
		document.write("<a href=ChildrensPortraits.html><img src=mastheadKids.jpg></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("HighSchoolSeniors")>=0) {
		document.write("<a href=HighSchoolSeniors.html><img src=mastheadSeniorsRed.jpg></a>");
	} else {
		document.write("<a href=HighSchoolSeniors.html><img src=mastheadSeniors.jpg></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("WeddingAlbums")>=0 ||
		document.URL.indexOf("WeddingPhotography")>=0 ||
		document.URL.indexOf("WeddingSlideshows")>=0
	) {
		document.write("<a href=WeddingPhotography.html><img src=mastheadWeddingsRed.jpg></a>");
		showWeddings=true;
	} else {
		document.write("<a href=WeddingPhotography.html><img src=mastheadWeddings.jpg></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("FamilyPortraits")>=0) {
		document.write("<a href=FamilyPortraits.html><img src=mastheadFamiliesRed.jpg></a>");
	} else {
		document.write("<a href=FamilyPortraits.html><img src=mastheadFamilies.jpg></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("LiveMusicPhotography")>=0) {
		document.write("<a href=LiveMusicPhotography.html><img src=mastheadLiveMusicRed.jpg></a>");
	} else {
		document.write("<a href=LiveMusicPhotography.html><img src=mastheadLiveMusic.jpg></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("ModelPhotography")>=0) {
		document.write("<a href=ModelPhotography.html><img src=mastheadModelsRed.jpg></a>");
	} else {
		document.write("<a href=ModelPhotography.html><img src=mastheadModels.jpg></a>");
	}
	
	document.write("<img src=mastheadBar.jpg>");

	if(document.URL.indexOf("SportsPhotography")>=0) {
		document.write("<a href=SportsPhotography.html><img src=mastheadSportsRed.jpg></a>");
	} else {
		document.write("<a href=SportsPhotography.html><img src=mastheadSports.jpg></a>");
	}

}	
	
	document.write("<br />");	
	document.write("<br />");	

	document.write("</center>");	
}

function DrawFooter() {

	document.write("<br>");
	document.write("<center>");
	document.write("<object type='application/x-shockwave-flash' data='https://clients4.google.com/voice/embed/webCallButton' width='230' height='85'><param name='movie' value='https://clients4.google.com/voice/embed/webCallButton' /><param name='wmode' value='transparent' /><param name='FlashVars' value='id=23f3741bfb4d9616c8866b69ee58eb4add012c82&style=0' /></object><br /><br />");

	document.write("<a href='ContactInformation.html'><img src='address.jpg' alt='A Fresh Perspective Photography, LLC, Andrea & Zak Metz, Partners, 100 Anglewood Drive, Kenyon, MN 55946-1414, (507)210-3242'></a>");
	document.write("<br><br>");
	document.write("<table><tr>");
	document.write("<td><a href='http://www.flickr.com/photos/distortiondotus' target=_blank><img src='flickr.jpg' alt='Flickr, www.flickr.com/photos/distortiondotus'></a></td>");
	document.write("<td><a href='http://www.modelmayhem.com/afp' target=_blank><img src='modelMayhem.jpg' alt='Model Mayhem #872451, www.modelmayhem.com/afp'></a></td>");
	document.write("<td><a href='http://www.ppa.com' target=_blank><img src='ppa.gif' alt='Professional Photographers of America Member 2009, www.ppa.com'></a></td>");
	document.write("<td><a href='http://www.facebook.com/pages/A-Fresh-Perspective-Photography-Andrea-Zak-Metz-Southeastern-Minnesota/262660696845?ref=ts' target=_blank><img src='facebook.jpg' alt='Facebook, www.facebook.com/group.php?gid=132360005001'></a></td>");
	document.write("<td><a href='http://www.myspace.com/zakmetz' target=_blank><img src='myspace.jpg' alt='Myspace, www.myspace.com/zakmetz'></a></td>");
	document.write("</tr></table>");
	document.write("<br>");
	document.write("<img src='copyright.jpg' alt='Entire Site Copyright &copy; A Fresh Perspective Photography, LLC. All rights reserved.'>");
	document.write("</center>");
}

function DrawSlideshow(Number) {
	document.write("<center><object width='760' height='400'>");
	document.write("<param name='flashvars' value='&offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fdistortiondotus%2Fsets%2F"+Number+"%2Fshow%2F&page_show_back_url=%2Fphotos%2Fdistortiondotus%2Fsets%2F"+Number+"%2F&set_id="+Number+"&jump_to='></param>");
	document.write("<param name='movie' value='http://www.flickr.com/apps/slideshow/show.swf?v=63961'></param>");
	document.write("<param name='allowFullScreen' value='true'></param>");
	document.write("<embed type='application/x-shockwave-flash' src='http://www.flickr.com/apps/slideshow/show.swf?v=63961'	allowFullScreen='true' flashvars='&offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fdistortiondotus%2Fsets%2F"+Number+"%2Fshow%2F&page_show_back_url=%2Fphotos%2Fdistortiondotus%2Fsets%2F"+Number+"%2F&set_id="+Number+"&jump_to=' width='760' height='400'></embed></object></center>");
}

function RemoveBlanks(InputString)
{
	var ReturnString="";
	var l=InputString.length;

	for(index=0;index<l;index++) {
		if(InputString.charAt(index)!=' ') {
			ReturnString+=InputString.charAt(index);
		}
	}
	
	return(ReturnString);
}

function LiveMusicItem(BandName,TourName,Date,Location,ShowSlideshowNbr,ShowMedium,ShowFS)
{
	if(BandName!="") {
		document.write("<p class='bandName'>"+BandName+"</p>");
	}

	if(TourName!="") {
		document.write("<p class='bandDetails'>"+TourName+"</p>");
	}

	document.write("<p class='bandDetails'>"+Date.substring(0,4)+"/"+Date.substring(4,6)+"/"+Date.substring(6,8)+" @ "+Location+"<br />");

	if(ShowSlideshowNbr!="") {
		document.write("<a class=gray href=http://www.flickr.com/photos/distortiondotus/sets/"+ShowSlideshowNbr+"/show target=_blank> Slideshow </a>");
	}

	if(ShowSlideshowNbr!="" && (ShowMedium!="" || ShowFS!="")) {
		document.write(" | ");
	}

	if(ShowMedium!="") {
		document.write("<a class=gray href=http://www.afpphotography.com/"+RemoveBlanks(BandName)+"_"+Date+"_1500_90.zip> Medium JPEGs </a>");
	}

	if(ShowFS!="" && (ShowSlideshowNbr!="" || ShowMedium!="")) {
		document.write(" | ");
	}

	if(ShowFS!="") {
		document.write("<a class=gray href=http://www.afpphotography.com/"+RemoveBlanks(BandName)+"_"+Date+"_FS_90.zip> Full Size JPEGs </a>");
	}
	
	document.write("</p><br />");
}

function PriceListHeading(Heading,Subheading)
{
	if(Heading!="") {
		document.write("<p class='priceListHeading'>"+Heading+"</p>");
	}
	
	if(Subheading!="") {
		document.write("<p class='priceListSubheading'>"+Subheading+"</p>");
	}
}

function PriceListItem(Item,Price,Subitem)
{
	document.write("<table class='dot-leader'><tr><td class='left'><span>"+Item+"</span></td><td class='right'><span>"+Price+"</span></td></tr></table>");

	if(Subitem!="") {
		document.write("<p class='priceListSubitem'>"+Subitem+"</p>");
	}
}

function PriceListPriceHeader(PriceHeader) {
	document.write("<p class='priceListPriceHeader'>"+PriceHeader+"</p>");
}

function DrawPriceListPageHeader() {
	PriceListHeading("","A Fresh Perspective Photography Price List 2009 Rev. 3");
}

function DrawPriceListPageSitting() {
	PriceListItem("Sitting fee","99","");
	PriceListItem("Baby steps sitting fee","25","Ask for details about this incredible deal");
	PriceListItem("Travel","49","Per hour, beyond one hour from studio");
	PriceListItem("In-studio preview","included","");
}

function DrawPriceListPageWedding() {	
	PriceListHeading("","We welcome substitutions. You name it. We'll make it happen.");
	PriceListHeading("","<a href=WeddingPackageComparison.gif class=white target=_blank>Click here to view the wedding package comparison chart</a>");
	
	PriceListItem("Harmony","3,499","Full day coverage by two photographers ~ proof book ~ seventy-five image coffee table book ~ small gallery canvas wrap or framed wall print ~ four of gift print set A");
	PriceListItem("Serenity","4,999","Full day coverage by two photographers ~ proof book ~ digital negatives ~ fifteen spread storybook album ~ small gallery canvas wrap or framed wall print ~ four of gift print set A ~ fifty custom folded cards");
	PriceListItem("Fate","5,999","Full day coverage by two photographers ~ proof book ~ digital negatives ~ twenty spread storybook album ~ medium gallery canvas wrap or framed wall print ~ custom one hundred image slideshow ~ six of gift print set A ~ one hundred custom folded cards");
	
	PriceListItem("Bliss","6,999","Full day coverage by two photographers ~ proof book ~ digital negatives ~ twenty spread storybook album ~ two mini-albums ~ one large gallery canvas wrap or framed wall print ~ two small gallery canvas wraps or framed wall prints ~ three copies of custom one hundred image slideshow ~ eight of gift print set A ~ two hundred custom folded cards");
	PriceListItem("Obsession","7,999","Full day coverage by two photographers ~ proof book ~ digital negatives ~ twenty-five spread storybook album ~ four mini-albums ~ one large gallery canvas wrap or framed wall print ~ two medium gallery canvas wraps or framed wall prints ~ three copies of custom one hundred image slideshow ~ eight of gift print set A ~ three hundred custom folded cards");
	PriceListItem("Eternity","9,999","Full day coverage by two photographers ~ proof book ~ digital negatives ~ thirty-five spread storybook album ~ four mini-albums ~ one extra large gallery canvas wrap or framed wall print ~ two medium gallery canvas wraps or framed wall prints ~ seven copies of custom two hundred image slideshow ~ ten of gift print set A ~ four hundred custom folded cards");
	
	document.write("<br />");
	
	PriceListHeading("Storybook Albums","No expense is spared in these simultaneously classic and modern books ~ The finest album money can buy, the ultimate in elegance and quality ~ an heirloom that will be cherished forever<br /><br />Every two-page spread is an artist-designed masterpiece that showcases the beauty of your special day in a way never before possible ~ please visit our studio to experience our sample albums with all your senses!<br /><br />Features premium leather in any of fourteen colors with one piece construction ~ embedded cover 'cameo' image ~ cover and spine embossing<br /><br ><img src=StorybookAlbumLeatherSwatches.jpg alt='Leather Swatches'>");
	PriceListHeading("","Luxury options: Select embossed crocodile, suede, aeon, synthetic opal, or distressed leather for a premium of just one hundred ninety-nine dollars<br />");
	PriceListHeading("","Minimum fifteen spreads ~ maximum forty spreads");
	PriceListItem("Storybook album with fifteen spreads","2,999","12x12, 10x15 vertical, or 11x14 horizontal");
	PriceListItem("Additional spreads","199","");
	
	PriceListHeading("Mini Albums","Hard photographic cover, portable version of your Storybook album ~ printed on satin or linen paper ~ the perfect gift for the wedding party, parents, grandparents, and close friends");
	PriceListHeading("","Available with Storybook Album purchase");
	PriceListItem("Mini album","299","8x8, 8x12 vertical, 8x12 horizontal");
}

function DrawPriceListPageSenior() {	
	document.write("<center><img src=LogoSeniorSessions.jpg alt='Seniors'></center><br />");

	PriceListHeading("","Senior sessions run about three hours and include a variety of in-studio and outdoor shots at locations that matter to you. We want you in your natural environment!");
	PriceListItem("Senior Session","299","");

	document.write("<br /><center><img src=LogoSeniorPackages.jpg alt='Seniors Packages'></center><br />");

	PriceListHeading("","You'll pick your package <i>after</i> you've seen your images so you'll get exactly what you want and nothing that you don't! Want to substitute? Just tell us what you need and we'll make it happen.<br /><br />Each 'set' of wallets can be a different image.");
	PriceListHeading("","<a href=SeniorPackageComparison.gif class=white target=_blank>Click here to view the senior package comparison chart</a>");

	PriceListItem("Fundamentals","569","Small gallery canvas wrap or framed wall print ~ two of gift print set A ~ two sets of forty-eight wallets");
	PriceListItem("Essentials","999","Coffee table book ~ small gallery canvas wrap or framed wall print ~ two of gift print set A ~ two sets of forty-eight wallets");
	PriceListItem("Over-Achiever","1,499","Custom slideshow ~ coffee table book ~ digital negatives ~ medium gallery canvas wrap or framed wall print ~ four of gift print set A ~ four sets of forty-eight wallets ~ one hundred custom graduation party invitations");
	
	PriceListItem("Honors","2,299","Three copies of your custom slideshow ~ three copies of your coffee table book ~ digital negatives ~ large gallery canvas wrap or framed wall print ~ six of gift print set A ~ four sets of forty-eight wallets ~ one hundred fifty custom folded graduation party invitations");
	PriceListItem("Valedictorian","2,999","Three copies of your custom slideshow ~ three copies of your coffee table book ~ digital negatives ~ large gallery canvas wrap or framed wall print ~ two small gallery canvas wraps or framed wall prints ~ eight of gift print set A ~ four sets of forty-eight wallets ~ two hundred custom folded graduation party invitations");
	PriceListItem("Royalty","3,999","Seven copies of your custom slideshow ~ five copies of your coffee table book ~ digital negatives ~ extra large gallery canvas wrap or framed wall print ~ two medium gallery canvas wraps or framed wall prints ~ twelve of gift print set A ~ eight sets of forty-eight wallets ~ three hundred custom folded graduation party invitations");
}

function DrawPriceListPagePrints() {
	if(document.URL.indexOf("Senior")>=0) {
		document.write("<br /><br /><center><img src=LogoALaCarte.jpg alt='&agrave; la carte'></center><br />");
		PriceListHeading("","&agrave; la carte items are available with a package purchase");
	}
	if(document.URL.indexOf("Wedding")>=0) {
		document.write("<br /><br /><center><img src=LogoALaCarte2.jpg alt='&agrave; la carte'></center><br />");
		PriceListHeading("","&agrave; la carte items are available with a package purchase");
	}
	if(document.URL.indexOf("Wedding")>=0) {
	}

	PriceListHeading("Senior Wallets","");
	
	PriceListItem("Senior Wallets","69","Set of forty-eight wallets from one image");

	PriceListHeading("Gift Prints","Top-quality, archival prints from a professional lab");

	PriceListItem("Gift prints","39","8 wallets, 4-3.5x5s, 4-4x5s, 2-4x6s, 2-5x5s, 2-5x7s, or 1-8x10");

	PriceListHeading("Gift Print Sets","Convenient sets of professional prints from the image of your choice. Substitutions are welcome!");

	PriceListItem("Set A","59","1-8x10, 2-5x7s, and 8 wallets");
	PriceListItem("Set B","75","2-8x10s, 4-5x7s, and 16 wallets");
	PriceListItem("Set C","99","4-8x10s, 8-5x7s, and 32 wallets");

	PriceListHeading("Framed Wall Prints","When a traditional frame is what you desire for your images ~ we have a variety of frame and mat options to satisfy any decorator ~ all frills are included ~ from classic to modern");

	PriceListItem("Small","399","8x10, 8x12, 10x10, or 12x12");
	PriceListItem("Medium","799","5x30, 10x15, 11x14, 10x20, 14x14, or 16x20");
	PriceListItem("Large","999","12x24, 16x24, 20x20, 20x24, or 24x24");
	PriceListItem("Extra Large","1,299","20x30, 24x30, 24x36, 30x30, or 30x40");
	PriceListItem("Custom Collages","999","");
	
	PriceListHeading("Gallery Canvas Wraps","High-quality prints on artist canvas stretched around a wooden frame an inch and a half deep ~ large and extra large are on our exclusive two and a half inch deep frame ~ images stand out boldly without the distraction of a frame ~ almost floating on your wall");

	PriceListItem("Small","399","16x16, 20x20, 16x20, or 20x24");
	PriceListItem("Medium","599","20x30, 24x24, 24x30, or 24x36");
	PriceListItem("Large","999","30x30, 40x40, or 30x40");
	PriceListItem("Extra Large","1,499","50x50 or 40x60");
}

function DrawPriceListPageOther() {
	PriceListHeading("Coffee Table Books","Hard photographic-cover book printed on satin paper ~ features one image per page side with a border and complimentary background color");
	PriceListHeading("","Luxury option: Upgrade to linen paper for a premium of just fifty cents per image");
	PriceListHeading("","Price per image  ~ minimum twenty-five ~ maximum one hundred forty");

	PriceListItem("Per image","22","8x8, 8x12, 10x10, or 11x14");
	PriceListItem("Additional copy","5","");

	PriceListHeading("Slideshows","We'll select the images that best capture your day and make them into a stunning slideshow");
	PriceListHeading("","Price per one hundred images ~ maximum three hundred");

	PriceListItem("Slideshow","99","On DVD, online, and on your phone ~ and anywhere else you need it!");
	PriceListItem("Additional copies","39","");

	PriceListHeading("Cards","Price per card ~ sets of fifty ~ envelopes included");

	PriceListItem("Occasion cards","1.50","5x7 custom cards with one image ~ custom designed to your specifications");
	PriceListItem("Folded cards","2","5x7 custom folded card with up to four images ~ top or side fold ~ satin, linen, art matte, or pearl paper ~ custom designed<br /><br />Luxury options: High-gloss UV coat on satin or pearl for a premium of just fifty cents per card ~ side show cards, where one layer overlaps the other, for a premium of just fifty cents per card");
}

function DrawPriceListPageFooter() {
	document.write("<br />");
	PriceListHeading("","Prices current as of 4/12/2010. Prices subject to change without notice.");
	document.write("<br />");
}

function PriceListWeddings() {
	DrawPriceListPageWedding();
	DrawPriceListPagePrints();
	DrawPriceListPageOther();
	DrawPriceListPageFooter();
}

function PriceListSeniors() {
	DrawPriceListPageSenior();
	DrawPriceListPagePrints();
	DrawPriceListPageOther();
	DrawPriceListPageFooter();
}

function PriceListPortraits() {
	DrawPriceListPageSitting();
	DrawPriceListPagePrints();
	DrawPriceListPageOther();
	DrawPriceListPageFooter();
}