<!--
if (navigator.appVersion.substring(0,1) >= 3) {
   serv  = new Image(); serv.src  = "img/m_serv1.gif";
   serv2 = new Image(); serv2.src = "img/m_serv2.gif";
   miss  = new Image(); miss.src  = "img/m_miss1.gif";
   miss2 = new Image(); miss2.src = "img/m_miss2.gif";
   cont  = new Image(); cont.src  = "img/m_cont1.gif";
   cont2 = new Image(); cont2.src = "img/m_cont2.gif";

   jani  = new Image(); jani.src  = "img/sm_jani1.gif";
   jani2 = new Image(); jani2.src = "img/sm_jani2.gif";
   secu  = new Image(); secu.src  = "img/sm_secu1.gif";
   secu2 = new Image(); secu2.src = "img/sm_secu2.gif";
   sale  = new Image(); sale.src  = "img/sm_sale1.gif";
   sale2 = new Image(); sale2.src = "img/sm_sale2.gif";
   main  = new Image(); main.src  = "img/sm_main1.gif";
   main2 = new Image(); main2.src = "img/sm_main2.gif";
   othe  = new Image(); othe.src  = "img/sm_othe1.gif";
   othe2 = new Image(); othe2.src = "img/sm_othe2.gif";
}

function smz(img1,img2) {
   if (navigator.appVersion.substring(0,1) >= 3) {
      document.images[img1].src=eval(img2 + ".src");
      if (img1 == "serv") {
         document.images['jani'].src = "img/sm_jani1.gif";
         document.images['secu'].src = "img/sm_secu1.gif";
         document.images['sale'].src = "img/sm_sale1.gif";
         document.images['main'].src = "img/sm_main1.gif";
         document.images['othe'].src = "img/sm_othe1.gif";
      }
      if (img2 == "serv") {
         document.images['jani'].src = "img/submenu1.gif";
         document.images['secu'].src = "img/submenu2.gif";
         document.images['sale'].src = "img/submenu3.gif";
         document.images['main'].src = "img/submenu4.gif";
         document.images['othe'].src = "img/submenu5.gif";
      }
   }
}

function turnOff() {
   smz('serv','serv')
   document.images['jani'].src = "img/submenu1.gif";
   document.images['secu'].src = "img/submenu2.gif";
   document.images['sale'].src = "img/submenu3.gif";
   document.images['main'].src = "img/submenu4.gif";
   document.images['othe'].src = "img/submenu5.gif";
}

function MM_reloadPage(init) {
   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 validatecontact(form) {
   with (window.document.frmContact) {
      if (name.value == "") {
         alert('Please enter your name.');
         name.focus();
         return false;
      }
      if (email.value == "") {
         alert ("Please enter your e-mail address.")
         email.focus()
         return false;
      }
      else {
         if ((email.value.indexOf("@") = -1) || (email.value.indexOf(".") = -1)) {
            alert ("An invalid e-mail address has been entered.");
            email.focus();
            return false;
         }
      }
   }
   return true;
}
//--> 

