<!--

if (document.images) {            // Active Images
            homeon = new Image();      
            homeon.src = "images/button_down_home.gif";
			
			abouton = new Image();      
            abouton.src = "images/button_down_about.gif";
			
			calendaron = new Image();      
            calendaron.src = "images/button_down_calendar.gif";
			
			catalogon = new Image();      
            catalogon.src = "images/button_down_catalog.gif";
			
			contacton = new Image();      
            contacton.src = "images/button_down_contact.gif";
           
		    absenteeon = new Image();      
            absenteeon.src = "images/button_down_absentee.gif";
           
		    phoneon = new Image();      
            phoneon.src = "images/button_down_phone.gif";
 
 		    priceson = new Image();      
            priceson.src = "images/button_down_prices.gif";
           
		    mailliston = new Image();      
            mailliston.src = "images/button_down_maillist.gif";
			
			homeoff = new Image();      
            homeoff.src = "images/button_home.gif";
			
			aboutoff = new Image();      
            aboutoff.src = "images/button_about.gif";
			
			calendaroff = new Image();      
            calendaroff.src = "images/button_calendar.gif";
			
			catalogoff = new Image();      
            catalogoff.src = "images/button_catalog.gif";
			
			contactoff = new Image();      
            contactoff.src = "images/button_contact.gif";
           
		    absenteeoff = new Image();      
            absenteeoff.src = "images/button_absentee.gif";
           
		    phoneoff = new Image();      
            phoneoff.src = "images/button_phone.gif";
           
		   	pricesoff = new Image();      
            pricesoff.src = "images/button_prices.gif";
           
		    maillistoff = new Image();      
            maillistoff.src = "images/button_maillist.gif";       
}

// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}

// Netscape resize bug.
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_closeBrWindow() { //v2.0
  window.close();
}
function resetform() {
document.forms[0].elements[1]=="";
}
function submitForms() {
if (isEmail() && isFname() && isLname() && isAddress() && isCity() && isState() && isZip() && isPhone())
{
return true;
}
return false;
}
function isEmail() {
if (document.forms[0].elements[1].value == "") {
alert ("\n The E-Mail field is blank. \n\n Please enter your E-Mail address.")
document.forms[0].elements[1].focus();
return false;
}
if (document.forms[0].elements[1].value.indexOf ('@',0) == -1 ||
document.forms[0].elements[1].value.indexOf ('.',0) == -1) {
alert ("\n The E-Mail field requires a \"@\" and a \".\"be used. \n\nPlease re-enter your E-Mail address.")
document.forms[0].elements[1].select();
document.forms[0].elements[1].focus();
return false;
}
return true;
}
function isFname() {
if (document.forms[0].elements[2].value == "")
{
alert ("\n The First Name field is blank. \n\n Please enter your first name.")
document.forms[0].elements[2].focus();
return false;
}
return true;
}
function isLname() {
if (document.forms[0].elements[3].value == "") {
alert ("\n The Last Name field is blank. \n\nPlease enter your last name.")
document.forms[0].elements[3].focus();
return false;
}
return true;
}
function isAddress() {
if (document.forms[0].elements[4].value == "") {
alert ("\n The Address field is blank. \n\nPlease enter your address.")
document.forms[0].elements[4].focus();
return false;
}
return true;
}
function isCity()
{
if (document.forms[0].elements[5].value == "")
{
alert ("\n The City field is blank. \n\nPlease enter your city.")
document.forms[0].elements[5].focus();
return false;
}
return true;
}
function isState() {
if (document.forms[0].elements[6].value == "") {
alert ("\n The state field is blank.\n\nPlease enter your state.")
document.forms[0].elements[6].focus();
return false;
}
return true;
}
function isZip() {
if (document.forms[0].elements[7].value == "") {
alert ("\n The Zip code field is blank. \n\nPlease enter your Zip code.")
document.forms[0].elements[7].focus();
return false;
}
return true;
}
function isPhone() {
if (document.forms[0].elements[8].value == "") {
alert ("\n The Phone field is blank. \n\nPlease enter your Phone number.")
document.forms[0].elements[8].focus();
return false;
}
return true;
}

// -->

