function printform(){alert(MP2C);window.print();}function showconditions(){window.open("/"+document.forms[0].db.value+"/firstredirectinstructions?openform","","width=500,height=400,scrollbars,menubar=yes");}function calc_bikoret(teud_str){var b=teud_str.length;c=1;a=0;f1=true;for(c=1;c<=b;c++){if(parseInt(teud_str.substr(c-1,1))<0||parseInt(teud_str.substr(c-1,1))>9){return 0;}iif=f1?1:2;s=parseInt(teud_str.substr(c-1,1))*iif;if(s>=10){sstr=s.toString();s=parseInt(sstr.substr(sstr.length-1,1))+parseInt(sstr.substr(0,1));}a+=s;f1=!f1;}var a10=a/10;var parseda10=parseInt(a/10);if(a/10==parseInt(a/10)){return 0;}else{int10=parseInt(a/10);retval=(int10+1)*10-a;return retval.toString();}}function tkinutteudatzehut(teuda){var t;var zerostr="";if(teuda.length<9){restlen=9-teuda.length;for(i=1;i<=restlen;i++){zerostr=zerostr+"0";}}t=zerostr+teuda;if(isNaN(parseFloat(teuda))){return 1;}var cb=calc_bikoret(t.substr(0,8));if(cb==parseInt(t.substr(t.length-1,1))){return 1;}return 0;}

