function goImagePreview(resCtrl,w,h,store_id) {
		//	var w = 640
		//	var h = 380
		//	if (screen.width>640)
		//		w = 640
		//	if (screen.height>380)
		//		h = 380
		
		if (parseInt(w) <= 400)
			w = 400;
		else
			w = parseInt(w) + 60;

		if (parseInt(h) <= 180)
			h = 180;
		else
			h = parseInt(h) + 100;

		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;

		//	alert('w=' + w + '\nh=' + h + '\nl=' + winl + '\nt=' + wint);
		if(resCtrl=="") return false;

		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl
		theUrl="image_picker_enlarged.asp?p=1&returnArg="+resCtrl+"&i="+escape("lib"+store_id+"/"+resCtrl);
		reWin = window.open(theUrl,'imagepreview','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,'+winprops);
}