  function resizeFix()  {  if((document.resizeFix.initWidth  != window.innerWidth) ||  (document.resizeFix.initHeight != window.innerHeight))  {   document.location = document.location;  } }
  function checkBrowser() {  if(document.layers) {  if(typeof document.fix == "undefined") {  document.resizeFix = new Object(); document.resizeFix.initWidth  = window.innerWidth;
  document.resizeFix.initHeight = window.innerHeight; } window.onresize = resizeFix;  } }  checkBrowser();  var isIE = document.all?true:false;  var isNS = document.layers?true:false;
  function getObject(objID) { if (document.all) {  var obj = document.all[objID]; } else if (document.getElementById) { var obj = document.getElementById(objID); }	return obj; }
  function getParentObject(objID) { if (parent.document.all) {  var obj = parent.document.all[objID]; } else if (parent.document.getElementById) { var obj = parent.document.getElementById(objID); }	return obj; }
  function hideObject(objID) {	var obj = getObject(objID);	var rtn = false;	if (obj != null) {	obj.style.display = "none";	rtn = true;	}	return rtn; }
  function highliteObj(objID) { 	var obj = getObject(objID);	var rtn = false;	if (obj != null) {  obj.style.border = "1px outset #FF3300";	rtn = true;	}	return rtn; }
  function UNhighliteObj(objID) {	var obj = getObject(objID);	var rtn = false;	if (obj != null) { 	obj.style.border = "0px";	rtn = true;	}	return rtn; }
  function showParentObject(objID) { 	var obj = getParentObject(objID);	var rtn = false;	if (obj != null) { obj.style.display = "inline"; obj.style.position = "static";
  obj.style.width = "auto"; obj.style.height = "auto"; obj.style.overflow = "visible";	rtn = true; }	return rtn; }
  function showObject(objID) {	var obj = getObject(objID);	var rtn = false;	if (obj != null) {	obj.style.display = "inline"; obj.style.position = "static";
  obj.style.width = "auto"; obj.style.height = "auto"; obj.style.overflow = "visible";	rtn = true; }	return rtn; }
  function PopwinClose() { PopWindow.close(); }
  function popupWin(GotoURL){ PopWindow = window.open(GotoURL,null,"location=no,width=460px,height=400px,top=100,left=124,alwaysRaised=1,Dependent=1,screenX=140,screenY=140"); }
  //  Removed Timeout per Joe 12/11/2004   self.setTimeout('PopwinClose()', 10000) ;
  function emailCheck (emailStr) { var checkTLD=1; var knownDomsPat=/^(com|net|org|edu|int|mil|gov|arpa|biz|aero|name|coop|info|pro|museum)$/;
  var emailPat=/^(.+)@(.+)$/; var specialChars="\\(\\)><@,;:\\\\\\\"\\.\\[\\]"; var validChars="\[^\\s" + specialChars + "\]"; var quotedUser="(\"[^\"]*\")";
  var ipDomainPat=/^\[(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\]$/; var atom=validChars + '+'; var word="(" + atom + "|" + quotedUser + ")";
  var userPat=new RegExp("^" + word + "(\\." + word + ")*$"); var domainPat=new RegExp("^" + atom + "(\\." + atom +")*$"); var matchArray=emailStr.match(emailPat);
  if (matchArray==null) { alert("ERROR! - The Email address seems incorrect (check @ and .'s)"); return false; } var user=matchArray[1]; var domain=matchArray[2];
  for (i=0; i<user.length; i++) { if (user.charCodeAt(i)>127) { alert("ERROR! - The Email \"User name\" contains invalid characters."); return false; } }
  for (i=0; i<domain.length; i++) { if (domain.charCodeAt(i)>127) { alert("ERROR! - The Email \"Domain name\" contains invalid characters."); return false; } }
  if (user.match(userPat)==null) { alert("ERROR! - The Email \"Username\" doesn't seem to be valid."); return false; } var IPArray=domain.match(ipDomainPat);
  if (IPArray!=null) { for (var i=1;i<=4;i++) { if (IPArray[i]>255) { alert("ERROR! - The Email \"Destination IP\" address is invalid!"); return false; } } return true; }
  var atomPat=new RegExp("^" + atom + "$"); var domArr=domain.split("."); var len=domArr.length; for (i=0;i<len;i++) { if (domArr[i].search(atomPat)==-1) { alert("ERROR! - The Email \"Domain name\" does not seem to be valid."); return false; } }
  if (checkTLD && domArr[domArr.length-1].length!=2 && domArr[domArr.length-1].search(knownDomsPat)==-1) { alert("The Email address must end in a well-known domain or two letter " + "country."); return false; }
  if (len<2) { alert("ERROR! - The Email address is missing a hostname!"); return false; } return true;} function cleanupChars(CleanSTR,CleanBAD,CleanGOOD){var CleanOUT; CleanOUT=CleanSTR; while (CleanOUT.search(CleanBAD) > 0) { CleanOUT=CleanOUT.replace(CleanBAD,CleanGOOD); } return (CleanOUT) }