thisPage=null;
	// get window size to line up div layers.
var winWidth;
var browserName = navigator.appName
var browserVersion = navigator.appVersion
var browserVersionNum = parseFloat(browserVersion)
var holdName = "test"
if (document.layers) {n=1; ie=0}
if (document.all) {n=0; ie=1}

var winHeight;

if (document.images){
	home_off = new Image();
	home_off.src = "/images/home_off.gif";
	home_on = new Image();
	home_on.src = "/images/home_on.gif";
	
	aboutUs_off = new Image();
	aboutUs_off.src = "/images/aboutUs_off.gif";
	aboutUs_on = new Image();
	aboutUs_on.src = "/images/aboutUs_on.gif";
	
	products_off = new Image();
	products_off.src = "/images/products_off.gif";
	products_on = new Image();
	products_on.src = "/images/products_on.gif";

	services_off = new Image();
	services_off.src = "/images/services_off.gif";
	services_on = new Image();
	services_on.src = "/images/services_on.gif";
	
	productsDemo_off = new Image();
	productsDemo_off.src = "/images/productsDemo_off.gif";
	productsDemo_on = new Image();
	productsDemo_on.src = "/images/productsDemo_on.gif";
	
	why_off = new Image();
	why_off.src = "/images/why_off.gif";
	why_on = new Image();
	why_on.src = "/images/why_on.gif";
	
	partners_off = new Image();
	partners_off.src = "/images/partnersoff.gif";
	partners_on = new Image();
	partners_on.src = "/images/partnerson.gif";
	
	productsOverview_off = new Image();
	productsOverview_off.src = "/images/topNav/productsOverview_off.gif";
	productsOverview_on = new Image();
	productsOverview_on.src = "/images/topNav/productsOverview_on.gif";
	
	managed_off = new Image();
	managed_off.src = "/images/topNav/managed_off.gif";
	managed_on = new Image();
	managed_on.src = "/images/topNav/managed_on.gif";
	
	enterprise_off = new Image();
	enterprise_off.src = "/images/topNav/enterprise_off.gif";
	enterprise_on = new Image();
	enterprise_on.src = "/images/topNav/enterprise_on.gif";
	
	marketing_off = new Image();
	marketing_off.src = "/images/topNav/marketing_off.gif";
	marketing_on = new Image();
	marketing_on.src = "/images/topNav/marketing_on.gif";
	
	technical_off = new Image();
	technical_off.src = "/images/topNav/technical_off.gif";
	technical_on = new Image();
	technical_on.src = "/images/topNav/technical_on.gif";
	
	examples_off = new Image();
	examples_off.src = "/images/topNav/examples_off.gif";
	examples_on = new Image();
	examples_on.src = "/images/topNav/examples_on.gif";
	
	history_off = new Image();
	history_off.src = "/images/topNav/history_off.gif";
	history_on = new Image();
	history_on.src = "/images/topNav/history_on.gif";
	
	investmentPartners_off = new Image();
	investmentPartners_off.src = "/images/topNav/investmentPartners_off.gif";
	investmentPartners_on = new Image();
	investmentPartners_on.src = "/images/topNav/investmentPartners_on.gif";
	
	execBios_off = new Image();
	execBios_off.src = "/images/topNav/execBios_off.gif";
	execBios_on = new Image();
	execBios_on.src = "/images/topNav/execBios_on.gif";
}

function navOver(iName){
		
	closeDiv("products");
	closeDiv("services");
	closeDiv("aboutUs");
	setCheckClear("none")
	
	if (iName == "products" || iName == "services" || iName == "aboutUs"){
		showDiv(iName);
	} else {
		swapToOn(iName);
	}
	
	
}

function showDiv(iName){
	target = iName+"Div";
	if (browserName == "Netscape" && browserVersionNum == 5){
		document.getElementById(target).style.visibility = "visible";
	} else if (browserName == "Netscape" && browserVersionNum < 5 && browserVersionNum > 3){
		theDiv = eval("document."+target);
		closediv.visibility = "show";
	} else if (ie){
		theDiv = eval(target+".style");
		theDiv.visibility = "visible";
	}
	
	if (document.images) {
		document[iName].src = eval (iName + "_on.src");  }
}

function navOut(iName){
	if (iName == "products" && thisPage == "products"){
		return
	} else if (iName == "services" && thisPage == "services"){
		return
	} else if (iName == "aboutUs" && thisPage == "aboutUs"){
		return
	}
	swapToOff(iName);
}

function swapToOn(iName){
	if (document.images) {
		document[iName].src = eval (iName + "_on.src");  
	}
}

function swapToOff(iName){
	if (document.images) {
		document[iName].src = eval (iName + "_off.src");
	}
}

 function closeDiv(iName){

 	target = iName+"Div";
	if (browserName == "Netscape" && browserVersionNum == 5){
		document.getElementById(target).style.visibility = "hidden";
	} else if (browserName == "Netscape" && browserVersionNum < 5 && browserVersionNum > 3){
		theDiv = eval("document."+target);
		closediv.visibility = "hide";
	} else if (ie){
		theDiv = eval(target+".style");
		theDiv.visibility = "hidden";
	}
	if (iName == "products" && thisPage == "products"){
		return
	} else if (iName == "services" && thisPage == "services"){
		return
	} else if (iName == "aboutUs" && thisPage == "aboutUs"){
		return
	} else {
		swapToOff(iName);
	}
 }
 
 // timer
var setCheck = 0;
var setTimer

function setCheckTimer(iName,subName){
	if (subName != "none"){
		swapToOff(subName);
	}
 	setTimer = window.setTimeout("closeDiv('"+iName+"')", 1000);
}

function setCheckClear(iName){
	window.clearTimeout(setTimer);
	setCheck = 0;
	if (iName != "none"){
		swapToOn(iName);
	}
}

function popWin(theURL,name,width,height,left,top,resize,scrollbars,menubar){
	window.open(theURL, name, "width=" + width + ", height=" + height + ",left=" + left + ",top=" + top + ",directories=no,location=no,menubar="+menubar+",resizable=" + resize + ",scrollbars="+scrollbars+",status=no,toolbar=no");
}

// HIDE EMAIL ADDRESS
var insertAt = "@";
var insertMa = "ma"+"il"+"To:";
var post = "atomic-mail"+"."+"com";
		
function callAddress(pre){
	document.location = insertMa+pre+insertAt+post;
}

function writeAddress(pre){
	return pre+insertAt+post;
}



