var NS,IE,N06
NS   = (document.layers) ? true:false;                 // NETSCAPE 4 ******************
IE   = (document.all) ? true:false;                    // IE 4Up  *********************
N06 = ((document.getElementById)&&(!IE))?true:false;   // NETSCAPE 6 etc. *************
// END BROWSER VARIABLES **************************************************************
// mouseover scripts including fix for NS complete path *******************************
function preload(imgObj,imgSrc) {
	if (document.images) {
		eval(imgObj+' = new Image()');
		eval(imgObj+'.src = "'+imgSrc+'"');
	}
}

function changeImage(i,imgName,imgObj) {
	if (NS && i!=null){
		eval('document.'+i+'.document.images["'+imgName+'"].src = '+imgObj+'.src');
	}else if (NS && i==null){
		document.images[imgName].src = eval(imgObj+".src");
	}else if (IE){
		document.images[imgName].src = eval(imgObj+".src");
	}else if (N06){
		document.images[imgName].src = eval(imgObj+".src");
	}
}

// At your Service preloading all rollover images

preload('faqbtlo','images/faqbtlo.gif');
preload('faqbthi','images/faqbthi.gif');
preload('globtlo','images/globtlo.gif');
preload('globthi','images/globthi.gif');
preload('hwwbtlo','images/hwwbtlo.gif');
preload('hwwbthi','images/hwwbthi.gif');
preload('newbtlo','images/newbtlo.gif');
preload('newbthi','images/newbthi.gif');
preload('teambtlo','images/teambtlo.gif');
preload('teambthi','images/teambthi.gif');
preload('yrfeedbtlo','images/yrfeedbtlo.gif');
preload('yrfeedbthi','images/yrfeedbthi.gif');

// end mouseover scripts **************************************************************
// hide show layer scripts ************************************************************
function show(id) {
        if (NS){
                document.layers[id].visibility = "show"
                document.layers[id].zIndex = "200"
        } else if (IE){
                document.all[id].style.visibility = "visible"
                document.all[id].style.zIndex = "200"
        } else if (N06){
                document.getElementById(id).style.visibility = "visible"
                document.getElementById(id).style.zIndex = "200"
        }
}
// function for hiding layer div ******************************************************
function hide(id) {
        if (NS) {
                document.layers[id].visibility = "hide"
                document.layers[id].zIndex = "1"
        } else if (IE){
                document.all[id].style.visibility = "hidden"
                document.all[id].style.zIndex = "1"
        } else if (N06){
                document.getElementById(id).style.visibility = "hidden"
                document.getElementById(id).style.zIndex = "1"
        }
}
// end hide show layer scripts ********************************************************
// new window script ******************************************************************
function openNewWin(url){
	alien = window.open(url,"alien",'toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,alwaysRaised=yes,width=625,height=400,top=50,left=50');
			}
// end new window script **************************************************************

