function adres_ukryty(a,b){pr_1="mai";pr_2="lto:";at="&#64;";dw('<a href="'+pr_1+pr_2+a+at+b+'" class="mail">');dw(a+at+b+"</a>")}function dw(a){document.write(a)}function adres_ukryty_ico(a,b){pr_1="mai";pr_2="lto:";at="&#64;";dw('<a href="'+pr_1+pr_2+a+at+b+'?subject=Informacja z serwisu."><img src="gfx/mail.gif" /></a>')}
function ValidateEmailForm(a){if(a.value==null||a.value==""){a.style.borderWidth=6;alert("E-mail!");a.focus();return false}if(echeck(a.value)==false){a.style.borderWidth=6;a.focus();return false}return true}
function echeck(a){var b="@",c=".",d=a.indexOf(b),e=a.length,f=a.indexOf(c);if(a.indexOf(b)==-1){alert("---\>  e-mail");return false}if(a.indexOf(b)==-1||a.indexOf(b)==0||a.indexOf(b)==e){alert("---\>  e-mail");return false}if(a.indexOf(c)==-1||a.indexOf(c)==0||a.indexOf(c)==e){alert("---\>  e-mail");return false}if(a.indexOf(b,d+1)!=-1){alert("---\>  e-mail");return false}if(a.substring(d-1,d)==c||a.substring(d+1,d+2)==c){alert("---\>  e-mail");return false}if(a.indexOf(c,d+2)==-1){alert("---\>  e-mail");
return false}if(a.indexOf(" ")!=-1){alert("---\>  e-mail");return false}return true}function displayImage(a,b,c,d){b=window.open("",b,"toolbar=no,scrollbars=no,resizable=no,width="+c+",height="+d);if(b!=null){c="<html><head><title>Stollar</title></head>";c+="<body background="+a+">";c+="</body></html>";b.document.open();b.document.write(c);b.document.close()}b!=null&&b.focus();return b}function doNothing(){}
function __showObject(a){if(__ns4)a.visibility="show";else if(__ie4||__upLevel)a.style.visibility="visible"}function __hideObject(a){if(__ns4)a.visibility="hide";if(__ie4||__upLevel)a.style.visibility="hidden"}function otwOkno(a,b,c){var d=screen.availWidth/2-a/2,e=screen.availHeight/2-b/2;a="width="+a+",height="+b+",resizable=no, menubar=no, directories=no, location=no, scrollbars=no, status=no, toolbar=no, top="+e+",  left="+d;popUp=window.open(c,"",a);window.popUp.focus()}
function otwOkno_wyboru(a,b,c){var d=screen.availWidth/2-a/2,e=screen.availHeight/2-b/2;a="width="+a+",height="+b+",resizable=no, menubar=no, directories=no, location=no, scrollbars=yes, status=no, toolbar=no, top="+e+",  left="+d;popUp=window.open(c,"",a);window.popUp.focus()}
function otwOknoPelne(a,b,c){var d=screen.availWidth/2-a/2,e=screen.availHeight/2-b/2;a="width="+a+",height="+b+",resizable=yes, menubar=yes, directories=no, location=no, scrollbars=yes, status=yes, toolbar=no, top="+e+",  left="+d;popUp=window.open(c,"",a);window.popUp.focus()}
function same_liczby_int(a){if(isNaN(a.value)){t="";s=a.value;dl=s.length;for(i=0;i<dl;i++)if(s.charAt(i)=="0"||s.charAt(i)=="1"||s.charAt(i)=="2"||s.charAt(i)=="3"||s.charAt(i)=="4"||s.charAt(i)=="5"||s.charAt(i)=="6"||s.charAt(i)=="7"||s.charAt(i)=="8"||s.charAt(i)=="9")t+=s.charAt(i);a.value=t}}function keyCheck(a,b){a=document.all?a.keyCode:a.which;b=b.value;if(a==13)return true;if(a==46)if(b.indexOf(".")>0)return false;if((a<48||a>58)&&a!=46)return false;return true}
function sprMinMax(a,b,c){if(b<c.value)c.value=b;if(a>c.value)c.value=a};
