// JavaScript Document
function bigimg(img,wid,heig)
{
	if(typeof win != "undefined") // for ie 5, in ie 5 onblur is not works, so we have to close window manually.
	{win.close();}
	
	var content = '';
	content +='<html><body topmargin="0" leftmargin="0" onblur="self.close()">';
	content +='<img src='+img+' width="'+wid+'" height="'+heig+'">';
	content +='</body></html>';
	
	win = window.open('','newwin','width='+wid+',height='+heig+',top=10,left=10');
	win.document.write(content);
	win.focus();
}