function sayHello(){
		
			if (is_ie) { 
					if(screen.colorDepth == 8){
					colorWarningWindow = window.open("color_warning.html","newWarningWindow", "top=80px,left=60px,width=480px,height=460px,scrollbars=no,dependent");
					colorWarningWindow.window.focus()
					}
				specWindow = window.open("spec.html","specWindow", "top=20px,left=50px,width=225px,height=550px,scrollbars=no,dependent");
			}
			else {
					if(screen.pixelDepth == 8){
					colorWarningWindow = window.open("color_warning.html","newWarningWindow", "screenX=20,screenY=50,width=480,height=440,scrollbars=yes,dependent");
					}
				specWindow = window.open("spec.html","specWindow", "top=20px,left50px,width=225px,height=550px,scrollbars=no,dependent");
				
			}
		}
		
		function sayGoodbye(){ 
				if(screen.height == 600){
					openAWindow(14)
					}
				else{
					openAWindow(13)
				}
				
		}
		
		
		
	function ridOfIt(){
		
			if(document.cookie != ""){
				
					thisCookie = document.cookie.split("; ")
					expireDate = new Date
					expireDate.setDate(expireDate.getDate()-1)
			
					for(i=0 ;i<thisCookie.length; i++){
						cookieName = thisCookie[i].split("=")[0]
						document.cookie = cookieName +"=;expires="+ expireDate.toGMTString()
					}
				}
			}
		
	
	
		
			W3C = (document.getElementById)? true:false
			ns = (document.layers)? true:false
			ie = (document.all)? true:false
			
			var timerthingy =""
			var timerthingy1 =""
			var timerthingy2 =""
			var timerthingy3 =""
			var timerthingy4 =""
			var timerthingy5 =""
			var timerthingy6 =""
			var timerthingy7 =""
			var timerthingy8 =""
			
			
			
			function init() {
				ridOfIt()
				
				if (W3C) {
					
					 block1  = document.getElementById('arttextDiv').style
					 block2  = document.getElementById('exhibtextDiv').style
					 block3  = document.getElementById('statetextDiv').style
					 block4  = document.getElementById('resumetextDiv').style
					 block5  = document.getElementById('reviewtextDiv').style
					
						block1.xpos = parseInt(block1.left)
						block1.ypos = parseInt(block1.top)
						
						block2.xpos = parseInt(block2.left)
						block2.ypos = parseInt(block2.top)
						
						block3.xpos = parseInt(block3.left)
						block3.ypos = parseInt(block3.top)
						
						block4.xpos = parseInt(block4.left)
						block4.ypos = parseInt(block4.top)
						
						block5.xpos = parseInt(block5.left)
						block5.ypos = parseInt(block5.top)
						
					
					image1 = document.getElementById('image1Div').style
					image2 = document.getElementById('image2Div').style
					image3 = document.getElementById('image3Div').style
					image4 = document.getElementById('image4Div').style
					
					}
				
				if (ns) {
					
					 block1  = document.arttextDiv
					 block2  = document.exhibtextDiv
					 block3  = document.statetextDiv
					 block4  = document.resumetextDiv
					 block5  = document.reviewtextDiv
					
						block1.xpos = parseInt(block1.left)
						block1.ypos = parseInt(block1.top)
						
						block2.xpos = parseInt(block2.left)
						block2.ypos = parseInt(block2.top)
						
						block3.xpos = parseInt(block3.left)
						block3.ypos = parseInt(block3.top)
						
						block4.xpos = parseInt(block4.left)
						block4.ypos = parseInt(block4.top)
						
						block5.xpos = parseInt(block5.left)
						block5.ypos = parseInt(block5.top)
						
					
					image1 = document.image1Div
					image2 = document.image2Div
					image3 = document.image3Div
					image4 = document.image4Div
					
					}
				
				if (ie) {
					
					block1  = arttextDiv.style
					block2  = exhibtextDiv.style
					block3  = statetextDiv.style
					block4  = resumetextDiv.style
					block5  = reviewtextDiv.style
					
						block1.xpos = parseInt(block1.pixelLeft)
						block1.ypos = parseInt(block1.pixelTop)
						
						block2.xpos = parseInt(block2.pixelLeft)
						block2.ypos = parseInt(block2.pixelTop)
						
						block3.xpos = parseInt(block3.pixelLeft)
						block3.ypos = parseInt(block3.pixelTop)
						
						block4.xpos = parseInt(block4.pixelLeft)
						block4.ypos = parseInt(block4.pixelTop)
						
						block5.xpos = parseInt(block5.pixelLeft)
						block5.ypos = parseInt(block5.pixelTop)
						
					image1 = image1Div.style
					image2 = image2Div.style
					image3 = image3Div.style
					image4 = image4Div.style
					}	
					
				}		
										
	
					
		function slideUp() {
					
					if (block1.ypos >= -1500 && arrows == true) {
						block1.ypos -= 3
					
							if (block1.ypos <= -140 && block1.ypos > -155) {
							imageSwop(23,24)
							}
							if (block1.ypos <= -365 && block1.ypos > -380) {
							imageSwop(24,25)
							}
							if (block1.ypos <= -605  && block1.ypos > -615) {
							imageSwop(25,26)
							}
							if (block1.ypos <= -865  && block1.ypos > -875) {
							imageSwop(26,27)
							}
							if (block1.ypos <= -1325  && block1.ypos > -1335) {
							imageSwop(27,45)
							}
							if (block1.ypos <= -1475  && block1.ypos > -1485) {
							yerBasicState(32,4,6,7,12,1,2,3)
							}
						}
						if (ns || W3C) {		
							block1.top = block1.ypos
							}
						if (ie) {
							block1.pixelTop = block1.ypos
						}
					timerthingy2 = setTimeout("slideUp()",2)
					}			 
					
		function slideDown() {
					
					if (block1.ypos <= 245 && arrows == true) {
						block1.ypos += 3
						
							if (block1.ypos <= -140 && block1.ypos > -155) {
							imageSwopa(23,24)
							masterArray[23][1]=false;
							}
							if (block1.ypos <= -365 && block1.ypos > -380) {
							imageSwopa(24,25)
							masterArray[24][1]=false;
							}
							if (block1.ypos <= -605  && block1.ypos > -615) {
							imageSwopa(25,26)
							masterArray[25][1]=false;
							}
							if (block1.ypos <= -865  && block1.ypos > -875) {
							imageSwopa(26,27)
							masterArray[26][1]=false;
							}
							if (block1.ypos <= -1325  && block1.ypos > -1335) {
							imageSwopa(27,45)
							masterArray[27][1]=false;
							}
							if (block1.ypos <= -1475  && block1.ypos > -1485) {
							imageSwopa(45,4)
							masterArray[45][1]=false;
							}
						}
						if (ns || W3C) {		
							block1.top = block1.ypos
							}
						if (ie) {
							block1.pixelTop = block1.ypos
						}
					timerthingy1 = setTimeout("slideDown()",2)
					}
					
	function slideUp2(whichblock) {
					
					if (block2.ypos >= -950 && arrows == true) {
						block2.ypos -= 3
					
							if (block2.ypos <= 300 && block2.ypos > 295) {
							imageSwop(28,26)
							}
							if (block2.ypos <= -30 && block2.ypos > -45) {
							imageSwop(26,29)
							}
							if (block2.ypos <= -220 && block2.ypos > -235) {
							imageSwop(29,30)
							}
							if (block2.ypos <= -585  && block2.ypos > -595) {
							imageSwop(30,46)
							}
							if (block2.ypos <= -725  && block2.ypos > -735) {
							yerBasicState(32,4,6,7,12,1,2,3)
							}
						}	
						if (ns || W3C) {		
							block2.top = block2.ypos
							}
						if (ie) {
							block2.pixelTop = block2.ypos
						}
					timerthingy2 = setTimeout("slideUp2()",2)
					}			 
					
		function slideDown2() {
					
					if (block2.ypos <= 315 && arrows == true) {
						block2.ypos += 3
						
							if (block2.ypos <= 315 && block2.ypos > 295) {
							imageSwopa(28,26)
							masterArray[28][1]=false;
							}
							if (block2.ypos <= -30 && block2.ypos > -45) {
							imageSwopa(26,29)
							masterArray[26][1]=false;
							}
							if (block2.ypos <= -220 && block2.ypos > -235) {
							imageSwopa(29,30)
							masterArray[29][1]=false;
							}
							if (block2.ypos <= -585  && block2.ypos > -595) {
							imageSwopa(30,46)
							masterArray[30][1]=false;
							}
							if (block2.ypos <= -725  && block2.ypos > -735) {
							imageSwopa(46,4)
							masterArray[30][1]=false;
							}
						}
						if (ns || W3C) {		
							block2.top = block2.ypos
							}
						if (ie) {
							block2.pixelTop = block2.ypos
						}
					timerthingy1 = setTimeout("slideDown2()",2)
					}
		
		
		function slideUp3() {
						
						if (block3.ypos >= -200 && arrows == true) {
							block3.ypos -= 3
						}
						if (ns || W3C) {		
							block3.top = block3.ypos
							}
						if (ie) {
							block3.pixelTop = block3.ypos
						}
					timerthingy3 = setTimeout("slideUp3()",2)
					}			 
						
		function slideDown3() {
						
						if (block3.ypos <= 110 && arrows == true) {
							block3.ypos += 3
						}
						if (ns || W3C) {		
							block3.top = block3.ypos
							}
						if (ie) {
							block3.pixelTop = block3.ypos
						}
					timerthingy4 = setTimeout("slideDown3()",2)
					}
	
		function slideUp4() {
						
						if (block4.ypos >= -800 && arrows == true) {
							block4.ypos -= 4
						}
						if (ns || W3C) {		
							block4.top = block4.ypos
							}
						if (ie) {
							block4.pixelTop = block4.ypos
						}
					timerthingy5 = setTimeout("slideUp4()",2)
					}			 
						
		function slideDown4() {
						
						if (block4.ypos <= 110 && arrows == true) {
							block4.ypos += 4
						}
						if (ns || W3C) {		
							block4.top = block4.ypos
							}
						if (ie) {
							block4.pixelTop = block4.ypos
						}
					timerthingy6 = setTimeout("slideDown4()",2)
					}
					
		function slideUp5() {
						
						if (block5.ypos >= -300 && arrows == true) {
							block5.ypos -= 4
						}
						
						if (ns || W3C) {		
							block5.top = block5.ypos
							}
						if (ie) {
							block5.pixelTop = block5.ypos
						}
					timerthingy5 = setTimeout("slideUp5()",2)
					}			 
						
		function slideDown5() {
						
						if (block5.ypos <= 115 && arrows == true) {
							block5.ypos += 4
						}
						
						if (ns || W3C) {		
							block5.top = block5.ypos
							}
						if (ie) {
							block5.pixelTop = block5.ypos
						}
					timerthingy6 = setTimeout("slideDown5()",2)
					}				
		
		var arrows = true			
				
		function workArrows() {
				arrows = true
  				}	
  						
  		function stopMove() {
  		
				arrows = false
				clearTimeout(timerthingy1)
				clearTimeout(timerthingy2)
				clearTimeout(timerthingy3)
				clearTimeout(timerthingy4)
				clearTimeout(timerthingy5)
				clearTimeout(timerthingy6)
				clearTimeout(timerthingy7)
				clearTimeout(timerthingy8)
				
  				}	
  				
  		function resetSliders(){
					 block1.ypos = 245
					 block2.ypos = 300
					 block3.ypos = 110
					 block4.ypos = 115
					 block5.ypos = 115
					 
					 if (ns || W3C) {		
							block1.top = block1.ypos
							block2.top = block2.ypos
							block3.top = block3.ypos
							block4.top = block4.ypos
							block5.top = block5.ypos
							
							}
						if (ie) {
							block1.pixelTop = block1.ypos
							block2.pixelTop = block2.ypos
							block3.pixelTop = block3.ypos
							block4.pixelTop = block4.ypos
							block5.pixelTop = block5.ypos
							
							}	
				}	
		
			
		self.name = "entryWindow"
		
		
		
		var layerRef = ""
		var styleRef = ""
       		
       		if (document.getElementById){
       		
       		layerRef = ".getElementById("
			styleRef = ").style"
       		}
       		else{
       		
	       		if (navigator.appName == "Netscape"){

				layerRef = ".layers"
				styleRef = ""
				}
				
				else{
				layerRef = ".all"
				styleRef = ".style"
				}	
			}			
			
			
		masterArray = new Array()
		masterArray[0] = new Array("dummy",true)
		masterArray[1] = new Array("background",true)
		masterArray[2] = new Array("background2",true)
		masterArray[3] = new Array("background3",true)
		masterArray[4] = new Array("philipriley",false)
		masterArray[5] = new Array("beginlayer",false)
		masterArray[6] = new Array("mailtolayer",false)
		masterArray[7] = new Array("buttons",true)
		masterArray[8] = new Array("buttontext1",true)
		masterArray[9] = new Array("buttontext2",true)
		masterArray[10]= new Array("buttontext3",true)
		masterArray[11]= new Array("buttontext4",true)
		masterArray[12]= new Array("mapLayer",true)
		masterArray[13]= new Array("hiddenMapLayer",true)
		masterArray[14]= new Array("mapOfSiteFull",true)
		masterArray[15]= new Array("currenttextDiv",true)
		masterArray[16]= new Array("arttextDiv",true)
		masterArray[17]= new Array("exhibtextDiv",true)
		masterArray[18]= new Array("futuretextDiv",true)
		masterArray[19]= new Array("arrowsUp",true)
		masterArray[20]= new Array("arrowsDown",true)
		masterArray[21]= new Array("arrowsUp2",true)
		masterArray[22]= new Array("arrowsDown2",true)
		masterArray[23]= new Array("image1Div",true)
		masterArray[24]= new Array("image2Div",true)
		masterArray[25]= new Array("image3Div",true)
		masterArray[26]= new Array("image4Div",true)
		masterArray[27]= new Array("image5Div",true)
		masterArray[28]= new Array("image6Div",true)
		masterArray[29]= new Array("image7Div",true)
		masterArray[30]= new Array("image8Div",true)
		masterArray[31]= new Array("beginlayer2",true)
		masterArray[32]= new Array("background4",true)
		masterArray[33]= new Array("mapLayer2",true)
		masterArray[34]= new Array("exittextDiv",true)
		masterArray[35]= new Array("statetextDiv",true)
		masterArray[36]= new Array("resumetextDiv",true)
		masterArray[37]= new Array("arrowsUp3",true)
		masterArray[38]= new Array("arrowsDown3",true)
		masterArray[39]= new Array("arrowsUp4",true)
		masterArray[40]= new Array("arrowsDown4",true)
		masterArray[41]= new Array("arrowsUp5",true)
		masterArray[42]= new Array("arrowsDown5",true)
		masterArray[43]= new Array("background5",true)
		masterArray[44]= new Array("portfoliotextDiv",true)
		masterArray[45]= new Array("image9Div",true)
		masterArray[46]= new Array("image10Div",true)
		masterArray[47]= new Array("image11Div",true)
		masterArray[48]= new Array("linkstextDiv",true)
		masterArray[49]= new Array("reviewtextDiv",true)
		masterArray[50]= new Array("maptext1",true)
		masterArray[51]= new Array("maptext2",true)
		masterArray[52]= new Array("maptext3",true)
		masterArray[53]= new Array("maptext4",true)
		masterArray[54]= new Array("maptext5",true)
		masterArray[55]= new Array("maptext6",true)
		masterArray[56]= new Array("maptext7",true)
		masterArray[57]= new Array("maptext8",true)
		masterArray[58]= new Array("maptext9",true)
		masterArray[59]= new Array("maptext10",true)
		masterArray[60]= new Array("maptext11",true)
		masterArray[61]= new Array("maptext12",true)
		
		
		
		
		
		
		
	 	function getSet(){
		
				if(ie && document.readyState == "complete"){
					eval("document" + layerRef + "[masterArray[5][0]]"  + styleRef + ".visibility = 'visible'");
					eval("document" + layerRef + "[masterArray[31][0]]"  + styleRef + ".visibility = 'hidden'");
					
					}
					
				else if( ie == false){
				
					eval("document" + layerRef + "[masterArray[5][0]]"  + styleRef + ".visibility = 'visible'");
					eval("document" + layerRef + "[masterArray[31][0]]"  + styleRef + ".visibility = 'hidden'");
					
					}
				}
			
			
		function yerBasicState(whichBitIn,whichBit2,whichBit3,whichBit4,whichBit5,whichBit6,whichBit7,whichBit8)  {
				closeAll()
				eval("document" + layerRef + "[masterArray[whichBitIn][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBitIn][1]=false
				eval("document" + layerRef + "[masterArray[whichBit2][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit2][1]=false
				eval("document" + layerRef + "[masterArray[whichBit3][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit3][1]=false
				eval("document" + layerRef + "[masterArray[whichBit4][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit4][1]=false
				eval("document" + layerRef + "[masterArray[whichBit5][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit5][1]=false
				eval("document" + layerRef + "[masterArray[whichBit6][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit6][1]=false
				eval("document" + layerRef + "[masterArray[whichBit7][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit7][1]=false
				eval("document" + layerRef + "[masterArray[whichBit8][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit8][1]=false
		}
				
		function rolliesButtons(whichButton,whichButton2,whichButton3,whichButton4,whichButton5)  {
				rolliesNoMap()
				eval("document" + layerRef + "[masterArray[whichButton][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichButton][1]=false
				eval("document" + layerRef + "[masterArray[whichButton2][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichButton2][1]=false
				eval("document" + layerRef + "[masterArray[whichButton3][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichButton3][1]=false
				eval("document" + layerRef + "[masterArray[whichButton4][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichButton4][1]=false
				eval("document" + layerRef + "[masterArray[whichButton5][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichButton5][1]=false
				resetSliders()
		}
		
		function rolliesMap(whichBitIn,whichBit2,whichBit3)  {
				rolliesNoMap() 
				eval("document" + layerRef + "[masterArray[whichBitIn][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBitIn][1]=false;
				eval("document" + layerRef + "[masterArray[whichBit2][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit2][1]=false;
				eval("document" + layerRef + "[masterArray[whichBit3][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichBit3][1]=false;
		}
			
		function closeAll()  {
		
			for (var i=0;i<masterArray.length;i++) {
				if(masterArray[i][1]==false){
				eval("document" + layerRef + "[masterArray[i][0]]"  + styleRef + ".visibility = 'hidden'");
				masterArray[i][1]=true
				}
			}
		}
		
		
		function rolliesNoMap()  {
				
			for (var i=0;i<masterArray.length;i++) {
					if (masterArray[i][1]==false)
					closeAll(i)
				}	
			yerBasicState(32,0,0,7,12,1,2,3)
		}	
		
	
		function imageSwop(whichimage,whichimage2)  {
				eval("document" + layerRef + "[masterArray[whichimage][0]]"  + styleRef + ".visibility = 'hidden'");
				masterArray[whichimage][1]=true;
				eval("document" + layerRef + "[masterArray[whichimage2][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichimage2][1]=false;
				
		}	
		
	
		function imageSwopa(whichimage,whichimage2)  {
				eval("document" + layerRef + "[masterArray[whichimage][0]]"  + styleRef + ".visibility = 'visible'");
				masterArray[whichimage][1]=true;
				eval("document" + layerRef + "[masterArray[whichimage2][0]]"  + styleRef + ".visibility = 'hidden'");
				masterArray[whichimage2][1]=false;
				
		}	
		
		function imageRollOut(whichimage)  {
				eval("document" + layerRef + "[masterArray[whichimage][0]]"  + styleRef + ".visibility = 'hidden'");
		}	
		
		function imageRollIn(whichimage)  {
				eval("document" + layerRef + "[masterArray[whichimage][0]]"  + styleRef + ".visibility = 'visible'");
		}	
		
		
		
			siteMapDaughters = new Array()
			
			siteMapDaughters[0]  = new Array("canvas_window"		,"new_gallery_tour/gallery12d.html"		,"canvasWindow"		,"screenX=20	,screenY=20		,top=20px	,left=20px		,width=740px	,height=540px	,scrollbars=no	,dependent",false);
			siteMapDaughters[1]  = new Array("gallery_wind1"		,"new_gallery_tour/gallery_ext1.html"	,"small_window12"	,"screenX=208	,screenY=230	,top=208px	,left=230px		,width=320px	,height=240px	,scrollbars=no	,dependent",false);
			siteMapDaughters[2]  = new Array("artwork_wind1"		,"new_gallery_tour/artwork_page.html"	,"canvasWindow2"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=740px	,height=540px	,scrollbars=no	,dependent",false);
			siteMapDaughters[3]  = new Array("detail_wind2"			,"new_gallery_tour/detail_page.html"	,"canvasWindow3"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=740px	,height=540px	,scrollbars=no	,dependent",false);
			siteMapDaughters[4]  = new Array("site_specs"			,"specs.html"							,"specs_window"		,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=200px	,height=250px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[5]  = new Array("portfolio"			,"portfolio/dota.html"					,"folio_window"		,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[6]  = new Array("portfolio2"			,"portfolio/itso_eve.html"				,"folio_window2"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[7]  = new Array("portfolio3"			,"portfolio/lake_of_dreams.html"		,"folio_window3"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[8]  = new Array("portfolio4"			,"portfolio/marconi.html"				,"folio_window4"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[9]  = new Array("portfolio5"			,"portfolio/viral_protein.html"	 		,"folio_window5"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[10] = new Array("portfolio6"			,"portfolio/cells.html"	 				,"folio_window6"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[11] = new Array("portfolio7"			,"portfolio/family_tree.html"			,"folio_window7"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[12] = new Array("portfolio8"			,"portfolio/dupont.html"				,"folio_window8"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			siteMapDaughters[13] = new Array("exit"					,"exit.html"							,"exit_window"		,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=500px	,height=700px	,scrollbars=yes	,dependent",false);	
			siteMapDaughters[14] = new Array("exit"					,"exit.html"							,"exit_window"		,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=500px	,height=500px	,scrollbars=yes	,dependent",false);	
			siteMapDaughters[15] = new Array("external"				,"http://www.nottingham.ac.uk/artscentre/frameset.html"	,"external_window"		,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=800px	,height=600px	,scrollbars=yes	,dependent",false);	
			siteMapDaughters[16] = new Array("portfolio9"			,"portfolio/index.html"					,"folio_window9"	,"screenX=40	,screenY=40		,top=20px	,left=20px		,width=700px	,height=750px	,scrollbars=no	,dependent",false);	
			
			
			function openAWindow(SMdaughterWindows)  {
				
				for (var i=0;i<siteMapDaughters.length;i++) {
					var test =(siteMapDaughters[i][4])? true:false; 
					if (test == true && SMdaughterWindows == i) {
						var test1 =(siteMapDaughters[i][0].closed)? true:false;
							if (test1 == false){
								focusAWindow(i)
								break
							}
							if (test1 == true) {
								siteMapDaughters[SMdaughterWindows][0] = window.open(siteMapDaughters[SMdaughterWindows][1], siteMapDaughters[SMdaughterWindows][2], siteMapDaughters[SMdaughterWindows][3]);
								siteMapDaughters[SMdaughterWindows][4]=true;
								break
							}
						}
					if (test == true && SMdaughterWindows != i) {
						var test2 =(siteMapDaughters[i][0].closed)? true:false;
						if (test2 == false){
							closeAWindow(i)
							siteMapDaughters[SMdaughterWindows][0] = window.open(siteMapDaughters[SMdaughterWindows][1], siteMapDaughters[SMdaughterWindows][2], siteMapDaughters[SMdaughterWindows][3]);
							siteMapDaughters[SMdaughterWindows][4]=true;
							break
							}
						if (test2 == true) {
							siteMapDaughters[i][4]=false
							continue
							}
						}
					}
					if (test == false){ 
						siteMapDaughters[SMdaughterWindows][0] = window.open(siteMapDaughters[SMdaughterWindows][1], siteMapDaughters[SMdaughterWindows][2], siteMapDaughters[SMdaughterWindows][3]);
						siteMapDaughters[SMdaughterWindows][4]=true;
					} 
			}
			
			
			
			function closeAWindow(i)  {
							siteMapDaughters[i][0].window.close()
							siteMapDaughters[i][4]=false
							
			}
			
			function focusAWindow(i)  {
							siteMapDaughters[i][0].window.focus();
							siteMapDaughters[i][4]=true;
						
			}
