if (document.images) {

homeon = new Image();           // Active images
	homeon.src = "images/homebutton.gif";
	homeoff = new Image();          // Inactive images
	homeoff.src = "images/homebutton2.gif";

abouton = new Image();           // Active images
	abouton.src = "images/aboutbutton.gif";
	aboutoff = new Image();          // Inactive images
	aboutoff.src = "images/aboutbutton2.gif";
	
productson = new Image();           // Active images
	productson.src = "images/productsbutton.gif";
	productsoff = new Image();          // Inactive images
	productsoff.src = "images/productsbutton2.gif";
	
contacton = new Image();           // Active images
	contacton.src = "images/contactbutton.gif";
	contactoff = new Image();          // Inactive images
	contactoff.src = "images/contactbutton2.gif";

}
    
function imgOn(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "off.src");
            }
    }
    function imgOff(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "on.src");        
            }
    }    
    
with (document)
	{
	write("<STYLE TYPE='text/css'>");
	if (navigator.appName == 'Microsoft Internet Explorer')
		{
		write(".HiliteOff {display:none}");
		write(".HiliteOn {display:block}");
		}
	write("H4 {font-family: trebuchet ms,sans-serif; color: White; font-size: 12pt}");
	write("</STYLE>");
	} 
	
function verify() {
var themessage = "We need your Name and Email Address!";
error=false
if (document.maillistForm.name.value=="") {
error=true;
}
if (document.maillistForm.email.value=="") {
error=true;
}
//alert if fields are empty and cancel form submit
if (error == false) {
document.maillistForm.submit();
}
else {
alert(themessage);
return false;
   }
}



var win = null;
function newWindow(mypage,myname,w,h,features) {
  var winl = (screen.width-w)/2;
  var wint = (screen.height-h)/2;
  if (winl < 0) winl = 0;
  if (wint < 0) wint = 0;
  var settings = 'height=' + h + ',';
  settings += 'width=' + w + ',';
  settings += 'top=' + wint + ',';
  settings += 'left=' + winl + ',';
  settings += features;
  win = window.open(mypage,myname,settings);
  win.window.focus();
}