function MM_preloadImages() { //v3.0 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; i0&&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= len && !containsElement(filter,keyCode)) { input.value = input.value.slice(0, len); input.form[(getIndex(input)+1) % input.form.length].focus(); } function containsElement(arr, ele) { var found = false, index = 0; while(!found && index < arr.length) if(arr[index] == ele) found = true; else index++; return found; } function getIndex(input) { var index = -1, i = 0, found = false; while (i < input.form.length && index == -1) if (input.form[i] == input)index = i; else i++; return index; } return true; } function showTorzsszam(value) { if(value==1) { document.getElementById('all').style.display = ''; document.getElementById('torzsszam').style.display = ''; document.getElementById('hideaddress').style.display = 'none'; } else { document.getElementById('all').style.display = ''; document.getElementById('torzsszam').style.display = 'none'; document.getElementById('hideaddress').style.display = ''; } } function showAccept(value) { if(value==1) { document.getElementById('acceptcond').style.display = ''; } else { document.getElementById('acceptcond').style.display = 'none'; } } function confirmation(URL) { if (confirm("Biztos benne, hogy üríteni szeretné a kosarát?\n")) {location = String(URL);} } function empty_numbox(){ for(i=1;i<=8;i++){ document.getElementById('c'+i).value = ''; } document.getElementById('hibarow').innerHTML= ''; }