var is_major = parseInt(navigator.appVersion); 
if (is_major >=4){ 

	home_off=new Image; 
	home_on=new Image;
	comp_off=new Image; 
	comp_on=new Image;
	ball_off=new Image; 
	ball_on=new Image;
	mech_off=new Image; 
	mech_on=new Image;
	prec_off=new Image; 
	prec_on=new Image;
	stoc_off=new Image; 
	stoc_on=new Image;
	cont_off=new Image; 
	cont_on=new Image;

	home_off.src="images/b-homepage.gif"; 
	home_on.src="images/b-homepage-on.gif";
	comp_off.src="images/b-company.gif"; 
	comp_on.src="images/b-company-on.gif";
	ball_off.src="images/b-ball-valve.gif"; 
	ball_on.src="images/b-ball-valve-on.gif";
	mech_off.src="images/b-mechanical-seal.gif"; 
	mech_on.src="images/b-mechanical-seal-on.gif";
	prec_off.src="images/b-precision-lapping.gif"; 
	prec_on.src="images/b-precision-lapping-on.gif";
	stoc_off.src="images/b-stockists-suppliers.gif"; 
	stoc_on.src="images/b-stockists-suppliers-on.gif";
	cont_off.src="images/b-contact-martract.gif"; 
	cont_on.src="images/b-contact-martract-on.gif";
}
 
function doBtn(imgID,imgName)	{ 
if (is_major >=4)	{
    document.images[imgID].src = eval(imgName + ".src") 
			}	}