if (document.images) {

	why = new Image();
	why.src = "/template_images/nav_whywork.gif";
	why_over = new Image();
	why_over.src = "/template_images/nav_whywork_over.gif";
	
	career = new Image();
	career.src = "/template_images/nav_career.gif";
	career_over = new Image();
	career_over.src = "/template_images/nav_career_over.gif";
	
	locations = new Image();
	locations.src = "/template_images/nav_locations.gif";
	locations_over = new Image();
	locations_over.src = "/template_images/nav_locations_over.gif";
	
	experience = new Image();
	experience.src = "/template_images/nav_experience.gif";
	experience_over = new Image();
	experience_over.src = "/template_images/nav_experience_over.gif";
	
	opportunities = new Image();
	opportunities.src = "/template_images/nav_opportunities.gif";
	opportunities_over = new Image();
	opportunities_over.src = "/template_images/nav_opportunities_over.gif";
	
	magnet = new Image();
	magnet.src = "/template_images/nav_magnet.gif";
	magnet_over = new Image();
	magnet_over.src = "/template_images/nav_magnet_over.gif";
	
	apply = new Image();
	apply.src = "/template_images/nav_apply.gif";
	apply_over = new Image();
	apply_over.src = "/template_images/nav_apply_over.gif";
	
}

function RollOver(imgName,imgSource) {
	if (document.images) {
		document.images[imgName].src = eval(imgSource + ".src");
	}
}

//Window Height to stretch background

var winH = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
   winH = window.innerHeight;
  } else {
    if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode'
      winH = document.documentElement.clientHeight;
    } else { if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible
       
        winH = document.body.clientHeight;
      }
    }
  }
  
//Header Image Function

function setImg(){
	var imgCount = 9;	
	var imgNum = Math.ceil(Math.random()*imgCount);
	
	if(imgNum < 10){
		imgNum = "0" + imgNum;
		}	
	document.write("<img src='/careers/tjuh/nursing/images/toplevel_" + imgNum + ".jpg' width='534' border='0' alt='Image of a Thomas Jefferson Nurse' title='Image of a Thomas Jefferson Nurse' />");
}

//Fact Image Function

function setFact(){
	var imgCount = 6;	
	var imgNum = "0" + Math.ceil(Math.random()*imgCount);
	document.write("<img src='/template_images/fact_" + imgNum + ".jpg' width='534' height='42' border='0' alt='Fact About Thomas Jefferson University Hospital' title='Fact About Thomas Jefferson University Hospital' />");
}

//Video Player Popup
  function pop(x,y,whom) {
  
   		var winl = (screen.width - x) / 2;
		var wint = (screen.height - y) / 2;
	
		ShowWindow=window.open(whom,'Video','width='+x+',height='+y+',scrollbars=no,top='+wint+',left='+winl+',screenX=100,screenY=0');
		ShowWindow.focus();

    }

