var disclaimer = "<html><head><title>Survivor Disclaimer</title></head><body><center><p><b>No case is typical. You should not expect to experience these results.</b></p><form><input type='button' value='Close Window' onclick='window.close();'></form></center></body></html>";

function popupWindow(location, name, attributes){
  document.open(location, name, attributes);
  }
  
function popupWindowContent(location, name, attributes, content){
  var newWindow;
  
  newWindow = document.open(location, name, attributes);
  newWindow.document.write(content);
  newWindow.document.close();
  }
  
function emailPopUp(path){
  open('/emailFriend.cfm?path=' + path, 'emailFriend', 'screenX=10,screenY=25,width=565px,height=535px,scrollbars=yes,menubar=no,resizable=yes,status=no,toolbar=no,top=25px,left=25px');
  }  
  
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {	
		aboutUsOver = newImage("/employment/graphics/aboutUsOn.gif");
		benefitsOver = newImage("/employment/graphics/benefitsOn.gif");
		careerPathsOver = newImage("/employment/graphics/careerPathsOn.gif");
		meetOurEmployeesOver = newImage("/employment/graphics/meetOurEmployeesOn.gif");
		jobSearchOver = newImage("/employment/graphics/jobSearchOn.gif");
		forPhysiciansOver = newImage("/employment/graphics/forPhysiciansOn.gif");
		
		preloadFlag = true;
	}
}
