function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


window.name = "at_main"

//start addon

isNS = (navigator.appName == "Netscape");
version = parseInt(navigator.appVersion);

var navDiffH = 0;
var navDiffV = 0;
function isaMac() { if (navigator.appVersion.indexOf("PPC") != -1 || navigator.appVersion.indexOf("68K") != -1) return true; 
else return false; }

if (navigator.appName == "Microsoft Internet Explorer" && isaMac()) { navDiffH = 35; navDiffV = 10; };

//end addon




var TableRight;
var clearImage = new Array(1);
clearImage[1] = new Image();
clearImage[1].src = "../images/spacer.gif";

function WriteNavTable(TableType, TableTop, TableLeft, TableVisibility, TablezIndex, ShortId)
	{
	TableRight = TableLeft;
	if (TableType==1)
		{
		browsa="NavLayer"
		browsb="NavDiv"
		}
	else	{
		browsa="MenuLayer"
		browsb="MenuDiv"
		}
	if ((isNS) && (navversion < 5) ) {
	var LongId = ShortId + browsa;
	document.write('<layer id="' +LongId+ '" top=' +TableTop+ ' left=' +TableRight);
	document.write(' visibility=' +TableVisibility+ ' zIndex=' +TablezIndex);
        ShortIdon = "'" +ShortId+ "' , 'on'"; 
        ShortIdoff = "'" +ShortId+ "' , 'off'";        
        document.write(' onMouseOut="topNav(' +ShortIdoff+ ');"');    
        document.write(' onMouseOver="topNav(' +ShortIdon+ ');">');  
		}
	else	{
	var LongId = ShortId + browsb;
	if (TableVisibility == "hide") {TableVisibility = "hidden";};
        if (TableVisibility == "show") {TableVisibility = "visible";};
	document.write('<div id="' +LongId+ '" style="position:absolute; top:' +TableTop+ 'px; left:');
	document.write(TableRight+ 'px; visibility:' +TableVisibility+ '; z-Index:' +TablezIndex+ ';"');
        document.write(' onMouseOut="topNav(\'' +ShortId+ '\',\'off\');"');
        document.write(' onMouseOver="topNav(\'' +ShortId+ '\',\'on\');">');

		}

	}