<!--  common code only: js1.3 or ECMA 262 compliant
self.name="eeo_parent";
var ss = "oth";
var dom = (document.getElementById) ? true : false;
var ns4 = (document.layers) ? true : false;
var ie = (document.all) ? true : false;
var ie4 = ie && !dom;
var mac = (navigator.appVersion.indexOf("Mac") != -1);
var ie4mac =  ie4 && mac;
var opera = (navigator.userAgent.indexOf("Opera")!=-1);
ss = (ns4|ie4|ie4mac) ? "oth" : (dom|opera|ie|mac) ? "dom" : "oth";
//alert(ss);
document.write('<link rel="stylesheet" href="/_css/' + ss + '.css">');
if (ns4) {
   origWidth = innerWidth;
   origHeight = innerHeight;
   onresize = "if(innerWidth!=origWidth||innerHeight!=origHeight) location.reload()";
 }
if(dom) {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.3' SRC='/_js/menu_dom.js' TYPE='text/javascript'><\/SCR" + "IPT>");
} else {
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.3' SRC='/_js/menu_oth.js' TYPE='text/javascript'><\/SCR" + "IPT>");
}

function jumpto(which) {
  self.location.href = which;
}
function ct(who,where) {
    self.location.href='mailto:'+who+'@'+where;
}


function contactus() {
	var fb='/cgi-bin/contactus?' + self.location.href;
	self.location.href = fb;
}

function srch(url,wth) {
if(wth==null) wth=400;
if(srchwnd) {
 srchwnd.location=url;
} else {
var srchwnd=window.open(url, 'Srch','width='+wth+',height=400,status=1,toolbar=0,location=0,directories=0,scrollbars=1,resizable=1,copyhistory=0');
}
if(srchwnd) srchwnd.focus();
}

function quicksearch(words) {
   re = / /gi;
   var wds=words.replace(re, "+");
   var url='/cgi-bin/htsearch?&words='+wds;
   var where=self.location.host;
   var to=self.location.host.indexOf('.');
   if(to>0)  where=self.location.host.substr(0,to);
   //if(where != 'earth') { url += '\&restrict='+where; }
   if(where != 'earth') { url += '\&restrict='+self.location.host; }
 if(srchwnd) {
 srchwnd.location=url;
 } else {
 	var srchwnd=window.open(url, 'Srch','width=400,height=400,status=1,toolbar=0,location=0,directories=0,scrollbars=1,resizable=1,copyhistory=0');
	 }
   if(srchwnd) srchwnd.focus();
   return false;
}

// -->
