
 function openScript1(url, width, height)
	{
        var Win = window.open(url,"openScript1",'width=' + width + ',height=' + height + ',resizable=yes,scrollbars=no,menubar=no,status=no, top=0, left=0' ) ;
        Win.focus() ;
	}


var FramesetHTML = '' ;

  function openScript(url, width, height)
	{
        var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=yes,scrollbars=no,menubar=no,status=no, top=0, left=0' ) ;
        Win.focus() ;
	}
	
	function apriStrumento( url )
	{
		var FramesetHTML =	'<html>' +
								'<head>' +
								'<meta http-equiv="Content-Type" content="text/html; charset=utf-8">' +
								'<title>- AMMA - </title>' +
								'</head>' +
								'<frameset framespacing="0" border="0" rows="30,*" frameborder="0">' +
								'  <frame name="ToolbarFrame" scrolling="no" noresize target="principale" src="' + url + '" marginwidth="0" marginheight="0">' +
								'  <frame name="ViewFrame" scrolling="auto" src="javascript:\'<html></html>\'">' +
								'  <noframes>' +
								'  <bo' + 'dy topmargin="0" leftmargin="0" marginwidth="0" margiheight="0">' +
								'  <p>La pagina corrente utilizza i frame. Questa caratteristica non &grave;' +
								'  supportata dal browser in uso.</p>' +
								'  </bo' + 'dy>' +
								'  </noframes>' +
								'</frameset>' +
								'</html>' ;
								
        var Strumento = window.open( "", "wStrumento" ,'width=650,height=300,resizable=yes,scrollbars=yes,menubar=no,status=no,top=0,left=0' ) ;
        Strumento.document.write( FramesetHTML ) ;
        Strumento.document.close() ;
        Strumento.focus() ;
	}
	

 var cod_str = null ;
  function openPopup(url,width, height, code)
	{
		 cod_str = code ;
	    var Win = window.open(url + '?code=' + code,"openScript",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=no,status=no, top=0, left=0' ) ;
        Win.focus() ;
	}
	


