ok = false; pick = 'main'; menu1=false;


			  
if (navigator.userAgent.indexOf ("Mozilla") != -1) {
  ok = parseInt(navigator.appVersion.substring(0,1)) >= 3
} else {}

browserName=navigator.appName;
browserVer=parseInt(navigator.appVersion);
if (browserName=="Netscape" && browserVer >= 3) version="Ok";
        else if (browserName=="Microsoft Internet Explorer" && browserVer >= 4) version="Ok";
                else version="Err";
if (version=="Ok") {

		price1c_off=new Image(160,16);
		price1c_off.src="img/menu_price1c.gif";
		price1c_on=new Image(106,16);
		price1c_on.src="img/menu_price1c1.gif";

		torg_off=new Image(200,16);
		torg_off.src="img/menu_torg.gif";
		torg_on=new Image(200,16);
		torg_on.src="img/menu_torg1.gif";

		zarp_off=new Image(200,16);
		zarp_off.src="img/menu_zarp.gif";
		zarp_on=new Image(200,16);
		zarp_on.src="img/menu_zarp1.gif";

		predp_off=new Image(170,16);
		predp_off.src="img/menu_predp.gif";
		predp_on=new Image(170,16);
		predp_on.src="img/menu_predp1.gif";
		
  		bux_off=new Image(170,16);
		bux_off.src="img/menu_bux.gif";
		bux_on=new Image(170,16);
		bux_on.src="img/menu_bux1.gif";

		cred_off=new Image(140,16);
		cred_off.src="img/menu_cred.gif";
		cred_on=new Image(140,16);
		cred_on.src="img/menu_cred1.gif";
		
        	vac_off=new Image(140,16);
		vac_off.src="img/menu_vac.gif";
		vac_on=new Image(140,16);
		vac_on.src="img/menu_vac1.gif";
		
		visit_off=new Image(170,16);
	        visit_off.src="img/menu_visit.gif";
        	visit_on=new Image(170,16);
        	visit_on.src="img/menu_visit1.gif";
	
		news_off=new Image(140,16);
	        news_off.src="img/menu_news.gif";
	        news_on=new Image(140,16);
	        news_on.src="img/menu_news1.gif";
		
		main_off=new Image(140,16);
	        main_off.src="img/menu_main.gif";
	        main_on=new Image(140,16);
	        main_on.src="img/menu_main1.gif";

		mobile_off=new Image(140,16);
	        mobile_off.src="img/menu_mobile.gif";
	        mobile_on=new Image(140,16);
	        mobile_on.src="img/menu_mobile1.gif";

		c_off=new Image(140,16);
	        c_off.src="img/menu_1c.gif";
	        c_on=new Image(140,16);
	        c_on.src="img/menu_1c1.gif";		

		price_off=new Image(140,16);
	        price_off.src="img/menu_price.gif";
	        price_on=new Image(140,16);
	        price_on.src="img/menu_price1.gif";       

		service_off=new Image(140,16);
	        service_off.src="img/menu_service.gif";
	        service_on=new Image(140,16);
	        service_on.src="img/menu_service1.gif";

		links_off=new Image(140,16);
	        links_off.src="img/menu_links.gif";
	        links_on=new Image(140,16);
	        links_on.src="img/menu_links1.gif";  

		mstart_off=new Image(114,24);
	        mstart_off.src="img/mstart.gif";
	        mstart_on=new Image(114,24);
	        mstart_on.src="img/mstart1.gif";

		fav_off=new Image(124,24);
	        fav_off.src="img/fav.gif";
	        fav_on=new Image(124,24);
	        fav_on.src="img/fav1.gif";
		
		mail_off=new Image(71,24);
	        mail_off.src="img/mail.gif";
		mail_on=new Image(71,24);
	        mail_on.src="img/mail1.gif";		

	}

function Clk1C() {
        if (version=="Ok") {
        if (menu1==false) {document.images['predp'].height=16; 
							document.images['bux'].height=16;
							document.images['zarp'].height=16;
							document.images['torg'].height=16;
							document.images['price1c'].height=16;  
							menu1=true; document.c.src = c_on.src;}
		else {hide();
			   menu1=false; document.c.src = c_off.src;}
		        }}

function hide() {
        if (version=="Ok") {document.images['predp'].height=0;
		      				document.images['bux'].height=0;
							document.images['zarp'].height=0;
							document.images['torg'].height=0;
							document.images['price1c'].height=0;
        		        }}		
						
	
function UrlOn(ImageName) {
        if ((version=="Ok")&&(ImageName!=pick)) {
        image_on=eval(ImageName + "_on.src");
        document.images[ImageName].src=image_on;
        }}
function UrlOff(ImageName) {
        if ((version=="Ok")&&(ImageName!=pick)) {
        document.images[ImageName].src=eval(ImageName + "_off.src");
        }}
		
   function trois(ImageName) {
       if (ok == 1) {
          if (pick=="news") {document.news.src = news_off.src;}
          if (pick=="visit") {document.visit.src = visit_off.src;}
		  if (pick=="price") {document.price.src = price_off.src;}
	//	  if (pick=="c") {document.c.src = c_off.src;}
		  if (pick=="links") {document.links.src =links_off.src;}
		  if (pick=="service") {document.service.src =service_off.src;}
		  if (pick=="mobile") {document.mobile.src =mobile_off.src;}
		  if (pick=="main") {document.main.src =main_off.src;}
		  if (pick=="cred") {document.cred.src =cred_off.src;}
		  if (pick=="vac") {document.vac.src =vac_off.src;}
		  if (pick=="bux") {document.bux.src =bux_off.src;}
		  if (pick=="predp") {document.predp.src =predp_off.src;}
		  if (pick=="torg") {document.torg.src =torg_off.src;}
		  if (pick=="zarp") {document.zarp.src =zarp_off.src;}
		  if (pick=="price1c") {document.price1c.src =price1c_off.src;}

		  if ((ImageName == "main")&&(pick!="main")) { pick="main"}   		            
		  if ((ImageName == "news")&&(pick!="news")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="news"}   		  
		  if ((ImageName == "visit")&&(pick!="visit")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="visit"}
          if ((ImageName == "price")&&(pick!="price")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="price"}
//		  if ((ImageName == "c")&&(pick!="c")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="c"}
		  if ((ImageName == "links")&&(pick!="links")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="links"}
		  if ((ImageName == "service")&&(pick!="service")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="service"}
		  if ((ImageName == "mobile")&&(pick!="mobile")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="mobile"}
		  if ((ImageName == "main")&&(pick!="main")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="main"}
		  if ((ImageName == "cred")&&(pick!="cred")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="cred"}	  
		  if ((ImageName == "vac")&&(pick!="vac")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="vac"}
		  if ((ImageName == "bux")&&(pick!="bux")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="bux"}
		  if ((ImageName == "predp")&&(pick!="predp")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="predp"}
		  if ((ImageName == "zarp")&&(pick!="zarp")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="zarp"}
		  if ((ImageName == "torg")&&(pick!="torg")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="torg"}
		  if ((ImageName == "price1c")&&(pick!="price1c")) {document.images[ImageName].src=eval(ImageName + "_on.src"); pick="price1c"}
		  
		  if (pick=="news") {document.news.src = news_on.src;}
     	  if (pick=="visit") {document.visit.src = visit_on.src;}
          if (pick=="price") {document.price.src = price_on.src;}
		//  if (pick=="c") {document.c.src = c_on.src;}
		  if (pick=="links") {document.links.src =links_on.src;}
		  if (pick=="service") {document.service.src =service_on.src;}
		  if (pick=="mobile") {document.mobile.src =mobile_on.src;}
		  if (pick=="main") {document.main.src =main_on.src;}
		  if (pick=="cred") {document.cred.src =cred_on.src;}
		  if (pick=="vac") {document.vac.src =vac_on.src;}
		  if (pick=="bux") {document.bux.src =bux_on.src;}
		  if (pick=="predp") {document.predp.src =predp_on.src;}
		  if (pick=="zarp") {document.zarp.src =zarp_on.src;}
		  if (pick=="torg") {document.torg.src =torg_on.src;}
		  if (pick=="price1c") {document.price1c.src =price1c_on.src;}
		  return true;
       }
   }		