// Global variables var isNav4 = false, isIE4 = false, isOther = false, isW3C = false, lastresource="21" document.lastframe = new Array() var lastindex = 0 document.lastframe[0] = "0" var insideWindowWidth var strrange = "" var strstyle = "" if (navigator.appVersion.charAt(0) == "2" || navigator.appVersion.charAt(0) == "3") { alert("Sorry, you need at least version 4\n of Netscape Communicator or Internet Explorer\n to view this interactive map.\nYou will be redirected to a static Library map.") window.location = "staticmap.htm" } else if (screen.availWidth < 650) { alert("Sorry, you need a screen resolution of 600X800 to view this site.\nYou will be redirected to a static Library map.") window.location = "staticmap.htm" } function mapreload(x) { if (x==true) {if (isNav4) {window.resizeTo(screen.availWidth,screen.availHeight); document.pgW=innerWidth; document.pgH=innerHeight; onresize=mapreload; }} else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload(); } function IEgetElementById(id) { return document.all[id] } function NNgetElementById(id) { return eval("document." + id) } function getBrowser() { if (navigator.appName == "Netscape" && document.layers != null) { isNav4 = true; document.getElementById = NNgetElementById //insideWindowWidth = window.innerWidth } else if (document.all != null) { //IE isIE4 = true strrange = "all." strstyle = ".style" document.getElementById = IEgetElementById } else if (document.getElementById) { //W3C DOM1 (Netscape6) isW3C = true strstyle = ".style" } else { isOther = true } return true; } getBrowser() mapreload(true); // extract front part of string prior to searchString function getFront(mainStr,searchStr){ foundOffset = mainStr.indexOf(searchStr) if (foundOffset == -1) { return null } return mainStr.substring(0,foundOffset) } // extract back end of string after searchString function getEnd(mainStr,searchStr) { foundOffset = mainStr.indexOf(searchStr) if (foundOffset == -1) { return null } return mainStr.substring(foundOffset+searchStr.length,mainStr.length) } // insert insertString immediately before searchString function insertString(mainStr,searchStr,insertStr) { var front = getFront(mainStr,searchStr) var end = getEnd(mainStr,searchStr) if (front != null && end != null) { return front + insertStr + searchStr + end } return null } // remove deleteString function deleteString(mainStr,deleteStr) { return replaceString(mainStr,deleteStr,"") } // replace searchString with replaceString function replaceString(mainStr,searchStr,replaceStr) { var front = getFront(mainStr,searchStr) var end = getEnd(mainStr,searchStr) if (front != null && end != null) { return front + replaceStr + end } return null } function rollover(mapzone, res) { zone = parseInt(mapzone); var arrzones = new Array(); var arrhighzones = new Array(); arrzones[1]="Map_swapImage('Rub2_r1_c8','','images/over_Rub2_r1_c8.gif',1);Map_swapImage('Rub2_r1_c6','','images/over_Rub2_r1_c6.gif',1);" arrzones[2]="Map_swapImage('Rub2_r3_c5','','images/over_Rub2_r3_c5.gif',1);" arrzones[3]="Map_swapImage('Rub2_r2_c8','','images/over_Rub2_r2_c8.gif',1);" arrzones[4]="Map_swapImage('Rub2_r3_c8','','images/over_Rub2_r3_c8.gif',1);" arrzones[5]="Map_swapImage('Rub2_r2_c10','','images/over_Rub2_r2_c10.gif',1);" arrzones[6]="Map_swapImage('Rub2_r5_c10','','images/over_Rub2_r5_c10.gif',1);" arrzones[7]="Map_swapImage('Rub2_r6_c9','','images/over_Rub2_r6_c9.gif',1);" arrzones[11]="Map_swapImage('Rub2_r6_c5','','images/over_Rub2_r6_c5.gif',1);" arrzones[12]="Map_swapImage('Rub2_r6_c7','','images/over_Rub2_r6_c7.gif',1);" arrzones[13]="Map_swapImage('Rub2_r7_c7','','images/over_Rub2_r7_c7.gif',1);" arrzones[14]="Map_swapImage('Rub2_r9_c7','','images/over_Rub2_r9_c7.gif',1);" arrzones[15]="Map_swapImage('Rub2_r9_c4','','images/over_Rub2_r9_c4.gif',1);" arrzones[16]="Map_swapImage('Rub2_r6_c10','','images/over_Rub2_r6_c10.gif',1);Map_swapImage('Rub2_r11_c13','','images/over_Rub2_r11_c13.gif',1);" arrzones[17]="Map_swapImage('Rub2_r11_c12','','images/over_Rub2_r11_c12.gif',1);" arrzones[18]="Map_swapImage('Rub2_r13_c11','','images/over_Rub2_r13_c11.gif',1);" arrzones[20]="Map_swapImage('Rub2_r13_c14','','images/over_Rub2_r13_c14.gif',1);" arrzones[22]="Map_swapImage('Rub2_r14_c14','','images/over_Rub2_r14_c14.gif',1);Map_swapImage('Rub2_r6_c16','','images/over_Rub2_r6_c16.gif',1);" arrzones[23]="Map_swapImage('Rub2_copy','','images/over_Rub2_copy.gif',1);" arrzones[30]="Map_swapImage('Rub3_r2_c1','','images/over_Rub3_r2_c1.gif',1);" arrzones[31]="Map_swapImage('Rub3_r4_c1','','images/over_Rub3_r4_c1.gif',1);" arrzones[32]="Map_swapImage('Rub3_r11_c1','','images/over_Rub3_r11_c1.gif',1);" arrzones[33]="Map_swapImage('Rub3_r14_c13','','images/over_Rub3_r14_c13.gif',1);" arrzones[34]="Map_swapImage('Rub3_r4_c10','','images/over_Rub3_r4_c10.gif',1);" arrzones[35]="Map_swapImage('Rub3_r1_c1','','images/over_Rub3_r1_c1.gif',1);Map_swapImage('Rub3_r4_c4','','images/over_Rub3_r4_c4.gif',1);Map_swapImage('Rub3_r2_c2','','images/over_Rub3_r2_c2.gif',1);" arrzones[36]="Map_swapImage('Rub3_r3_c8','','images/over_Rub3_r3_c8.gif',1);" arrzones[37]="Map_swapImage('Rub3_r17_c5','','images/over_Rub3_r17_c5.gif',1);" arrzones[38]="Map_swapImage('Rub3_r17_c13','','images/over_Rub3_r17_c13.gif',1);" arrzones[39]="Map_swapImage('Rub3_r9_c5','','images/over_Rub3_r9_c5.gif',1);" arrzones[40]="Map_swapImage('Rub3_r9_c6','','images/over_Rub3_r9_c6.gif',1);" arrzones[41]="Map_swapImage('Rub3_r9_c7','','images/over_Rub3_r9_c7.gif',1);Map_swapImage('Rub3_r12_c5','','images/over_Rub3_r12_c5.gif',1);" arrzones[42]="Map_swapImage('Rub3_r10_c5','','images/over_Rub3_r10_c5.gif',1);" arrzones[43]="Map_swapImage('Rub3_r9_c9','','images/over_Rub3_r9_c9.gif',1);" arrzones[44]="Map_swapImage('Rub3_r6_c1','','images/over_Rub3_r6_c1.gif',1);Map_swapImage('Rub3_33','','images/over_Rub3_33.gif',1);" arrzones[45]="Map_swapImage('Rub3_r13_c12','','images/over_Rub3_r13_c12.gif',1);Map_swapImage('Rub3_28','','images/over_Rub3_28.gif',1);" arrzones[46]="Map_swapImage('Rub3_r18_c5','','images/over_Rub3_r18_c5.gif',1);Map_swapImage('Rub3_r16_c9_r1_c1','','images/over_Rub3_r16_c9_r1_c1.gif',1);" arrzones[47]="Map_swapImage('Rub3_r16_c9_r1_c2','','images/over_Rub3_r16_c9_r1_c2.gif',1);Map_swapImage('Rub3_r18_c13','','images/over_Rub3_r18_c13.gif',1);" arrzones[48]="Map_swapImage('Rub3_r9_c15','','images/over_Rub3_r9_c15.gif',1);" arrzones[49]="Map_swapImage('Rub3_r7_c9','','images/over_Rub3_r7_c9.gif',1);" arrzones[50]="Map_swapImage('Rub3_r5_c8','','images/over_Rub3_r5_c8.gif',1);Map_swapImage('Rub3_r1_c5','','images/over_Rub3_r1_c5.gif',1);" arrzones[51]="Map_swapImage('Rub2_r7_c7','','images/over_Rub2_r7_c7.gif',1);" arrzones[52]="Map_swapImage('Rub2_r2_c10','','images/over_Rub2_r2_c10.gif',1);Map_swapImage('Rub2_r6_c5','','images/over_Rub2_r6_c5.gif',1);" arrzones[53]="Map_swapImage('Rub2_r6_c5','','images/over_Rub2_r6_c5.gif',1);Map_swapImage('Rub2_r6_c10','','images/over_Rub2_r6_c10.gif',1);" arrzones[54]="Map_swapImage('Rub2_r3_c8','','images/over_Rub2_r3_c8.gif',1);Map_swapImage('Rub2_r13_c11','','images/over_Rub2_r13_c11.gif',1);" arrzones[55]="Map_swapImage('Rub2_r14_c11','','images/over_Rub2_r14_c11.gif',1);Map_swapImage('Rub2_r3_c8','','images/over_Rub2_r3_c8.gif',1);Map_swapImage('Rub2_r13_c11','','images/over_Rub2_r13_c11.gif',1);" arrzones[56]="Map_swapImage('Rub3_r13_c12','','images/over_Rub3_r13_c12.gif',1);" arrzones[57]="Map_swapImage('Rub2_r14_c11','','images/over_Rub2_r14_c11.gif',1);" arrzones[58]="Map_swapImage('Rub3_r9_c15_2','','images/over_Rub3_r9_c15_2.gif',1);" arrzones[59]="Map_swapImage('Rub3_24','','images/over_Rub3_24.gif',1);" arrzones[60]="Map_swapImage('Rub3_29','','images/over_Rub3_29.gif',1);" arrzones[61]="Map_swapImage('Rub3_r5_c8-16','','images/over_Rub3_r5_c8-16.gif',1);" arrzones[62]="Map_swapImage('Rub3_r11_c1-36','','images/over_Rub3_r11_c1-36.gif',1);" arrzones[100]="Map_swapImage('Rub3_01','','images/over_Rub3_01.gif',1);" arrzones[101]="Map_swapImage('Rub3_07','','images/over_Rub3_07.gif',1);" arrzones[102]="Map_swapImage('Rub3_10','','images/over_Rub3_10.gif',1);" arrzones[103]="Map_swapImage('Rub3_12','','images/over_Rub3_12.gif',1);" arrhighzones[1]="Map_swapImage('Rub2_r1_c8','','images_high/over_Rub2_r1_c8.gif',1);Map_swapImage('Rub2_r1_c6','','images_high/over_Rub2_r1_c6.gif',1);" arrhighzones[2]="Map_swapImage('Rub2_r3_c5','','images_high/over_Rub2_r3_c5.gif',1);" arrhighzones[3]="Map_swapImage('Rub2_r2_c8','','images_high/over_Rub2_r2_c8.gif',1);" arrhighzones[4]="Map_swapImage('Rub2_r3_c8','','images_high/over_Rub2_r3_c8.gif',1);" arrhighzones[5]="Map_swapImage('Rub2_r2_c10','','images_high/over_Rub2_r2_c10.gif',1);" arrhighzones[6]="Map_swapImage('Rub2_r5_c10','','images_high/over_Rub2_r5_c10.gif',1);" arrhighzones[7]="Map_swapImage('Rub2_r6_c9','','images_high/over_Rub2_r6_c9.gif',1);" arrhighzones[11]="Map_swapImage('Rub2_r6_c5','','images_high/over_Rub2_r6_c5.gif',1);" arrhighzones[12]="Map_swapImage('Rub2_r6_c7','','images_high/over_Rub2_r6_c7.gif',1);" arrhighzones[13]="Map_swapImage('Rub2_r7_c7','','images_high/over_Rub2_r7_c7.gif',1);" arrhighzones[14]="Map_swapImage('Rub2_r9_c7','','images_high/over_Rub2_r9_c7.gif',1);" arrhighzones[15]="Map_swapImage('Rub2_r9_c4','','images_high/over_Rub2_r9_c4.gif',1);" arrhighzones[16]="Map_swapImage('Rub2_r6_c10','','images_high/over_Rub2_r6_c10.gif',1);Map_swapImage('Rub2_r11_c13','','images_high/over_Rub2_r11_c13.gif',1);" arrhighzones[17]="Map_swapImage('Rub2_r11_c12','','images_high/over_Rub2_r11_c12.gif',1);" arrhighzones[18]="Map_swapImage('Rub2_r13_c11','','images_high/over_Rub2_r13_c11.gif',1);" arrhighzones[20]="Map_swapImage('Rub2_r13_c14','','images_high/over_Rub2_r13_c14.gif',1);" arrhighzones[22]="Map_swapImage('Rub2_r14_c14','','images_high/over_Rub2_r14_c14.gif',1);Map_swapImage('Rub2_r6_c16','','images_high/over_Rub2_r6_c16.gif',1);" arrhighzones[23]="Map_swapImage('Rub2_copy','','images_high/over_Rub2_copy.gif',1);" arrhighzones[30]="Map_swapImage('Rub3_r2_c1','','images_high/over_Rub3_r2_c1.gif',1);" arrhighzones[31]="Map_swapImage('Rub3_r4_c1','','images_high/over_Rub3_r4_c1.gif',1);" arrhighzones[32]="Map_swapImage('Rub3_r11_c1','','images_high/over_Rub3_r11_c1.gif',1);" arrhighzones[33]="Map_swapImage('Rub3_r14_c13','','images_high/over_Rub3_r14_c13.gif',1);" arrhighzones[34]="Map_swapImage('Rub3_r4_c10','','images_high/over_Rub3_r4_c10.gif',1);" arrhighzones[35]="Map_swapImage('Rub3_r1_c1','','images_high/over_Rub3_r1_c1.gif',1);Map_swapImage('Rub3_r4_c4','','images_high/over_Rub3_r4_c4.gif',1);Map_swapImage('Rub3_r2_c2','','images_high/over_Rub3_r2_c2.gif',1);" arrhighzones[36]="Map_swapImage('Rub3_r3_c8','','images_high/over_Rub3_r3_c8.gif',1);" arrhighzones[37]="Map_swapImage('Rub3_r17_c5','','images_high/over_Rub3_r17_c5.gif',1);" arrhighzones[38]="Map_swapImage('Rub3_r17_c13','','images_high/over_Rub3_r17_c13.gif',1);" arrhighzones[39]="Map_swapImage('Rub3_r9_c5','','images_high/over_Rub3_r9_c5.gif',1);" arrhighzones[40]="Map_swapImage('Rub3_r9_c6','','images_high/over_Rub3_r9_c6.gif',1);" arrhighzones[41]="Map_swapImage('Rub3_r9_c7','','images_high/over_Rub3_r9_c7.gif',1);Map_swapImage('Rub3_r12_c5','','images_high/over_Rub3_r12_c5.gif',1);" arrhighzones[42]="Map_swapImage('Rub3_r10_c5','','images_high/over_Rub3_r10_c5.gif',1);" arrhighzones[43]="Map_swapImage('Rub3_r9_c9','','images_high/over_Rub3_r9_c9.gif',1);" arrhighzones[44]="Map_swapImage('Rub3_r6_c1','','images_high/over_Rub3_r6_c1.gif',1);Map_swapImage('Rub3_33','','images_high/over_Rub3_33.gif',1);" arrhighzones[45]="Map_swapImage('Rub3_r13_c12','','images_high/over_Rub3_r13_c12.gif',1);Map_swapImage('Rub3_28','','images_high/over_Rub3_28.gif',1);" arrhighzones[46]="Map_swapImage('Rub3_r18_c5','','images_high/over_Rub3_r18_c5.gif',1);Map_swapImage('Rub3_r16_c9_r1_c1','','images_high/over_Rub3_r16_c9_r1_c1.gif',1);" arrhighzones[47]="Map_swapImage('Rub3_r16_c9_r1_c2','','images_high/over_Rub3_r16_c9_r1_c2.gif',1);Map_swapImage('Rub3_r18_c13','','images_high/over_Rub3_r18_c13.gif',1);" arrhighzones[48]="Map_swapImage('Rub3_r9_c15','','images_high/over_Rub3_r9_c15.gif',1);" arrhighzones[49]="Map_swapImage('Rub3_r7_c9','','images_high/over_Rub3_r7_c9.gif',1);" arrhighzones[50]="Map_swapImage('Rub3_r5_c8','','images_high/over_Rub3_r5_c8.gif',1);Map_swapImage('Rub3_r1_c5','','images_high/over_Rub3_r1_c5.gif',1);" arrhighzones[51]="Map_swapImage('Rub2_r7_c7','','images_high/over_Rub2_r7_c7.gif',1);" arrhighzones[52]="Map_swapImage('Rub2_r2_c10','','images_high/over_Rub2_r2_c10.gif',1);Map_swapImage('Rub2_r6_c5','','images_high/over_Rub2_r6_c5.gif',1);" arrhighzones[53]="Map_swapImage('Rub2_r6_c5','','images_high/over_Rub2_r6_c5.gif',1);Map_swapImage('Rub2_r6_c10','','images_high/over_Rub2_r6_c10.gif',1);" arrhighzones[54]="Map_swapImage('Rub2_r3_c8','','images_high/over_Rub2_r3_c8.gif',1);Map_swapImage('Rub2_r13_c11','','images_high/over_Rub2_r13_c11.gif',1);" arrhighzones[55]="Map_swapImage('Rub2_r14_c11','','images_high/over_Rub2_r14_c11.gif',1);Map_swapImage('Rub2_r3_c8','','images_high/over_Rub2_r3_c8.gif',1);Map_swapImage('Rub2_r13_c11','','images_high/over_Rub2_r13_c11.gif',1);" arrhighzones[56]="Map_swapImage('Rub3_r13_c12','','images_high/over_Rub3_r13_c12.gif',1);" arrhighzones[57]="Map_swapImage('Rub2_r14_c11','','images_high/over_Rub2_r14_c11.gif',1);" arrhighzones[58]="Map_swapImage('Rub3_r9_c15_2','','images_high/over_Rub3_r9_c15_2.gif',1);" arrhighzones[59]="Map_swapImage('Rub3_24','','images_high/over_Rub3_24.gif',1);" arrhighzones[60]="Map_swapImage('Rub3_29','','images_high/over_Rub3_29.gif',1);" arrhighzones[61]="Map_swapImage('Rub3_r5_c8-16','','images_high/over_Rub3_r5_c8-16.gif',1);" arrhighzones[62]="Map_swapImage('Rub3_r11_c1-36','','images_high/over_Rub3_r11_c1-36.gif',1);" arrhighzones[100]="Map_swapImage('Rub3_01','','images_high/over_Rub3_01.gif',1);" arrhighzones[101]="Map_swapImage('Rub3_07','','images_high/over_Rub3_07.gif',1);" arrhighzones[102]="Map_swapImage('Rub3_10','','images_high/over_Rub3_10.gif',1);" arrhighzones[103]="Map_swapImage('Rub3_12','','images_high/over_Rub3_12.gif',1);" if (res == "high") { eval(arrhighzones[zone]) }else{ eval(arrzones[zone]) } return true; } function maprollover() { //(zone,resolution) var a=maprollover.arguments; window.status=''; if (a.length < 1) { } if (a.length < 2 && a[0] && a[0]!="high" && a[0] != "low") { rollover(a[0], "low"); show("DescriptZone" + a[0]); }else if (a[0] && a[0] != 0){ rollover(a[0], a[1]); show("DescriptZone" + a[0]); } return true; } function maprollout(zone) { Map_swapImgRestore(); if (zone && zone!=0){ hide("DescriptZone" + zone); } return true; } function maphref() { } function setlastframe(star) { lastindex = lastindex+1 document.lastframe[lastindex] = star; } function setlastresource(r) { lastresource = r; } function Map_HideLastFrame() { while (lastindex>0){ strstar = document.lastframe[lastindex]; lastindex = lastindex-1; hide('Star' + strstar) //Map_showHideLayers('document.layers[\\\'Star\\\' + strstar]','document.all[\\\'Star\\\' + strstar]','hide'); } return true; } function Map_initTimelines() { var ns = navigator.appName == "Netscape"; document.theTime = new Array(1); document.theTime[0] = new Array(79); document.theTime["Timeline1"] = document.theTime[0]; document.theTime[0].theName = "Timeline1"; document.theTime[0].fps = 15; document.theTime[0][0] = new String("behavior"); document.theTime[0][0].frame = 1; document.theTime[0][0].value = "Map_showHideLayers('document.layers[\\\'Descript\\\' + lastresource]','document.all[\\\'Descript\\\' + lastresource]','hide');Map_HideLastFrame();" document.theTime[0][1] = new String("behavior"); document.theTime[0][1].frame = 2; document.theTime[0][1].value = "Map_showHideLayers('document.layers[\\\'LayerMap2\\\']','document.all[\\\'LayerMap2\\\']','show','document.layers[\\\'PopupTitle2\\\']','document.all[\\\'PopupTitle2\\\']','show');Map_showHideLayers('document.layers[\\\'PopupTitle3\\\']','document.all[\\\'PopupTitle3\\\']','hide');Map_showHideLayers('document.layers[\\\'LayerMap3\\\']','document.all[\\\'LayerMap3\\\']','hide');Map_showHideLayers('document.layers[\\\'PopupTitle4\\\']','document.all[\\\'PopupTitle4\\\']','hide');Map_showHideLayers('document.layers[\\\'LayerMap4\\\']','document.all[\\\'LayerMap4\\\']','hide');" document.theTime[0][2] = new String("behavior"); document.theTime[0][2].frame = 3; document.theTime[0][2].value = "Map_showHideLayers('document.layers[\\\'LayerMap2\\\']','document.all[\\\'LayerMap2\\\']','hide','document.layers[\\\'PopupTitle2\\\']','document.all[\\\'PopupTitle2\\\']','hide');Map_showHideLayers('document.layers[\\\'PopupTitle3\\\']','document.all[\\\'PopupTitle3\\\']','show');Map_showHideLayers('document.layers[\\\'LayerMap3\\\']','document.all[\\\'LayerMap3\\\']','show');Map_showHideLayers('document.layers[\\\'PopupTitle4\\\']','document.all[\\\'PopupTitle4\\\']','hide');Map_showHideLayers('document.layers[\\\'LayerMap4\\\']','document.all[\\\'LayerMap4\\\']','hide');" document.theTime[0][3] = new String("behavior"); document.theTime[0][3].frame = 4; document.theTime[0][3].value = "Map_showHideLayers('document.layers[\\\'Star2\\\']','document.all[\\\'Star2\\\']','show');setlastframe('2');Map_showHideLayers('document.layers[\\\'Descript20\\\']','document.all[\\\'Descript20\\\']','show');setlastresource('20');" document.theTime[0][4] = new String("behavior"); document.theTime[0][4].frame = 5; document.theTime[0][4].value = "Map_showHideLayers('document.layers[\\\'Star3\\\']','document.all[\\\'Star3\\\']','show');setlastframe('3');" document.theTime[0][5] = new String("behavior"); document.theTime[0][5].frame = 6; document.theTime[0][5].value = "Map_showHideLayers('document.layers[\\\'Star4\\\']','document.all[\\\'Star4\\\']','show');setlastframe('4');Map_showHideLayers('document.layers[\\\'Descript21\\\']','document.all[\\\'Descript21\\\']','show');setlastresource('21');" document.theTime[0][6] = new String("behavior"); document.theTime[0][6].frame = 7; document.theTime[0][6].value = "Map_showHideLayers('document.layers[\\\'Star5\\\']','document.all[\\\'Star5\\\']','show');setlastframe('5');Map_showHideLayers('document.layers[\\\'Descript27\\\']','document.all[\\\'Descript27\\\']','show');setlastresource('27');" document.theTime[0][7] = new String("behavior"); document.theTime[0][7].frame = 8; document.theTime[0][7].value = "Map_showHideLayers('document.layers[\\\'Star6\\\']','document.all[\\\'Star6\\\']','show');setlastframe('6');Map_showHideLayers('document.layers[\\\'Descript22\\\']','document.all[\\\'Descript22\\\']','show');setlastresource('22');" document.theTime[0][8] = new String("behavior"); document.theTime[0][8].frame = 9; document.theTime[0][8].value = "Map_showHideLayers('document.layers[\\\'Star7\\\']','document.all[\\\'Star7\\\']','show');setlastframe('7');Map_showHideLayers('document.layers[\\\'Star9\\\']','document.all[\\\'Star9\\\']','show');setlastframe('9');Map_showHideLayers('document.layers[\\\'Descript23\\\']','document.all[\\\'Descript23\\\']','show');setlastresource('23');" document.theTime[0][9] = new String("behavior"); document.theTime[0][9].frame = 10; document.theTime[0][9].value = "Map_showHideLayers('document.layers[\\\'Star8\\\']','document.all[\\\'Star8\\\']','show');setlastframe('8');Map_showHideLayers('document.layers[\\\'Descript28\\\']','document.all[\\\'Descript28\\\']','show');setlastresource('28');" document.theTime[0][10] = new String("behavior"); document.theTime[0][10].frame = 11; document.theTime[0][10].value = "" document.theTime[0][11] = new String("behavior"); document.theTime[0][11].frame = 12; document.theTime[0][11].value = "Map_showHideLayers('document.layers[\\\'Star10\\\']','document.all[\\\'Star10\\\']','show');setlastframe('10');" document.theTime[0][12] = new String("behavior"); document.theTime[0][12].frame = 13; document.theTime[0][12].value = "Map_showHideLayers('document.layers[\\\'Star11\\\']','document.all[\\\'Star11\\\']','show');setlastframe('11');" document.theTime[0][13] = new String("behavior"); document.theTime[0][13].frame = 14; document.theTime[0][13].value = "Map_showHideLayers('document.layers[\\\'Star12\\\']','document.all[\\\'Star12\\\']','show');setlastframe('12');Map_showHideLayers('document.layers[\\\'Star13\\\']','document.all[\\\'Star13\\\']','show');setlastframe('13');" document.theTime[0][14] = new String("behavior"); document.theTime[0][14].frame = 15; document.theTime[0][14].value = "Map_showHideLayers('document.layers[\\\'Star15\\\']','document.all[\\\'Star15\\\']','show');setlastframe('15');Map_showHideLayers('document.layers[\\\'Star16\\\']','document.all[\\\'Star16\\\']','show');setlastframe('16');" document.theTime[0][15] = new String("behavior"); document.theTime[0][15].frame = 16; document.theTime[0][15].value = "Map_showHideLayers('document.layers[\\\'Star12\\\']','document.all[\\\'Star12\\\']','show');setlastframe('12');Map_showHideLayers('document.layers[\\\'Star13\\\']','document.all[\\\'Star13\\\']','show');setlastframe('13');" document.theTime[0][16] = new String("behavior"); document.theTime[0][16].frame = 17; document.theTime[0][16].value = "Map_showHideLayers('document.layers[\\\'Star17\\\']','document.all[\\\'Star17\\\']','show');setlastframe('17');Map_showHideLayers('document.layers[\\\'Star18\\\']','document.all[\\\'Star18\\\']','show');setlastframe('18');" document.theTime[0][17] = new String("behavior"); document.theTime[0][17].frame = 18; document.theTime[0][17].value = "Map_showHideLayers('document.layers[\\\'Star14\\\']','document.all[\\\'Star14\\\']','show');setlastframe('14');Map_showHideLayers('document.layers[\\\'Star20\\\']','document.all[\\\'Star20\\\']','show');setlastframe('20');" document.theTime[0][18] = new String("behavior"); document.theTime[0][18].frame = 19; document.theTime[0][18].value = "Map_showHideLayers('document.layers[\\\'Star21\\\']','document.all[\\\'Star21\\\']','show');setlastframe('21');" document.theTime[0][19] = new String("behavior"); document.theTime[0][19].frame = 20; document.theTime[0][19].value = "Map_showHideLayers('document.layers[\\\'Star78\\\']','document.all[\\\'Star78\\\']','show');setlastframe('78');" document.theTime[0][20] = new String("behavior"); document.theTime[0][20].frame = 21; document.theTime[0][20].value = "Map_showHideLayers('document.layers[\\\'Star21\\\']','document.all[\\\'Star21\\\']','show');setlastframe('21');Map_showHideLayers('document.layers[\\\'Descript37\\\']','document.all[\\\'Descript37\\\']','show');setlastresource('37');" document.theTime[0][21] = new String("behavior"); document.theTime[0][21].frame = 22; document.theTime[0][21].value = "Map_showHideLayers('document.layers[\\\'Star24\\\']','document.all[\\\'Star24\\\']','show');setlastframe('24');Map_showHideLayers('document.layers[\\\'Descript101\\\']','document.all[\\\'Descript101\\\']','show');setlastresource('101');" document.theTime[0][22] = new String("behavior"); document.theTime[0][22].frame = 23; document.theTime[0][22].value = "Map_showHideLayers('document.layers[\\\'Star25\\\']','document.all[\\\'Star25\\\']','show');setlastframe('25');Map_showHideLayers('document.layers[\\\'Descript38\\\']','document.all[\\\'Descript38\\\']','show');setlastresource('38');" document.theTime[0][23] = new String("behavior"); document.theTime[0][23].frame = 24; document.theTime[0][23].value = "Map_showHideLayers('document.layers[\\\'Star26\\\']','document.all[\\\'Star26\\\']','show');setlastframe('26');" document.theTime[0][24] = new String("behavior"); document.theTime[0][24].frame = 25; document.theTime[0][24].value = "Map_showHideLayers('document.layers[\\\'Star27\\\']','document.all[\\\'Star27\\\']','show');setlastframe('27');" document.theTime[0][25] = new String("behavior"); document.theTime[0][25].frame = 26; document.theTime[0][25].value = "Map_showHideLayers('document.layers[\\\'Star28\\\']','document.all[\\\'Star28\\\']','show');setlastframe('28');" document.theTime[0][26] = new String("behavior"); document.theTime[0][26].frame = 27; document.theTime[0][26].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][27] = new String("behavior"); document.theTime[0][27].frame = 28; document.theTime[0][27].value = "Map_showHideLayers('document.layers[\\\'Star30\\\']','document.all[\\\'Star30\\\']','show');setlastframe('30');Map_showHideLayers('document.layers[\\\'Descript43\\\']','document.all[\\\'Descript43\\\']','show');setlastresource('43');" document.theTime[0][28] = new String("behavior"); document.theTime[0][28].frame = 29; document.theTime[0][28].value = "Map_showHideLayers('document.layers[\\\'Star31\\\']','document.all[\\\'Star31\\\']','show');setlastframe('31');" document.theTime[0][29] = new String("behavior"); document.theTime[0][29].frame = 30; document.theTime[0][29].value = "Map_showHideLayers('document.layers[\\\'Star32\\\']','document.all[\\\'Star32\\\']','show');setlastframe('32');" document.theTime[0][30] = new String("behavior"); document.theTime[0][30].frame = 31; document.theTime[0][30].value = "Map_showHideLayers('document.layers[\\\'Star31\\\']','document.all[\\\'Star31\\\']','show');setlastframe('31');" document.theTime[0][31] = new String("behavior"); document.theTime[0][31].frame = 32; document.theTime[0][31].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');Map_showHideLayers('document.layers[\\\'Star36\\\']','document.all[\\\'Star36\\\']','show');setlastframe('36');Map_showHideLayers('document.layers[\\\'Star37\\\']','document.all[\\\'Star37\\\']','show');setlastframe('37');Map_showHideLayers('document.layers[\\\'Star74\\\']','document.all[\\\'Star74\\\']','show');setlastframe('74');Map_showHideLayers('document.layers[\\\'Star75\\\']','document.all[\\\'Star75\\\']','show');setlastframe('75');Map_showHideLayers('document.layers[\\\'Star76\\\']','document.all[\\\'Star76\\\']','show');setlastframe('76');" document.theTime[0][32] = new String("behavior"); document.theTime[0][32].frame = 33; document.theTime[0][32].value = "Map_showHideLayers('document.layers[\\\'Star38\\\']','document.all[\\\'Star38\\\']','show');setlastframe('38');" document.theTime[0][33] = new String("behavior"); document.theTime[0][33].frame = 34; document.theTime[0][33].value = "Map_showHideLayers('document.layers[\\\'Star39\\\']','document.all[\\\'Star39\\\']','show');setlastframe('39');Map_showHideLayers('document.layers[\\\'Descript48\\\']','document.all[\\\'Descript48\\\']','show');setlastresource('48');" document.theTime[0][34] = new String("behavior"); document.theTime[0][34].frame = 35; document.theTime[0][34].value = "Map_showHideLayers('document.layers[\\\'Star40\\\']','document.all[\\\'Star40\\\']','show');setlastframe('40');Map_showHideLayers('document.layers[\\\'Star41\\\']','document.all[\\\'Star41\\\']','show');setlastframe('41');" document.theTime[0][35] = new String("behavior"); document.theTime[0][35].frame = 36; document.theTime[0][35].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');Map_showHideLayers('document.layers[\\\'Star43\\\']','document.all[\\\'Star43\\\']','show');setlastframe('43');Map_showHideLayers('document.layers[\\\'Star44\\\']','document.all[\\\'Star44\\\']','show');setlastframe('44');" document.theTime[0][36] = new String("behavior"); document.theTime[0][36].frame = 37; document.theTime[0][36].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');Map_showHideLayers('document.layers[\\\'Star43\\\']','document.all[\\\'Star43\\\']','show');setlastframe('43');Map_showHideLayers('document.layers[\\\'Star44\\\']','document.all[\\\'Star44\\\']','show');setlastframe('44');" document.theTime[0][37] = new String("behavior"); document.theTime[0][37].frame = 38; document.theTime[0][37].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][38] = new String("behavior"); document.theTime[0][38].frame = 39; document.theTime[0][38].value = "Map_showHideLayers('document.layers[\\\'Star45\\\']','document.all[\\\'Star45\\\']','show');setlastframe('45');" document.theTime[0][39] = new String("behavior"); document.theTime[0][39].frame = 40; document.theTime[0][39].value = "Map_showHideLayers('document.layers[\\\'Star46\\\']','document.all[\\\'Star46\\\']','show');setlastframe('46');" document.theTime[0][40] = new String("behavior"); document.theTime[0][40].frame = 41; document.theTime[0][40].value = "Map_showHideLayers('document.layers[\\\'Star47\\\']','document.all[\\\'Star47\\\']','show');setlastframe('47');" document.theTime[0][41] = new String("behavior"); document.theTime[0][41].frame = 42; document.theTime[0][41].value = "Map_showHideLayers('document.layers[\\\'Star48\\\']','document.all[\\\'Star48\\\']','show');setlastframe('48');Map_showHideLayers('document.layers[\\\'Descript59\\\']','document.all[\\\'Descript59\\\']','show');setlastresource('59');" document.theTime[0][42] = new String("behavior"); document.theTime[0][42].frame = 43; document.theTime[0][42].value = "Map_showHideLayers('document.layers[\\\'Star28\\\']','document.all[\\\'Star28\\\']','show');setlastframe('28');" document.theTime[0][43] = new String("behavior"); document.theTime[0][43].frame = 44; document.theTime[0][43].value = "Map_showHideLayers('document.layers[\\\'Star50\\\']','document.all[\\\'Star50\\\']','show');setlastframe('50');Map_showHideLayers('document.layers[\\\'Descript61\\\']','document.all[\\\'Descript61\\\']','show');setlastresource('61');" document.theTime[0][44] = new String("behavior"); document.theTime[0][44].frame = 45; document.theTime[0][44].value = "Map_showHideLayers('document.layers[\\\'Star51\\\']','document.all[\\\'Star51\\\']','show');setlastframe('51');" document.theTime[0][45] = new String("behavior"); document.theTime[0][45].frame = 46; document.theTime[0][45].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][46] = new String("behavior"); document.theTime[0][46].frame = 47; document.theTime[0][46].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][47] = new String("behavior"); document.theTime[0][47].frame = 48; document.theTime[0][47].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][48] = new String("behavior"); document.theTime[0][48].frame = 49; document.theTime[0][48].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][49] = new String("behavior"); document.theTime[0][49].frame = 50; document.theTime[0][49].value = "Map_showHideLayers('document.layers[\\\'Star52\\\']','document.all[\\\'Star52\\\']','show');setlastframe('52');" document.theTime[0][50] = new String("behavior"); document.theTime[0][50].frame = 51; document.theTime[0][50].value = "Map_showHideLayers('document.layers[\\\'Star53\\\']','document.all[\\\'Star53\\\']','show');setlastframe('53');" document.theTime[0][51] = new String("behavior"); document.theTime[0][51].frame = 52; document.theTime[0][51].value = "Map_showHideLayers('document.layers[\\\'Star52\\\']','document.all[\\\'Star52\\\']','show');setlastframe('52');" document.theTime[0][52] = new String("behavior"); document.theTime[0][52].frame = 53; document.theTime[0][52].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][53] = new String("behavior"); document.theTime[0][53].frame = 54; document.theTime[0][53].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][54] = new String("behavior"); document.theTime[0][54].frame = 55; document.theTime[0][54].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][55] = new String("behavior"); document.theTime[0][55].frame = 56; document.theTime[0][55].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][56] = new String("behavior"); document.theTime[0][56].frame = 57; document.theTime[0][56].value = "Map_showHideLayers('document.layers[\\\'Star56\\\']','document.all[\\\'Star56\\\']','show');setlastframe('56');" document.theTime[0][57] = new String("behavior"); document.theTime[0][57].frame = 58; document.theTime[0][57].value = "Map_showHideLayers('document.layers[\\\'Star57\\\']','document.all[\\\'Star57\\\']','show');setlastframe('57');" document.theTime[0][58] = new String("behavior"); document.theTime[0][58].frame = 59; document.theTime[0][58].value = "Map_showHideLayers('document.layers[\\\'Star58\\\']','document.all[\\\'Star58\\\']','show');setlastframe('58');" document.theTime[0][59] = new String("behavior"); document.theTime[0][59].frame = 60; document.theTime[0][59].value = "Map_showHideLayers('document.layers[\\\'Star59\\\']','document.all[\\\'Star59\\\']','show');setlastframe('59');" document.theTime[0][60] = new String("behavior"); document.theTime[0][60].frame = 61; document.theTime[0][60].value = "Map_showHideLayers('document.layers[\\\'Star60\\\']','document.all[\\\'Star60\\\']','show');setlastframe('60');Map_showHideLayers('document.layers[\\\'Star61\\\']','document.all[\\\'Star61\\\']','show');setlastframe('61');" document.theTime[0][61] = new String("behavior"); document.theTime[0][61].frame = 62; document.theTime[0][61].value = "Map_showHideLayers('document.layers[\\\'Star62\\\']','document.all[\\\'Star62\\\']','show');setlastframe('62');" document.theTime[0][62] = new String("behavior"); document.theTime[0][62].frame = 63; document.theTime[0][62].value = "Map_showHideLayers('document.layers[\\\'Star63\\\']','document.all[\\\'Star63\\\']','show');setlastframe('63');" document.theTime[0][63] = new String("behavior"); document.theTime[0][63].frame = 64; document.theTime[0][63].value = "Map_showHideLayers('document.layers[\\\'Star64\\\']','document.all[\\\'Star64\\\']','show');setlastframe('64');Map_showHideLayers('document.layers[\\\'Star65\\\']','document.all[\\\'Star65\\\']','show');setlastframe('65');" document.theTime[0][64] = new String("behavior"); document.theTime[0][64].frame = 65; document.theTime[0][64].value = "Map_showHideLayers('document.layers[\\\'Star67\\\']','document.all[\\\'Star67\\\']','show');setlastframe('67');" document.theTime[0][65] = new String("behavior"); document.theTime[0][65].frame = 66; document.theTime[0][65].value = "Map_showHideLayers('document.layers[\\\'Star68\\\']','document.all[\\\'Star68\\\']','show');setlastframe('68');" document.theTime[0][66] = new String("behavior"); document.theTime[0][66].frame = 67; document.theTime[0][66].value = "Map_showHideLayers('document.layers[\\\'Star69\\\']','document.all[\\\'Star69\\\']','show');setlastframe('69');" document.theTime[0][67] = new String("behavior"); document.theTime[0][67].frame = 68; document.theTime[0][67].value = "Map_showHideLayers('document.layers[\\\'Star70\\\']','document.all[\\\'Star70\\\']','show');setlastframe('70');" document.theTime[0][68] = new String("behavior"); document.theTime[0][68].frame = 69; document.theTime[0][68].value = "Map_showHideLayers('document.layers[\\\'Star71\\\']','document.all[\\\'Star71\\\']','show');setlastframe('71');" document.theTime[0][69] = new String("behavior"); document.theTime[0][69].frame = 70; document.theTime[0][69].value = "Map_showHideLayers('document.layers[\\\'Star72\\\']','document.all[\\\'Star72\\\']','show');setlastframe('72');" document.theTime[0][70] = new String("behavior"); document.theTime[0][70].frame = 71; document.theTime[0][70].value = "Map_showHideLayers('document.layers[\\\'Star23\\\']','document.all[\\\'Star23\\\']','show');setlastframe('23');" document.theTime[0][71] = new String("behavior"); document.theTime[0][71].frame = 72; document.theTime[0][71].value = "Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');Map_showHideLayers('document.layers[\\\'Star29\\\']','document.all[\\\'Star29\\\']','show');setlastframe('29');" document.theTime[0][72] = new String("behavior"); document.theTime[0][72].frame = 73; document.theTime[0][72].value = "Map_showHideLayers('document.layers[\\\'Star73\\\']','document.all[\\\'Star73\\\']','show');setlastframe('73');" document.theTime[0][73] = new String("behavior"); document.theTime[0][73].frame = 74; document.theTime[0][73].value = "Map_showHideLayers('document.layers[\\\'Star77\\\']','document.all[\\\'Star77\\\']','show');setlastframe('77');" document.theTime[0][74] = new String("behavior"); document.theTime[0][74].frame = 75; document.theTime[0][74].value = "Map_showHideLayers('document.layers[\\\'Star79\\\']','document.all[\\\'Star79\\\']','show');setlastframe('79');" document.theTime[0][75] = new String("behavior"); document.theTime[0][75].frame = 76; document.theTime[0][75].value = "Map_showHideLayers('document.layers[\\\'Star80\\\']','document.all[\\\'Star80\\\']','show');setlastframe('80');" document.theTime[0][76] = new String("behavior"); document.theTime[0][76].frame = 77; document.theTime[0][76].value = "Map_showHideLayers('document.layers[\\\'Star81\\\']','document.all[\\\'Star81\\\']','show');setlastframe('81');" document.theTime[0][77] = new String("behavior"); document.theTime[0][77].frame = 78; document.theTime[0][77].value = "Map_showHideLayers('document.layers[\\\'Star82\\\']','document.all[\\\'Star82\\\']','show');setlastframe('82');" document.theTime[0][78] = new String("behavior"); document.theTime[0][78].frame = 79; document.theTime[0][78].value = "Map_showHideLayers('document.layers[\\\'Star83\\\']','document.all[\\\'Star83\\\']','show');setlastframe('83');" document.theTime[0].lastFrame = 79; for (i=0; i < document.theTime.length; i++) { document.theTime[i].ID = null; document.theTime[i].curFrame = 0; document.theTime[i].delay = 1000/document.theTime[i].fps; } } // Convert object name string or object reference // into a valid object reference function getObject(obj) { var theObj if (typeof obj == "string") { theObj = eval("document." + "getElementById('" + obj + "')" + strstyle) //theObj = eval("document." + strrange + obj + strstyle) } else { theObj = obj } return theObj } // Positioning an object at a specific pixel coordinate function shiftTo(obj, x, y) { var theObj = getObject(obj) if (isNav4) { theObj.moveTo(x,y) } else if (isIE4) { theObj.pixelLeft = x theObj.pixelTop = y } else if (isW3C) { theObj.left = x theObj.top = y } } // Moving an object by x and/or y pixels function shiftBy(obj, deltaX, deltaY) { var theObj = getObject(obj) if (isNav4) { theObj.moveBy(deltaX, deltaY) } else if (isIE4) { theObj.pixelLeft += deltaX theObj.pixelTop += deltaY } else if (isW3C) { theObj.left += deltaX theObj.top += deltaY } } // Setting the z-order of an object function setZIndex(obj, zOrder) { var theObj = getObject(obj) theObj.zIndex = zOrder } // Setting the background color of an object function setBGColor(obj, color) { var theObj = getObject(obj) if (isNav4) { theObj.bgColor = color } else { theObj.backgroundColor = color } } // Setting the visibility of an object to hidden function hide(obj) { if (obj) { var theObj = getObject(obj) theObj.visibility = "hidden" } } // Setting the visibility of an object to visible; hiding previous layers function showhidelast(obj) { hide('Star') hide("PopupItem") var theObj = getObject(obj) theObj.visibility = "visible" LastLayer = CurrentLayer hide(LastLayer) CurrentLayer = theObj } // Setting the visibility of an object to visible function show(obj) { if (obj) { var theObj = getObject(obj) theObj.visibility = "visible" //LastLayer = CurrentLayer //hide(LastLayer) //CurrentLayer = theObj } } var LongLayer = "" function showLong(title,resource) { name = "LongDescript" + resource if (LongLayer) {hide(LongLayer)} LongLayer = name show(name) } // Retrieving the x coordinate of a positionable object function getObjectLeft(obj) { var theObj = getObject(obj) if (isNav4) { return theObj.left } else if (isIE4) { return theObj.pixelLeft } else { return theObj.left } } // Retrieving the y coordinate of a positionable object function getObjectTop(obj) { var theObj = getObject(obj) if (isNav4) { return theObj.top } else if (isIE4) { return theObj.pixelTop } else { return theObj.top } } // scroll to x and y coordinates function customScrollBy(x,y) { if (isNav4) { window.scrollBy(x,y) } else { document.body.scrollLeft = x document.body.scrollTop = y } } function showProps(o, objName) { var result = "" count = 0 for (var i in o) { result += o + "." + i + "=" + o[i] + "\n" count++ if (count == 25) { alert(result) result = "" count = 0 } } alert(result) } function Map_swapImgRestore() { //v3.0 var i,x,a if (document.Map_sr) { a=document.Map_sr for(i=0;a&&i< a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; document.Map_sr.length = 0; } } function Map_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.Map_p) d.Map_p=new Array(); var i,j=d.Map_p.length,a=Map_preloadImages.arguments; for(i=0; i< a.length; i++) if (a[i].indexOf("#")!=0){ d.Map_p[j]=new Image; d.Map_p[j++].src=a[i];}} } function Map_findObj(n, d) { //v3.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(isW3C) x=d.getElementById(n); for (i=0;!x&&i< d.forms.length;i++) x=d.forms[i][n]; if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i< d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i< d.layers.length;i++) { //x=getObject(n) x=Map_findObj(n,d.layers[i].document); } return x; } function Map_swapImage() { //v3.0 var i,j=0,x,a=Map_swapImage.arguments; if (document.Map_sr) { j=document.Map_sr.length }else { document.Map_sr=new Array } for(i=0;i<(a.length-2);i+=3){ if (isIE4 || isW3C) { x=Map_findObj(a[i]) } else { for(k=0;x==null && k< document.layers.length; k++) { x=eval("document.layers[k].document.images['" + a[i] + "']") } } if (x!=null) { document.Map_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2]; } } } function Map_timelineGoto(tmLnName, fNew, numGotos) { var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,lastKeyFr,propNum,theObj; if (document.theTime == null) Map_initTimelines(); //if *very* 1st time tmLn = document.theTime[tmLnName]; if (numGotos != null) if (tmLn.gotoCount == null) tmLn.gotoCount = 1; else if (tmLn.gotoCount++ >= numGotos) {tmLn.gotoCount=0; return} jmpFwd = (fNew > tmLn.curFrame); for (i = 0; i < tmLn.length; i++) { sprite = (jmpFwd)? tmLn[i] : tmLn[(tmLn.length-1)-i]; //count bkwds if jumping back if (sprite.charAt(0) == "s") { numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0]; lastKeyFr = sprite.keyFrames[numKeyFr - 1]; if ((jmpFwd && fNew< firstKeyFr) || (!jmpFwd && lastKeyFr< fNew)) continue; //skip if untouchd for (keyFrm=1; keyFrm< numKeyFr && fNew>=sprite.keyFrames[keyFrm]; keyFrm++); for (j=0; j< sprite.values.length; j++) { props = sprite.values[j]; if (numKeyFr == props.length) propNum = keyFrm-1 //keyframes only else propNum = Math.min(Math.max(0,fNew-firstKeyFr),props.length-1); //or keep in legal range if (sprite.obj != null) { if (props.prop2 == null) sprite.obj[props.prop] = props[propNum]; else sprite.obj[props.prop2][props.prop] = props[propNum]; } } } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value); } tmLn.curFrame = fNew; if (tmLn.ID == 0) eval('Map_timelinePlay(tmLnName)'); } function Map_timelinePlay(tmLnName, myID) { var i,j,tmLn,props,keyFrm,sprite,numKeyFr,firstKeyFr,propNum,theObj,firstTime=false; if (document.theTime == null) Map_initTimelines(); //if *very* 1st time tmLn = document.theTime[tmLnName]; if (myID == null) { myID = ++tmLn.ID; firstTime=true;}//if new call, incr ID if (myID == tmLn.ID) { //if Im newest setTimeout('Map_timelinePlay("'+tmLnName+'",'+myID+')',tmLn.delay); fNew = ++tmLn.curFrame; for (i=0; i< tmLn.length; i++) { sprite = tmLn[i]; if (sprite.charAt(0) == 's') { if (sprite.obj) { numKeyFr = sprite.keyFrames.length; firstKeyFr = sprite.keyFrames[0]; if (fNew >= firstKeyFr && fNew <= sprite.keyFrames[numKeyFr-1]) {//in range keyFrm=1; for (j=0; j< sprite.values.length; j++) { props = sprite.values[j]; if (numKeyFr != props.length) { if (props.prop2 == null) sprite.obj[props.prop] = props[fNew-firstKeyFr]; else sprite.obj[props.prop2][props.prop] = props[fNew-firstKeyFr]; } else { while (keyFrm< numKeyFr && fNew>=sprite.keyFrames[keyFrm]) keyFrm++; if (firstTime || fNew==sprite.keyFrames[keyFrm-1]) { if (props.prop2 == null) sprite.obj[props.prop] = props[keyFrm-1]; else sprite.obj[props.prop2][props.prop] = props[keyFrm-1]; } } } } } } else if (sprite.charAt(0)=='b' && fNew == sprite.frame) eval(sprite.value); if (fNew > tmLn.lastFrame) tmLn.ID = 0; } } } function Map_showHideLayers() { var i, visStr, args, theObj; args = Map_showHideLayers.arguments; for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr) visStr = args[i+2]; if (navigator.appName == 'Netscape' && document.layers != null) { theObj = eval(args[i]); if (theObj) theObj.visibility = visStr; } else if (document.all != null) { //IE var strobj = "" if (visStr == 'show') visStr = 'visible'; //convert vals if (visStr == 'hide') visStr = 'hidden'; theObj = eval(args[i+1]); if (theObj) theObj.style.visibility = visStr; } else if (isW3C) { //Netscape6 if (visStr == 'show') visStr = 'visible'; //convert vals if (visStr == 'hide') visStr = 'hidden'; strobj = args[i+1].replace(/all\[/,"getElementById(") strobj = strobj.replace(/\]/,")") theObj = eval(strobj); if (theObj) theObj.style.visibility = visStr; } } } function DisplayLayer(layer, navlayer){ var i, visStr, args, theObj; if (navigator.appName == 'Netscape' && document.layers != null) { theObj = document.layers[16]; if (theObj) { alert("object exissts") //theObj.display = ""; document.layers[22].visibility = "show"; alert (document.layers[22].visibility); } else { alert ("object is null"); } } else if (document.all != null) { //IE theObj = eval(layer); if (theObj) theObj.style.display = ""; } } function GotoMap(n, res) { //var xshift = 172; yshift = 20 if (n == 0) { window.status = "Online Library Directory and Map to the Pritzker Legal Research Center" } if (n == -1 || n == "-1") { GotoMap(CurrentMap) if (LongLayer) {hide(LongLayer)} } if (n == "7") { if (res=="high") { Rub2fullcolored = "Rub2-1024colored.gif" Rub3fullcolored = "Rub3-1024colored.gif" }else { Rub2fullcolored = "Rub2-800colored.gif" Rub3fullcolored = "Rub3-800colored.gif" } hide("PopupItem") hide('Star') if (CurrentMap == 2) { GotoMap(4) }else { GotoMap(5) } //if (isIE4) { x=Map_findObj("R2full") //} else { //document.layers["LayerFullMap2"].document.images["R2full"] // } x.src = Rub2fullcolored //if (isIE4) { x=Map_findObj("R3full") //} else { // document.layers["LayerFullMap3"].document.images["R3full"] // } x.src = Rub3fullcolored } else { if (n == "2") { //if (!PopupTitleFull == "") { // shiftBy(PopupTitleFull,(-1*xshift),yshift); // hide(PopupTitleFull); // } Map_timelineGoto('Timeline1',2); CurrentMap = "2"; //PopupTitle = "PopupTitle2" //PopupTitleFull = "" hide(lastfullmap) hide("LayerFullMap2Menu") lastfullmap = "" hide("PopupItem") hide('Star') Map_findObj('ImageR2').src = "graphics/R2selected.jpg" Map_findObj('ImageR3').src = "graphics/R3.jpg" Map_findObj('ImageR4').src = "graphics/R4.jpg" show("LayerLogo") window.status = "Library Second Floor--Entry Level" } else if (n == "3") { //if (!PopupTitleFull == "") { // shiftBy(PopupTitleFull,-1*xshift,yshift); // hide(PopupTitleFull); // } Map_timelineGoto('Timeline1',3); CurrentMap = "3"; //PopupTitle = "PopupTitle3" //PopupTitleFull = "" hide(lastfullmap) hide("LayerFullMap2Menu") lastfullmap = "" hide("PopupItem") hide('Star') Map_findObj('ImageR3').src = "graphics/R3selected.jpg" Map_findObj('ImageR2').src = "graphics/R2.jpg" Map_findObj('ImageR4').src = "graphics/R4.jpg" show("LayerLogo") window.status = "Library (Rubloff) Third Floor" } else if (n == "floor4") { //if (!PopupTitleFull == "") { // shiftBy(PopupTitleFull,-1*xshift,yshift); // hide(PopupTitleFull); // } //Map_timelineGoto('Timeline1',3); 'No index available, so invoke showHideLayers() directly: strShowMap = "Map_showHideLayers('document.layers[\\\'LayerMap2\\\']','document.all[\\\'LayerMap2\\\']','hide','document.layers[\\\'PopupTitle2\\\']','document.all[\\\'PopupTitle2\\\']','hide');Map_showHideLayers('document.layers[\\\'LayerMap3\\\']','document.all[\\\'LayerMap3\\\']','hide','document.layers[\\\'PopupTitle3\\\']','document.all[\\\'PopupTitle3\\\']','hide');Map_showHideLayers('document.layers[\\\'PopupTitle3\\\']','document.all[\\\'PopupTitle3\\\']','show');Map_showHideLayers('document.layers[\\\'LayerMap4\\\']','document.all[\\\'LayerMap4\\\']','show');" eval(strShowMap); CurrentMap = "floor4"; //PopupTitle = "PopupTitle3" //PopupTitleFull = "" hide(lastfullmap) hide("LayerFullMap2Menu") lastfullmap = "" hide("PopupItem") hide('Star') Map_findObj('ImageR4').src = "graphics/R4selected.jpg" Map_findObj('ImageR3').src = "graphics/R3.jpg" Map_findObj('ImageR2').src = "graphics/R2.jpg" show("LayerLogo") window.status = "Library (Rubloff) Fourth Floor" } else if (n == "4") { hide(lastfullmap) lastfullmap = "LayerFullMap2" show("LayerFullMap2"); show("LayerFullMap2Menu"); //hide(PopupTitle); hide("LayerLogo") //if (!PopupTitleFull == "") { // shiftBy(PopupTitleFull,-1*xshift,yshift); // hide(PopupTitleFull); //} //PopupTitleFull = "PopupTitle2" //shiftBy("PopupTitle2",xshift,-1*yshift); //show("PopupTitle2") window.status = "Library Second Floor--Entry Level" } else if (n == "5") { hide(lastfullmap) lastfullmap = "LayerFullMap3" show("LayerFullMap3"); show("LayerFullMap2Menu"); //hide(PopupTitle); hide("LayerLogo") //if (!PopupTitleFull == "") { // shiftBy(PopupTitleFull,-1*xshift,yshift); // hide(PopupTitleFull); //} //PopupTitleFull = 'PopupTitle3' //shiftBy("PopupTitle3",xshift,-1*yshift); //show("PopupTitle3") window.status = "Library (Rubloff) Third Floor" } else if (n == "6") { hide(lastfullmap) lastfullmap = "LayerFullMap4" show("LayerFullMap4"); show("LayerFullMap2Menu"); //hide(PopupTitle); hide("LayerLogo") //if (!PopupTitleFull == "") { // shiftBy(PopupTitleFull,-1*xshift,yshift); // hide(PopupTitleFull); //} //PopupTitleFull = 'PopupTitle3' //shiftBy("PopupTitle3",xshift,-1*yshift); //show("PopupTitle3") window.status = "Library (Rubloff) Fourth Floor" } } } function swapZone(zone) { arrZones[1] = "Map_swapImage('Rub2_r1_c8','','images/over_Rub2_r1_c8.gif',1);Map_swapImage('Rub2_r1_c6','','images/over_Rub2_r1_c6.gif',1);,1"; arrZones[2] = "Map_swapImage('Rub2_r3_c5','','images/over_Rub2_r3_c5.gif',1);,1"; arrZones[3] = "Map_swapImage('Rub2_r2_c8','','images/over_Rub2_r2_c8.gif',1);,1"; arrZones[4] = "Map_swapImage('Rub2_r3_c8','','images/over_Rub2_r3_c8.gif',1);,1"; arrZones[5] = "Map_swapImage('Rub2_r2_c10','','images/over_Rub2_r2_c10.gif',1);,1"; arrZones[6] = "Map_swapImage('Rub2_r5_c10','','images/over_Rub2_r5_c10.gif',1);,1"; arrZones[7] = "Map_swapImage('Rub2_r6_c9','','images/over_Rub2_r6_c9.gif',1);,1"; arrZones[11] = "Map_swapImage('Rub2_r6_c5','','images/over_Rub2_r6_c5.gif',1);,1"; arrZones[12] = "Map_swapImage('Rub2_r6_c7','','images/over_Rub2_r6_c7.gif',1);,1"; arrZones[13] = "Map_swapImage('Rub2_r7_c7','','images/over_Rub2_r7_c7.gif',1);,1"; arrZones[14] = "Map_swapImage('Rub2_r9_c7','','images/over_Rub2_r9_c7.gif',1);,1"; arrZones[15] = "Map_swapImage('Rub2_r9_c4','','images/over_Rub2_r9_c4.gif',1);,1"; arrZones[16] = "Map_swapImage('Rub2_r6_c10','','images/over_Rub2_r6_c10.gif',1);Map_swapImage('Rub2_r11_c13','','images/over_Rub2_r11_c13.gif',1);,1"; arrZones[17] = "Map_swapImage('Rub2_r11_c12','','images/over_Rub2_r11_c12.gif',1);,1"; arrZones[18] = "Map_swapImage('Rub2_r13_c11','','images/over_Rub2_r13_c11.gif',1);,1"; arrZones[20] = "Map_swapImage('Rub2_r13_c14','','images/over_Rub2_r13_c14.gif',1);,1"; arrZones[22] = "Map_swapImage('Rub2_r14_c14','','images/over_Rub2_r14_c14.gif',1);Map_swapImage('Rub2_r6_c16','','images/over_Rub2_r6_c16.gif',1);,1"; arrZones[23] = "Map_swapImage('Rub2_copy','','images/over_Rub2_copy.gif',1);,1"; arrZones[30] = "Map_swapImage('Rub3_r2_c1','','images/over_Rub3_r2_c1.gif',1);,1"; arrZones[31] = "Map_swapImage('Rub3_r4_c1','','images/over_Rub3_r4_c1.gif',1);,1"; arrZones[32] = "Map_swapImage('Rub3_r11_c1','','images/over_Rub3_r11_c1.gif',1);,1"; arrZones[33] = "Map_swapImage('Rub3_r14_c13','','images/over_Rub3_r14_c13.gif',1);,1"; arrZones[34] = "Map_swapImage('Rub3_r4_c10','','images/over_Rub3_r4_c10.gif',1);,1"; arrZones[35] = "Map_swapImage('Rub3_r1_c1','','images/over_Rub3_r1_c1.gif',1);Map_swapImage('Rub3_r4_c4','','images/over_Rub3_r4_c4.gif',1);Map_swapImage('Rub3_r2_c2','','images/over_Rub3_r2_c2.gif',1);,1"; arrZones[36] = "Map_swapImage('Rub3_r3_c8','','images/over_Rub3_r3_c8.gif',1);,1"; arrZones[37] = "Map_swapImage('Rub3_r17_c5','','images/over_Rub3_r17_c5.gif',1);,1"; arrZones[38] = "Map_swapImage('Rub3_r17_c13','','images/over_Rub3_r17_c13.gif',1);,1"; arrZones[39] = "Map_swapImage('Rub3_r9_c5','','images/over_Rub3_r9_c5.gif',1);,1"; arrZones[40] = "Map_swapImage('Rub3_r9_c6','','images/over_Rub3_r9_c6.gif',1);,1"; arrZones[41] = "Map_swapImage('Rub3_r9_c7','','images/over_Rub3_r9_c7.gif',1);Map_swapImage('Rub3_r12_c5','','images/over_Rub3_r12_c5.gif',1);,1"; arrZones[42] = "Map_swapImage('Rub3_r10_c5','','images/over_Rub3_r10_c5.gif',1);,1"; arrZones[43] = "Map_swapImage('Rub3_r9_c9','','images/over_Rub3_r9_c9.gif',1);,1"; arrZones[44] = "Map_swapImage('Rub3_r6_c1','','images/over_Rub3_r6_c1.gif',1);Map_swapImage('Rub3_33','','images/over_Rub3_33.gif',1);,1"; arrZones[45] = "Map_swapImage('Rub3_r13_c12','','images/over_Rub3_r13_c12.gif',1);Map_swapImage('Rub3_28','','images/over_Rub3_28.gif',1);,1"; arrZones[46] = "Map_swapImage('Rub3_r18_c5','','images/over_Rub3_r18_c5.gif',1);Map_swapImage('Rub3_r16_c9_r1_c1','','images/over_Rub3_r16_c9_r1_c1.gif',1);,1"; arrZones[47] = "Map_swapImage('Rub3_r16_c9_r1_c2','','images/over_Rub3_r16_c9_r1_c2.gif',1);Map_swapImage('Rub3_r18_c13','','images/over_Rub3_r18_c13.gif',1);,1"; arrZones[48] = "Map_swapImage('Rub3_r9_c15','','images/over_Rub3_r9_c15.gif',1);,1"; arrZones[49] = "Map_swapImage('Rub3_r7_c9','','images/over_Rub3_r7_c9.gif',1);,1"; arrZones[50] = "Map_swapImage('Rub3_r5_c8','','images/over_Rub3_r5_c8.gif',1);Map_swapImage('Rub3_r1_c5','','images/over_Rub3_r1_c5.gif',1);,1"; arrZones[51] = "Map_swapImage('Rub2_r7_c7','','images/over_Rub2_r7_c7.gif',1);,1"; arrZones[52] = "Map_swapImage('Rub2_r2_c10','','images/over_Rub2_r2_c10.gif',1);Map_swapImage('Rub2_r6_c5','','images/over_Rub2_r6_c5.gif',1);,1"; arrZones[53] = "Map_swapImage('Rub2_r6_c5','','images/over_Rub2_r6_c5.gif',1);Map_swapImage('Rub2_r6_c10','','images/over_Rub2_r6_c10.gif',1);,1"; arrZones[54] = "Map_swapImage('Rub2_r3_c8','','images/over_Rub2_r3_c8.gif',1);Map_swapImage('Rub2_r13_c11','','images/over_Rub2_r13_c11.gif',1);,1"; arrZones[55] = "Map_swapImage('Rub2_r14_c11','','images/over_Rub2_r14_c11.gif',1);Map_swapImage('Rub2_r3_c8','','images/over_Rub2_r3_c8.gif',1);Map_swapImage('Rub2_r13_c11','','images/over_Rub2_r13_c11.gif',1);,1"; arrZones[56] = "Map_swapImage('Rub3_r13_c12','','images/over_Rub3_r13_c12.gif',1);,1"; arrZones[57] = "Map_swapImage('Rub2_r14_c11','','images/over_Rub2_r14_c11.gif',1);,1"; arrZones[58] = "Map_swapImage('Rub3_r9_c15_2','','images/over_Rub3_r9_c15_2.gif',1);,1"; arrZones[59] = "Map_swapImage('Rub3_24','','images/over_Rub3_24.gif',1);,1"; arrZones[60] = "Map_swapImage('Rub3_29','','images/over_Rub3_29.gif',1);,1"; arrZones[61] = "Map_swapImage('Rub3_r5_c8-16','','images/over_Rub3_r5_c8-16.gif',1);,1"; arrZones[62] = "Map_swapImage('Rub3_r11_c1-36','','images/over_Rub3_r11_c1-36.gif',1);,1"; arrZones[100] = "Map_swapImage('Rub3_01','','images/over_Rub3_01.gif',1);,1"; arrZones[101] = "Map_swapImage('Rub3_07','','images/over_Rub3_07.gif',1);,1"; arrZones[102] = "Map_swapImage('Rub3_10','','images/over_Rub3_10.gif',1);,1"; arrZones[103] = "Map_swapImage('Rub3_12','','images/over_Rub3_12.gif',1);,1"; Map_swapImage(arrZones[zone]) return arrZones[zone] }