jslibversion='JS-DOM library v3.2 by Filip Pip Očádal 28/3/2004';

var debug;
var obrtitle='OBRÁZEK';
var zaviratko='kliknutím zavřete obrázek';

tikc=0,tikf=0,tiks='',dts='';
var dom=(document.getElementById)?1:0;
var ie6=(navigator.userAgent.indexOf('MSIE 6')>1)?1:0;
var ie5=(navigator.userAgent.indexOf('MSIE 5')>1)?1:0;
if(!dom)ie6=0;
var wcnt=rnd(1000000);
if(debug) window.status=jslibversion; else window.status='';

// CORE

function obj(x) {return document.getElementById(x)}
function dwr(x) {document.write(x)}
function rnd(x) {x--;return Number(Math.round(Math.random()*x)+1)}

// TIME

function tik(data,typ) {if(data) {if(!typ) dts+=data; else dts=data+dts;if(tikf) return true;}if(tikc>0) tikc--;if(tikc==0&&dts.length==0&&tiks.length>0) {eval(tiks);tiks='';if(dts.length==0) {tikf=0;return true;}}if(tikc==0&&dts.length>0) {if(tiks.length) eval(tiks);tikc=Number(dts.slice(0,dts.indexOf("|")));dts=dts.slice(dts.indexOf("|")+1,dts.length);tiks=dts.slice(0,dts.indexOf("|"))+";";dts=dts.slice(dts.indexOf("|")+1,dts.length);}tikf=1;window.setTimeout("tik();",1);}
function rmtik() {dts='';tiks='';tikc=0;}

// DHTML

function wstr(x,y) {obj(x).innerHTML=y}
function wstrpre(x,y) {obj(x).innerHTML=y+obj(x).innerHTML}
function wstradd(x,y) {obj(x).innerHTML+=y}
function gstr(x) {if(obj(x)) return obj(x).innerHTML; else return null;}
function won(x) {obj(x).style.visibility='visible'}
function woff(x) {obj(x).style.visibility='hidden'}
function ww(x) {return (obj(x).style.visibility=='visible')?true:false;}
function wex(x) {return obj(x);}
function setclip(x,a,b,c,d) {x.style.clip='rect('+a+'px '+b+'px '+c+'px '+d+'px)';}
function wtop(x,y) {obj(x).style.top=y+"px"}
function wleft(x,y) {obj(x).style.left=y+"px"}
function wset(a,x,y) {wtop(a,y);wleft(a,x);}
function wtch(x,z) {var y=obj(x).style.top;y=Number(y.slice(0,y.indexOf("px")));y+=z;obj(x).style.top=y+"px";}
function wlch(x,z) {var y=obj(x).style.left;y=Number(y.slice(0,y.indexOf("px")));y+=z;obj(x).style.left=y+"px";}
function col(x,a,b,c) {obj(x).style.color='RGB('+a+','+b+','+c+')'}
function cob(x,a,b,c) {obj(x).style.background='RGB('+a+','+b+','+c+')'}

// REFS

function iset(x,y,z) {obj(x).width=y;obj(x).height=z}
function isrc(x,y) {obj(x).src=y}
function ihref(x,y) {obj(x).href=y}

// WINDOW

function wopen(url,w,h,t,l) {if(!h) h=480;if(h<100) h=480;if(!w) w=640;if(w<100) w=640;if(!t) t=20;if(t<20) t=20;if(!l) l=20;if(l<20) l=20;wcnt++;return window.open(url,'jslb'+wcnt,'width='+w+',height='+h+',status=yes,location=yes,toolbar=yes,scrollbars=yes,resizable=yes,top='+t+',left='+l,true);}
function wopen2(url,w,h,res) {if(!h) h=480;if(h<100) h=480;if(!w) w=640;if(w<100) w=640;wcnt++;return window.open(url,'jslb'+wcnt,'width='+w+',height='+h+',location=no,menubar=no,titlebar=no,status=no,toolbar=no,scrollbars=no,resizable='+res,true);}
function wopen3(url) {return wopen(url,640,480)}

// PICTURE

function obr(x,y) {if(!y) y='-=[ '+x+' ]=-';var zzz='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>'+y+'</title><style type="text/css">body {cursor: hand;color:#ffffff;font: normal 15pt/normal Arial}</style><script type="text/javascript" language="javascript1.3">var loaded=0;function setWindow() {var a=document.getElementById("obr").width;var b=document.getElementById("obr").height;if((a>40)&&(b>40)){window.resizeTo(a+30,b+50);window.moveTo((screen.width-a-10)/2,(screen.height-b-10)/2);document.getElementById("obr").style.visibility="visible";loaded=1;}if(!loaded) window.setTimeout("setWindow();",100);};</s';zzz+='cript></head><body topmargin=0 leftmargin=0 bgcolor=black><center><table height=100% width=100% cellpadding=0 cellspacing=0><tr><td valign=center align=center>';zzz+='<img src="'+x+'" alt="[ '+zaviratko+' ]" border=0 id="obr" style="visibility:hidden" onclick="window.close();"></table></body></html>';focus();i=wopen2("",40,40,0);i.window.moveTo((screen.width-320-10)/2,(screen.height-240-10)/2);i.document.writeln(zzz);i.setWindow();i.focus();}

// COOKIE

function setcookie(name,value) {var argv=setcookie.arguments;var argc=setcookie.arguments.length;var expires=(argc>2)?argv[2]:null;if(expires!=null) {var exp=new Date();exp.setTime(exp.getTime()+(expires*60*1000));}var path=(argc>3)?argv[3]:null;var domain=(argc>4)?argv[4]:null;var secure=(argc>5)?argv[5]:null;var x=name+"="+escape(value)+((expires==null)?"":("; expires="+exp.toGMTString()))+((path==null)?"":("; path="+path))+((domain==null)?"":("; domain="+domain))+((secure==true)?"; secure=":"");document.cookie=x;}
function delcookie(name) {var exp=new Date();exp.setTime(exp.getTime());var cval=getcookie(name);setcookie(name,cval,-1);}
function getcookie(name) {var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while(i<clen) {var j=i+alen;if(document.cookie.substring(i,j)==arg) return getcookieval(j);i=document.cookie.indexOf(" ",i)+1;if(i==0) break;} return null;}
function getcookieval(offset) {var endstr=document.cookie.indexOf(";",offset);if(endstr==-1) endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}
