
function PopupPic(sPicURL, pageURL) { 
	var strURL = pageURL + "?" + escape(sPicURL);
	var popW = 200;
	var popH = 200;
	var winleft = (window.width - popW) / 2;
	var winUp = (window.height - popH) / 2;
	winProp = 'width='+popW+',height='+popH+',screenX='+winleft+',screenY='+winUp+',resizable=1';
	pic_window = window.open(strURL,'pic_window',winProp);
	pic_window.focus();
}


function navigateToParent(strUrl) {
	self.opener.location = strUrl;
	self.opener.focus();
	
}
