/**
 * bc-jq-gallery - Big-Image popup functions for galleryview
 * Written by Henri Schomäcker (hs AT byteconcepts DOT com)
 * Licensed under the WTFPL (http://sam.zoy.org/wtfpl/).
 * Date: 2009/08/08
 *
 * @author Henri Schomäcker
 * @version 1.0.0
 *
 **/



var width = 1024;
var height = 768;

function photoView(theURL, winName) {
	var iMyWidth;
	var iMyHeight;

	iMyWidth = (window.screen.width / 2) - (width / 2);
	// iMyHeight = (window.screen.height / 2) - (height / 2);
	iMyHeight = 0;

	var win2 = window.open(theURL,winName,"status=no,height=" + height + ", width=" + width + ",resizable=yes,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no");
	win2.focus();
}

