<!--
   function popupa(name) {                
	window.open(name , "popup", "width=520,height=350,resizable=0,top=50,left=50");                
   } 
   function popup1(name) {                
	window.open(name , "popup", "width=480,height=530,resizable=0,top=50,left=50");                
   }  

    function popWin0(what)
   {
       
      newWindow=window.open(what, "new3","menubar=no,scrollbars=yes,resizable=no,location=no,menubar=no,width=610,height=550, left=10,top=10");
    }

    function popWin1(what)
   {
       
      newWindow=window.open(what, "new3","menubar=no,scrollbars=yes,resizable=no,location=no,menubar=no,width=450,height=310, left=10,top=10");
    }
	 function popWin2(what)
   {
       
      newWindow=window.open(what, "new3","menubar=no,scrollbars=yes,resizable=no,location=no,menubar=no,width=760,height=500, left=10,top=10");
    }
   
   function popWin( )	{
   	var what,sname,swidth,sheight,stop,sleft,sscroll,sreplace,sclose;
	var what = new String();
	var sname = new String();
	var swidth = new String();
	var sheight = new String();
	var stop = new String();
	var sleft = new String();
	var sscroll = new String();
	var sreplace = new String();
	var sclose = new String();
	var newWindow;	
	var ss = new Array();
	var args;
	ss = popWin.arguments;
	args = ss.length;
    if (args > 0)
		what = ss[0];	
    if (args > 1)
		sname = ss[1];
	if (args > 2)
		swidth = ss[2];
	if (args > 3)
		sheight = ss[3];
	if (args > 4)
		stop = ss[4];
	if (args > 5)
		s = ss[5];
	if (args > 6)
		sscroll = ss[6];
	if (args > 7)
		sreplace = ss[7];
	if (args > 8)
		sclose = ss[8];
   
	if (sname=="") sname = "newpopWindow";
	if (swidth=="") swidth = "720";
	if (sheight=="") sheight = "400";
	if (stop=="") stop = "10";
	if (sleft=="") sleft = "20";
	if (sscroll=="") sscroll = "yes";
	if (sreplace=="") sreplace = false;
	if (sclose=="") sclose = false;
	var bb = what.search("=");
	if (bb != -1)
	var ls = '&';
	else
	var ls = '?';
	newWindow=window.open(what, sname,"fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=no,width=" + swidth + ",height=" + sheight + ",top=" + stop + ",left=" + sleft + ",scrollbars=" + sscroll ,sreplace);	
//	newWindow=window.open(what  + ls +'PHPSESSID=<?php echo session_id();?>', sname,"fullscreen=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=no,width=" + swidth + ",height=" + sheight + ",top=" + stop + ",left=" + sleft,sreplace);	
	if (sclose) window.close();
	newWindow.focus();
}
 	//-->
