/*******************************************************************************DHTML knihovna==============Version:	1.1 (9.6.2004)*******************************************************************************/var jsDOM0 = (document.all);var jsDOM1 = (document.getElementById);var jsDOM = jsDOM0 || jsDOM1;var jsDebug = 0;function getObj (name) {    if (typeof name == "object") return name;    if (jsDOM1) return document.getElementById(name);    if (jsDOM0) return eval('document.all.'+name);    else return null;    }function objSetStyle (obj, prop, val) {    var o = objGet(obj);    if (o && o.style) {        eval ('o.style.'+prop+'="'+val+'"');        return true;    }    else return false;}function objShow (obj, on) {    return objSetStyle(obj, 'visibility', (on) ? 'visible':'hidden');}function objDisplay (obj, on, type) {    if (on && !type) type = 'block';    return objSetStyle(obj, 'display', (on) ? type: 'none');}function imagepopup(p,x,y) {photopop = window.open('../../../../imagepopup.php?photo='+p,'photopop','resizable=0,status=0,menubar=0,toolbar=0,top=120,left=190,scrollbars=0,location=0,directories=0,width='+x+',height='+y);photopop.focus();}function imagepopup2(p,x,y,pozn,titulek) {photopop = window.open('imagepopup.php?photo='+p+'&titulek='+titulek+'&poznamka='+pozn,'photopop','resizable=0,status=0,menubar=0,toolbar=0,top=0,left=0,scrollbars=0,location=0,directories=0,width='+x+',height='+y);photopop.focus();}function newwin(p,x,y) {newwinpop = window.open('index.php?Mode=4&popup='+p,'newwinpop','resizable=0,status=0,menubar=0,toolbar=0,scrollbars=0,location=0,directories=0,width='+x+',height='+y);newwinpop.focus();}function otevri(idex,obr){  if (document.getElementById(idex).style.display=='none') {      document.getElementById(idex).style.display='';    document.getElementById(obr).src='../../../../images/minus.gif';  }  else {    document.getElementById(idex).style.display='none';    document.getElementById(obr).src='../../../../images/plus.gif';  }}function popupOdkazy() {  if (!document.getElementsByTagName) return false;  var links = document.getElementsByTagName("a");  for (var i=0; i < links.length; i++) {    if (links[i].className.match("pop")) {      links[i].onclick = function() { return !window.open(this.href); }    }  }  return true;}window.onload = popupOdkazy;