<!--
if (document.images) {
   homeOn = new Image();
   homeOn.src = "image/btn_home_on.gif";
   aboutOn = new Image();
   aboutOn.src = "image/btn_about_on.gif";
   coursesOn = new Image();
   coursesOn.src = "image/btn_courses_on.gif";
   profilingOn = new Image();
   profilingOn.src = "image/btn_profiling_on.gif";
   eftOn = new Image();
   eftOn.src = "image/btn_eft_on.gif";
   eq_storeOn = new Image();
   eq_storeOn.src = "image/btn_eq_store_on.gif";
   articlesOn = new Image();
   articlesOn.src = "image/btn_articles_on.gif";
   snapshotsOn = new Image();
   snapshotsOn.src = "image/btn_snapshots_on.gif";
   contactOn = new Image();
   contactOn.src = "image/btn_contact_on.gif";

   homeOff = new Image();
   homeOff.src = "image/btn_home_off.gif";
   aboutOff = new Image();
   aboutOff.src = "image/btn_about_off.gif";
   coursesOff = new Image();
   coursesOff.src = "image/btn_courses_off.gif";
   profilingOff = new Image();
   profilingOff.src = "image/btn_profiling_off.gif";
   eftOff = new Image();
   eftOff.src = "image/btn_eft_off.gif";
   eq_storeOff = new Image();
   eq_storeOff.src = "image/btn_eq_store_off.gif";
   articlesOff = new Image();
   articlesOff.src = "image/btn_articles_off.gif";
   snapshotsOff = new Image();
   snapshotsOff.src = "image/btn_snapshots_off.gif";
   contactOff = new Image();
   contactOff.src = "image/btn_contact_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; }
}

//-->


