function nove_okno(adresa)
{
	window.open(adresa,"","");
}

function HideInfo(id){
	document.getElementById(id).style.display='none';
}

function winH(){
	/* NN4 a kompatibilní prohlíµeče */
	if (window.innerHeight)
		return window.innerHeight;
	/* MSIE6 v std. reµimu - Opera a Mozilla jiµ uspěly s window.innerHeight */
	else if (document.documentElement && document.documentElement.clientHeight)
		return document.documentElement.clientHeight;
	/* star±í MSIE + MSIE6 v quirk reµimu */
	else if (document.body && document.body.clientHeight)
		return document.body.clientHeight;
	else
		return null;
}

function winW(){
	/* NN4 a kompatibilní prohlíµeče */
	if (window.innerWidth)
		return window.innerWidth;
	/* MSIE6 v std. reµimu - Opera a Mozilla jiµ uspěly s window.innerHeight */
	else if (document.documentElement && document.documentElement.clientWidth)
		return document.documentElement.clientWidth;
	/* star±í MSIE + MSIE6 v quirk reµimu */
	else if (document.body && document.body.clientWidth)
		return document.body.clientWidth;
	else
		return null;
}

function Okno(width,height,scrollbars,url){
	posX = (winW()/2)-(width/2);
	posY = (winH()/2)-(height/2);
	add=window.open("popup.php?filename="+url,"add","left="+posX+",top="+posY+",width="+width+",height="+height+",menubar=no,directories=no,toolbar=no,location=no,status=no,scrollbars="+scrollbars+",resizable=yes");
	add.focus();
}

function NewWin(url,name,width,height,scrollbars) {
	posX = (winW()/2)-(width/2);
	posY = (winH()/2)-(height/2);
	add=window.open(url,name,"left="+posX+",top="+posY+",width="+width+",height="+height+",menubar=no,directories=no,toolbar=no,location=no,status=no,scrollbars="+scrollbars+",resizable=yes");
	add.focus();
}