// Open a new browser window and write// HTML to display an image with a title and captionfunction PortraitPic( pFileName, pTitle, pCaption) {// specify window parameters  photoWin = window.open( "", "photo", "width=440,height=570,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");// write content to window  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 330 height= 430 align=center>');  photoWin.document.write('<tr> <td align="center"> <img src = "' + pFileName + '"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();		// NetScape, bring window to the front	if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function LandscapePic( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=650,height=460,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 330 height= 450 align=center>');  photoWin.document.write('<tr> <td align="center"> <img src = "' + pFileName + '"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function SquarePic( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=390,height=390,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 380 height= 380 align=center>');  photoWin.document.write('<tr> <td align="center"> <img src = "' + pFileName + '"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function AutoPic( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=650,height=460,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 650 height= 450 align=center>');  photoWin.document.write('');  photoWin.document.write('<tr> <td align="center"><map name = "details"><area shape="rect" coords="110,50,270,300" href="autodetailleft.html" target="_new"> <area shape="rect" coords="290,40,480,310" href="autodetailright.html" target="_new"> </map> <img src = "' + pFileName + '" usemap="#details"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function UnanswerPic( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=650,height=460,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 650 height= 450 align=center>');  photoWin.document.write('');  photoWin.document.write('<tr> <td align="center"><map name = "details"><area shape="rect" coords="20,20,380,380" href="unanswerabledetail.html" target="_new"></map> <img src = "' + pFileName + '" usemap="#details"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function UnutterPic( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=650,height=460,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 650 height= 450 align=center>');  photoWin.document.write('');  photoWin.document.write('<tr> <td align="center"><map name = "details"><area shape="rect" coords="20,20,380,380" href="unutterabledetail.html" target="_new"></map> <img src = "' + pFileName + '" usemap="#details"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function NotKnowingPic( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=650,height=460,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 650 height= 450 align=center>');  photoWin.document.write('');  photoWin.document.write('<tr> <td align="center"><map name = "details"><area shape="rect" coords="40,30,220,340" href="notknowingdetailleft.html" target="_new"> <area shape="rect" coords="250,30,420,340" href="notknowingdetailright.html" target="_new"> </map> <img src = "' + pFileName + '" usemap="#details"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function LifetimePic( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=650,height=460,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 650 height= 450 align=center>');  photoWin.document.write('');  photoWin.document.write('<tr> <td align="center"><map name = "details"><area shape="rect" coords="40,40,260,350" href="lifetimedetailleft.html" target="_new"> <area shape="rect" coords="280,40,500,350" href="lifetimedetailright.html" target="_new"> </map> <img src = "' + pFileName + '" usemap="#details"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function MissingPic( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=650,height=460,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 650 height= 450 align=center>');  photoWin.document.write('');  photoWin.document.write('<tr> <td align="center"><map name = "details"><area shape="rect" coords="20,20,380,380" href="missingdetail.html" target="_new"></map> <img src = "' + pFileName + '" usemap="#details"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function PortraitAdelphi( pFileName, pTitle) {// specify window parameters  photoWin = window.open( "", "photo", "width=450,height=610,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");// write content to window  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="mealeystyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="black">');  photoWin.document.write('<table width = 382 height= 596 align=center>');  photoWin.document.write('<tr> <td> <img class="fullsize" src = "' + pFileName + '"> </td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();		// NetScape, bring window to the front	if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function LandscapeAdelphi( pFileName, pTitle) {  photoWin = window.open( "", "photo", "width=670,height=480,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="mealeystyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="black">');  photoWin.document.write('<table width = 596 height= 382 align=center>');  photoWin.document.write('<tr> <td> <img class="fullsize" src = "' + pFileName + '"> </td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}function SquareAdelphi( pFileName, pTitle, pCaption) {  photoWin = window.open( "", "photo", "width=550,height=550,status,scrollbars,resizable,screenX=40,screenY=0,left=40,top=0");  photoWin.document.write('<html><head><title>' + pTitle + '</title><LINK REL=stylesheet TYPE="text/css" HREF="lairdstyles.css"></head>');	  photoWin.document.write('<BODY topmargin=10 leftmargin=0 marginheight=0 marginwidth =0 bgcolor="white">');  photoWin.document.write('<table width = 560 height= 560 align=center>');  photoWin.document.write('<tr> <td align="center"> <img src = "' + pFileName + '"> </td> </tr>');  photoWin.document.write('<tr> <td> <p class= "caption">' + pCaption + '</p></td> </tr>');  photoWin.document.write('</body></html>');  photoWin.document.close();			if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();}		/*	myPix = new Array("images/smAdelphi_1.jpg","images/smAdelphi_2.jpg","images/smAdelphi_3.jpg","images/smAdelphi_4.jpg","images/smAdelphi_5.jpg","images/smAdelphi_6.jpg" )	thisPic = 0	imgCt = myPix.length - 1	function chgSlide(direction) {		if (document.images) {			thisPic = thisPic + direction			if (thisPic > imgCt) {				thisPic = 0			}			if (thisPic < 0) {				thisPic = imgCt							}			document.myPicture.src=myPix[thisPic]		}	}								myWords = new Array("stairwell","lobby","couple","couple","bedroom","lobby" )	thisCap = 0	imgCt = myWords.length - 1	function chgCaption(direction) {		if (document.images) {			thisCap = thisCap + direction			if (thisCap > imgCt) {				thisCap = 0			}			if (thisCap < 0) {				thisCap = imgCt							}			document.picCaption.src=myWords[thisCap]		}	}	*/	// (C) 2003 by CodeLifter.com// Free for all users, but leave in this header.// ==============================// Set the following variables...// ==============================// Set the slideshow speed (in milliseconds)var SlideShowSpeed = 3000;// Set the duration of crossfade (in seconds)var CrossFadeDuration = 2;var Picture = new Array(); // don't change thisvar Caption = new Array(); // don't change thisvar showHot = false;       // don't change this// Specify the image files...// To add more images, just continue// the pattern, adding to the array below.// To use fewer images, remove lines// starting at the end of the Picture array.// Caution: The number of Pictures *must*// equal the number of Captions!Picture[1]  = 'images/smAdelphi_1.jpg';Picture[2]  = 'images/smAdelphi_2.jpg';Picture[3]  = 'images/smAdelphi_3.jpg';Picture[4]  = 'images/smAdelphi_4.jpg';Picture[5]  = 'images/smAdelphi_5.jpg';Picture[6]  = 'images/smAdelphi_6.jpg';// Specify the Captions...// To add more captions, just continue// the pattern, adding to the array below.// To use fewer captions, remove lines// starting at the end of the Caption array.// Caution: The number of Captions *must*// equal the number of Pictures!Caption[1]  = "lobby<br> &copy; Laird Galbraith 2006";Caption[2]  = "entrance<br> &copy; Laird Galbraith 2006";Caption[3]  = "couple<br> &copy; Laird Galbraith 2006";Caption[4]  = "embrace<br> &copy; Laird Galbraith 2006";Caption[5]  = "bedroom<br> &copy; Laird Galbraith 2006";Caption[6]  = "waiting<br> &copy; Laird Galbraith 2006";// =====================================// Do not edit anything below this line!// =====================================var tss;var iss;var jss = 0;var pss = Picture.length-1;var preLoad = new Array();for (iss = 1; iss < pss+1; iss++){preLoad[iss] = new Image();preLoad[iss].src = Picture[iss];}function control(how){if (showHot){if (how=="H") jss = 1;if (how=="F") jss = jss + 1;if (how=="B") jss = jss - 1;if (jss > (pss)) jss=1;if (jss < 1) jss = pss;if (document.all){document.images.PictureBox.style.filter="blendTrans(duration=2)";document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";document.images.PictureBox.filters.blendTrans.Apply();}document.images.PictureBox.src = preLoad[jss].src;if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];if (document.all) document.images.PictureBox.filters.blendTrans.Play();}}// ==============================// gallery rollovers 061008// ==============================//loading memory palace images					if (document.images) {		    mp_detail_1 = new Image    mp_detail_2 = new Image    mp_detail_3 = new Image    mp_detail_4 = new Image    mp_detail_5 = new Image    memory_palace_3_500 = new Image        	mp_detail_1.src = "images/mp_detail_1.jpg"	mp_detail_2.src = "images/mp_detail_2.jpg"	mp_detail_3.src = "images/mp_detail_3.jpg"	mp_detail_4.src = "images/mp_detail_4.jpg"	mp_detail_5.src = "images/mp_detail_5.jpg"	memory_palace_3_500.src = "images/memory_palace_3_500.jpg"				mp_scene_1 = new Image    mp_scene_2 = new Image    mp_scene_3 = new Image    mp_scene_4 = new Image    mp_scene_5 = new Image    mp_scene_6 = new Image            mp_scene_1.src = "images/mp_scene_1.jpg"	mp_scene_2.src = "images/mp_scene_2.jpg"	mp_scene_3.src = "images/mp_scene_3.jpg"	mp_scene_4.src = "images/mp_scene_4.jpg"	mp_scene_5.src = "images/mp_scene_5.jpg"	mp_scene_6.src = "images/mp_scene_6.jpg"				mp_scene_7 = new Image    mp_scene_8 = new Image    mp_scene_9 = new Image    mp_scene_10 = new Image    mp_scene_11 = new Image    mp_scene_12 = new Image            mp_scene_7.src = "images/mp_scene_7.jpg"	mp_scene_8.src = "images/mp_scene_8.jpg"	mp_scene_9.src = "images/mp_scene_9.jpg"	mp_scene_10.src = "images/mp_scene_10.jpg"	mp_scene_11.src = "images/mp_scene_11.jpg"	mp_scene_12.src = "images/mp_scene_12.jpg"				mp_scene_13 = new Image    mp_scene_14 = new Image    mp_scene_15 = new Image    mp_scene_16 = new Image    mp_scene_17 = new Image    mp_scene_18 = new Image            mp_scene_13.src = "images/mp_scene_13.jpg"	mp_scene_14.src = "images/mp_scene_14.jpg"	mp_scene_15.src = "images/mp_scene_15.jpg"	mp_scene_16.src = "images/mp_scene_16.jpg"	mp_scene_17.src = "images/mp_scene_17.jpg"	mp_scene_18.src = "images/mp_scene_18.jpg"				}		function chgImg(imgField,newImg) {		if (document.images) {			document[imgField].src= eval(newImg + ".src")		}	}
