<!-- Hide from old browsers
function rollover(the_image_name,new_state,path,in_div){
    
    if (browser) {
	if (in_div) {
		if (NS4) {
	  		var the_image = eval("window.document."+in_div+".document."+the_image_name);
		}
		else if (IE4) {
	  		var the_image = eval("window.document."+the_image_name);
		}
	}
	else {
	  var the_image = eval("window.document."+the_image_name);
	}
	var the_new_image = path + the_image_name + "_" + new_state + ".gif";
	the_image.src = the_new_image;
    }
}

function overhandler(the_image_name,new_state,path){
	if ( CurrentMenuObject != the_image_name)
	{
		rollover(the_image_name,new_state,path)
	}
}

function clickhandler(the_image_name,new_state,path){
//	alert(path+the_image_name+new_state);
//	alert(CurrentMenuObject);
//	if ( CurrentMenuObject != "None" ) {
//		rollover(CurrentMenuObject,"off",path);
//	}
	rollover(the_image_name,new_state,path);

	CurrentMenuObject = the_image_name;

	if ( the_image_name == "Sub_Menu_Homepage" )
	{
			CurrentMenuObject = "None";
	}
	if (IE4) 
	{ 
		content.focus();
	}
}



// preload images
IMGpreload = new Array;

function preLoad()
{
  var numofi = preLoad.arguments.length;
  for (var i = 0; i < numofi; i++)
  {
    IMGpreload[i] = new Image();
    IMGpreload[i].src = preLoad.arguments[i];
  }
}

function checkMouse(evt)
{	x1 = (nscp) ? evt.pageX : event.clientX
	y1 = (nscp) ? evt.pageY : event.clientY
	//alert("x="+x1+" y="+y1);
}

//-->
