		var w;
		var h;
		var thePic;
		var pictureWindow ;
		
		function newWindow(w, h, thePic)  {
			//alert(w + " " + h + " " + thePic);
			var left = parseInt((screen.availWidth / 2) - (w / 2));
			var top = parseInt((screen.availHeight / 2) - (h / 2));
			var windowFeatures = "width=" + w + " , height=" + h + " ," + " , left=" + left + " , top=" + top + " , screenX=" + left + " ,screenY=" + top + "resizeable";
			pictureWindow = window.open(thePic, "showPic", windowFeatures);
		}