var win = null
function OpenBigImg(path,strImg)
{
	if (win)
	{
		 win.close()
		 win = null 
		 
	}
   
	if(!win || win.closed)
	{
		win = window.open(path,"myWin","WIDTH=800,HEIGHT=600,resizable,scrollbars")
		var content = "<HTML><HEAD></HEAD><BODY>"
		content += "<CENTER><IMG SRC = '" + strImg + "' ></CENTER>"
		content += "<BODY></HTML>"
		win.document.write(content)
		win.document.close()  //Close layout stream
		win.focus()
		//WIDTH=200 HEIGHT=200
	}
	else //if he lose is window and try to open a new one
	{
		win.focus()
	}
	
	
}

