// JavaScript Document
function pop(k){
	window.open("schede/"+k+".asp", "WIN", "menubar=0,resizable=0,width=585,height=470,status=0,scrollbars=yes,location=0").focus();
}
function popvince(k){
	window.open("vincitori/"+k+".asp", "WIN", "menubar=0,resizable=0,width=585,height=655,status=0,scrollbars=yes,location=0").focus();
	
}
function popvince2010(k){
	window.open("vincitori2010/"+k+".asp", "WIN", "menubar=0,resizable=0,width=585,height=655,status=0,scrollbars=yes,location=0").focus();
	
}
function popvince2009(k){
	window.open("vincitori2009/"+k+".asp", "WIN", "menubar=0,resizable=0,width=585,height=510,status=0,scrollbars=yes,location=0").focus();
}

var xxwin;
function openCenteredWindow(url) {
    var width = 320;
    var height = 150;
    var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));
    var windowFeatures = "width=" + width + ",height=" + height + ",menubar=0,resizable=0,status=0,scrollbars=no,location=0,left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top;
    xxwin=window.open(url, "subWind", windowFeatures);
	xxwin.focus;
}

function popup(){
	//alert(k);
    var width = 500;
	var height = 250;	
    var left = parseInt((screen.availWidth/2) - (width/2));
    var top = parseInt((screen.availHeight/2) - (height/2));
    var windowFeatures = "width=" + width + ",height=" + height + ",menubar=0,resizable=0,status=0,scrollbars=no,location=0,left=" + left + ",top=" + top + ",screenX=" + left + ",screenY=" + top;
    xxwin=window.open("proroga.asp", "subWind", windowFeatures);
	try{xxwin.focus}catch(e){};
}
