<!--
var flag = false;
var category;

// This function is called with OnLoad() and caches the rollover images in the brower
function imageLoad() {  
	if (document.images) {
		HomOn = new Image();
		HomOn.src = "/library/gif/btnHomeOn.gif";
		ProductsOn = new Image();
		ProductsOn.src = "/library/gif/btnProductsOn.gif";
		MembersOn = new Image();
		MembersOn.src = "/library/gif/btnMembersOn.gif";
		ServiceOn = new Image();
		ServiceOn.src = "/library/gif/btnServicesOn1.gif"; 
		SupporOn = new Image();
		SupporOn.src = "/library/gif/btnSupportOn.gif";
		PartnerOn = new Image();
		PartnerOn.src = "/library/gif/btnPartnersOn.gif";
		AboutUOn = new Image();
		AboutUOn.src = "/library/gif/btnAboutUsOn.gif";
		return (flag = true);  // set the flag and let the function know know it can work	 	 
    }	
}
// load the Off images in the normal way as they don't need to be cached
if (document.images) {   
	HomOff = new Image();
   	HomOff.src = "/library/gif/btnHomeOff.gif";
   	ProductsOff = new Image();
   	ProductsOff.src = "/library/gif/btnProductsOff.gif";
   	MembersOff = new Image();
   	MembersOff.src = "/library/gif/btnMembersOff.gif";
	ServiceOff = new Image();
	ServiceOff.src = "/library/gif/btnServicesOff.gif"; 
	SupporOff = new Image();
	SupporOff.src = "/library/gif/btnSupportOff.gif";
	PartnerOff = new Image();
	PartnerOff.src = "/library/gif/btnPartnersOff.gif";
	AboutUOff = new Image();
	AboutUOff.src = "/library/gif/btnAboutUsOff.gif"; 
 }

// This function calls the cached image when an OnMousOver is active during the image rollover process
function imageOn(imgName) {
    if (document.images && (flag == true)) {
		if (document[imgName].src == eval(imgName + "On.src")) {
			category = imgName;		
		}
		else {
        	document[imgName].src = eval(imgName + "On.src");
		}
    }
}

// This function calls the cached image when an OnMouseout is done during the image rollover process
function imageOff(imgName) {  
    if (document.images){	
		if (imgName != category) {
	        document[imgName].src = eval(imgName + "Off.src");
		}
	}
}

// This function sets a status bar message when an OnMouseOver is active during the image rollover process
function setMsg(msg) {
	window.status = msg;
	return true;
}
 
// Called by Menu's at load.
if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

// Open a new window
function show(aim){
	remotewin = open(aim,"remotewin","scrollbars=yes,toolbar=no,width=500,height=450");
}

// Open a new window
function show(aim, w, h){
	remotewin = open(aim,"remotewin","scrollbars=yes,toolbar=no,width=" + w + ",height=" + h);
}

// Hide and Show Tower Ad
function showHideSidebar() {
	var iWidth = 800;
	if (document.body) {
		iWidth = document.body.clientWidth;
	}
	else {
		try {
			iWidth = screen.availWidth;
		}
		catch (e) {}
	}
       
	if (document.getElementById){
		try {
			document.getElementById("sidebar").style.display = (iWidth > 800 ? '' : 'none');
			document.getElementById("sidebar").style.width = (iWidth > 800 ? 160 : 0);
			document.getElementById("bodyTable").style.width = (iWidth > 800 ? 920 : 760);	
		}
		catch (e) {}
	}
	else {
		try {
			document.all.sidebar.style.display = (iWidth > 800 ? '' : 'none');
			document.all.sidebar.style.width = (iWidth > 800 ? 160 : 0);
			document.all.bodyTable.style.width = (iWidth > 800 ? 920 : 760);										   
		}
		catch (e) {}
	}
}
showHideSidebar();   

-->
