var NSS_PopupImgWin;
function NSS_PopupImg( url ){
	if ( NSS_PopupImgWin ) NSS_PopupImgWin.close();
	var lazyWin = window.open( '', 'popup','resizable=yes,scrollbars=no,status=yes,location=yes,toolbar=no')
	lazyWin.document.write("<head><title>popup</title></head><body topmargin=0 leftmargin=0 onUnload='window.opener.NSS_PopupImgWin=null' ><a href='javascript:window.close()' ><img src='"+ url +"' border=0 onLoad='if (window.innerWidth){ iWidth = window.innerWidth; iHeight = window.innerHeight; }else{ iWidth = document.body.clientWidth; iHeight =document.body.clientHeight; } iWidth = document.images[0].width - iWidth; iHeight = document.images[0].height - iHeight; window.resizeBy(iWidth, iHeight);' ></a></body>");
	lazyWin.document.close();
	lazyWin.focus();
	NSS_PopupImgWin = lazyWin;
}
