function Login(form) {
var username = form.username.value;
var password = form.password.value;
var server = form.server.value;
if (username && password && server) {
var htsite = "http://" + username + ":" + password + "@" + server;
window.location = htsite;
}
else {
alert("Please enter your username and password.");
   }
}

function footErrors() {
return true;
}
window.onerror = footErrors;

function openWindow(url) {
  popupWin = window.open(url, 'remote', 'resizable,titlebars=yes,scrollbars=1,top=75,left=100,width=580,height=500')
}

function openBP(url) {
  popupWin = window.open(url, 'remote', 'resizable,titlebars=yes,scrollbars=1,top=75,left=100,width=450,height=500')
}

function changePage(newLoc)
 {
   nextPage = newLoc.options[newLoc.selectedIndex].value
		
   if (nextPage != "")
   {
      document.location.href = nextPage
   }
 }
 
//top navigation
if (document.images != null)
  
{
ontop = new Array (5); offtop = new Array (5);
for (i=1;i<5;i++) {ontop[i] = new Image; offtop[i] = new Image;}

ontop[1].src="/images/nav/about_.gif";
ontop[2].src="/images/nav/customer_service_.gif";
ontop[3].src="/images/nav/clients_.gif";
ontop[4].src="/images/nav/knowledge_.gif";

offtop[1].src="/images/nav/about.gif";
offtop[2].src="/images/nav/customer_service.gif";
offtop[3].src="/images/nav/clients.gif";
offtop[4].src="/images/nav/knowledge.gif";

}
function top_on(n) {if (document.images != null) {document.images["i"+(n+"")].src=ontop[n].src;}}
function top_off(n) {if (document.images != null) {document.images["i"+(n+"")].src=offtop[n].src;}}


function noEntry() {
mt=document.subform.q.value;
if ((mt.length<1)||(mt.substring(0,18)=="search")) {
alert("Please enter your search criteria");
document.subform.q.value="search";
document.subform.q.focus();
return false;
}
else { return true; }
}
