function PicNewWin(oFile, wWidth, wHeight){

var cWidth  = window.screen.width;
var cHeight = window.screen.height;

	if(cHeight && cWidth){
		var leftOffset = Math.ceil((cWidth-wWidth)/2);
		var topOffset  = Math.ceil((cHeight-wHeight)/2);
		msgWindow=open(oFile, 'picture', 'width='+wWidth+',height='+wHeight+',top='+topOffset+',left=' + leftOffset+', scrollbars=no');
	}

return false;
}
