document.charset="windows-1250";
function blockError(){return true;}
window.onerror = blockError;
function Contact() {window.open('email.asp','','width=500,height=300');}
function Level() {window.open('email2.asp','','width=500,height=300');}
function Mail() {window.open('email3.asp','','top=145,left=150,width=500,height=300');}
function MM_displayStatusMsg(msgStr) { status=msgStr; document.MM_returnValue = true;}
function scrollit() {parent.scroll(0,0)}
function MM_reloadPage(init) { if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();} MM_reloadPage(true);
function MM_showHideLayers() {var i,p,v,obj,args=MM_showHideLayers.arguments;for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj.visibility=v; }}
function Clear_Bubble() {MM_showHideLayers('bubble','','hide','bubble2','','hide')}
function FDK_StripChars(theFilter,theString){var strOut,i,curChar;strOut = "";for (i=0;i < theString.length; i++){curChar = theString.charAt(i);if (theFilter.indexOf(curChar) < 0) strOut += curChar}return strOut}
function FDK_AddToValidateArray(FormName,FormElement,Validation,SetFocus){var TheRoot=eval("document."+FormName);if (!TheRoot.ValidateForm){TheRoot.ValidateForm = true;eval(FormName+"NameArray = new Array()");eval(FormName+"ValidationArray = new Array()");eval(FormName+"FocusArray = new Array()")}var ArrayIndex = eval(FormName+"NameArray.length");eval(FormName+"NameArray[ArrayIndex] = FormElement");eval(FormName+"ValidationArray[ArrayIndex] = Validation");eval(FormName+"FocusArray[ArrayIndex] = SetFocus");}
function FDK_ValidateAlphaNum(FormElement,Required,ErrorMsg){var msg = "";var i, m, s, firstNonWhite;var theString = FormElement.value;var msgInvalid = ErrorMsg;if (FDK_StripChars(" ",theString).length == 0){if (!Required){return "";}else{return msgInvalid;}}theString = FDK_Trim(theString);for (var n=0; n<theString.length; n++){theChar = theString.substring(n,n+1);if (!FDK_AllInRange("&","9",theChar) && !FDK_AllInRange("@","Z",theChar.toUpperCase()) && !FDK_AllInRange("Á","Û",theChar.toUpperCase()) && !(theChar == " ")) {return msgInvalid;}}return "";}
function FDK_Trim(theString){var i,firstNonWhite;if (FDK_StripChars(" \n\r\t",theString).length == 0 ) return "";i = -1;while (1) {i++;if (theString.charAt(i) != " ")break	}firstNonWhite = i;i = theString.length;while (1) {i--;if (theString.charAt(i) != " ")break}return theString.substring(firstNonWhite,i + 1)}
function FDK_AllInRange(x,y,theString) {var i, curChar;for (i=0; i < theString.length; i++) {curChar = theString.charAt(i);if (curChar < x || curChar > y) return false}return true}
function FDK_AddAlphaNumericValidation(FormName,FormElementName,Required,SetFocus,ErrorMsg) {var ValString = "FDK_ValidateAlphaNum("+FormElementName+","+Required+","+ErrorMsg+")";FDK_AddToValidateArray(FormName,eval(FormElementName),ValString,SetFocus)}
function FDK_Validate(FormName, stopOnFailure, AutoSubmit, LayerName) {var theLayerName = LayerName;var theFormName = FormName;var theElementName = "";if (theFormName.indexOf(".")>=0) {theElementName = theFormName.substring(theFormName.indexOf(".")+1);theFormName = theFormName.substring(0,theFormName.indexOf("."))}var ValidationCheck = eval("document."+theFormName+".ValidateForm");if (ValidationCheck) {var theNameArray = eval(theFormName+"NameArray");var theValidationArray = eval(theFormName+"ValidationArray");var theFocusArray = eval(theFormName+"FocusArray");var ErrorMsg = "";var FocusSet = false;var i;var msg;if (String(theNameArray)!="undefined"){for (i = 0; i < theNameArray.length; i ++) {msg="";if (theNameArray[i].name == theElementName || theElementName == "") {msg = eval(theValidationArray[i]);}if (msg != "") {ErrorMsg += "\n"+msg;if (stopOnFailure == "1") {if (theFocusArray[i] && !FocusSet)  {FocusSet=true;theNameArray[i].focus();}Clear_Bubble();document.MM_returnValue = false; break;}else{if (theFocusArray[i] && !FocusSet) {FocusSet=true;theNameArray[i].focus();}}}}};if (ErrorMsg!="" && stopOnFailure != "1") {setTimeout(Clear_Bubble,8000);MM_showHideLayers(LayerName,'','show');};document.MM_returnValue = (ErrorMsg=="");if (document.MM_returnValue && AutoSubmit) {eval("document."+FormName+".submit()")}}}
function MM_setTextOfLayer(objName,x,newText) {if ((obj=MM_findObj(objName))!=null) with (obj) if (document.layers) {document.write(unescape(newText)); document.close();}else innerHTML = unescape(newText);}
function nocheat(){document.Gyorskereso.Gyors.value = document.Gyorskereso.Gyors.value.replace("%","").replace("_","");}
function MM_findObj(n, d) {var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);if(!x && d.getElementById) x=d.getElementById(n); return x;}
function MM_preloadImages() {var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}
