<!--

window.defaultStatus = "UltiStars";

function openStat() {
    var w = 600;
    var h = 400;
    var l = window.screen.width/2 - w/2;
    var t = window.screen.height/2 - h/2;
    var windowprops = "location=no,scrollbars=no,menubar=no,toolbar=no,directories=no,status=yes,resizable=yes,left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
    var statinfo = window.open("http://www.ultiszovetseg.hu/stat.php","Statisztika",windowprops);
}

function openUlti() {
    var w;
    var h;
	if(window.screen.width >= 1024 && window.screen.height >= 768) {
		w = 1011;
		h = 648;
	} else {
		w = 790;
		h = 507;
	}
    var l = window.screen.width/2 - w/2;
    var t = window.screen.height/2 - h/2;
    var windowprops = "location=no,scrollbars=no,menubar=no,toolbar=no,directories=no,status=yes,resizable=yes,left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
    var marabulti = window.open("http://www.ultistars.hu/ultistars.php","UltiStars",windowprops);
}

function openTesztUlti() {
    var w;
    var h;
	if(window.screen.width >= 1024 && window.screen.height >= 768) {
		w = 1011;
		h = 648;
	} else {
		w = 790;
		h = 507;
	}
    var l = window.screen.width/2 - w/2;
    var t = window.screen.height/2 - h/2;
    var windowprops = "location=no,scrollbars=no,menubar=no,toolbar=no,directories=no,status=yes,resizable=yes,left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
    var marabulti = window.open("http://www.ultistars.hu/admin/ultistars_teszt.php","UltiStars",windowprops);
}

function openAblak(URL, Title, Width, Height) {
    var l = window.screen.width/2 - Width/2;
    var t = window.screen.height/2 - Height/2;
	var w = Width;
	var h = Height;
    var windowprops = "location=no,scrollbars=no,menubar=no,toolbar=no,directories=no,status=yes,resizable=yes,left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
    var ujablak = window.open(URL, Title, windowprops);
}

function requestHtmlFocus() {
	window.focus();
} // reqestHtmlFocus()

// -->