<!--

function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window2=window.open(href, windowname, 'left=50,top=10,width=520,height=480,scrollbars=yes,resizable=no,dependent=yes');
window2.focus();
//window2.document.write("<HEAD><TITLE>Message window</TITLE></HEAD>");
return false;
}

function sizable_popup(mylink, windowname, l, t, w, h)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window2=window.open(href, windowname, 'left=' + l + ',top=' + t + ',width=' + w + ',height=' + h + ',scrollbars=no,resizable=no,dependent=yes');
window2.focus();
return false;
}



function bigpopup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window3=window.open(href, windowname, 'left=20,top=60,width=800,height=500,scrollbars=yes,resizable=yes,location=yes,status=yes');
window3.focus();
return false;
}

function formHandler(form){
var URL = document.form.site.options[document.form.site.selectedIndex].value;
if (URL > ''){
window.location.href = URL;
}
}

function getcat(){
hidemenus();
resetbtns();
str = String(window.location);
}


function clrbtns(senderbtn){
savedbtn = senderbtn.src; 
//alert(savedbtn);
//resetbtns();
senderbtn.src = savedbtn;
}


function checkinput(myform) {

for (i=0;i< myform.length;i++) {

var element=myform.elements[i].value;

if(element == 'None'){
alert("Please fill in all fields");
return false;
}
if(element == ''){
alert("Please Enter Something");
return false;
}
}
return true;
}



//-->