 
 function ujKep(arg){
   if ( document.images ){
     rslt=new Image();
     rslt.src=arg;
     return rslt;
   }
 }
 
 function KepValt(kepID,kepNev) {
   document.images[kepID].src=eval(kepNev + ".src");
 }

 function jumpTo(field) {
   if ( (field.type!='select-one') && (field.length>0) ){
     field[0].click();
     field[0].focus();
 	}else {
	    field.focus();
	  }
 }

 function ShowLayer(layer,csusztato_ertek,elojel){
   var div=document.getElementById(layer);
   var window_width=document.body.clientWidth;
   if ( window_width<995 ) window_width=995;
   if ( elojel=='-' ) var left=Math.round((window_width/2)-(csusztato_ertek));
   if ( elojel=='+' ) var left=Math.round((window_width/2)+(csusztato_ertek));
   if ( left<0 ) left=0;
   div.style.left=left+"px";
   div.style.display="";
 }
 
 function ShowShadows(){
   HideAll();
   ShowLayer('Lshadow_top',499,'-');
   ShowLayer('Lshadow_bottom',499,'-');
 } 
 
 function hide(layer){
   var div=document.getElementById(layer);
   div.style.display="none";
 }