<!--
if (document.images) {

   homeOn = new Image();
   homeOn.src = "i/b_home_on.gif";
   aboutOn = new Image();
   aboutOn.src = "i/b_about_on.gif";
   contactOn = new Image();
   contactOn.src = "i/b_contact_on.gif";

   ptOn = new Image();
   ptOn.src = "i/b_pt_on.gif";
   reOn = new Image();
   reOn.src = "i/b_re_on.gif";
   mlOn = new Image();
   mlOn.src = "i/b_ml_on.gif";
   spOn = new Image();
   spOn.src = "i/b_sp_on.gif";
   afOn = new Image();
   afOn.src = "i/b_af_on.gif";
   tpOn = new Image();
   tpOn.src = "i/b_tp_on.gif";
   diOn = new Image();
   diOn.src = "i/b_di_on.gif";
   ulOn = new Image();
   ulOn.src = "i/b_ul_on.gif";



   homeOff = new Image();
   homeOff.src = "i/b_home_off.gif";
   aboutOff = new Image();
   aboutOff.src = "i/b_about_off.gif";
   contactOff = new Image();
   contactOff.src = "i/b_contact_off.gif";

   ptOff = new Image();
   ptOff.src = "i/b_pt_off.gif";
   reOff = new Image();
   reOff.src = "i/b_re_off.gif";
   mlOff = new Image();
   mlOff.src = "i/b_ml_off.gif";
   spOff = new Image();
   spOff.src = "i/b_sp_off.gif";
   afOff = new Image();
   afOff.src = "i/b_af_off.gif";
   tpOff = new Image();
   tpOff.src = "i/b_tp_off.gif";
   diOff = new Image();
   diOff.src = "i/b_di_off.gif";
   ulOff = new Image();
   ulOff.src = "i/b_ul_off.gif";

   }

function buttonOn(imgName) {
   if (document.images) {
       document [imgName].src = eval(imgName + "On.src");
       }
   }
        
function buttonOff(imgName) {
   if (document.images) {
       document [imgName].src = eval(imgName + "Off.src");
       }
   }


function findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function showHideLayers() { //v3.0
  var i,p,v,obj,args=showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

//-->

