function OpenImageInWindow(ImageURL,Caption,Width,Height)
{
	var theWidth=1024;
	var theHeight=780;
	if (Width!=null && Width!="undefined")
		theWidth=Width;
	if (Height!=null && Height!="undefined")
		theHeight=Height;

	var myWin=window.open("","_blank","height="+theHeight+",Height="+theHeight);
	myWin.document.write("<html><head><title>"+Caption+"</title></head><body style=\"background-color:black;color:yellow;font-weight:bold;\"><img style=\"display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;\" height=\"700\" src=\" "+ImageURL+"\"  border=\"0\" alt=\" \" /><br><div style=\"position:relative;width:100%;text-align:center;\"><div style=\"margin:auto;\">"+Caption+"</div></div></body></html>");
	//return myWin;
}