﻿

function noveoknoOpen(nazev, origW, origH, alt, cesta)
{
textVlastnosti = "menubar=0, width=" + origW + ", height=" + origH;
	noveokno=window.open( "",nazev ,textVlastnosti );
	noveokno.document.write("<head>");
	noveokno.document.write("<title>:GALERIE - "+ alt +" </title>");
	noveokno.document.write("<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>");
	noveokno.document.write("</head>");
	noveokno.document.write("<body topmargin='0px' leftmargin='0px' bgcolor='#006E96'>");
	noveokno.document.write("<div style='position: absolute; top: 10px; left: 10px;'>prosím strpení - načítám foto</div>");
	noveokno.document.write("<div style='position: absolute'><img border='0' src='"+ cesta +"' onclick='window.close()' style='cursor:hand' title='kliknutim zavřete okno'></div>");
	
	noveokno.document.write(nazev)
//event.returnValue = false; //něco jako return false
}


