function Testurl() { err=''; if (document.formodkaz.url.value.length==0) {err+='Nezadán odkaz\n';}; if (err.length>0) { alert(err); return false;} else return true; } function launchukazka(url) { window.open(url, 'show', 'height=500, width=650, toolbar=no, location=no, resizable=no, status=no, menubar=no, scrollbars=yes') } function zmenselectkraj() { if (document.formular.STAT.value=="30") { document.formular.KRAJ.disabled=false;} else { document.formular.KRAJ.disabled=true; } } function launcher2(url) { window.open(url, 'czechreal', 'height=300, width=400, toolbar=no, location=no, resizable=no, status=no, menubar=no, scrollbars=yes') } function launcher4(url) { window.open(url, 'czechreal2', 'height=50, width=400, toolbar=no, location=no, resizable=no, status=no, menubar=no, scrollbars=yes') } function launcher3(url) { window.open(url+'&znacky='+formular.STAT.options[formular.STAT.selectedIndex].value, 'autors', 'height=400, width=400, toolbar=no, location=no, resizable=no, status=no, menubar=no, scrollbars=yes') } function launcher5(url,sirka,vyska) { window.open(url, 'autors'+vyska+sirka, 'height='+vyska+', width='+sirka+', toolbar=no, location=no, resizable=no, status=no, menubar=no, scrollbars=yes') } function Testf() { err=''; if (document.formular.souhlas.checked==false) {err+='Nezadán souhlas s obchodními podmínkami\n';}; if (document.formular.heslo.value.length==0) {err+='Nezadáno heslo\n';}; if (document.formular.DIC.value.length==0 && !document.formular.DIC1.checked) {err+='Nezadáno DIČ\n';}; if (document.formular.ICO.value.length==0 && !document.formular.ICO1.checked) {err+='Nezadáno IČ\n';}; if (document.formular.sidlo.value.length==0) {err+='Nezadáno sídlo\n';}; if (document.formular.zastupce.value.length==0) {err+='Nezadán odpovědný zástupce\n';}; if (document.formular.heslo.value!=document.formular.heslo2.value) {err+='Hesla nejsou stejná\n';}; if (document.formular.nazev_firmy.value.length==0) {err+='Nezadán název firmy\n';}; if (document.formular.tel.value.length==0) {err+='Nezadán telefon\n';}; if (document.formular.mesto.value.length==0) {err+='Nezadáno město\n';}; if (document.formular.zip.value.length==0) {err+='Nezadáno PSČ\n';}; if (document.formular.mail.value.length==0) {err+='Nezadán e-mail\n';}; if (err.length>0) { alert(err); return false;} else return true; } function show_load(){ if (!document.getElementById) return; if (navigator.appName == "Netscape"){ document.getElementById("id_loading").style.top = "350px"; } else{ document.getElementById("id_loading").style.top = ((document.body.offsetHeight/2)-35+document.body.scrollTop)+"px"; } document.getElementById("id_loading").style.left = "310px"; document.getElementById("id_loading").style.visibility = "visible"; } function hide_load(){ // is called onload if (!document.getElementById) return; if (document.getElementById("id_loading")) { document.getElementById("id_loading").style.visibility = "hidden"; } // hides loading... layer } function launch(url) { window.open(url, 'list', 'height=600, width=700, toolbar=no, location=no, resizable=no, status=yes, menubar=no, scrollbars=yes') } function launcher3a(url,sirka,vyska) { window.open(url, 'detail'+vyska+'a'+sirka, 'height='+vyska+', width='+sirka+', toolbar=no, location=no, resizable=no, status=no, menubar=no, scrollbars=yes') }