root = window.loc

ns=(document.layers)?true:false;
ns6=(document.getElementById&&!document.all)?true:false;
ie=(document.all)?true:false;

function imgSwap(imgName,src,status) {
  if(ie||ns6){
		imgDiv=window;
	}
  if(ns){
		if(window.whichSection != "recruit"){
			imgDiv=document.container.document.sideNavDiv.document.sideNav;
		}else{
			imgDiv=document.container.document.sideNav;
		}
	}
	imgDiv.document[imgName].src = root + "images/"+src+".gif"
	if(status != null){
		window.status = status;
	}
}

function getURL(){
	 if(ie||ns6)var f = eval("window.document.servicesDrop.services");
  if(ns) var f = eval("document.copy.document.servicesDrop.services");
	
	var strMake = f.options[f.selectedIndex].value;
	
	if (strMake == 'None')
		strMake = "";
	else
		strMake = strMake;
	
	document.location.href =  "servicesList.html#service" + strMake;
}    

function openWin(URL,name,sizeX, sizeY,loc,menu,scrollbars) {
	if(loc){
		thisLoc = "yes";
	} else {
		thisLoc = "no";
	}
	if(menu){
		menubar = "yes";
	} else {
		menubar = "no";
	}
	if(scrollbars){
		scrollbar = "yes";
	} else {
		scrollbar = "no";
	}

	winLeft=eval(screen.availWidth/2)-(sizeX/2);
	winTop=eval(screen.availHeight/2)-(sizeY/2);
  siteWindow = window.open
	(URL,"pop","width="+sizeX+",height="+sizeY+",toolbar=no,location="+thisLoc+",directories=no,status=no,menubar="+menubar+",scrollbars="+scrollbar+",resizable=yes,left="+winLeft+",top="+winTop)
}