﻿// JScript File

    function ShowBigImgAuto(url,width,height) { 		imgwin=window.open('', '_blank', 'directories=no, location=no, menubar=no, resizable=no, scrollbars=no, status=no, toolbar=no, width='+width+', height='+height); 	imgwin.document.open(); 	imgwin.document.writeln("<HTML> <HEAD> <TITLE> "+url+" </TITLE> </HEAD> <BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onload=\"Test();\"> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%  HEIGHT=100%><TR><TD align=center valign=middle><a href='Javascript:window.close();'><IMG border=0 SRC='"+url+"' id=imgCover></a> </TD> </TR> </TABLE><script>function Test(){window.resizeTo((document.getElementById('imgCover').width+40),(document.getElementById('imgCover').height+60));}</script> </BODY> </HTML>"); 	imgwin.document.close(); } 

function WinOpen(surl,target,itop,ileft,iwidth,iheight) {
		    msgWindow=window.open(surl,target,"top="+itop+",left="+ileft+",width="+iwidth+",height="+iheight+",menubar=no,location=no,toolbar=no,directories=no,status=no,resizable=no,scrollbars=yes")
    }
