// JavaScript Document
<!--
function checkField(name){
	if(name.value=='') {
		alert("Please enter search keyword.");
		name.focus();
		return false;
	}
	else{
		return true;
	}
}

function keepAlive() {
 if (keep != null) {popUpWindow("../includes/keepAlive.asp?mode=none",400,300);}
}

var popUpWin=0;
function popUpWindow(URLStr,width,height){
  if(popUpWin) if(!popUpWin.closed) popUpWin.close();
  var y=height;
  if(y==''){ y = screen.availHeight}
  var x = (screen.availWidth - width) / 2;
  var top=(screen.availHeight-y)/2;
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+y+',left='+x+', top='+top+',screenX='+x+',screenY=0');
}

function SafeMail(){
  location.href="mailto:PASInfo.mgs@ontario.ca";
}
-->