var browser=navigator.appName;var platform=navigator.appVersion;var cssFile="";var currentStyle="no";var layerNumToShow=1;var layerNumShowing=0;var totalLayersInLoop=1;var pageNumToShow=1;var pageNumShowing=1;var buttonNumToShow=1;var buttonNumShowing=1;var lastLayer="";var lastColumn="";var lastSubMenu="";var lastMainMenu="";var pageNum="";var lastPage="";var layerName="";var layerColumn="";var lastSite="";var layerStyleRef="layer.";var layerRef="document.layers";var 	styleSwitch="";var is_major = parseInt(navigator.appVersion);var is_nav4 = ((browser == "Netscape") && (is_major == 4));var is_nav6up = ((browser == "Netscape") && (is_major >= 5));if (browser == "Microsoft Internet Explorer") is_ie="true";if (browser == "Netscape") // this is the Netscape browser sniffer    	 	{     		if (navigator.appVersion.indexOf("Macintosh") == -1)           		{          		currentStyle='Windows Netscape';          		}      		else           		{          		currentStyle='Macintosh Netscape';          		}     		}if (browser == "Microsoft Internet Explorer")     		{         	if (platform.indexOf("Macintosh") == -1)                	{               	currentStyle='Windows Explorer';               	}           	else                	{               	currentStyle='Macintosh Explorer';               	}    	}function init(number)	{	totalLayersInLoop=number;	if (document.getElementById) {			layerStyleRef="layer.style.";			layerRef="document.getElementById"; 			styleSwitch=".style";		}		else if (document.layers) {		layerStyleRef="layer.";			layerRef="document.layers";			styleSwitch="";		}	ss='mantastyles.css'; 	document.write( "<link href='"+ss+"'  rel='styleSheet'  	type='text/css'>");}	function showMenu(level, menuName, message){	window.status = message;	if  (level == 1)	{		if (lastMainMenu!='') {hideLayer(lastMainMenu);}		showLayer(menuName);		lastMainMenu = menuName;	} else {		if (lastSubMenu!='') {hideLayer(lastSubMenu);}		showLayer(menuName);		lastSubMenu = menuName;	}}function clearMenus(){hideLayer('menu1');hideLayer('menu2');hideLayer('menu3');hideLayer('menu4');hideLayer('menu5');hideLayer('menu6');}function showMenuMsg(menuName, message){	showLayer(menuName);	window.status = message;}function changePage(pageNum, lastPage){	layerName= "mnpage" + pageNum;	lastPage = "mnpage" + lastPage	showLayer(layerName + "a");	showLayer(layerName + "b");	hideLayer(lastPage + "a");	hideLayer(lastPage + "b");}function changeLayer(layerName, lastLayer){	showLayer(layerName);	if (lastLayer!='') {hideLayer(lastLayer);}}function showSite(siteName){	showLayer(siteName);	if (lastSite!='') {hideLayer(lastSite);}	lastSite = siteName;}function showLayer(layerName){	if (is_nav4)	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');	else	eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="visible"');}function hideLayer(layerName){		if (is_nav4)		eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');		else		eval(layerRef+'("'+layerName+'")'+styleSwitch+'.visibility="hidden"');}function showWinMsg(message) {	window.status=message;	return true;}function showMessage(layerName, message) {	showLayer(layerName);	window.status = message;	return true;}function clearMessage(layerName) {	window.status = " "	return true}function showLayerNumber(number){	var layerNumToShow=number;	hideLayer(eval('"layer' + layerNumShowing+'"'));	showLayer(eval('"layer' + layerNumToShow+'"'));	layerNumShowing=layerNumToShow;	hideLayer('loopControls');}function showPreviousLayer(){	var layerNumToShow=layerNumShowing-1;	if (layerNumToShow < 1){layerNumToShow=totalLayersInLoop;}	hideLayer('loopControls');	hideLayer(eval('"layer' + layerNumShowing+'"'));	showLayer(eval('"layer' + layerNumToShow+'"'));	layerNumShowing=layerNumToShow;}function showNextLayer(){	layerNumToShow=layerNumShowing+1;	if (layerNumToShow > totalLayersInLoop) {layerNumToShow=1; }	hideLayer('loopControls');	hideLayer(eval('"layer' + layerNumShowing+'"'));	showLayer(eval('"layer' + layerNumToShow+'"'));	layerNumShowing=layerNumToShow;}function open_new_win (file, x, y) {msg=open("","NewWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width="+x+", height="+y+"");msg.location = file}function showPart(partName,msg) {	showLayer(partName);	window.status = msg;	return true;}function clearPart(partName) {	hideLayer(partName);	window.status = ""	return true}function clearAllparts() {	var parts = 10;	for ( var i = 1; i <= parts; i++) {	var partName = "part" + i;	hideLayer(partName);	}	window.status = ""	return true}function writertdiv(){    if(document.getElementById)  {       document.write('<div id="tick"></div>');	} else if(document.all)  {   document.write('<div id="tick"></div>');  } else if(document.layers)  {       var html = '<div id="tick" class="NStick">Thurs. Apr 28, 2002 10:38:10 PM&nbsp;</div>'            document.write(html);         document.close();     }} var rtdayname = new Array ("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday") var rtmonName = new Array ("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December") var now = new Datefunction show(){	var Digital=new Date()	var rthours=Digital.getHours()	var rtminutes=Digital.getMinutes()	var rtseconds=Digital.getSeconds()	var dn="AM"   if (rthours>12){		dn="PM"		rthours=rthours-12	}	if (rthours==0)		rthours=12;  	if (rtminutes<=9)		rtminutes="0"+rtminutes;	  if (rtseconds<=9)		rtseconds="0"+rtseconds;	var y = now.getYear();   if (y<1000)         y+=1900;   var ctime=rthours+":"+rtminutes+":"+rtseconds+" "+dn   if(document.getElementById)   {      document.getElementById("tick").innerHTML = rtdayname[now.getDay()] + " " + rtmonName[now.getMonth()] + " " + now.getDate() +  ", " + y  + " " + ctime      	 }  else if(document.all)    {     document.all["tick"].innerHTML=rtdayname[now.getDay()] + " " + rtmonName[now.getMonth()] + " " + now.getDate() +  ", " + y  + " " + ctime   }  else if(document.layers)   {             var l = document["tick"];      if (!l.ol) {        var ol = l.ol = new Layer(window.innerWidth);        ol.clip.height = l.clip.height;        ol.left = l.pageX;         ol.top = l.pageY;        ol.bgColor = l.bgColor;      }       var ol = l.ol;       var html ='<b><SPAN class="NStick2">Today is ' + rtdayname[now.getDay()] +  '. ' + rtmonName[now.getMonth()] + ' ' + now.getDate() +  ', ' + y  + ' ' + ctime+'</span></b>'            ol.document.open();       l.document.write(html);       ol.document.close();       l.visibility = 'hide';       ol.visibility = 'show'; } if(!document.layers)    setTimeout("show()",1000)}
