<!--
 function inzerat(id){
okno=window.open("http://www.webinzeraty.sk/inzercia-detail.php?id="+id+"&blank=1"+
"","_blank","left=10,top=10,width=760,height=480,"+
"toolbar=yes,location=yes,directories=no,status=no,menubar=no"+
",scrollbars=yes,resizable=yes,copyhistory=no");
                        }

function inzercia_mail(id){
              mail_okno=window.open("http://www.webinzeraty.sk/inzercia-mail.php?id="+id+
                                               "","_blank","left=10,top=10,width=500px,height=280px,"+
                                                "toolbar=no,location=no,directories=no,status=no,menubar=no"+
                                               ",scrollbars=no,resizable=yes,copyhistory=no");
                              }
                              
function mail_klasika(kontakt_mail){
              mail_okno=window.open("http://www.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){
   heslo=window.prompt("ak si majitel inzeratu a chces inzerat vymazat zadaj heslo:","");
          if(heslo.length>5) {
   okno=window.open("http://www.webinzeraty.sk/mazat_webinzerat.php?id="+id+"&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");
                             }
                    }

function top_inzerat(id){
okno=window.open("http://www.webinzeraty.sk/top_inzerat.php?id="+id+
"","_blank","left=10,top=10,width=720,height=480,"+
"toolbar=no,location=no,directories=no,status=no,menubar=no"+
",scrollbars=yes,resizable=yes,copyhistory=no");
                          }
                          
 function inserat_color (id,color) {
  if (color) old_background_color = document.getElementById("id"+id).style.backgroundColor;
  document.getElementById("id"+id).style.backgroundColor = color ? "#EDE6FF" : "";
                                   }
                                   
 function odkazy(id) {
  document.write('<a href="javascript:top_inzerat(\''+id+'\')" title="top/zvýrazniť inzerát" rel="nofollow"><span class=\'px_bold\'>top/zvýrazniť</span></a>&nbsp;&nbsp;<a href="javascript:mazat(\''+id+'\')" title="vymazanie inzerátu" rel="nofollow">zmazať</a><br><a  href="javascript:inzerat(\''+id+'\')"   title="detail inzerátu v novom okne" rel="nofollow">otvor v novom okne</a>');
                       }
                       
 function f_mail(id) {
  document.write('<a href="javascript:inzercia_mail('+id+')" rel="nofollow">e-mail</a>');
                     }


function katalog() {
  document.write('<div class="px_11" align="justify"><a href="http://www.katalog.webinzeraty.sk" title="Web katalóg a vyhľadávač wwww stránok" rel="nofollow"><strong>SEO Web katalóg</strong></a><br>Zvýšte si návštevnosť webu zaregistrovaním stránky v SEO katalógu.</div>');
                      }
// -->

