<!--

//detect if browser is Netscape 3 + or IE 4 +. 

bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >= 3) ||
    (bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3"; 
else br = "n2";

//create image objects, preload all active and inactive images

if (br == "n3") {
  solutionsMenuOn = new Image();
  solutionsMenuOn.src = "images/button_solutions_over.gif";
  companyMenuOn = new Image();
  companyMenuOn.src = "images/button_company_over.gif";
  customersMenuOn = new Image();
  customersMenuOn.src = "images/button_customers_over.gif";
  
  solutionsMenuOff = new Image();
  solutionsMenuOff.src = "images/button_solutions_off.gif";
  companyMenuOff = new Image();
  companyMenuOff.src = "images/button_company_off.gif";
  customersMenuOff = new Image();
  customersMenuOff.src = "images/button_customers_off.gif";
}

// function to activate menu when mouse over button or arrow images

function imgAction(imgName) {
  if (br== "n3") {
    document[imgName].src = eval(imgName + "On.src");
  }
}

// function to deactivate menu when mouse over button or arrow images

function imgInaction(imgName) { 
  if (br == "n3") {
    document[imgName].src = eval(imgName + "Off.src");
	}
}


// create pop-up window

var popupWindow
function createNew (URL) {
	if (!popupWindow || popupWindow.closed) {
		popupWindow = window.open(URL,"tour",'HEIGHT=400,WIDTH=400,scrollbars=0,resizeable=1,location=0,menubar=0')
		} else{
		//bring existing subwindow to the front
		popupWindow.focus()
		}
	}

  
function setColor (id, color)
{
  obj = document.getElementById(id);
  obj.style.background = color;
}

function setNavUnderline (obj)
{
  obj.style.textDecoration = 'underline';
}

function setNavNormal (obj)
{
  obj.style.textDecoration = 'none';
}

