<!--
var x = 0, y = 0;
var w = 0, h = 0;
var w_score = '';

function openScore(URL) {
	locatePopUp();
	w_score = window.open(URL, 'score', 'width=488,height=510,top=0,screenY=0,left='+x+',screenX='+x+',scrollBars,resizable=no,toolbar=no,status=no,menubar=no');
	if (!w_score.opener) w_score.opener = self;
	if (window.focus) w_score.focus();
}

function locatePopUp() {
	
x = 0, y = 0;
w = 0, h = 0;

if (document.all) {
  x = window.screenLeft;
  y = window.screenTop;
  w = document.body.clientWidth;
  h = document.body.clientHeight;
}
else if (document.layers) {
  x = window.screenX;
  y = window.screenY;
  w = window.outerWidth;
  h = window.outerHeight;
}

if ( x == null || y == null) {
	if (parseInt(navigator.appVersion) >= 4) { 
	x = (screen.width/2)-(488/2+10);
	y = (screen.height/2)-(510/2+20);
	return;
	}
}

else {
	x = x + (w/2 - (488/2+10));
	y = y + (h - (510/2+20));
	return;
}
}
//-->

