//$this->resultPunto("dojo.widget.byId('FTMODULS').reset();");
//$this->resultPunto("alert(3);");
//$this->resultPunto("alert(4);");
//$this->resultPunto("dojo.widget.byId('FTMODULS').reset();");
//$this->resultPunto("dojo.widget.byId('FTAPPS').reset();");
// pulire la tabella
$this->resultPunto("var myFTMODULS = dojo.widget.byId('FTMODULS');");
$this->resultPunto("var myAPPS = dojo.widget.byId('FTAPPS');");
$this->resultPunto("var myFTSCRIPT = dojo.widget.byId('FTSCRIPT');");
//$this->resultPunto("dojo.widget.byId('myFTSCRIPT').reset();");
//var myNameAPPS = dojo.widget.byId('FTAPPS').getSelectedData().NAME"
// rimettere dati

$mysql11 = new Mysql();
$mysql11 ->Database=$PARAM[0];
$mysql11 ->connect();
$resMysql11 = $mysql11 ->query('SELECT * FROM '.$PARAM[1].' ORDER BY SID');
while (	$linea11 = mysql_fetch_array($resMysql11, MYSQL_ASSOC))
	{
		$tmpString ='Tables_in_AIDFUROR';
		$this->resultPunto("myFTSCRIPT.store.addData({SID:".$linea11['SID'].",SCRIPT:\\\"".$linea11['SCRIPT']."\\\",DATE:'11/1/2003'});");
	}
mysql_free_result($resMysql11);	

//w.getSelectedData().N
//$this->resultPunto("myFTSCRIPT.store.addData({id:1,SID:1,SCRIPT:'".$PARAM[0]."',DATE:'11/1/2003'});");