
function newWindow(url){
	
	leftPosition = (screen.width - 1000)/2;
	winProperties = "width=1000,height=700,resizable=yes,scrollbars=1,top=0,left=" + leftPosition;
	window.open(url,'gallery',winProperties);
	
	
}
 
