function ZmenaClassText(TextID, styl)
 {
    obj = document.getElementById(TextID);
    obj.className=styl;
 }
function ZmenaClassTD(TDID, styl)
 {
  obj = document.getElementById(TDID);
  obj.className = styl;
 }
function zmenaobr(jmeno_obr,novy_obr,stav)
 {
  document.images[jmeno_obr].src=novy_obr;
 }
function OtevriDetailObrazek(skript, obr)
 {
  w = 660;
  h = 505;
  var winl = (screen.width - w) / 2;
  var wint = (screen.height - h) / 2;
  winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no, noresizable';
  win = window.open(skript+'?obr='+obr, 'obrazek_detail', winprops);
  if (parseInt(navigator.appVersion) >= 4)
   {
    win.window.focus();
   }
  return win;
 }
function OtevriDetailObrazekV(skript, obr)
 {
  w = 505;
  h = 660;
  var winl = (screen.width - w) / 2;
  var wint = (screen.height - h) / 2;
  winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars=no, noresizable';
  win = window.open(skript+'?obr='+obr, 'obrazek_detail', winprops);
  if (parseInt(navigator.appVersion) >= 4)
   {
    win.window.focus();
   }
  return win;
 }

