// JavaScript Document
function fullscreen(url) {
	var centrox = ((screen.availWidth - 800)/2);
	var centroy = ((screen.availHeight - 640)/2);
	var x = 800;
	var y = 640;
	if (screen.availHeight <= 600) {
		y = 640;
	} else {
		y = 670;
	}
popup = window.open(url,'fullscreen','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,width='+x+',height='+y+',left=0,top=1');
popup.resizeTo(x, y);
if (centroy < 0) centroy = 0;
popup.moveTo(centrox, centroy);
popup.focus();
}