// the following code is for the sitemap
self.name="mainwin";

if (!newWin) {
  var newWin;
}

function openSiteMap() {
  if (newWin==null) {
    newWin=window.open("../../sitemap/index.html","sitemap","alwaysRaised=yes,scrollbars=yes,width=270,height=400");
    newWin.focus();
  }
  if (!newWin || newWin.closed || newWin==null) {
    newWin=window.open("../../sitemap/index.html","sitemap","alwaysRaised=yes,scrollbars=yes,width=270,height=400");
    newWin.focus();
  }
  else{
    newWin.focus();
  }
}
//The following code is for brand pop_ups
var newBrand;
 
function openBrand(url) {
  if (newBrand) newBrand.close();
  newBrand=window.open(url,"brands","alwaysRaised=yes,width=198,height=245,top=5,left=5");
  newBrand.focus();
  }
function closeWindow() {
  window.close()
}  

// The following code is for rollover buttons  
//ns4 = (document.layers)? true:false

//ie4 = (document.all)? true:false

function preload(imgObj,imgSrc) {

//	if (document.images) {

		eval(imgObj+' = new Image()')

		eval(imgObj+'.src = "'+imgSrc+'"')

//	}

}


//____Preload Images_____

     
preload('profile_off','../../images/rollover/profile_off.gif');

preload('profile_on','../../images/rollover/profile_on.gif');

preload('newsroom_off','../../images/rollover/newsroom_off.gif');

preload('newsroom_on','../../images/rollover/newsroom_on.gif');

preload('careers_off','../../images/rollover/careers_off.gif');

preload('careers_on','../../images/rollover/careers_on.gif');

preload('finance_off','../../images/rollover/finance_off.gif');

preload('finance_on','../../images/rollover/finance_on.gif');

preload('brands_off','../../images/rollover/brands_off.gif');

preload('brands_on','../../images/rollover/brands_on.gif');

preload('locations_off','../../images/rollover/locations_off.gif');

preload('locations_on','../../images/rollover/locations_on.gif');

function changeImage(layer,imgName,imgObj) {

	if (document.images) {

		//if (document.layers && layer!=null) eval('document.'+layer+'.document.images["'+imgName+'"].src = '+imgObj+'.src')

		//else

		document.images[imgName].src = eval(imgObj+".src")

	}

}





//-->