function OpenPicture(nPictureWidth, url) {
	var myWidth = nPictureWidth + 40
	var myHeight = myWidth * .75
	var myTop = (window.screen.height - myHeight)/2
	var myLeft = (window.screen.width - myWidth)/2
	var newwindow = ''
	if (newwindow.location && !newwindow.closed) {
		newwindow.location.href = url; 
		newwindow.focus(); } 
	else { 
	newwindow=window.open(url,'largeImage','width=' + myWidth + ',height=' + myHeight + ',left=' + myLeft + ',top=' + myTop + ',resizable=1');} 
}
