<!-- 
pword=''
IE=document.all;
NN=document.layers;
nav_ver = parseInt(navigator.appVersion)
kys="";key="101100105116"
if (NN){document.captureEvents(Event.KEYPRESS)}
document.onkeypress=katch
function katch(e){
if (NN){kys+=e.which}
else if (IE){kys+=event.keyCode}
if(kys.indexOf(key)!=-1){kys="";get_pw()}
}
function get_pw(){
cook=document.cookie.split(";")
for(i=0;i<cook.length;++i){
if(cook[i].indexOf(CRDPW) != -1){pw=cook[i].split("=");pword=pw[1]}
}
if(pword == ''){get_lyr("visible")}else{pop_win()}
}
function get_lyr(vis){
    if (NN && NN['passw']) {
        NN['passw'].visibility = vis;
    }
    else if (IE) {
        IE['passw'].style.visibility = vis;
    }
}
function go_on(val){
pword=val
get_lyr("hidden")
pop_win()
}
function pop_win(){
w=640;h=500;
LeftPos = (screen.width) ? (screen.width-w)/2 : 0;
TopPos = (screen.height) ? (screen.height-h)/2 : 0;
	url="../exe/admin.cgi?"+resource+"="+pword;
window.open(url, "Win","resizable=1,scrollbars=1,top="+TopPos+",left="+LeftPos+",width="+w+",height="+h)
opener=self
pword=''
}
function emailus(){
w=400;h=500;
LeftPos = (screen.width) ? (screen.width-w)/2 : 0;
TopPos = (screen.height) ? (screen.height-h)/2 : 0;
	url="../exe/email_us.cgi?"+resource
window.open(url,"EMAIL","scrollbars=1,top="+TopPos+",left="+LeftPos+",width="+w+",height="+h)
}
function on_off(obj){
w=400;h=500;
LeftPos = (screen.width) ? (screen.width-w)/2 : 0;
TopPos = (screen.height) ? (screen.height-h)/2 : 0;
	url="../exe/onoff.cgi?"+obj
window.open(url,"EMAIL","scrollbars=1,top="+TopPos+",left="+LeftPos+",width="+w+",height="+h)
}
function get_pword(){
if(resource_email != "none"){
    if(confirm("Email your editing password to\n\n\t"+resource_email+"?")){
    location = "../exe/send_password.cgi?"+resource
    }}else{
if(confirm("You do not have an email on record to send your password to\n\nContact this web site's administrator for your password?")){location="../admin.html"}
}}

//-->