   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 zobraz(name, file,wi,he)   {		
   	 W = parseInt(wi);
   	 H = parseInt(he);
   	 okno = window.open(file, "navrh" ,"width="+W+",height="+H+",left=0,top=0");
   	 okno.resizeTo(W,H);
   	 okno.focus();
   }

   function zobraz_foto(file, name)   {		
   	 okno = window.open(file, name);
   }

   function zobraz_listy(name, file,wi,he)   {		
   	 W = parseInt(wi);
   	 H = parseInt(he);
   	 okno = window.open(file, "navrh" ,"width="+W+",height="+H+",left=0,top=0, resizable=yes,scrollbars=yes");
   	 okno.resizeTo(W,H);
   	 okno.focus();
		 if (name == "company") return (false);
		 if (name == "government") return (false);
		 if (name == "vp") return (false);
		 if (name == "projects") return (false);
 		 if (name == "projects2") return (false);
 		 if (name == "journals") return (false);
 		 if (name == "publications") return (false);

}

   function link(i){ 
     location = i; 
     return true;
   } 
	 	 

function submenulink(i){ 
 location = i; 
} 

function displayIt(cosi) {
  var elem = document.getElementById("id" + cosi.toString());    
  if (elem.style.display == 'block') {
     elem.style.display = 'none';
   } else {
     elem.style.display = 'block';
   }
}