function popitup(url) {
	var width = 1040;
	var height = 677;
	var left = parseInt((screen.availWidth/2) - (width/2));
	var top = parseInt((screen.availHeight/2) - (height/2));
	var windowFeatures = "width=" + width + ",height=" + height + ",scrollbars=1,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;
			
	newwindow=window.open(url,'name', windowFeatures);
	if (window.focus) {newwindow.focus()}
	return false;
}
