<!--
function uklid_si() { if (window.okno) okno.close(); }

function otevri_okno(imgsrc,imgwidth,imgheight,text) {

var winwidth = imgwidth + 20 + 2;
var winheight = imgheight + 20 + 2;
if (text!="") {
	var textdelka = text.length;
	var textradek = 20;
	if ((textdelka > 50 && imgwidth < 319) || (textdelka > 65 && imgwidth < 349) || (textdelka > 75 && imgwidth < 470)) textradek = 36;
	winheight = winheight + textradek;
	}
 
if (window.okno) okno.close(); 

okno = window.open("","nove_okno", "width="+winwidth+",height="+winheight+",toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=1,copyhistory=0,left=0,top=12");

okno.document.open();
	okno.document.writeln ("<HTML><HEAD><TITLE>Nové Město pod Smrkem</TITLE></HEAD>");
	okno.document.writeln ("<BODY onBlur=self.close(); onClick=self.close(); scroll=none style='margin:0px; padding:0px; padding-top:10px; color:#FFFFFF; background-color:#3A6090; text-align:center;'>");
	okno.document.writeln ("<DIV><IMG style='border:1px solid #103060;' src="+imgsrc+" width="+imgwidth+" height="+imgheight+"></DIV>");
	if (text!="") okno.document.writeln ("<DIV style='margin:0px; margin-top:7px; font-weight:bold; font-family: arial ce ,arial; font-size:80%;'>"+text+"</DIV>");
	okno.document.writeln ("</BODY></HTML>");
okno.document.close();
//okno.focus();
}
//-->