if (document.images)
  {
     // active images
     go1on = new Image();
     go1on.src = "/cil/images/hp/go1_over.gif";
     abouton = new Image();
     abouton.src = "/cil/images/hp/about_over.gif";
     productson = new Image();
     productson.src = "/cil/images/hp/products_over.gif";
     promoon = new Image();
     promoon.src = "/cil/images/hp/promo_over.gif";
     compoundon = new Image();
     compoundon.src = "/cil/images/hp/compound_over.gif";
     customeron = new Image();
     customeron.src = "/cil/images/hp/customer_over.gif";
     techon = new Image();
     techon.src = "/cil/images/hp/technical_over.gif";
     literatureon = new Image();
     literatureon.src = "/cil/images/hp/literature_over.gif";
     newson = new Image();
     newson.src = "/cil/images/hp/news_over.gif";
     contacton = new Image();
     contacton.src = "/cil/images/hp/contact_over.gif";
     specialon = new Image();
     specialon.src = "/cil/images/hp/special_over.gif";
     go2on = new Image();
     go2on.src = "/cil/images/hp/go2_over.gif";
     
     searchon = new Image();
     searchon.src = "/cil/images/sp/search_over.gif";
     goon = new Image();
     goon.src = "/cil/images/hp/feature_go_over.gif";
     moremarketon = new Image();
     moremarketon.src = "/cil/images/hp/more_over.gif";
     marketdetailon = new Image();
     marketdetailon.src = "/cil/images/hp/arrow_darkblue.gif";
     marketallon = new Image();
     marketallon.src = "/cil/images/hp/arrow_aqua.gif";
     smloginon = new Image();
     smloginon.src = "/cil/images/sp/smlogin_over.gif";
     registeron = new Image();
     registeron.src = "/cil/images/sp/register_over.gif";
     register2on = new Image();
     register2on.src = "/cil/images/hp/register2_over.gif";
     
     
     
     // inactive images
     go1off = new Image();
     go1off.src = "/cil/images/hp/go1.gif";
     aboutoff = new Image();
     aboutoff.src = "/cil/images/hp/about.gif";
     productsoff = new Image();
     productsoff.src = "/cil/images/hp/products.gif";
     promooff = new Image();
     promooff.src = "/cil/images/hp/promo.gif";
     compoundoff = new Image();
     compoundoff.src = "/cil/images/hp/compound.gif";
     customeroff = new Image();
     customeroff.src = "/cil/images/hp/customer.gif";
     techoff = new Image();
     techoff.src = "/cil/images/hp/technical.gif";
     literatureoff = new Image();
     literatureoff.src = "/cil/images/hp/literature.gif";
     newsoff = new Image();
     newsoff.src = "/cil/images/hp/news.gif";
     contactoff = new Image();
     contactoff.src = "/cil/images/hp/contact.gif";
     specialoff = new Image();
     specialoff.src = "/cil/images/hp/special.gif";
     go2off = new Image();
     go2off.src = "/cil/images/hp/go2.gif";
     moremarketoff = new Image();
     moremarketoff.src = "/cil/images/hp/more.gif";
     marketdetailoff = new Image();
     marketdetailoff.src = "/cil/images/hp/arrow_aqua.gif";
     marketallon = new Image();
     marketallon.src = "/cil/images/hp/arrow_darkblue.gif";
     searchoff = new Image();
     searchoff.src = "/cil/images/sp/search.gif";
     gooff = new Image();
     gooff.src = "/cil/images/hp/feature_go.gif";
     smloginoff = new Image();
     smloginoff.src = "/cil/images/sp/smlogin.gif";
     registeroff = new Image();
     registeroff.src = "/cil/images/sp/register.gif";
     register2off = new Image();
     register2off.src = "/cil/images/hp/register2.gif";
     
     
   }
   
   // image on function
   function imgOn (imgName)
   {
     if (document.images)
     {
       document [imgName].src = eval (imgName + "on.src");
     }
   }
   
   // image off function
   function imgOff(imgName)
   {
     if (document.images)
     {
       document [imgName].src = eval (imgName + "off.src");
     }
   }
   
   //date stuff
    dayName = new Array ("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday") 
    monName = new Array ("January","February", "March", "April","May", "June", "July", "August", "September", "October", "November","December")
    now = new Date
    
    thisYear = now.getYear()
    if (thisYear < 1900) {
    thisYear = thisYear + 1900
    }
    //Y2k bugfix
    function changeColor(newcolor){
      if(document.getElementById){
      document.getElementById('search_string').style.color=newcolor
      }
      else if(document.all){
      document.all.search_string.style.color=newcolor}
    } 