  scriptable = 0;   
  name = navigator.appName;  
  version = parseInt(navigator.appVersion);   
  if ((name == "Netscape" && version >= 3) || (name == "Microsoft Internet Explorer" && version >= 3)) 
  {
    scriptable = 1;  


	uticelon        = new Image();    uticelon.src      = 'http://www.horvatorszaginfo.hu/gombok/m1_2nd.gif';
	szallason        = new Image();    szallason.src      = 'http://www.horvatorszaginfo.hu/gombok/m2_2nd.gif';
	buvaron        = new Image();    buvaron.src      = 'http://www.horvatorszaginfo.hu/gombok/m3_2nd.gif';
	hajoon        = new Image();    hajoon.src      = 'http://www.horvatorszaginfo.hu/gombok/m4_2nd.gif';

	topaon        = new Image();    topaon.src      = 'http://www.horvatorszaginfo.hu/gombok/top1_2nd.gif';
	topbon        = new Image();    topbon.src      = 'http://www.horvatorszaginfo.hu/gombok/top2_2nd.gif';
	topcon        = new Image();    topcon.src      = 'http://www.horvatorszaginfo.hu/gombok/top3_2nd.gif';



	uticeloff       = new Image();    uticeloff.src     = 'http://www.horvatorszaginfo.hu/gombok/m1_3rd.gif';
	szallasoff       = new Image();    szallasoff.src     = 'http://www.horvatorszaginfo.hu/gombok/m2_3rd.gif';
	buvaroff       = new Image();    buvaroff.src     = 'http://www.horvatorszaginfo.hu/gombok/m3_3rd.gif';
	hajooff       = new Image();    hajooff.src     = 'http://www.horvatorszaginfo.hu/gombok/m4_3rd.gif';

	topaoff       = new Image();    topaoff.src     = 'http://www.horvatorszaginfo.hu/gombok/top1_3rd.gif';
	topboff       = new Image();    topboff.src     = 'http://www.horvatorszaginfo.hu/gombok/top2_3rd.gif';
	topcoff       = new Image();    topcoff.src     = 'http://www.horvatorszaginfo.hu/gombok/top3_3rd.gif';

       
  }
  
  function switchto(name, on) 
  {    
    if (scriptable == 1) 
    {      
       image = eval(name + (on == 1 ? "on.src" : "off.src"));      
       document[name].src = image;    
    }  
  }