function dokoszyka (plik){
var ilosc5 = prompt ("Podaj ilość produktów dodanych do koszyka","1");
if(ilosc5>0)
{
var plik2;
plik2=plik+'&ilosc='+ilosc5;
parent.location.href=plik2;
}

}



function amenu(div)
{
 div1= document.getElementById(div);
 div1.style.top= 100;
}

function amenu2(div)
{
 div1= document.getElementById(div);
 div1.style.top= -1000;
}



function pasek(txt)
{
   window.status = txt;
}





function produkt_popup(url, displayWindow ){
var Win = window.open(url, displayWindow ,'width=100,height=100,top=30,left=100,resizable=yes,scrollbars=yes,menubar=no');
}
function intro_popup(url, width, height){
var Win = window.open(url,"intro_popup1",'width=' + width + ',height=' + height + ',top=30,left=100,resizable=yes,scrollbars=no,menubar=no');
}


function popup(url ){
var Win = window.open(url, 'mapa' ,'width=100,height=100,top=30,left=100,resizable=yes,scrollbars=yes,menubar=no');
}

function displayWindow(url, width, height){
var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',top=30,left=100,resizable=no,scrollbars=no,menubar=no');
}

function displayWindow1(url, width, height){
var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',top=20,left=250,resizable=no,scrollbars=no,menubar=no');
}

function displayWindow2(url, width, height){
var Win = window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',top=220,left=380,resizable=no,scrollbars=no,menubar=no');
}


function test(){
var re_mail = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z])+$/;
if (!re_mail.test(emailform.email.value)) {
alert('Podałeś błędny adres email !!!');
}
else { emailform.submit(); }
}
function moveover(txt) {
   window.status = txt;
   setTimeout("erase()",1300);
}
function erase() {
   window.status="";
}


function test1()
{
var re_mail=logowanie_55.email_h.value;
if(logowanie_55.email_h.value=='')
{
alert('Podaj adres e-mail !!!');
}
else
{
logowanie_55.submit();
}



}

function otworz(plik){

parent.location=plik;
}



function pasek(txt)
{
   window.status = txt;
}

function pasek1(txt)
{
   window.status = txt;

   setTimeout("erase()",1500);
}



 function edit_kat( object0, object1, object2 )
 {

 obiekt0= document.getElementById(object0);
 obiekt1= document.getElementById(object1);
 obiekt2= document.getElementById(object2);

 obiekt0.style.display = '';
 obiekt1.style.display = '';
 obiekt2.style.display = 'none';

  }


 function edit_kat_n( object0, object1, object2 )
 {

 obiekt0= document.getElementById(object0);
 obiekt1= document.getElementById(object1);
 obiekt2= document.getElementById(object2);

 obiekt0.style.display = 'none';
 obiekt1.style.display = 'none';
 obiekt2.style.display = '';

  }

function p24_go()
{
p24_form.submit();
}



