function doMoveBrowser(form) {
	parent.location.href = form.gomenu.options[getSelectedValue()].value;
}

function getSelectedValue() {
  return document.goform.gomenu.selectedIndex
}    

function MM_preloadImages() { //v3.0
	var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


window.onerror = null;
window.defaultStatus = '';

var initialized = 0;
var menus = new Array();
var menustatus = new Array();
var menuovers = new Array();

// initializes the menus into an array
function init(){
	if(isFour) {
		for (var i=0;i<=1;i++) {
			menustatus[i] = "closed";
			if (document.layers) {
				menuovers[i] = eval("window.document.menu"+i+"overs");
				menus[i] = eval("window.document.menu"+i);
				if (i < 2) menuovers[i].onmouseout = menuhider;
			} else {
				var tmnov = (document.all)?eval("document.all.menu"+i+"overs"):document.getElementById("menu"+i+"overs");
				var tmn = (document.all)?eval("document.all.menu"+i):document.getElementById("menu"+i);
				menuovers[i] = tmnov.style;
				menus[i] = tmn.style;
				if (i < 2) tmnov.onmouseout = menuhider;
			}
		}
	}
	initialized = true;
}

// Sets the selected menu to visible
function change(Name,Image,No) {
alert('');
        if (initialized) {
                document [Name].src = eval(Image + No + ".src");
/*		if (Name == 'imgmenu0') document ['imgcrnr'].src = eval("nav_prod_corner" + No + ".src");   */
        	var menunumber = parseInt(Name.charAt(7));
        	if((isFour)&&(No)&&(menustatus[menunumber] == 'closed')) {
			menuovers[menunumber].visibility = 'visible';
			menuovers[menunumber].zIndex = '310';
			menus[menunumber].visibility = 'visible';
			menus[menunumber].zIndex = '300';
			menustatus[menunumber] = 'open';
	        }
        }
}

// Clears all menus
function clearmenus() {
	if (initialized) {
		change('imgmenu0','nav_com',0);
		if(isFour) {
			for(i=0; i<menus.length; i++) {
				if(menustatus[i] == 'open') {
					menuovers[i].visibility = 'hidden';
					menuovers[i].zIndex = '110';
					menus[i].visibility = 'hidden';
					menus[i].zIndex = '100';
					menustatus[i] = 'closed';
				}
			}
		}
	}
}

// Turns the highlighted part of a menu to visible
function imagerep(imgname, divname){
	if(isFour){
		if (document.layers)
			eval("window.document."+divname+".document['"+imgname+"'].src="+imgname+"over.src")
		else
			eval("document['"+imgname+"'].src="+imgname+"over.src");
	}
}

// Turns off the highlighted part of a menu
function eraseimage(imgname, divname){
	if(isFour) {
		if(document.layers)
			eval("window.document."+divname+".document['"+imgname+"'].src=blank.src");
		else
			eval("document['" + imgname + "'].src = blank.src");
	}
}

// Used to clear the menu after the mouse leaves it
function menuhider(evnt) {
        if (initialized) {
                if (window.event) {
                        if (window.event.toElement.className != "menu")
				clearmenus();
                } else if (evnt.target) {
                        if(evnt.target.id || evnt.target.className != "menu")
                                clearmenus();
                }
        }
}

// Caches the dropdown menus
if (document.images) {

	// Company
	var com_overviewover=new Image();
	com_overviewover.src="resources/img/public/drop_com_overview.gif";
	var ceoaddressover=new Image();
	ceoaddressover.src="resources/img/public/drop_com_ceoaddress.gif";
	var leadershipover=new Image();
	leadershipover.src="resources/img/public/drop_com_leadership.gif";
	var irover=new Image();
	irover.src="resources/img/public/drop_com_ir.gif";
	var careersover=new Image();
	careersover.src="resources/img/public/drop_com_careers.gif";
	var otheropsover=new Image();
	otheropsover.src="resources/img/public/drop_com_otherops.gif";
	var communityover=new Image();
	communityover.src="resources/img/public/drop_com_community.gif";
	var officesover=new Image();
	officesover.src="resources/img/public/drop_com_offices.gif";


	// Clear GIF
	var blank=new Image();
	blank.src="resources/img/public/spacer.gif";

	// Company Rollover
	nav_com0=new Image();
	nav_com0.src="resources/img/public/nav_company0.gif";
	nav_com1=new Image();
	nav_com1.src="resources/img/public/nav_company1.gif";

}

// Is This Netscape 4 or up?
var isFour = (parseInt(navigator.appVersion) > 3);



