if (document.images){

about_off=new Image;about_on=new Image;
news_off=new Image;news_on=new Image;
price_off=new Image;price_on=new Image;
cat_off=new Image;cat_on=new Image;
serv_off=new Image;serv_on=new Image;
pol_off=new Image;pol_on=new Image;
help_off=new Image;help_on=new Image;
links_off=new Image;links_on=new Image;

win_off=new Image;win_on=new Image;
koi8_off=new Image;koi8_on=new Image;
dos_off=new Image;dos_on=new Image;
eng_off=new Image;eng_on=new Image;
ru_off=new Image;ru_on=new Image;


about_about_off=new Image;about_about_on=new Image;
about_gb_off=new Image;about_gb_on=new Image;
about_koord_off=new Image;about_koord_on=new Image;

price_firm_off=new Image;price_firm_on=new Image;
price_oborud_off=new Image;price_oborud_on=new Image;
price_download_off=new Image;price_download_on=new Image;

serv_akust_off=new Image;serv_akust_on=new Image;
serv_remont_off=new Image;serv_remont_on=new Image;
serv_odejda_off=new Image;serv_odejda_on=new Image;

pol_author_off=new Image;pol_author_on=new Image;
pol_history_off=new Image;pol_history_on=new Image;
pol_photo_off=new Image;pol_photo_on=new Image;
pol_man_off=new Image;pol_man_on=new Image;
pol_themes_off=new Image;pol_themes_on=new Image;
pol_sovet_off=new Image;pol_sovet_on=new Image;



about_off.src="images/topmenu_about_off.gif";
about_on.src="images/topmenu_about_on.gif";
news_off.src="images/topmenu_news_off.gif";
news_on.src="images/topmenu_news_on.gif";
price_off.src="images/topmenu_price_off.gif";
price_on.src="images/topmenu_price_on.gif";
cat_off.src="images/topmenu_cat_off.gif";
cat_on.src="images/topmenu_cat_on.gif";
serv_off.src="images/topmenu_serv_off.gif";
serv_on.src="images/topmenu_serv_on.gif";
pol_off.src="images/topmenu_pol_off.gif";
pol_on.src="images/topmenu_pol_on.gif";
help_off.src="images/topmenu_help_off.gif";
help_on.src="images/topmenu_help_on.gif";
links_off.src="images/topmenu_links_off.gif";
links_on.src="images/topmenu_links_on.gif";

win_off.src="images/topmenu_win_off.gif";
win_on.src="images/topmenu_win_on.gif";
koi8_off.src="images/topmenu_koi8_off.gif";
koi8_on.src="images/topmenu_koi8_on.gif";
dos_off.src="images/topmenu_dos_off.gif";
dos_on.src="images/topmenu_dos_on.gif";
eng_off.src="images/topmenu_eng_off.gif";
eng_on.src="images/topmenu_eng_on.gif";
ru_off.src="images/topmenu_ru_off.gif";
ru_on.src="images/topmenu_ru_on.gif";


about_about_on.src="images/rightmenu_about_about_on.gif";
about_about_off.src="images/rightmenu_about_about_off.gif";
about_gb_on.src="images/rightmenu_about_gb_on.gif";
about_gb_off.src="images/rightmenu_about_gb_off.gif";
about_koord_on.src="images/rightmenu_about_koord_on.gif";
about_koord_off.src="images/rightmenu_about_koord_off.gif";

price_firm_on.src="images/rightmenu_price_firm_on.gif";
price_firm_off.src="images/rightmenu_price_firm_off.gif";
price_oborud_on.src="images/rightmenu_price_oborud_on.gif";
price_oborud_off.src="images/rightmenu_price_oborud_off.gif";
price_download_on.src="images/rightmenu_price_download_on.gif";
price_download_off.src="images/rightmenu_price_download_off.gif";

serv_akust_on.src="images/rightmenu_serv_akust_on.gif";
serv_akust_off.src="images/rightmenu_serv_akust_off.gif";
serv_remont_on.src="images/rightmenu_serv_remont_on.gif";
serv_remont_off.src="images/rightmenu_serv_remont_off.gif";
serv_odejda_on.src="images/rightmenu_serv_odejda_on.gif";
serv_odejda_off.src="images/rightmenu_serv_odejda_off.gif";

pol_author_on.src="images/rightmenu_pol_author_on.gif";
pol_author_off.src="images/rightmenu_pol_author_off.gif";
pol_history_on.src="images/rightmenu_pol_history_on.gif";
pol_history_off.src="images/rightmenu_pol_history_off.gif";
pol_photo_on.src="images/rightmenu_pol_photo_on.gif";
pol_photo_off.src="images/rightmenu_pol_photo_off.gif";
pol_man_on.src="images/rightmenu_pol_man_on.gif";
pol_man_off.src="images/rightmenu_pol_man_off.gif";
pol_themes_on.src="images/rightmenu_pol_themes_on.gif";
pol_themes_off.src="images/rightmenu_pol_themes_off.gif";
pol_sovet_on.src="images/rightmenu_pol_sovet_on.gif";
pol_sovet_off.src="images/rightmenu_pol_sovet_off.gif";



function on(imgname){
if (document.images){
imgOn = eval(imgname + "_on.src");
document [imgname].src = imgOn;
}
}
function off(imgname){
if (document.images){
imgOff = eval(imgname + "_off.src");
document [imgname].src = imgOff;
}
}


}