/*

designtoo.com

window opening script for page item photos

*/

function launch(newURL, newName, newFeatures, orgName) {
     var photo = open(newURL, newName, newFeatures);
     if (photo.opener == null)
     photo.opener = window;
     photo.opener.name = orgName;
     return photo;
     }

function launchPhoto(photoNumber,windowHeight,windowWidth) {
     myPhoto = launch("http://www.ponoiriver.com/public/displayPhoto.php?id=" + photoNumber,"ContentsPhoto","height=" + windowHeight + ",width=" + windowWidth + ",dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizeable=1,scrollbars=0,status=0,titlebar=0,toolbar=0,z-lock=0","myWindow");
	 }

function launchPhotoFR(photoNumber,windowHeight,windowWidth) {
     myPhoto = launch("http://www.ponoiriver.com/public/displayPhoto.php?t=fr&frid=" + photoNumber,"ContentsPhoto","height=" + windowHeight + ",width=" + windowWidth + ",dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizeable=1,scrollbars=0,status=0,titlebar=0,toolbar=0,z-lock=0","myWindow");
	 }

