$mysql12 = new Mysql();
		$mysql12 ->Database='AID11';
		$mysql12 ->connect();
		
$tmpContent="<select id='IPSPECSPEC' name='IPSPECSPEC' >";
				// select categorie
					// select
$resMysql12 = $mysql12 -> query("SELECT * FROM OS_DATA_SPECSPEC WHERE SPEC=".$PARAM[0]);
				if (mysql_num_rows($resMysql12) == 0)
				{
					//$count['orari']=0;
					// inserire specialita'
					$tmpContent.="<option  value=0>INSERIRE TRATTAMENTO</option>";
				}
				else
				{
				while ($linea = mysql_fetch_array($resMysql12, MYSQL_ASSOC)) 
				{
						$tmpContent.="<option  value=".$linea['ID'].">".$linea['NAME']."</option>";

				}
				mysql_free_result($mysql12->Query_ID);					
				}
					$tmpContent.="</select>";
			$this->resultPunto("dojo.widget.byId('SELECTSPECSPEC').setContent(\\\"$tmpContent\\\");");