main1omo=new Image(); main1omo.src="/common/images/grbtn_company_on.gif";
main2omo=new Image(); main2omo.src="/common/images/grbtn_producers_on.gif";
main3omo=new Image(); main3omo.src="/common/images/grbtn_products_on.gif";
main4omo=new Image(); main4omo.src="/common/images/grbtn_news_on.gif";
main5omo=new Image(); main5omo.src="/common/images/grbtn_contact_on.gif";

main1omu=new Image(); main1omu.src="/common/images/grbtn_company_off.gif";
main2omu=new Image(); main2omu.src="/common/images/grbtn_producers_off.gif";
main3omu=new Image(); main3omu.src="/common/images/grbtn_products_off.gif";
main4omu=new Image(); main4omu.src="/common/images/grbtn_news_off.gif";
main5omu=new Image(); main5omu.src="/common/images/grbtn_contact_off.gif";

function show(object) {
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='visible';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'visible';
    else if (document.all)
        document.all[object].style.visibility = 'visible';
}

function hide(object) {
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='hidden';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'hidden';
    else if (document.all)
         document.all[object].style.visibility = 'hidden';
}

function change(imgModule,imgObject) { 
document.images[imgModule].src = eval(imgObject + ".src"); 
}

function ViewImage(ifile,ix,iy,ititle) {
	var win; 
	win = window.open("","_blank","width="+ix+",height="+iy+",menubar=no,toolbar=no");
	win.document.open();
	win.document.write("<html><head><title>"+ititle+"</title></head><body bgcolor=#FFFFFF background="+ifile+" onblur='self.close();'></body></html>");
	win.document.close();
}

