<!-- Begin
function close1(){
     window.close();
    }
function info_verp(){

//var  typ1=navigator.appVersion.indexOf("5.0")
//var  typ2=navigator.appVersion.indexOf("4.0")
//var  typ3=navigator.appVersion.indexOf("MSIE")

//-1 oznacza że nie znaleziono znaku
//!=-1 oznacza że znaleziono znak
    // alert(typ1)
    // alert(typ2)
    // alert(typ3)
    
//  if((typ1 !=-1 || typ2 !=-1)  && typ3 !=-1){ alert("aa")

// document.getElementById("id_rez2").style.visibility="HIDDEN"
  //  document.getElementById("id_rez1").style.visibility="HIDDEN"
//   }
 //  else{ alert("hh")
//    document.getElementById("id_rez2").style.visibility="VISIBLE"
//    document.getElementById("id_rez1").style.visibility="VISIBLE"
  //   }

}

function displayWindow(url, width, height) {
var url
var displayWindow = window.open(url,'displayWindow','width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,left=30,top=150');
  //if (displayWindow.opener != null) {
  //displayWindow.opener = self};

 //   popup_modele = window.open('modele.phtml?marka='+marka, 'popup_modele', 'height='+wysokoscokna+',width='+szerokoscokna+',hotkeys=no,location=no,menubar=no,resizable=no,screenX='+odstepszerokosc+'+,screenY='+odstepwysokosc+',left='+odstepszerokosc+'+,top='+odstepwysokosc+',scrollbars=no,status=no,titlebar=no,toolbar=no');
 //   if (popup_modele.opener == null) popup_modele.opener = self;

}

//function displayWindow2(url, width, height) {
//var url
//var wp=document.getElementById("pk").value
//var pkwp= "&p_kod=" +  wp
//var urlx=url + pkwp
//var Win = window.open(urlx,'displayWindow','width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no' );
//}


function displayWindow_bez(url, width, height) {
var p_kod_b = document.getElementById("k_bez").value
var url_b = url + '&p_kod_bez=' + p_kod_b;
        var Win = window.open(url_b,'displayWindow','width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no' );
}

function displayWindow_sms(url, width, height) {

var p_kod_s = document.getElementById("k_sms").value
var url_s = url + '&p_kod_sms=' + p_kod_s;
        var Win = window.open(url_s,'displayWindow','width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no' );
}

//function displayWindow_tel(url, width, height) {

//var p_kod_t = document.getElementById("k_tel").value
//var url_t = url + '&p_kod_tel=' + p_kod_t;
//        var Win = window.open(url_t,'displayWindow','width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no' );
//}

function displayWindow_d(url, width, height) {
var urll = url + '&suma_nf=' + su_id + '&chb_a=' + pnr01w + '&chb_b=' + pnr02w + '&chb_c=' + pnr03w + '&chb_d=' + pnr04w + '&chb_e=' + pnr05w + '&chb_f=' + pnr06w + '&chb_g=' + pnr07w + '&chb_h=' + pnr08w + '&chb_i=' + pnr09w + '&chb_j=' + pnr10w;
        var Win = window.open(urll,'displayWindow','width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,left=30,top=30');
}




function pokaz_kod(kod){
var kod

if (kod == "sms"){
document.getElementById("id_sms").style.visibility="VISIBLE"
//document.getElementById("id_tel").style.visibility="HIDDEN"
document.getElementById("id_kon").style.visibility="HIDDEN"
document.getElementById("id_prz").style.visibility="HIDDEN"
}

if (kod == "kon"){
document.getElementById("id_sms").style.visibility="HIDDEN"
//document.getElementById("id_tel").style.visibility="HIDDEN"
document.getElementById("id_kon").style.visibility="VISIBLE"
document.getElementById("id_prz").style.visibility="HIDDEN"
}


if (kod == "tel"){
document.getElementById("id_sms").style.visibility="HIDDEN"
//document.getElementById("id_tel").style.visibility="VISIBLE"
document.getElementById("id_kon").style.visibility="HIDDEN"
document.getElementById("id_prz").style.visibility="HIDDEN"
}

if (kod == "prz"){
document.getElementById("id_sms").style.visibility="HIDDEN"
//document.getElementById("id_tel").style.visibility="HIDDEN"
document.getElementById("id_kon").style.visibility="HIDDEN"
document.getElementById("id_prz").style.visibility="VISIBLE"
}

}

function akceptacja(){
if (document.f2.regulamin_f.checked==false) {
alert("Nie zaakceptowano regulaminu!")
return false
}}
// End -->

