<!--

 function inzerat(id_r,id_d,podstranka){
okno=window.open("http://www.cestovky.webinzeraty.sk/dovolenka.php?zajazd="+id_d+
"","_blank","left=10,top=10,width=770,height=550,"+
"toolbar=yes,location=yes,directories=no,status=no,menubar=no"+
",scrollbars=yes,resizable=yes,copyhistory=no");
                                      }



function bigfoto(fotky,foto,foto1,foto2,foto3,foto4,fotka1,fotka2,fotka3,fotka4,krajina,cena,id_r,id_d,podstranka){
                                noveokno=window.open("","_blank","left=10,top=10,width=770px,height=550px,"+
                                             "toolbar=no,location=no,directories=no,status=no,menubar=no"+
                                             ",scrollbars=no,resizable=yes,copyhistory=no");
      noveokno.document.write("<html><head>"+
        "<style type=\"text/css\">a {text-decoration: none;color:blue} a:hover {text-decoration:underline}</style>"+
                             "<"+"script language=javascript type=text/javascript"+">"+
                             "function fotka(cesta){document.bigfoto.src=cesta;}"+
 "function fotkax(){"+
 "if(0<"+fotky+")document.write(\"<table border=0 cellpadding=4><tr>\");"+
 "if(1<="+fotky+")document.write(\"<td><a href=javascript:fotka('"+foto1+"')>"+
 "<img src="+fotka1+" width=68px height=51px border=0></a></td>\");"+
  "if(2<="+fotky+")document.write(\"<td><a href=javascript:fotka('"+foto2+"')>"+
 "<img src="+fotka2+" width=68px height=51px border=0></a></td>\");"+
  "if(3<="+fotky+")document.write(\"<td><a href=javascript:fotka('"+foto3+"')>"+
 "<img src="+fotka3+" width=68px height=51px border=0></td></a>\");"+
  "if(4<="+fotky+")document.write(\"<td><a href=javascript:fotka('"+foto4+"')>"+
 "<img src="+fotka4+" width=68px height=51px border=0></td></a>\");"+
  "if(0<"+fotky+")document.write(\"</tr></table><br>\");"+
"document.write(\"<b><a href=http://www.webinzeraty.sk/cestovky/detail_dovolenka.php?id_r="+id_r+"&podstranka="+podstranka+
"&id_d="+id_d+">"+
krajina+"</a></b>&nbsp;&nbsp;Cena:&nbsp<font color=red>"+cena+"</font><br>\");"+
  "if(1<="+fotky+")document.write(\""+"<img src="+foto+"  name=bigfoto>\");"+
                             "}"+
                               " <"+"/script"+"></head><body bgcolor='#d5e4ff'><center> "+
                  "<"+"script language=javascript "+">"+
                  "fotkax();"+
                    " <"+"/script"+">"+
                             "</center></body></html> ");
                                                                                   }

 function mail_klasika(kontakt_mail){
              mail_okno=window.open("http://www.cestovky.webinzeraty.sk/mail_klasika.php?kontakt_mail="+kontakt_mail+
                                               "","_blank","left=10,top=10,width=500px,height=220px,"+
                                                "toolbar=no,location=no,directories=no,status=no,menubar=no"+
                                               ",scrollbars=no,resizable=yes,copyhistory=no");
                             }


 function mazat(id_d){
   heslo=window.prompt("zadaj heslo:","");
          if(heslo.length>5) {
   okno=window.open("http://www.cestovky.webinzeraty.sk/mazat_dovolenku.php?id_d="+id_d+"&heslo="+heslo+"&mazat="+1+
"","_blank","left=10,top=10,width=400,height=45,"+
"toolbar=no,location=no,directories=no,status=no,menubar=no"+
",scrollbars=yes,resizable=yes,copyhistory=no");
                             }
                    }


// -->
