function StampaTabellaRicerca(background,imgPulsante){
	document.writeln("<TABLE class=\"cerca\" border=\"0\" >");
	document.writeln("   <TR><TD colspan=\"6\">&nbsp;&nbsp;</TD></TR>");
	document.writeln("   <TR><TD>&nbsp;</TD>");
	document.writeln("	     <TD>&nbsp;</TD>");
	document.writeln("	     <TD><INPUT TYPE=\"text\" NAME=\"strCerca\" class=\"clsInput\" onkeypress=\"Javascript:tasto();\" BORDER=0 MAXLENGTH=100></td>");
	document.writeln("	     <td class=\"inoltraDestra\"><a href=\"JavaScript:Search();\">");
	document.writeln("	         <img border=\"0\" src=\"" + imgPulsante + "\" ></a></td>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("   </TR>");
	document.writeln("   </TR><tr><td valign=\"bottom\" colspan=\"6\" class=\"inoltraBasso\"><a href=\"JavaScript:Search();\">");
	document.writeln("	         <img border=\"0\" src=\"" + imgPulsante + "\" ></a></td></tr>");
	document.writeln("</TABLE>");
	document.writeln("   <LAYER VISIBILITY=HIDE>");
	document.writeln("<TABLE class=\"cerca\">");
	document.writeln("   <TR><TD colspan=\"2\"><Font class=\"cercafont2\">Inserire una stringa e cliccare su Cerca &nbsp;</Font></td>");
	//document.writeln("   </TR>");
	document.writeln("    </LAYER>");
	document.writeln("</TABLE>");
}


function StampaTabellaRicercaNews(background,imgPulsante){
	document.writeln("<TABLE bgColor=\"" + background + "\" border=\"0\" cellPadding=\"0\" cellSpacing=\"0\" width=\"350\">");
	document.writeln("   <TR><TD colspan=\"6\"><Font face=\"verdana\" color=\"white\" size=\"2\">&nbsp;Trova: (inserire la stringa di ricerca)</font>&nbsp;</TD></TR>");
	document.writeln("   <TR><TD>&nbsp;</TD>");
	document.writeln("	   <TD>&nbsp;</TD>");
	document.writeln("	   <TD><INPUT TYPE=\"text\" NAME=\"strCerca\" SIZE=\"30\" onkeypress=\"Javascript:tasto();\" BORDER=0 MAXLENGTH=100></td>");
	document.writeln("	   <td><a href=\"JavaScript:Search();\">");
	document.writeln("	   <img border=\"0\" src=\"" + imgPulsante + "\" ></a></td>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("   </TR>");
    document.writeln("   <TR><TD>&nbsp;</TD><td colspan=\"5\"><table border=\"0\"><tr><td style=\"color:white\">Pubblica </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox1 name=checkbox1 checked></TD>");
	document.writeln("                      <td style=\"color:white\">Non Pubblica  </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox2 name=checkbox2 checked></TD>");
	document.writeln("                      <td style=\"color:white\">News</td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox5 name=checkbox5 checked></TD></TR>")
	document.writeln("                      <tr><td style=\"color:white\">Scaduta  </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox3 name=checkbox3 checked></TD>");
	document.writeln("                      <td style=\"color:white\">Non Scaduta  </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox4 name=checkbox4 checked></TD>");
	document.writeln("                      <td style=\"color:white\">Newsletter</td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox6 name=checkbox6 checked></TD>");
	document.writeln("       </tr></table>");
	//document.writeln("   <TR><TD colspan=\"6\">&nbsp;</TD></TR>");
	document.writeln("</TABLE>");
}

function StampaTabellaRicercaNewsUteInt(background,imgPulsante){
	document.writeln("<TABLE bgColor=\"" + background + "\" border=\"0\" cellPadding=\"0\" cellSpacing=\"0\" width=\"350\">");
	document.writeln("   <TR><TD colspan=\"6\">&nbsp;</TD></TR>");
	document.writeln("   <TR><TD>&nbsp;</TD>");
	document.writeln("	   <TD>&nbsp;</TD>");
	document.writeln("	   <TD><INPUT TYPE=\"text\" NAME=\"strCerca\" SIZE=\"30\" onkeypress=\"Javascript:tasto();\" BORDER=0 MAXLENGTH=100></td>");
	document.writeln("	   <td><a href=\"JavaScript:Search();\">");
	document.writeln("	   <img border=\"0\" src=\"" + imgPulsante + "\" ></a></td>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("   </TR>");
    document.writeln("    <TR><TD colspan=\"2\">&nbsp;</TD><TD><table><tr><td>Pubblica </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox1 name=checkbox1 checked></TD>");
	document.writeln("                      <td>Non Pubblica </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox2 name=checkbox2 checked></TD></TR>");
	document.writeln("                      <tr style='display:;'><td>News  </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox5 name=checkbox5 checked></TD>");
	document.writeln("                      <td>Newsletter </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox6 name=checkbox6 checked></TD></tr>");
	document.writeln("                      <tr style='display:none;'><td>Scaduta  </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox3 name=checkbox3 checked></TD>");
	document.writeln("                      <td>Non Scaduta </td>");
	document.writeln("                      <td><INPUT type=\"checkbox\" id=checkbox4 name=checkbox4 checked></TD></tr>");
	document.writeln("       </table>");
	//document.writeln("   <TR><TD colspan=\"6\">&nbsp;</TD></TR>");
	document.writeln("</TABLE>");
}

function StampaTabellaRicercaFaq(background,imgPulsante){
	document.writeln("<TABLE bgColor=\"" + background + "\" border=\"0\" cellPadding=\"0\" cellSpacing=\"0\" width=\"350\">");
	document.writeln("   <TR><TD colspan=\"6\">&nbsp;</TD></TR>");
	document.writeln("   <TR><TD>&nbsp;</TD>");
	document.writeln("	   <TD>&nbsp;</TD>");
	document.writeln("	   <TD valign='top'><INPUT TYPE=\"text\" NAME=\"strCerca\" SIZE=\"30\" onkeypress=\"Javascript:tasto();\" BORDER=0 MAXLENGTH=100>&nbsp;<a href=\"JavaScript:Search();\"><img border=\"0\" src=\"" + imgPulsante + "\" ></a></td>");
	//document.writeln("	   <td><a href=\"JavaScript:Search();\">");
	//document.writeln("	   <img border=\"0\" src=\"" + imgPulsante + "\" ></a></td>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("   </TR>");
    document.writeln("    <TR><TD colspan=\"2\">&nbsp;</TD><TD><table width='330' border=\"0\"><tr>");
	document.writeln("                      <td width='1' valign=\"top\"><INPUT type=\"radio\" id=\"con_risp\" name=\"con_risp\" value=\"NO\" checked onClick=\"JavaScript:VerificaSenzaRisp();\"></TD>");
	document.writeln("                      <td>Domande senza risposta</td><td style='display:none;' id='chkFAQ1'><INPUT type=\"checkbox\" id=\"faq_pub\" name=\"faq_pub\" checked>FAQ pubbliche</td></tr>");
	document.writeln("                      <tr><td valign=\"top\"><INPUT type=\"radio\" id=\"con_risp\" name=\"con_risp\" value=\"SI\" onClick=\"JavaScript:VerificaConRisp();\"></TD>");
	document.writeln("						<td>Domande con risposta</td><td style='display:none;' id='chkFAQ2'><INPUT type=\"checkbox\" id=\"faq_priv\" name=\"faq_priv\" checked>FAQ non pubbliche</td></tr>");
	document.writeln("       </table>");
	//document.writeln("   <TR><TD colspan=\"6\">&nbsp;</TD></TR>");
	document.writeln("</TABLE>");
}


function StampaTabellaRicercaRisposte(background,imgPulsante){
	document.writeln("<TABLE bgColor=\"" + background + "\" border=\"0\" cellPadding=\"0\" cellSpacing=\"0\" width=\"350\">");
	document.writeln("   <TR><TD colspan=\"6\">&nbsp;</TD></TR>");
	document.writeln("   <TR><TD>&nbsp;</TD>");
	document.writeln("	   <TD>&nbsp;</TD>");
	document.writeln("	   <TD valign='top'><INPUT TYPE=\"text\" NAME=\"strCerca\" SIZE=\"30\" onkeypress=\"Javascript:tasto();\" BORDER=0 MAXLENGTH=100>&nbsp;<a href=\"JavaScript:Search();\"><img border=\"0\" src=\"" + imgPulsante + "\" ></a></td>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("       <TD>&nbsp;</TD>");
	document.writeln("   </TR>");
        document.writeln("    <TR><td></td><td></td><TD colspan=\"1\" nowarp><INPUT type=\"checkbox\" id=\"faq_pub\" name=\"faq_pub\" checked>FAQ pubbliche");
        document.writeln("                 <INPUT type=\"checkbox\" id=\"faq_priv\" name=\"faq_priv\" checked>FAQ non pubbliche</TD></TR>");
	document.writeln("</TABLE>");
}

function StampaTabellaRicercaEventi(background,imgPulsante)
{
	document.writeln("<TABLE bgColor=\"" + background + "\" border=\"0\" id=\"tabRicerca\" name=\"tabRicerca\" cellPadding=\"0\" cellSpacing=\"0\" width=\"350\">");
	document.writeln("<TR>");
	document.writeln("	<TD>&nbsp;</TD>");
	document.writeln("	<TD>&nbsp;</TD>");
	document.writeln("	<TD valign='middle' align=\"right\">");
	document.writeln("		<INPUT TYPE=\"text\" NAME=\"strCerca\" SIZE=\"35\" onkeypress=\"Javascript:tasto();\" BORDER=0 MAXLENGTH=100>&nbsp;");
	document.writeln("	</TD>");
	document.writeln("	<TD valign='top'>");
	document.writeln("		<a href=\"JavaScript:Search();\"><img border=\"0\" src=\"" + imgPulsante + "\" ></a>");
	document.writeln("	</TD>");
	document.writeln("	<TD>&nbsp;</TD>");
	document.writeln("	<TD>&nbsp;</TD>");
	document.writeln("</TR>");
	document.writeln("<TR>");
	document.writeln("	<TD></TD>");
	document.writeln("	<TD></TD>");
	document.writeln("	<TD nowrap align=\"center\">");
	document.writeln("		<b>Dal</b><INPUT type=\"text\" id=\"DataIniCerca\" name=\"DataIniCerca\" style=\"width:85px;\" maxlength=\"10\">");
	document.writeln("		<button style=\"width:25px;height:25px; cursor:hand;\" id=\"CancellaData1\" name=\"CancellaData1\" onClick=\"GestioneCalendario('DataIniCerca', 'DataIniCercaMod');\"><img src=\"/img/calendario24.gif\" alt=\"Calendario\"></button>");
	document.writeln("		<b>Al</b><INPUT type=\"text\" id=\"DataFineCerca\" name=\"DataFineCerca\" style=\"width:85px;\" maxlength=\"10\">");
	document.writeln("		<button style=\"width:25px;height:25px; cursor:hand;\" id=\"CancellaData2\" name=\"CancellaData2\" onClick=\"GestioneCalendario('DataFineCerca', 'DataFineCercaMod');\"><img src=\"/img/calendario24.gif\" alt=\"Calendario\"></button>");
	document.writeln("	</TD>");
	document.writeln("	<TD></TD>");
	document.writeln("	<TD></TD>");
	document.writeln("	<TD></TD>");
	document.writeln("</TR>");
	document.writeln("</TABLE>");
}

