var result;
function on_close_win()
{
	result = false;
}
function show_big_img(href_beg,win_w,win_h,img_src)
{
	if (result) result.close();
	left_pos = (screen.width - (1*win_w))/2;
	top_pos = (screen.height - (1*win_h))/2;
	set_scrollbars = "no";
	win_add_w = 0;
	if(left_pos<40)
	{
		left_pos = 40;
		win_w = screen.width-80;
		set_scrollbars = "yes";
	}
	tt_win_w = 1*win_w;
	if(top_pos<40)
	{
		top_pos = 20;
		win_h = screen.height-80;
		if(set_scrollbars == "no") tt_win_w += 18;
		set_scrollbars = "yes";
	}
	doc_text = "<HTML><HEAD><TITLE>Rev. Enid Kessler and Rabbi Stuart Paris</TITLE></HEAD><BODY MARGINWIDTH=0 MARGINHEIGHT=0 LEFTMARGIN=0 RIGHTMARGIN=0 TOPMARGIN=0 BGCOLOR=white onunload='opener.on_close_win()'>";
	doc_text += "<div align=center><img style='border: 2px solid #4A638C'  src='"+img_src+"' border=0></div>";
	doc_text += "</BODY></HTML>";
	result = open("", "displayWindow","width="+tt_win_w+",height="+win_h+",left="+left_pos+",top="+top_pos+",resizable=yes,status=no,toolbar=no,menubar=no,scrollbars="+set_scrollbars);
	result.document.open();
	result.document.write(doc_text);
	result.document.close();
	result.focus();
}