function templateambigpdq2_invia(document,elenco)
{
stringa=top.topurl+"/"+top.current_query+"?term="+top.terminecic;
- stringa=stringa+"&aliases=";
- controllo=stringa.length;
+ stringa=stringa+"&aliases=&interpretation_choices=";
+ var parsa = "";
+ controllo=parsa.length;
for (j=0;j<elenco.length;j++)
{
if (document.disamb.interp[j].checked)
{
- stringa=stringa+escape(elenco[j]);
+ parsa=parsa+escape(elenco[j]);
// TODO da implementare nella terza fase
//top.aliasglob[top.aliasglob.length]=document.disamb.interp[j].value;
}
}
- if (stringa.length!=controllo)
+ top.interpretation_choices = parsa;
+ stringa=stringa+parsa;
+ if (parsa.length!=controllo)
{
window.open(ask_uwobo(stringa),"cw");
}
stringa=top.topurl+"/"+top.current_query+"?term="+top.terminecic;
stringa=stringa+"&aliases="+escape(aliases);
stringa=stringa+"&choices="+escape(top.choices);
+ stringa=stringa+"&interpretation_choices="+escape(top.interpretation_choices);
stringa=stringa+"&constraints=";
for (j=0;j<constr_obj_len;j++)
{