3 <SCRIPT language="Javascript">
8 if (confirm("Are you sure you want to delete your query and start a new one?"))
10 top.terminecic="";top.listaliases="";top.ricordaliaslist=0;top.vlds=new Array();var alias="";var expr="";
12 top.window.open(top.topurl+top.action+"start.html","qw");
13 top.window.open(top.topurl+top.action+"blank.html","cw");
14 top.window.open(top.topurl+top.action+"blank.html","hw");
15 top.window.open(top.topurl+top.action+"blank.html","gw");
16 top.window.open(top.topurl+top.action+"blank.html","sw");
21 if (confirm("Are you sure you want to change expression?"))
24 document.invio.expression.value="";document.invio.aliaslist.value=unescape(top.listaliases);
25 top.ricordaliaslist=1;
26 window.open(top.topurl+top.action+"pdq.html","cw");
27 window.open(top.topurl+top.action+"editorpdq.html","sw");
32 if (document.invio.expression.value!="")
33 {top.terminecic=escape(document.invio.expression.value);
35 for (i=0;i<top.aliasglob.length;i++)
37 top.listaliases=top.listaliases+escape(top.aliasglob[i]+" ");
39 //alert(top.listaliases);
40 window.open(top.topurl+"/searchPattern?term="+escape(document.invio.expression.value)+"&aliases="+top.listaliases,"cw");
42 //window.open(top.topurl+top.action+"templateambigpdq2.html","bw")}
43 else {alert("Please complete the query before.")}
47 alert("You may not modify this field.",alias);
48 document.invio.aliaslist.value=alias;
49 document.invio.expression.value=expr;
51 function editalias(valore)
53 top.window.sw.alias=valore;
54 document.invio.aliaslist.value=valore;
56 function editexpr(valore)
58 top.window.sw.expr=valore;
59 document.invio.expression.value=valore;
63 for (num=0;num<top.aliasglob.length;num++)
65 //alert(top.aliasglob[num]);
66 document.write("<OPTION value="+num+">"+top.aliasglob[num]);
71 if (document.invio.expression.value!=""){top.terminecic=escape(document.invio.expression.value)}
72 top.window.open(top.topurl+top.action+"aliaslist.html",(top.cw.frames.length==0?"cw":"bw"));
77 <form name="invio" action="Javascript:invia();">
78 <select name="aliaslist" size=1>
79 <script language=Javascript> listalias(); </script>
80 </select> Your list of alias.
81 <input type=button value="edit" onMouseOver="top.help(-9)" onClick="editaalias()";>
83 <textarea name="expression" cols="43" rows="6"></textarea><br>Your expression.<br>
84 <input type=submit value="Submit" onMouseOver="top.help(-4)"></input>
85 <input type=button value="Restart" onMouseOver="top.help(-5)" onClick="armageddon()"></input>
86 <input type=button value="New expression" onMouseOver="top.help(-7)" onClick="nuovapdqsa()"></input>
88 <script language=Javascript>document.invio.expression.value=unescape(top.terminecic); </script>