function otevri(co)
{
bv = navigator.appName;
if (bv == "Netscape") { ver = "NN" }
else { ver = "IE" }
if (ver == "IE") { window.open(co, 'psp', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, width=650, height=400') }
else { window.open(co, 'psp') }
}
if ((window == window.top) && (parent.window.name != "analyza"))
{
adresas = document.location.href;
startpos = adresas.lastIndexOf("_texty/")+7 ;
endpos = adresas.lastIndexOf(".htm") ;
delka = endpos-startpos 
adresan = adresas.substr(startpos, delka) ;
typa = adresas.substr(startpos, 2) ;
if (typa == "sb") { document.location.href = "../pages/sbirkatxt.asp?zdroj="+adresan+"&cd=76&typ=r" }
if (typa == "ss") { document.location.href = "../pages/sbirkatxt.asp?zdroj="+adresan+"&cd=77&typ=r" }
if (typa == "fz") { document.location.href = "../pages/sbirkatxt.asp?zdroj="+adresan+"&cd=78&typ=r" }
}

