function centerpop(url, name, width, height, scroll, status, location) {
	var name = name;
	var width = width;
	var height = height;
	var scroll = scroll;
	var status = status;
	var location = location;
	var left = (screen.width - width) / 2 ;
	var top = (screen.height - height) / 2;
	var windowproperties = "width="+ width +",height="+ height +",left="+ left +",top="+ top +",scrollbars="+ scroll +",status="+ status +",location="+ location +"";
	window.open(url, name, windowproperties);
}

function errorsuppressor(){
	return true
}
window.onerror=errorsuppressor

winWidth	= 640;
winheight	= 480;

if (screen) {
   winWidth = screen.width;
   winHeight = screen.height;
}

function fullWindow(win){
	newWindow = window.open(win,'newWin','toolbar=no,location=no,scrollbars=no,resizable=yes,width='+winWidth+',height='+winHeight+',left=0,top=0');
	newWindow.focus();
}