// JavaScript Document

var _active = 0;
var browserName = navigator.appName;
var browserVer  = parseInt( navigator.appVersion );
if (
     ( browserName == "Netscape" && browserVer >= 3 )
     ||
     ( browserName == "Microsoft Internet Explorer" && browserVer >= 4 )
) {
    var version = "n3";
} else {
    var version = "n2";
}

if ( version == "n3" ) {
   //------------------------------------
   home_on  = new Image();
   home_off = new Image();
   home_photo = new Image();
   home_on.src = "images/home_on.gif";
   home_off.src  = "images/home_off.gif";
   home_photo.src = "images/lampblue.gif";
   //------------------------------------
   fb_on  = new Image();
   fb_off = new Image();
   fb_photo = new Image();
   fb_on.src = "images/fb_on.gif";
   fb_off.src  = "images/fb_off.gif";
   fb_photo.src = "images/lampblue.gif";
   //------------------------------------
   quality_on  = new Image();
   quality_off = new Image();
   quality_photo = new Image();
   quality_on.src = "images/quality_on.gif";
   quality_off.src  = "images/quality_off.gif";
   quality_photo.src = "images/lampviolet.gif";
   //------------------------------------
   experience_on  = new Image();
   experience_off = new Image();
   experience_photo = new Image();
   experience_on.src = "images/experience_on.gif";
   experience_off.src  = "images/experience_off.gif";
   experience_photo.src = "images/lampgold.gif";
   //------------------------------------
   contact_on  = new Image();
   contact_off = new Image();
   contact_photo = new Image();
   contact_on.src = "images/contact_on.gif";
   contact_off.src  = "images/contact_off.gif";
   contact_photo.src = "images/lampred.gif";
   //------------------------------------ 
   chamber_on  = new Image();
   chamber_off = new Image();
   chamber_photo = new Image();
   chamber_on.src = "images/chamber_on.gif";
   chamber_off.src  = "images/chamber_off.gif";
   chamber_photo.src = "images/lampred.gif";
   //------------------------------------    
   questions_on  = new Image();
   questions_off = new Image();
   questions_photo = new Image();
   questions_on.src = "images/questions_on.gif";
   questions_off.src  = "images/questions_off.gif";
   questions_photo.src = "images/lampgreen.gif";
   //------------------------------------
     
 }

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}



