// JavaScript Document for Keystone Human Services

/* -----------------------------------------------------------------*/
  
/* Script to avoid cursor flicker on links with background images embedded with CSS in IE6. */		
var ie = document.all;
if (ie) {
	try {
		document.execCommand("BackgroundImageCache", false, true);
	} catch(err) {
	}
}

/* -----------------------------------------------------------------*/

/* Opens Compliance Form in new window */
function newWindowComplianceRefForm() {
    openWindow = window.open ("https://www.keystonehumanservices.com/aboutUs/complianceRefForm.php", "newWin", "width=717,status=no,scrollbars=yes,titlebar=no,toolbar=no")
		openWindow.focus()
}

/* ---------------------------------------------------------------- */

/* Open a new window */
function newWindow(thisLink,thisWidth,thisHeight) {
	openWindow = window.open(thisLink, "newWin", "width="+thisWidth+",height="+thisHeight+",status=no,scrollbars=yes,titlebar=no,toolbar=no")
	openWindow.focus()
}


			
/* -----------------------------------------------------------------*/

/* Resources Jump Menu */
function resourcesJumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}