function newwin(data) {
pg = window.open(data, "data", "width=520,height=380,left=100,top=100, menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,fullscreen=no,channelmode=no")
pg.focus()
};
function newwin2(data) {
pg = window.open(data, "data2", "width=520,height=240,left=100,top=100, menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,fullscreen=no,channelmode=no")
pg.focus()
};
function newwin3(data) {
pg = window.open(data, "data3", "width=580,height=600,left=0,top=0, menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,fullscreen=no,channelmode=no")
pg.focus()
};
function newwin4(data) {
pg = window.open(data, "data4", "width=520,height=140,left=100,top=100, menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,fullscreen=no,channelmode=no")
pg.focus()
};
function newwin5(data) {
pg = window.open(data, "data5", "width=420,height=60,left=345,top=360, menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,fullscreen=no,channelmode=no")
pg.focus()
};
function checkform(thisform) {
   if (thisform.new_haslo.value == null || thisform.new_haslo.value == "" ) {
      alert ("Wpisz hasło!") ;
      thisform.new_haslo.focus() ;
      return false ;
   }
   if (thisform.new_haslo2.value == null || thisform.new_haslo2.value == "" ) {
      alert ("Wpisz ponownie hasło!") ;
      thisform.new_haslo2.focus() ;
      return false ;
   }
   if (thisform.new_haslo.value != thisform.new_haslo2.value) {
      alert ("Wpisane hasła nie są takie same!") ;
      thisform.new_haslo.focus() ;
      return false ;
   }
   if (thisform.new_email.value == null || thisform.new_email.value == "" ) {
      alert ("Wpisz adres email!") ;
      thisform.new_email.focus() ;
      return false ;
   }
   if (thisform.new_email2.value == null || thisform.new_email2.value == "" ) {
      alert ("Wpisz powtórzenie adresu email!") ;
      thisform.new_email2.focus() ;
      return false ;
   }
   if (thisform.new_email.value != thisform.new_email2.value) {
      alert ("Wpisane adresy email nie są takie same!") ;
      thisform.new_email.focus() ;
      return false ;
   }
return true ;
};
