var newwindow;
		function popPhotoGallery(url)
		{
			newwindow=window.open(url,'name','height=670,width=1000');
			if (window.focus) {newwindow.focus()}
		}
