  	function zobraz(nazev, file,wi,he)   {		
  		 theURL=file;
     	 W = parseInt(wi);
     	 H = parseInt(he);
     	 okno = window.open(file, nazev ,"width="+W+",height="+H+",left=0,top=0");
     	 okno.resizeTo(W,H);
     	 okno.focus();
    }
		
		function zobraz_listy (nazev, file,wi,he)   {		
  		 theURL=file;
     	 W = parseInt(wi);
     	 H = parseInt(he);
     	 okno = window.open(file, nazev ,"width="+W+",height="+H+",left=0,top=0,resizable,scrollbars");
     	 okno.resizeTo(W,H);
     	 okno.focus();
    }
   
   function confirmLink(theLink, theSqlQuery) {
     	confirmMsg = theSqlQuery;
      // Confirmation is not required in the configuration file
      if (confirmMsg == '') {
           return true;
      }
      
          var is_confirmed = confirm(confirmMsg);
          if (is_confirmed) {
              theLink.href += '&is_js_confirmed=1';
          }
      
          return is_confirmed;
   }
	 
	 function slide (url) {
			url = '../gallery/fotka.php?soubor='+url;
			zobraz_listy('foto', url, 900, 700);
//			return false;
	 }
