function showDetail(obsah,width,height) {
	okno=window.open(obsah,'detail','scrollbars=no,resizable=yes,resize=yes,width='+width+',height='+height+',screenX='+getCenterW(width)+',screenY='+getCenterH(height)+',top='+getCenterH(height)+',left='+getCenterW(width));
	okno.focus();
}
function getCenterW(width) {
	return parseInt( eval( (screen.width-parseInt(width))/2 ) );
}
function getCenterH(height) {
	return parseInt( eval( (screen.height-parseInt(height))/2 ) );
}

<!--
var obr1, obr2, obr3, obr4, obr5, obr6, obr7, obr8; 
function preload() {
    if(document.images) {
	  obr1=new Image(277,24);
	  obr2=new Image(277,24);
	  obr3=new Image(277,24);
	  obr4=new Image(277,24);
	  obr5=new Image(277,24);
	  obr6=new Image(277,24);
	  obr7=new Image(277,24);
	  obr8=new Image(277,24);
	  obr1.src="img/cz/menu01_over.gif";
	  obr2.src="img/cz/menu02_over.gif";
	  obr3.src="img/cz/menu03_over.gif";
	  obr4.src="img/cz/menu04_over.gif";
	  obr5.src="img/cz/menu05_over.gif";
	  obr6.src="img/cz/menu06_over.gif";
	  obr7.src="img/cz/menu07_over.gif";
	  obr8.src="img/cz/menu08_over.gif";
	}
}
function preloadInside() {
    if(document.images) {
	  obr1=new Image(277,24);
	  obr2=new Image(277,24);
	  obr3=new Image(277,24);
	  obr4=new Image(277,24);
	  obr5=new Image(277,24);
	  obr6=new Image(277,24);
	  obr7=new Image(277,24);
	  obr8=new Image(277,24);
	  obr1.src="img/cz/imenu01_over.gif";
	  obr2.src="img/cz/imenu02_over.gif";
	  obr3.src="img/cz/imenu03_over.gif";
	  obr4.src="img/cz/imenu04_over.gif";
	  obr5.src="img/cz/imenu05_over.gif";
	  obr6.src="img/cz/imenu06_over.gif";
	  obr7.src="img/cz/imenu07_over.gif";
	  obr8.src="img/cz/imenu08_over.gif";
	}
}

function over(obj,nazev) {
	var obr="img/"+nazev+"_over.gif";
	obj.src=obr;
}
function out(obj,nazev) {
	var obr="img/"+nazev+".gif";
	obj.src=obr;
}

function popup(obsah,width,height) {
	okno=window.open(obsah,'detail','scrollbars=yes,resizable=no,resize=no,width='+width+',height='+height+',screenX='+getCenterW(width)+',screenY='+getCenterH(height)+',top='+getCenterH(height)+',left='+getCenterW(width));
	okno.focus();
}

function newWindow(obsah,width,height) {
	okno=window.open(obsah,'detail','scrollbars=yes,resizable=yes,resize=yes,width='+width+',height='+height+',screenX='+getCenterW(width)+',screenY='+getCenterH(height)+',top='+getCenterH(height)+',left='+getCenterW(width));
	okno.focus();
}
function getCenterW(width) {
	return parseInt( eval( (screen.width-parseInt(width))/2 ) );
}
function getCenterH(height) {
	return parseInt( eval( (screen.height-parseInt(height))/2 ) );
}
//-->
