var browsertype=false;
if((navigator.appName=="Netscape")&&(parseInt(navigator.appVersion)>=3)) browsertype=true;
if((navigator.appName=="Microsoft Internet Explorer")&&(parseInt(navigator.appVersion)>=4)) browsertype=true;

            if (document.images) { 
            img1on = new Image(); 
            img1on.src = "nav/homeon.gif"; 
            img2on = new Image(); 
            img2on.src = "nav/proteaon.gif";
            img3on = new Image(); 
            img3on.src = "nav/grevilleaon.gif"; 
            img4on = new Image(); 
            img4on.src = "nav/galleryon.gif";  
            img5on = new Image(); 
            img5on.src = "nav/banksiaon.gif";  
            img6on = new Image(); 
            img6on.src = "nav/locationon.gif";   
            img7on = new Image(); 
            img7on.src = "nav/linkson.gif"; 
            img8on = new Image(); 
            img8on.src = "nav/hostson.gif";
            img9on = new Image(); 
            img9on.src = "nav/testimonialson.gif";			 			  
			
			img1off = new Image(); 
            img1off.src = "nav/homeoff.gif"; 
            img2off = new Image(); 
            img2off.src = "nav/proteaoff.gif";
            img3off = new Image(); 
            img3off.src = "nav/grevilleaoff.gif";
            img4off = new Image(); 
            img4off.src = "nav/galleryoff.gif"; 
            img5off = new Image(); 
            img5off.src = "nav/banksiaoff.gif";
            img6off = new Image(); 
            img6off.src = "nav/locationoff.gif";
            img7off = new Image(); 
            img7off.src = "nav/linksoff.gif";
            img8off = new Image(); 
            img8off.src = "nav/hostsoff.gif";
			img9off = new Image(); 
            img9off.src = "nav/testimonialsoff.gif";			
        } 

// activate 
function imgon (imgName) { 
         if (document.images) { 
             document[imgName].src = eval (imgName + "on.src") ; 

} 

} 

// deactivate 
function imgoff (imgName) { 
         if (document.images) { 
             document[imgName].src = eval(imgName + "off.src"); 
           } 
 }
