function popup(url) {
	resolution = screenRes();
	window.open(url,"","width=1024,height=768,menubar=no,location=no,resizable=yes,scrollbars=yes,status=no");	
	return false;
}

function center() {
	window.focus();
	BrowserName=navigator.appName;
	BrowserVersion=parseInt(navigator.appVersion);
	self.moveTo(0,0)
	self.resizeTo((screen.availWidth),(screen.availHeight))
}

function screenRes() { 
	var screenHeight = screen.height;
	var screenWidth = screen.width;
	arrayRes = new Array(screenWidth,screenHeight) 
	return arrayRes;
}