/* VERSION HISTORY	CURRENT VERSION:  1.01		VERSION 1.01:	- Removed Robert Ferst Center from links	- Revised comments to include location of blankfooter.htm template		VERSION 1.00:	- Production Release		auxFooter.js creates the standard Auxiliary Services footer.	This script should be placed directly before the close body </body> tag of your html document.	No content should be placed between this script and the </body> tag.	This script uses functions defined in the auxjslib.js.  This file should be included in the head of your document.	A Blank template the implements the footer can be found at http://www.importantstuff.gatech.edu/blankfooter.htm*///var mybrowserType = new browserSniffer(); // in auxjslib.  Determines the browser typevar pageIsLoaded = false; // used to determine if page is first loading up, or has already been loaded// used to determine & support IE4, IE5, NS4, NS6var classSelectionObj = new createTheProperSubClass();var myBrowserAPIObj = classSelectionObj.getTheProperSubClass();var windowWidth = 0;var windowHeight= 0;var pageScrollLeft= 0;var pageScrollTop= 0;var layerHeight= 25;var bottomSpacer=0;var topZ = myBrowserAPIObj.findHighestZ();function auxjslib_setElements()    {    //Function called onLoad to preload rollovers, position elements and set visibility    pageIsLoaded = true;	var classSelectionObj = new createTheProperSubClass();    var myBrowserAPIObj = classSelectionObj.getTheProperSubClass();	aux_setTargetName();	positionFooter();		MM_preloadImages("http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_TECH_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_SEARCH_over.gif", "http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_LINKS_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_CAL_over.gif", "http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_MAP_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_DIS_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_AUX.jpg","http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_BOOK_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_BUZZ_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_COMP_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_DINE_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_HEALTH_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_HOUSING_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_PARK_over.gif","http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_STUDENT_over.gif");	myBrowserAPIObj.setVisibility("LAYmain1", true);	myBrowserAPIObj.setVisibility("LAYmain2", true);	myBrowserAPIObj.setVisibility("LAYmain3", true);}function moveToBottom(whichElement, leftAdjust, topAdjust, layerHeight) {      // whichElement = which layer to be moved	  // top adjust = the number of pixels whichElement is placed above the bottom (for the popUp layers)	  windowHeight = myBrowserAPIObj.getWindowHeight();      myBrowserAPIObj.setPosFromTop(whichElement, windowHeight + pageScrollTop - ((layerHeight+bottomSpacer) + topAdjust));      myBrowserAPIObj.setPosFromLeft(whichElement, (pageScrollLeft + leftAdjust));      topZ = myBrowserAPIObj.findHighestZ();      myBrowserAPIObj.setZposition(whichElement, topZ);}function setLayerStack()  {      topZ = myBrowserAPIObj.findHighestZ();      myBrowserAPIObj.setZposition("LAYmain1", (topZ+1));	  myBrowserAPIObj.setZposition("LAYmain2", (topZ+1));	  myBrowserAPIObj.setZposition("LAYmain3", (topZ+1));	  myBrowserAPIObj.setZposition("LAYlinks", topZ+2);	  myBrowserAPIObj.setZposition("LAYlinksAC", (topZ+2));}function positionFooter()  {    //reposition footer layers.  Call the layers from bottom to top -- LAYmain should be the top layer	if (pageIsLoaded)   {          var myBrowserAPIObj = classSelectionObj.getTheProperSubClass();  	    oldWindowWidth= windowWidth;        oldWindowHeight= windowHeight;        oldPageScrollLeft= pageScrollLeft;        oldPageScrollTop= pageScrollTop;        windowWidth = myBrowserAPIObj.getWindowWidth();	    windowHeight = myBrowserAPIObj.getWindowHeight();        pageScrollLeft = myBrowserAPIObj.getPageScrollLeft();        pageScrollTop = myBrowserAPIObj.getPageScrollTop();        if (windowWidth < 600) {		    pageScrollLeft = 0; 		}		if ((windowHeight != oldWindowHeight)||(windowWidth !=           oldWindowWidth)||(pageScrollLeft != oldPageScrollLeft)||          (pageScrollTop != oldPageScrollTop)){			  moveToBottom("LAYlinks", 85, 37, 25);			  moveToBottom("LAYmain1", 0, 0, 52);			  moveToBottom("LAYmain2", 59, 0, 37);			  moveToBottom("LAYmain3", 59, 37, 15);			  moveToBottom("LAYlinksAC", 271, 12, 25);			  setLayerStack();		}     }	  }// Call positionFooter() continuously at a specified time interval to keep footer at the bottom of the pagemyBrowserAPIObj.doThisCommandEveryIntervalMS("positionFooter()", 100);with (document){    // adds an invisible table to the bottom of the visible page                              // to ensure that the footer doesn't obscure page content    writeln("<table width='10' border='0' cellspacing='0' cellpadding='0' height='100' name='auxFooterSpacer'>");    writeln("<tr>");	writeln("<td>&nbsp;<\/td>");	writeln("<\/tr>");	writeln("<\/table>");   }	with (document){    // create main footer    writeln("<STYLE TYPE=\"text/css\">");     writeln("#LAYmain1 {");     writeln("position:absolute; visibility:hidden; left:0; top:35; width:59; height:52; z-index:1000;");     writeln("}");     writeln("#LAYmain2 {");     writeln("position:absolute; visibility:hidden; left:59; top:50; width:100%; height:37; z-index:1000;");     writeln("}");     writeln("#LAYmain3 {");     writeln("position:absolute; visibility:hidden; left:59; top:35; width:21; height:15; z-index:1000;");     writeln("}");    writeln("#LAYlinks {");     writeln("position:absolute; visibility:hidden; left:85; top:25; width:439; height:25; z-index:1001;");    writeln("}");     writeln("#LAYlinksAC {");     writeln("position:absolute; visibility:hidden; left:271; top:50; width:87; height:25; z-index:1001;");     writeln("}");     writeln("</STYLE>");		writeln("<p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>");    writeln("<div id=\"LAYlinksAC\"><img src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_LINKS_over.gif\" width=\"87\" height=\"25\"></div>");		writeln("<div id=\"LAYlinks\">");    writeln("<table width=\"353\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"25\">");    writeln("<tr> ");    writeln("<td width=\"6\" height=\"25\"><img src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_01.gif\" width=6 height=25 name=\"auxFooterlinks_01\"></td>");    writeln("<td width=\"51\" height=\"25\"><a href=\"http://www.bkstore.com/gatech\" ALT=\"Go to the Georgia Tech Bookstore\"  onClick=\"MM_swapImgRestore\(\);MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Georgia Tech Bookstore home page'\); MM_swapImage\('auxFooterlinks_BOOK','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_BOOK_over.gif',1\)\"><img name=\"auxFooterlinks_BOOK\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_BOOK.gif\" width=51 height=25 border=0 ALT=\"Go to the Georgia Tech Bookstore home page\"></a></td>");    writeln("<td width=\"2\" height=\"25\"> <img name=\"auxFooterlinks_SEP\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_SEP.gif\" width=2 height=25></td>");    writeln("<td width=\"46\" height=\"25\"><a href=\"http://www.buzzcard.gatech.edu\" ALT=\"Go to BuzzCardNET\"  onClick=\"MM_swapImgRestore\(\);MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to BuzzCardNET'\); MM_swapImage\('auxFooterlinks_BUZZ','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_BUZZ_over.gif',1\)\"><img name=\"auxFooterlinks_BUZZ\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_BUZZ.gif\" width=46 height=25 border=0 ALT=\"Go to BuzzCardNET\"></a></td>");    writeln("<td width=\"2\" height=\"25\"> <img name=\"auxFooterlinks_SEP\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_SEP.gif\" width=2 height=25></td>");    writeln("<td width=\"33\" height=\"25\"><a href=\"http://www.gatechdining.com\" ALT=\"Go to Dining Services\"  onClick=\"MM_swapImgRestore\(\);MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Dining Services home page'\); MM_swapImage\('auxFooterlinks_DINE','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_DINE_over.gif',1\)\"><img name=\"auxFooterlinks_DINE\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_DINE.gif\" width=33 height=25 border=0 ALT=\"Go to the Dining Services home page\"></a></td>");    writeln("<td width=\"2\" height=\"25\"> <img name=\"auxFooterlinks_SEP\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_SEP.gif\" width=2 height=25></td>");    writeln("<td width=\"33\" height=\"25\"><a href=\"http://www.health.gatech.edu\" ALT=\"Go to Health Services\"  onClick=\"MM_swapImgRestore\(\);MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Health Services home page'\); MM_swapImage\('auxFooterlinks_HEALTH','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_HEALTH_over.gif',1\)\"><img name=\"auxFooterlinks_HEALTH\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_HEALTH.gif\" width=33 height=25 border=0 ALT=\"Go to the Health Services home page\"></a></td>");    writeln("<td width=\"2\" height=\"25\"> <img name=\"auxFooterlinks_SEP\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_SEP.gif\" width=2 height=25></td>");    writeln("<td width=\"41\" height=\"25\"><a href=\"http://www.housing.gatech.edu\" ALT=\"Go to Housing\"  onClick=\"MM_swapImgRestore\(\);MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Department of Housing home page'\); MM_swapImage\('auxFooterlinks_HOUSING','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_HOUSING_over.gif',1\)\"><img name=\"auxFooterlinks_HOUSING\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_HOUSING.gif\" width=41 height=25 border=0 ALT=\"Go to the Department of Housing home page\"></a></td>");    writeln("<td width=\"2\" height=\"25\"> <img name=\"auxFooterlinks_SEP\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_SEP.gif\" width=2 height=25></td>");    writeln("<td width=\"38\" height=\"25\"><a href=\"http://www.parking.gatech.edu\" ALT=\"Go to Parking and Transportation\"  onClick=\"MM_swapImgRestore\(\);MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Parking and Transportation home page'\); MM_swapImage\('auxFooterlinks_PARK','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_PARK_over.gif',1\)\"><img name=\"auxFooterlinks_PARK\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_PARK.gif\" width=38 height=25 border=0 ALT=\"Go to the Parking and Transportation home page\"></a></td>");    writeln("<td width=\"2\" height=\"25\"> <img name=\"auxFooterlinks_SEP\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_SEP.gif\" width=2 height=25></td>");    writeln("<td width=\"69\" height=\"25\"><a href=\"http://www.studentcenter.gatech.edu\" ALT=\"Go to the Student Center\"  onClick=\"MM_swapImgRestore\(\);MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Student Center home page'\); MM_swapImage\('auxFooterlinks_STUDENT','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_STUDENT_over.gif',1\)\"><img name=\"auxFooterlinks_STUDENT\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_STUDENT.gif\" width=69 height=25 border=0 ALT=\"Go to the Student Center home page\"></a></td>");    writeln("<td width=\"2\" height=\"25\"> <img name=\"auxFooterlinks_SEP\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooterlinks_SEP.gif\" width=2 height=25></td>");    writeln("<td width=\"22\" height=\"25\"><a href=\"javascript:;\"  onMouseOver=\"aux_setStatus\('Hide Auxiliary Services Links'\)\" onClick=\"MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\"> ");    writeln("<img src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFooter_CLOSE.gif\" width=22 height=25 border=0 ALT=\"Hide Auxiliary Services Links\"></a></td>");    writeln("</tr>");    writeln("</table>");    writeln("</div>");    writeln("<div id=\"LAYmain3\"><img src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_CURVE.gif\" width=\"21\" height=\"15\"></div>");    writeln("<div id=\"LAYmain1\">");    writeln("<table width=59 border=0 cellpadding=0 cellspacing=0 height=\"52\">");    writeln("<tr>");    writeln("<td width=59 height=40> <a href=\"http://www.gatech.edu\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Georgia Tech home page'\); MM_swapImage\('auxFootermain_TECH','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_TECH_over.gif',1\)\" onClick=\"MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\">");    writeln("<img name=\"auxFootermain_TECH\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_TECH.gif\" width=59 height=40 border=0 ALT=\"Go to Georgia Tech's home page\"></a></td>");    writeln("</tr>");    writeln("<tr>");    writeln("<td width=59 height=12> <img src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_10.jpg\" width=59 height=12></td>");    writeln("</tr>");    writeln("</table>");    writeln("</div>");	    writeln("<div id=\"LAYmain2\">");    writeln("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"37\" background=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_BG.gif\">");    writeln("<tr>");    writeln("<td align=\"left\" valign=\"top\">");    writeln("<table width=541 border=0 cellpadding=0 cellspacing=0 height=\"25\">");    writeln("<tr align=\"left\" valign=\"top\">");    writeln("<td width=69 height=25> <a href=\"http://www.importantstuff.gatech.edu/auxhome.htm\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Auxiliary Services home page'\); MM_swapImage\('auxFootermain_AUX','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_AUX_over.jpg',1\)\" onClick=\"MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\">");    writeln("<img name=\"auxFootermain_AUX\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_AUX.jpg\" width=69 height=25 border=0 ALT=\"Go to the Auxiliary Services home page\"></a></td>");    writeln("<td width=143 height=25> <a href=\"javascript:;\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Search Auxiliary Services'\); MM_swapImage\('auxFootermain_SEARCH','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_SEARCH_over.gif',1\)\" onClick=\"MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\);MM_swapImgRestore\(\);aux_makeNewWindow\('http://www.importantstuff.gatech.edu/auxsearch.htm', 'auxsearch', 'width=450,height=300,scrollbars=yes,resizable=yes'\)\">");    writeln("<img name=\"auxFootermain_SEARCH\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_SEARCH.gif\" width=143 height=25 border=0 ALT=\"Search Auxiliary Services\"></a></td>");    writeln("<td width=87 height=25> <a href=\"javascript:;\" onClick=\"MM_showHideLayers\('LAYlinks','','show','LAYlinksAC','','show'\)\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Show Auxiliary Services Links'\); MM_swapImage\('auxFootermain_LINKS','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_LINKS_over.gif',1\)\">");    writeln("<img name=\"auxFootermain_LINKS\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_LINKS.gif\" width=87 height=25 border=0 ALT=\"Show Auxiliary Services Links\"></a></td>");    writeln("<td width=64 height=25> <a href=\"http://www.importantstuff.gatech.edu/calendarframeset.htm\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to the Auxiliary Services Calendar'\); MM_swapImage\('auxFootermain_CAL','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_CAL_over.gif',1\)\" onClick=\"MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\">");    writeln("<img name=\"auxFootermain_CAL\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_CAL.gif\" width=64 height=25 border=0 ALT=\"Go to the Auxiliary Services Calendar\"></a></td>");    writeln("<td width=70 height=25> <a href=\"javascript:;\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('View the Georgia Tech Web Disclaimer'\); MM_swapImage\('auxFootermain_DIS','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_DIS_over.gif',1\)\" onClick=\"MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\);MM_swapImgRestore\(\);aux_makeNewWindow\('http://www.importantstuff.gatech.edu/disclaimer.htm','disclaimer','width=400,height=400'\)\">");    writeln("<img name=\"auxFootermain_DIS\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_DIS.gif\" width=70 height=25 border=0 ALT=\"View the Georgia Tech Web Disclaimer\"></a></td>");    writeln("<td width=108 height=25> <a href=\"http://www.importantstuff.gatech.edu\" onMouseOut=\"aux_setStatus\(''\); MM_swapImgRestore\(\)\" onMouseOver=\"aux_setStatus\('Go to www.importantstuff.gatech.edu'\); MM_swapImage\('auxFootermain_STUFF','','http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_STUFF_over.jpg',1\)\" onClick=\"MM_showHideLayers\('LAYlinks','','hide','LAYlinksAC','','hide'\)\">");    writeln("<img name=\"auxFootermain_STUFF\" src=\"http://www.importantstuff.gatech.edu/images_auxFooter/auxFootermain_STUFF.jpg\" width=108 height=25 border=0 ALT=\"Go to important stuff dot gatech dot edu\"></a></td>");    writeln("</tr>");    writeln("</table>");    writeln("</td>");    writeln("</tr>");    writeln("</table>");    writeln("</div>");	close();		}
