// ------ Script na otevreni v novem okne ------
//<!--
function mapawwii() {
	var w=700;
	var h=540;
	var l=(40);
	var t=(20);

	window.open ('http://www.rozhlas.cz/wwii/mapa/mapa.html','_blank','scrollbars=0,status=0,menubar=0,resizable=0,location=0,toolbar=0,width=' + w +',height=' + h + ',left=' + l + ',top=' + t);}

// popup okno - obecne
function okno(url, title, left, top, width, height) {
	        window.open(url,title,"left="+left+",top="+top+",width="+width+",height="+height);
		//+",scrollbars=1,menubar=0,resizable=1,location=0,toolbar=0");
		//+",menubar=no,toolbar=no,copyhistory=no,status=no,directories=no");
}

function okno(adresa)
{

	var xposition=0;
	var yposition=0;
	var width = 620;
	var height =500;
	if ((parseInt(navigator.appVersion) >= 4 ))
	{
	xposition = (screen.width - width) / 2;
	yposition = (screen.height - height) / 2;
	}
	parametry = "width=" + width + ","
	+ "height=" + height + ","
	+ "location=0,"
	+ "menubar=0,"
	+ "resizable=0,"
	+ "scrollbars=0,"
	+ "status=0,"
	+ "titlebar=0,"
	+ "toolbar=0,"
	+ "hotkeys=0,"
	+ "screenx=" + xposition + "," //NN
	+ "screeny=" + yposition + "," //NN
	+ "left=" + xposition + "," //IE
	+ "top=" + yposition; //IE
												
	startWin = window.open(adresa,'ptaci', parametry)
	startWin.focus();
}



function oknohry(adresa)
{

	        var xposition=0;
		        var yposition=0;
			        var width = 780;
				        var height =540;
					        if ((parseInt(navigator.appVersion) >= 4 ))
							        {
									        xposition = (screen.width - width) / 2;
										        yposition = (screen.height - height) / 2;
											        }
												        parametry = "width=" + width + ","
													        + "height=" + height + ","
														        + "location=0,"
															        + "menubar=0,"
																        + "resizable=0,"
																	        + "scrollbars=0,"
																		        + "status=0,"
																			        + "titlebar=0,"
																				        + "toolbar=0,"
																					        + "hotkeys=0,"
																						        + "screenx=" + xposition + "," //NN
																							        + "screeny=" + yposition + "," //NN
																								        + "left=" + xposition + "," //IE
																									        + "top=" + yposition; //IE

																										        startWin = window.open(adresa,'ptaci', parametry)
																											        startWin.focus();
}











// -->



