var isNS4 = (navigator.appName=="Netscape")?1:0;
var rTimer;
var sds ;
      
<!-- On Load INI -->  
function OnLoadINIt()	
 {		  	   
   platform = navigator.platform.substr(0,3);
   browser = navigator.appName;
   version = navigator.appVersion.substr(0,3);

   if (browser == 'Netscape')
    {  
      var e = window.event;  
      document.captureEvents(Event.MOUSEMOVE);
  	  document.onmousemove = movemouse;		  
    }


    document.onmousemove = movemouse;



  if (browser == 'Netscape')
   {
    document.writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"netscape.css\">");
   }    
   else
   {
    document.writeln("<link rel=\"stylesheet\" type=\"text/css\" href=\"explorer.css\">");   
   }
			  	 	
 } 	   
	 
	 
function getFrame(FrameName)
 {
  if (window.parent.frames[FrameName])
   { 
     return true;
   }	 
   else
    return false;
    
 } 
	 

	 

<!-- Move Mouse -->   
    function movemouse(e)
 	 {          
       if (document.getElementById('hint'))
  	    {

   	      browser = navigator.appName;	   
	   
	      if (browser == 'Netscape')
	       {	
	        document.getElementById('hint').style.left = e.pageX+10;  
	        document.getElementById('hint').style.top  = e.pageY+20;		 		 	 
	       }
		else
	       {
	         document.getElementById('hint').style.left = window.event.clientX+10;  
	         document.getElementById('hint').style.top  = window.event.clientY+20+window.document.body.scrollTop;
		   }
        }
	 }   


<!-- Show Hint -->   
    function showhint(text)
	 {
  	   document.getElementById('hinttext').innerHTML     = text;
  	   document.getElementById('hinttext').style.color   = "black";
  	   document.getElementById('hint').style.display     = "block";
	 }

	 
<!-- Hide Hint -->	 
    function hidehint()
	 {
	   document.getElementById('hint').style.display = "none";
	 }
	 
	 
<!-- Show HELP -->   
    function showhelp(text)
	 {
  	   document.getElementById('helptext').innerHTML      = text;
  	   document.getElementById('helptext').style.color    = "black";
  	   document.getElementById('helpdiv').style.display   = "block";
	 }

	 
<!-- Hide HELP -->	 
    function hidehelp()
	 {
	   document.getElementById('helpdiv').style.display = "none";
	 }	 
	 
	 
<!-- Menu On Click -->	 
    function Myonclick(AForm,AKey,AValue)
     { 
       document.forms[AForm].elements[AKey].value=AValue;
       document.forms[AForm].submit();
     }

<!-- Submit next Page -->
    function MySubmit(AForm,AKey,AValue,PageName)
     {
       document.forms[AForm].elements[AKey].value=AValue;
       window.location.replace(PageName); 
     }


<!-- Check -->
    function veglegesites(uzenet)
     {
       if (confirm(uzenet)==true)
        return true;
       else
        return false;
     }
	 
<!-- Resize Parent Height -->	 	
	function ResizeParentHeight(ParentName,AHeight)
	 {
	   window.parent.document.getElementById(ParentName).style.height = AHeight;
	 }	  
		 

<!-- Get Navigator -->	 
    function GetNavigator()
	 {		 
       browser = navigator.appName;
       version = navigator.appVersion.substr(0,3);

       if (browser == 'Netscape')
        {
		  <!--window.alert("Az oldal Internet Explorer böngészõre van optimalizálva!!!");-->
		}
	  }  
	 
	 
<!-- Key Check -->		 
     function keycheck(e,keys)
      {
        var key;
        var keychar;

        if (window.event)
          key = window.event.keyCode;
        else if (e)
         key = e.which;
		 
        keychar = String.fromCharCode(key);	
		
		if (keys==0)
		 {
		   if ((("0123456789").indexOf(keychar) > -1))
            return true;
	     }
		 
		if (keys==1)
		 {
		   if ((("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ").indexOf(keychar) > 0))
            return true;
		 }			   
		   
		if (keys==2)
		 {
		   if ((("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ").indexOf(keychar) > 0))
		    return true;
  	     }	
		   
		if (keys==3)
		 {
		   if ((("abcdefghijklmnopqrstuvwxyzöüóõúûéáíABCDEFGHIJKLMNOPQRSTUVWXYZÖÜÓÕÚÛÉÁÍ").indexOf(keychar) > -1))
            return true;
		 }	
		   
		if (keys==4)
		 {
		   if ((("0123456789abcdefghijklmnopqrstuvwxyzöüóõúûéáíABCDEFGHIJKLMNOPQRSTUVWXYZÖÜÓÕÚÛÉÁÍ").indexOf(keychar) > -1))
            return true;
		 }
		   
		<!-- Email 5 -->   
		if (keys==5)
		 {
		   if ((("0123456789abcdefghijklmnopqrstuvwxyz._@-").indexOf(keychar) > -1))
            return true;		   		   		   		   
		 }
		   
		<!-- NUM ABC+" " 6 -->   
		if (keys==6)
		 {
		   if ((("0123456789abcdefghijklmnopqrstuvwxyzöüóõúûéáí ").indexOf(keychar) > -1))
            return true;
		 }
		 
		 
		<!-- NUM ÁBC+" " 7 -->   
		if (keys==6)
		 {
		   if ((("0123456789abcdefghijklmnopqrstuvwxyzöüóõúûéáíABCDEFGHIJKLMNOPQRSTUVWXYZÖÜÓÕÚÛÉÁÍ ").indexOf(keychar) > -1))
            return true;
		 }	

		 
		<!-- ÁBC+" " 8 -->   
		if (keys==7)
		 {
		   if ((("abcdefghijklmnopqrstuvwxyzöüóõúûéáíABCDEFGHIJKLMNOPQRSTUVWXYZÖÜÓÕÚÛÉÁÍ ").indexOf(keychar) > -1))
            return true;
		 }		


	<!-- ÁBC+" " 9 -->   
		if (keys==8)
		 {
     		   if ((("0123456789abcdefghijklmnopqrstuvwxyzöüóõúûéáíABCDEFGHIJKLMNOPQRSTUVWXYZÖÜÓÕÚÛÉÁÍ.,-/ ").indexOf(keychar) > -1))
           return true;
                                        
		 }	 			   		   		   
		   			 						   
        return false;
      }		


function checkTime(i)
{
if (i<10)
  {
    i="0" + i;
  }
return i;
}

function TimeTick()
{
  var Sh;
  var Sm; 
  var Ss;
    
  sds = new Date();
  Sh = checkTime(sds.getHours());
  Sm = checkTime(sds.getMinutes());
  Ss = checkTime(sds.getSeconds());
  document.time.tfield.value=" "+Sh+" : "+Sm+" : "+Ss;
  if(rTimer)
   {
     clearTimeout(rTimer);
   }

  rTimer = setTimeout('TimeTick()', 1000);
}




GetNavigator(); 
