<!--
 j= document.images;
  	   if  (j) {  

 uvodni_off = new Image(140,20);
 uvodni_off.src = "images/uvodni_off.gif";
 uvodni_on = new Image(140,20);
 uvodni_on.src = "images/uvodni_on.gif";

 portret_off = new Image(140,20);
 portret_off.src = "images/portret_off.gif";
 portret_on = new Image(140,20);
 portret_on.src = "images/portret_on.gif";

 prezentace_off = new Image(140,20);
 prezentace_off.src = "images/prezentace_off.gif";
 prezentace_on = new Image(140,20);
 prezentace_on.src = "images/prezentace_on.gif";
 
 kde_off = new Image(140,20);
 kde_off.src = "images/kde_off.gif";
 kde_on = new Image(140,20);
 kde_on.src = "images/kde_on.gif";

 dotaznik_off = new Image(140,20);
 dotaznik_off.src = "images/dotaznik_off.gif";
 dotaznik_on = new Image(140,20);
 dotaznik_on.src = "images/dotaznik_on.gif";

 aktuality_off = new Image(140,20);
 aktuality_off.src = "images/aktuality_off.gif";
 aktuality_on = new Image(140,20);
 aktuality_on.src = "images/aktuality_on.gif";

 reference_off = new Image(140,20);
 reference_off.src = "images/reference_off.gif";
 reference_on = new Image(140,20);
 reference_on.src = "images/reference_on.gif";

 fotogalerie_off = new Image(140,20);
 fotogalerie_off.src = "images/fotogalerie_off.gif";
 fotogalerie_on = new Image(140,20);
 fotogalerie_on.src = "images/fotogalerie_on.gif";

 odkazy_off = new Image(140,20);
 odkazy_off.src = "images/odkazy_off.gif";
 odkazy_on = new Image(140,20);
 odkazy_on.src = "images/odkazy_on.gif";

 psycho_off = new Image(140,20);
 psycho_off.src = "images/psycho_off.gif";
 psycho_on = new Image(140,20);
 psycho_on.src = "images/psycho_on.gif";

 vrch = new Image(73,31);
 vrch.src = "images/vrch.gif";

}

  	   function img_act(p) {if (j) {on =  eval (p + "_on.src"); document[p].src = on;}}
  	   function img_inact(p) {if (j) {off =  eval (p + "_off.src"); document[p].src = off;}}
 


function WinOpen1(href)
	{
Open=window.open("","remotewin","width=408,height=590,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizable=yes,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}

function WinOpen2(href)
	{
Open=window.open("","remotewin1","width=600,height=410,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizeable=yes,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}

function WinOpen3(href)
	{
Open=window.open("","remotewin1","width=1000,height=700,toolbar=no,location=no,directories=no,scrollbars=yes,status=no,menubar=no,resizeable=yes,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}

function WinOpen4(href)
	{
Open=window.open("","remotewin1","width=408,height=545,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizeable=no,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}

function WinOpen5(href)
	{
Open=window.open("","remotewin1","width=511,height=935,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizeable=no,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}
	
function WinOpen7(href)
	{
Open=window.open("","remotewin1","width=600,height=417,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizeable=no,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}
	
function WinOpen8(href)
	{
Open=window.open("","remotewin1","width=600,height=419,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizeable=no,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}

function WinOpen9(href)
	{
Open=window.open("","remotewin1","width=600,height=426,toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizeable=no,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}


function WinOpenIW(href,xsize,ysize)
	{
Open=window.open("","remotewin1","width="+xsize+",height="+ysize+",toolbar=no,location=no,directories=no,scrollbars=no,status=no,menubar=no,resizeable=no,screenX=0,left=0,screenY=0,top=0");
Open.location.href = href;
	}


function OtevriOkno(FileX,XX,YX)
{
  ParamX = 'width='+parseFloat(XX+20)+', height='+parseFloat(YX+30)+', scrollbars=no, status=no, resizeable=no, location=no, toolbar=no, history=no';
  Ttle = '<title></title>';
  ImgX = '<img class="vobrazek" border="0" src="'+FileX+'" width="'+parseFloat(XX)+'" height="'+parseFloat(YX)+'" alt="Načítám obrázek..." title="Načítám obrázek...">';
// Načítám obrázek, prosím čekejte... but this fucking shit works only sometimes so ...
  Btn = '<input type=button class=tlacitko name="ClsBtn" value="Zavřít" onClick="window.close();">';
  NoveOkno  = window.open(FileX,'',ParamX);
  NoveOkno.document.writeln('<html><head>');
  NoveOkno.document.writeln('<LINK TYPE="text/css" REL="StyleSheet" HREF="./styly/styl.css">');
  NoveOkno.document.writeln(Ttle);
  NoveOkno.document.write('</head><body><center>');
  NoveOkno.document.writeln(ImgX);
  NoveOkno.document.writeln(Btn);
  NoveOkno.document.writeln('</center></body></html>');
  NoveOkno.document.write('<');
  NoveOkno.document.writeln('script language="javascript">');
  NoveOkno.document.writeln('ClsBtn.focus();');
  NoveOkno.document.write('<');
  NoveOkno.document.writeln('/script>');
}

function OtevriOknoText(FileX, XX, YX, popisek)
{
  ParamX = 'width='+parseFloat(XX+20)+', height='+parseFloat(YX+60)+', scrollbars=no, status=no, resizeable=no, location=no, toolbar=no, history=no';
  Ttle = '<title></title>';
  ImgX = '<img class="vobrazek" border="0" src="'+FileX+'" width="'+parseFloat(XX)+'" height="'+parseFloat(YX)+'" alt="Načítám obrázek..." title="Načítám obrázek...">';
  Btn = '<input type=button class=tlacitko name="ClsBtn" value="Zavřít" onClick="window.close();">';
  Popis = '<p>' + popisek + '</p>';
  NoveOkno  = window.open(FileX,'',ParamX);
  NoveOkno.document.writeln('<html><head>');
  NoveOkno.document.writeln('<LINK TYPE="text/css" REL="StyleSheet" HREF="./styly/styl.css">');
  NoveOkno.document.writeln(Ttle);
  NoveOkno.document.write('</head><body><center>');
  NoveOkno.document.writeln(ImgX);
  NoveOkno.document.writeln(Popis);
  NoveOkno.document.writeln(Btn);
  NoveOkno.document.writeln('</center></body></html>');
  NoveOkno.document.write('<');
  NoveOkno.document.writeln('script language="javascript">');
  NoveOkno.document.writeln('ClsBtn.focus();');
  NoveOkno.document.write('<');
  NoveOkno.document.writeln('/script>');
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}

function setMenuOff(x) {
	x.className = "menuoff";
}

function setMenuOn(x) {
	x.className = "menuon";
}

function loadPage(pg) {
	parent.frames[1].document.location = pg;
}

// -->


