function NewWindow(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function PopupSpot(lang) {
	
	var width = 560;
	var height= 340;
	
	var winl = (screen.width - width) / 2;
	var wint = (screen.height - height) / 2;
	var props = 'height='+height+',width='+width+',top='+wint+',left='+winl+',scrollbars=0';
	var win = window.open('template/flash/page.php?l='+lang, 'Spot', props);
	
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	
}