stadd=stadd+parent.alist[num]+" ";
//alert(stadd);
}
- //top.window.open(top.topurl+"/getpage?url=editorpdq.html","sw");
+ //top.window.open(top.topurl+top.action+"editorpdq.html","sw");
top.window.sw.editalias(stadd);
//alert(parent.mcq);
parent.mcq=parent.mcq.replace("<font color=\"#ff0000\">[Alias list]</font>","");
{
//alert(document.aliaslist.elenco.value);
if (document.aliaslist.elenco.value!=""){
- for (num=Number(document.aliaslist.elenco.value);num<top.aliasglob.length;num++)
+ for (num=Number(document.aliaslist.elenco.value);num<top.aliasglob.length;num++)
{
top.aliasglob[num]=top.aliasglob[num+1];
}
- top.aliasglob.length--;
- parent.aggiorna();}
+ top.aliasglob.length--;
+ //parent.aggiorna();
+ top.window.open(top.topurl+top.action+"aliaslist.html",(top.cw.frames.length==0?"cw":"bw"));
+ }
}
function listalias()
{
}
function addalias()
{
- if (parent.idcheck(document.aliaslist.idi.value)==1 && parent.uricheck(document.aliaslist.uri.value)==1)
+ if (top.idcheck(document.aliaslist.idi.value)==1 && top.uricheck(document.aliaslist.uri.value)==1)
{
top.aliasglob[top.aliasglob.length]="alias "+document.aliaslist.idi.value+" "+document.aliaslist.uri.value;
- parent.aggiorna();
+ //parent.aggiorna();
+ top.window.open(top.topurl+top.action+"aliaslist.html",(top.cw.frames.length==0?"cw":"bw"));
}
}
function istruzioni()
<form name="aliaslist" action="Javascript:addalias();" method="get">
alias
<input name="idi" type=text size="15">
-<input name="uri" type=text size="45" value="cic:/">
-<input type=submit value="add alias">
-<input type=button value="Done" onClick="top.window.open(top.topurl+'/getpage?url=blank.html','hw');top.window.open(top.topurl+'/getpage?url=editorpdq.html','sw');invia();" ><br>
+<input name="uri" type=text size="45" value="cic:/"><br>
+<input type=submit value="add alias"><input type=button value="delete selected" onClick="rimuovialias()";><br>
<select name="elenco" size=7>
<script language=Javascript> listalias(); document.aliaslist.idi.focus(); </script>
</select>
<br>
-<input type=button value="delete selected" onClick="rimuovialias()";>
+<input type=button value="Done" onClick="top.window.open(top.topurl+top.action+'blank.html','hw');top.window.open(top.topurl+top.action+'editorpdq.html','sw');invia();" ><br>
</form>
</BODY>
</HTML>
{
top.terminecic="";top.listaliases="";top.ricordaliaslist=0;top.vlds=new Array();var alias="";var expr="";
top.initialize();
- top.window.open(top.topurl+"/getpage?url=start.html","qw");
- top.window.open(top.topurl+"/getpage?url=blank.html","cw");
- top.window.open(top.topurl+"/getpage?url=blank.html","hw");
- top.window.open(top.topurl+"/getpage?url=blank.html","gw");
- top.window.open(top.topurl+"/getpage?url=blank.html","sw");
+ top.window.open(top.topurl+top.action+"start.html","qw");
+ top.window.open(top.topurl+top.action+"blank.html","cw");
+ top.window.open(top.topurl+top.action+"blank.html","hw");
+ top.window.open(top.topurl+top.action+"blank.html","gw");
+ top.window.open(top.topurl+top.action+"blank.html","sw");
}
}
function nuovapdqsa()
top.terminecic="";
document.invio.expression.value="";document.invio.aliaslist.value=unescape(top.listaliases);
top.ricordaliaslist=1;
- window.open(top.topurl+"/getpage?url=pdq.html","cw");
- window.open(top.topurl+"/getpage?url=editorpdq.html","sw");
+ window.open(top.topurl+top.action+"pdq.html","cw");
+ window.open(top.topurl+top.action+"editorpdq.html","sw");
}
}
function invia()
//alert(top.listaliases);
window.open(top.topurl+"/searchPattern?term="+escape(document.invio.expression.value)+"&aliases="+top.listaliases,"cw");
}
- //window.open(top.topurl+"/getpage?url=templateambigpdq2.html","bw")}
+ //window.open(top.topurl+top.action+"templateambigpdq2.html","bw")}
else {alert("Please complete the query before.")}
}
function warning()
function editaalias()
{
if (document.invio.expression.value!=""){top.terminecic=escape(document.invio.expression.value)}
- top.window.open(top.topurl+"/getpage?url=aliaslist.html",(top.cw.frames.length==0?"cw":"bw"));
+ top.window.open(top.topurl+top.action+"aliaslist.html",(top.cw.frames.length==0?"cw":"bw"));
}
</SCRIPT>
</HEAD>
<textarea name="expression" cols="43" rows="6"></textarea><br>Your expression.<br>
<input type=submit value="Submit" onMouseOver="top.help(-4)"></input>
<input type=button value="Restart" onMouseOver="top.help(-5)" onClick="armageddon()"></input>
-<input type=button value="New expression" onMouseOver="top.help(-8)" onClick="nuovapdqsa()"></input>
+<input type=button value="New expression" onMouseOver="top.help(-7)" onClick="nuovapdqsa()"></input>
</form>
<script language=Javascript>document.invio.expression.value=unescape(top.terminecic); </script>
</BODY>
{stadd=stadd+"[Expr] "}
stadd=stadd+")";
}
- parent.mcq=parent.mcq.replace("<font color=\"#ff0000\">[Expr]</font>",stadd);
+ if (selopt[6].checked) {
+ stadd=document.form1.id_or_uri.value;
+ //alert(stadd.substring(0,5));
+ if (stadd.substring(0,5)=="cic:/")
+ {if (!parent.uricheck(stadd)){stadd="";}}
+ else if (!parent.idcheck(stadd)){stadd="";}
+ }
+ if (stadd!="") {parent.mcq=parent.mcq.replace("<font color=\"#ff0000\">[Expr]</font>",stadd);
//top.qw.document.write(parent.mcq);
- parent.parse(parent.mcq);
+ parent.parse(parent.mcq);}
}
}
</SCRIPT>
<option value="?"> ?
</select> <br>
<input type="radio" name="selopt"> ( [Expr list] ) <br>
+<input type="radio" name="selopt"> <input name="id_or_uri" type="text" onFocus="selopt[6].checked=true;top.help(-10)"><br>
<input type=submit value="Select">
</form>
</BODY>
</HEAD>
<BODY>
<a name="Id">
-<p><b><Id></b>::=[ 'A-Z' | 'a-z' ][ 'A-Z' | 'a-z' | '0-9' | \- | _ | \' ]*</a>
+<p><b><Id></b>::= [ 'A-Z' | 'a-z' ][ 'A-Z' | 'a-z' | '0-9' | \- | _ | \' ]*</a>
<a name="Uri">
-<p><b><Uri></b>::=<<a href="#Conuri">Conuri</a>> | <<a href="#Varuri">Varuri</a>> | <<a href="#Indtyuri">Indtyuri</a>> | <<a href="#Indconuri">Indconuri</a>></a>
+<p><b><Uri></b>::= <<a href="#Conuri">Conuri</a>> | <<a href="#Varuri">Varuri</a>> | <<a href="#Indtyuri">Indtyuri</a>> | <<a href="#Indconuri">Indconuri</a>></a>
<a name="Conuri">
-<p><b><Conuri></b>::="cic:/" [<<a href="#Id">Id</a> "/" ]*<<a href="#Id">Id</a>> ".con"</a>
+<p><b><Conuri></b>::= "cic:/" [<<a href="#Id">Id</a>> "/" ]*<<a href="#Id">Id</a>> ".con"</a>
<a name="Varuri">
-<p><b><Varuri></b>::="cic:/" [<<a href="#Id">Id</a>> "/" ]*<<a href="#Id">Id</a>> ".var"</a>
+<p><b><Varuri></b>::= "cic:/" [<<a href="#Id">Id</a>> "/" ]*<<a href="#Id">Id</a>> ".var"</a>
<a name="Indtyuri">
-<p><b><Indtyuri></b>::="cic:/" [<<a href="#Id">Id</a>> "/" ]*<<a href="#Id">Id</a>> ".ind#1/" ['0-9']+</a>
+<p><b><Indtyuri></b>::= "cic:/" [<<a href="#Id">Id</a>> "/" ]*<<a href="#Id">Id</a>> ".ind#1/" ['0-9']+</a>
<a name="Indconuri">
-<p><b><Indconuri></b>::="cic:/" [<<a href="#Id">Id</a>> "/" ]*<<a href="#Id">Id</a>> ".ind#1/" ['0-9']+ "/" ['0-9']+</a>
+<p><b><Indconuri></b>::= "cic:/" [<<a href="#Id">Id</a>> "/" ]*<<a href="#Id">Id</a>> ".ind#1/" ['0-9']+ "/" ['0-9']+</a>
<a name="Exp_Named_Subst">
-<p><b><Exp_Named_Subst></b>::="{" [ [ [<<a href="#Id">Id</a>> | <<a href="#Varuri">Varuri</a>> ] ":=" <Expression> ";" ]* [ [<<a href="#Id">Id</a>> | <<a href="#Varuri">Varuri</a>> ] ":=" <Expression> ] ]? "}"</a>
+<p><b><Exp_Named_Subst></b>::= "{" [ [ [<<a href="#Id">Id</a>> | <<a href="#Varuri">Varuri</a>> ] ":=" <Expression> ";" ]* [ [<<a href="#Id">Id</a>> | <<a href="#Varuri">Varuri</a>> ] ":=" <Expression> ] ]? "}"</a>
+<a name="Alias">
+<p><b><Alias></b>::= "alias" <<a href="#Id">Id</a>> <<a href="#Uri">Uri</a>>
+<a name="Genid">
+<p><b><Genid></b>::= [ <<a href="#Id">Id</a>> | <<a href="#Varuri">Varuri</a>> | <<a href="#Indtyuri">Indtyuri</a>> | <<a href="#Indconuri">Indconuri</a>> ] <<a href="#Exp_Named_Subst">Exp_Named_Subst</a>>
+<a name="Expr">
+<p><b><Expr></b>::= "\" <<a href="#Genid">Genid</a>> [ ":" | ":=" ] <<a href="#Expr">Expr</a>>"."<<a href="#Expr">Expr</a>>
+<br>
+::= "!" <<a href="#Genid">Genid</a>> ":" <<a href="#Expr">Expr</a>>"."<<a href="#Expr">Expr</a>>
+<br>
+::= <<a href="#Expr">Expr</a>>"->"<<a href="#Expr">Expr</a>>
+<br>
+::= "(" <<a href="#Expr">Expr</a>> ")" "->"<<a href="#Expr">Expr</a>>
+<br>
+::= "(" <<a href="#Expr">Expr</a>> [ " " <<a href="#Expr">Expr</a>>]* ")"
+<br>
+::= "Prop" | "Set" | "Type" | "?" | <<a href="#Uri">Uri</a>> | <<a href="#Id">Id</a>>
</BODY>
</HTML>
\ No newline at end of file
{
hw.document.close();
switch (w) {
+ case -10: hw.document.write("Insert an <a href=grammarpdq.html#Id target=gw>Id</a> or an <a href=grammarpdq.html#Uri target=gw>Uri</a> here.")
+ break;
case -9: hw.document.write("By clicking this you may add or remove aliases as you wish.")
break;
case -81: hw.document.write("Allows you to recover your last input")
break;
case -8: hw.document.write("Allows you to delete your last input")
break;
- case -7: hw.document.write("Erases your query and starts a new pre-defined query.")
+ case -7: hw.document.write("Erases your query and starts a new pre-defined query, you will keep your list of aliases.")
break;
case -6: hw.document.write("Puts this string in the current cursor position. This button works only with Internet Explorer.")
break;
{quotpath=quotpath.replace(">",">");}
return (quotpath);
}
+function idcheck(ident)
+ {
+ lettera=/[a-zA-Z]/;
+ partediid=/[a-zA-Z0-9_\-\']/;
+ if (!lettera.test(ident.charAt(0))){alert("an Id must begin with a letter.");return(0)}
+ while (ident.length>0)
+ {
+ ident=ident.substring(1,(ident.length));
+ if (ident.length>0){
+ if (!partediid.test(ident.charAt(0))){alert(ident.charAt(0)+" is not a valid character for an Id.");return(0);}
+ }}
+ return(1)
+ }
+function uricheck(ident)
+ {
+ cifra=/[0-9]/
+ cic=ident.substring(0,5);//alert(cic);
+ if (cic!="cic:/"){alert("an Uri must begin with the string 'cic:/'");return(0);}
+ ident=ident.substring(5,ident.length);//alert(ident);
+ if (ident.indexOf(".")<0){alert("an Uri must contain a '.'");return(0);}
+ ident1=ident.substring(0,ident.indexOf("."));//alert(ident1);
+ ident2=ident.substring(ident.indexOf(".")+1,ident.length);//alert(ident2);
+ while (ident1.length>0)
+ {
+ if (ident1.indexOf("/")>-1)
+ {
+ if (idcheck(ident1.substring(0,ident1.indexOf("/")))==0){return (0)}
+ ident1=ident1.substring(ident1.indexOf("/")+1,ident1.length);//alert(ident1);
+ }
+ else {if (idcheck(ident1)==0){return (0)}
+ ident1="";}
+ }
+ if (ident2=="con"||ident2=="var"){return(1)}
+ if (ident2.substring(0,6)!="ind#1/"){alert ("syntax error in the Uri.");return(0);}
+ ident2=ident2.substring(6,ident2.length);//alert(ident2);
+ if (!cifra.test(ident2.charAt(0))){alert ("syntax error in the Uri.");return(0);}
+ if (ident2.indexOf("/")>-1)
+ {
+ while (ident2.charAt(0)!="/")
+ {
+ //alert(ident2);
+ if (!cifra.test(ident2.charAt(0))){alert ("syntax error in the Uri.");return(0);}
+ ident2=ident2.substring(1,ident2.length);
+ }
+ }
+ while (ident2.length>0)
+ {
+ //alert(ident2);
+ ident2=ident2.substring(1,ident2.length);
+ if (ident2.length>0){
+ if (!cifra.test(ident2.charAt(0))){alert ("syntax error in the Uri.");return(0);}
+ }}
+
+ return(1)
+ }
function gramcheck(how,what) // esegue il controllo sintattico sulla stringa "what", controllando che rispetti i requisiti indicati dalla clausola "how". Se qualcosa non è ok, la variabile "wrong" viene posta ad 1 e la stringa da aggiungere viene ignorata, mentre viene visualizzato un apposito messaggio di errore.
{
var slash=0;
ltr=pq.slice(pq.indexOf("[?"));
ltr=ltr.substring(ltr.indexOf("[?"),(ltr.length-ltr.indexOf("[?"))-(ltr.length-ltr.indexOf("]")-1));
wto=ltr.substring(2,5);
- if (wto=="set") {window.open(top.topurl+"/getpage?url=set.html","cw");pq="";}
- else if (wto=="val") {window.open(top.topurl+"/getpage?url=val.html","cw");pq="";}
- else if (wto=="bol") {window.open(top.topurl+"/getpage?url=boole.html","cw");pq="";}
+ if (wto=="set") {window.open(top.topurl+action+"set.html","cw");pq="";}
+ else if (wto=="val") {window.open(top.topurl+action+"val.html","cw");pq="";}
+ else if (wto=="bol") {window.open(top.topurl+action+"boole.html","cw");pq="";}
else pq=pq.substring(pq.indexOf("[?")+2,pq.length);
}
- else {window.open(top.topurl+"/getpage?url=blank.html","cw");pq="";}
+ else {window.open(top.topurl+action+"blank.html","cw");pq="";}
}
}
function aggform() // aggiorna il form nel frame centrale. Invocata ad ogni cambio della variabile "query".
qw.document.write(query);
aggform();
sw.apply();
- if (query=="*"){cw.location=top.topurl+"/getpage?url=set.html";ltr="*";} else {aggcw();}
+ if (query=="*"){cw.location=top.topurl+action+"set.html";ltr="*";} else {aggcw();}
cw.focus();
}
}
while (fb.indexOf("[set]")>-1){
if (fb.indexOf("set")>0)
{
- fb=fb.replace("[set]","<A HREF="+top.topurl+"/getpage?url=set.html target=cw onclick=top.savelink("+top.storeps+",'s')>[?set"+top.storeps+"]</A>");
+ fb=fb.replace("[set]","<A HREF="+top.topurl+action+"set.html target=cw onclick=top.savelink("+top.storeps+",'s')>[?set"+top.storeps+"]</A>");
top.storeps++;
}
}
while (fb.indexOf("[val]")>-1){
if (fb.indexOf("val")>0)
{
- fb=fb.replace("[val]","<A HREF="+top.topurl+"/getpage?url=val.html target=cw onclick=top.savelink("+top.storepv+",'v')>[?val"+top.storepv+"]</A>");
+ fb=fb.replace("[val]","<A HREF="+top.topurl+action+"val.html target=cw onclick=top.savelink("+top.storepv+",'v')>[?val"+top.storepv+"]</A>");
top.storepv++;
}
}
while (fb.indexOf("[boole]")>-1){
if (fb.indexOf("boole")>0)
{
- fb=fb.replace("[boole]","<A HREF="+top.topurl+"/getpage?url=boole.html target=cw onclick=top.savelink("+top.storepb+",'b')>[?bol"+top.storepb+"]</A>");
+ fb=fb.replace("[boole]","<A HREF="+top.topurl+action+"boole.html target=cw onclick=top.savelink("+top.storepb+",'b')>[?bol"+top.storepb+"]</A>");
top.storepb++;
}
}
}
function aggq() // aggiorna la query sostituendo l' ultimo link editato con la stringa inserita, poi aggiorna tutti i frame.
{
- //window.open(top.topurl+"/getpage?url=summary.html","cw");
+ //window.open(top.topurl+action+"summary.html","cw");
qw.document.close();
fb=stadd;
nst=ltr.substring(5,(ltr.length-1));// alert(nst+" "+ltr);
- query=query.replace("<A HREF="+top.topurl+"/getpage?url=set.html target=cw onclick=top.savelink("+nst+",'s')>"+ltr+"</A>",ltr);
- query=query.replace("<A HREF="+top.topurl+"/getpage?url=val.html target=cw onclick=top.savelink("+nst+",'v')>"+ltr+"</A>",ltr);
- query=query.replace("<A HREF="+top.topurl+"/getpage?url=boole.html target=cw onclick=top.savelink("+nst+",'b')>"+ltr+"</A>",ltr);
+ query=query.replace("<A HREF="+top.topurl+action+"set.html target=cw onclick=top.savelink("+nst+",'s')>"+ltr+"</A>",ltr);
+ query=query.replace("<A HREF="+top.topurl+action+"val.html target=cw onclick=top.savelink("+nst+",'v')>"+ltr+"</A>",ltr);
+ query=query.replace("<A HREF="+top.topurl+action+"boole.html target=cw onclick=top.savelink("+nst+",'b')>"+ltr+"</A>",ltr);
parse();
query=query.replace(ltr,fb);
actinput++;storia[actinput]=query;numeroazioniannullate=0;//alert (actinput+" "+storia.length);
aggcw();
cw.focus();
}
- var topurl=document.location.protocol+'//'+document.location.host;
+var topurl=document.location.protocol+'//'+document.location.host;
+//var topurl="";
+var action="/getpage?url=";
+//var action="";
</SCRIPT>
</HEAD>
<script>
- document.write(' <FRAMESET ROWS="69%,31%"> <FRAMESET COLS="40%,60%"> <FRAMESET ROWS="46%,54%"> <FRAME NAME="qw" SRC="'+topurl+'/getpage?url=start.html"> <FRAME NAME="sw" SRC="'+topurl+'/getpage?url=blank.html"> </FRAMESET> <FRAME NAME="cw" SRC="'+topurl+'/getpage?url=blank.html"> </FRAMESET> <FRAMESET COLS="49%,51%"> <FRAME NAME="gw" SRC="'+topurl+'/getpage?url=blank.html" onFocus="help(-1)";> <FRAME NAME="hw" SRC="'+topurl+'/getpage?url=blank.html"> </FRAMESET> </FRAMESET>');
+ document.write(' <FRAMESET ROWS="69%,31%"> <FRAMESET COLS="40%,60%"> <FRAMESET ROWS="46%,54%"> <FRAME NAME="qw" SRC="'+topurl+action+'start.html"> <FRAME NAME="sw" SRC="'+topurl+action+'blank.html"> </FRAMESET> <FRAME NAME="cw" SRC="'+topurl+action+'blank.html"> </FRAMESET> <FRAMESET COLS="49%,51%"> <FRAME NAME="gw" SRC="'+topurl+action+'blank.html" onFocus="help(-1)";> <FRAME NAME="hw" SRC="'+topurl+action+'blank.html"> </FRAMESET> </FRAMESET>');
</script>
</HTML>
function invia()
{
top.window.open(top.topurl+"/locate?id="+document.locate.oggetto.value,"bw");
- //top.window.open(top.topurl+"/getpage?url=blank.html","bw");
+ //top.window.open(top.topurl+top.action+"blank.html","bw");
}
</SCRIPT>
</HEAD>
function armageddon()
{
top.initialize();
- top.window.open(top.topurl+"/getpage?url=start.html","qw");
- top.window.open(top.topurl+"/getpage?url=blank.html","cw");
- top.window.open(top.topurl+"/getpage?url=blank.html","hw");
- top.window.open(top.topurl+"/getpage?url=blank.html","gw");
- top.window.open(top.topurl+"/getpage?url=blank.html","sw");
- }
-function idcheck(ident)
- {
- lettera=/[a-zA-Z]/;
- partediid=/[a-zA-Z0-9_\-\']/;
- if (!lettera.test(ident.charAt(0))){alert("an Id must begin with a letter.");return(0)}
- while (ident.length>0)
- {
- ident=ident.substring(1,(ident.length));
- if (ident.length>0){
- if (!partediid.test(ident.charAt(0))){alert(ident.charAt(0)+" is not a valid character for an Id.");return(0);}
- }}
- return(1)
- }
-function uricheck(ident)
- {
- cifra=/[0-9]/
- cic=ident.substring(0,5);//alert(cic);
- if (cic!="cic:/"){alert("an Uri must begin with the string 'cic:/'");return(0);}
- ident=ident.substring(5,ident.length);//alert(ident);
- if (ident.indexOf(".")<0){alert("an Uri must contain a '.'");return(0);}
- ident1=ident.substring(0,ident.indexOf("."));//alert(ident1);
- ident2=ident.substring(ident.indexOf(".")+1,ident.length);//alert(ident2);
- while (ident1.length>0)
- {
- if (ident1.indexOf("/")>-1)
- {
- if (idcheck(ident1.substring(0,ident1.indexOf("/")))==0){return (0)}
- ident1=ident1.substring(ident1.indexOf("/")+1,ident1.length);//alert(ident1);
- }
- else {if (idcheck(ident1)==0){return (0)}
- ident1="";}
- }
- if (ident2=="con"||ident2=="var"){return(1)}
- if (ident2.substring(0,6)!="ind#1/"){alert ("syntax error in the Uri.");return(0);}
- ident2=ident2.substring(6,ident2.length);//alert(ident2);
- if (!cifra.test(ident2.charAt(0))){alert ("syntax error in the Uri.");return(0);}
- if (ident2.indexOf("/")>-1)
- {
- while (ident2.charAt(0)!="/")
- {
- //alert(ident2);
- if (!cifra.test(ident2.charAt(0))){alert ("syntax error in the Uri.");return(0);}
- ident2=ident2.substring(1,ident2.length);
- }
- }
- while (ident2.length>0)
- {
- //alert(ident2);
- ident2=ident2.substring(1,ident2.length);
- if (ident2.length>0){
- if (!cifra.test(ident2.charAt(0))){alert ("syntax error in the Uri.");return(0);}
- }}
-
- return(1)
+ top.window.open(top.topurl+top.action+"start.html","qw");
+ top.window.open(top.topurl+top.action+"blank.html","cw");
+ top.window.open(top.topurl+top.action+"blank.html","hw");
+ top.window.open(top.topurl+top.action+"blank.html","gw");
+ top.window.open(top.topurl+top.action+"blank.html","sw");
}
function aggiorna()
{
- window.open(top.topurl+"/getpage?url=aliaslist.html","bw");
+ window.open(top.topurl+top.action+"aliaslist.html","bw");
top.cw.bw.document.aliaslist.idi.focus();
}
function aggiorna2()
{
- window.open(top.topurl+"/getpage?url=expnamedsubst.html","bw");
+ window.open(top.topurl+top.action+"expnamedsubst.html","bw");
bw.document.aliaslist.varid.focus();
}
function parse()
top.qw.document.write(mcq);
if (mcq.charAt(mcq.indexOf("[")+1)=="A")
{
- window.open(top.topurl+"/getpage?url=aliaslist.html","bw")
+ window.open(top.topurl+top.action+"aliaslist.html","bw")
}
if (mcq.charAt(mcq.indexOf("[")+1)=="E")
{
- window.open(top.topurl+"/getpage?url=expr.html","bw")
+ window.open(top.topurl+top.action+"expr.html","bw")
}
if (mcq.charAt(mcq.indexOf("[")+1)=="G")
{
- window.open(top.topurl+"/getpage?url=genid.html","bw")
+ window.open(top.topurl+top.action+"genid.html","bw")
}
if (mcq.charAt(mcq.indexOf("[")+1)=="e")
{
- window.open(top.topurl+"/getpage?url=expnamedsubst.html","bw")
+ window.open(top.topurl+top.action+"expnamedsubst.html","bw")
}
}
else
mcq=mcq.replace(">",">");
}
top.window.sw.editexpr(mcq);
- window.open(top.topurl+"/getpage?url=blank.html","bw");
- window.open(top.topurl+"/getpage?url=blank.html","qw");
+ window.open(top.topurl+top.action+"blank.html","bw");
+ window.open(top.topurl+top.action+"blank.html","qw");
}
}
function aggq()
</SCRIPT>
</HEAD>
<script>
- document.write(' <frameset rows="24%,76%" border="0" noresize> <frame name=tw src="'+top.topurl+'/getpage?url=query_choice.html";> <frame name=bw src="'+top.topurl+'/getpage?url=blank.html";> </frameset> ');
+ document.write(' <frameset rows="24%,76%" border="0" noresize> <frame name=tw src="'+top.topurl+top.action+'query_choice.html";> <frame name=bw src="'+top.topurl+top.action+'blank.html";> </frameset> ');
</script>
</HTML>
function armageddon()
{
top.initialize();
- top.window.open(top.topurl+"/getpage?url=start.html","qw");
- top.window.open(top.topurl+"/getpage?url=blank.html","cw");
- top.window.open(top.topurl+"/getpage?url=blank.html","hw");
- top.window.open(top.topurl+"/getpage?url=blank.html","gw");
- top.window.open(top.topurl+"/getpage?url=blank.html","sw");
+ top.window.open(top.topurl+top.action+"start.html","qw");
+ top.window.open(top.topurl+top.action+"blank.html","cw");
+ top.window.open(top.topurl+top.action+"blank.html","hw");
+ top.window.open(top.topurl+top.action+"blank.html","gw");
+ top.window.open(top.topurl+top.action+"blank.html","sw");
}
</SCRIPT>
</HEAD>
<BODY>
<form>
<table><tr><td>
- <input type=radio name="qc" onFocus="top.cw.bw.location=top.topurl+'/getpage?url=loc_obj.html';top.qw.location=top.topurl+'/getpage?url=blank.html';top.sw.location=top.topurl+'/getpage?url=blank.html';top.gw.location=top.topurl+'/getpage?url=blank.html';parent.toq=1;this.blur();"> Locate Object<br>
- <input type=radio name="qc" onFocus="top.cw.bw.location=top.topurl+'/getpage?url=mat_con.html';top.qw.location=top.topurl+'/getpage?url=blank.html';top.sw.location=top.topurl+'/getpage?url=editorpdq.html';parent.toq=2;this.blur();"> Match Conclusion<br>
- <input type=radio name="qc" onFocus="top.cw.bw.location=top.topurl+'/getpage?url=mat_con.html';top.qw.location=top.topurl+'/getpage?url=blank.html';top.sw.location=top.topurl+'/getpage?url=editorpdq.html';parent.toq=3;this.blur();"> Search Pattern
+ <input type=radio name="qc" onFocus="top.cw.bw.location=top.topurl+top.action+'loc_obj.html';top.qw.location=top.topurl+top.action+'blank.html';top.sw.location=top.topurl+top.action+'blank.html';top.gw.location=top.topurl+top.action+'blank.html';parent.toq=1;this.blur();"> Locate Object<br>
+ <input type=radio name="qc" onFocus="top.cw.bw.location=top.topurl+top.action+'mat_con.html';top.qw.location=top.topurl+top.action+'blank.html';top.sw.location=top.topurl+top.action+'editorpdq.html';parent.toq=2;this.blur();"> Match Conclusion<br>
+ <input type=radio name="qc" onFocus="top.cw.bw.location=top.topurl+top.action+'mat_con.html';top.qw.location=top.topurl+top.action+'blank.html';top.sw.location=top.topurl+top.action+'editorpdq.html';parent.toq=3;this.blur();"> Search Pattern
</td>
</tr></table>
</form>
<SCRIPT language="Javascript">
if (top.ricordaliaslist==1)
{
- window.open(top.topurl+"/getpage?url=expr.html","bw");parent.mcq="<font color=\"#ff0000\">[Expr]</font>";
+ window.open(top.topurl+top.action+"expr.html","bw");parent.mcq="<font color=\"#ff0000\">[Expr]</font>";
top.qw.document.close();top.qw.document.write("<font color=\"#ff0000\">[Expr]</font>");
}
</script>
</HEAD>
<BODY>
<center>
- <input type=button value="Compose a query" onClick="top.cw.location=top.topurl+'/getpage?url=set.html';top.gw.location=top.topurl+'/getpage?url=grammar.html#set';top.sw.location=top.topurl+'/getpage?url=editor.html';top.qw.location=top.topurl+'/getpage?url=blank.html';top.initialize();">
+ <input type=button value="Compose a query" onClick="top.cw.location=top.topurl+top.action+'set.html';top.gw.location=top.topurl+top.action+'grammar.html#set';top.sw.location=top.topurl+top.action+'editor.html';top.qw.location=top.topurl+top.action+'blank.html';top.initialize();">
<br><br>
-<input type=button value="Submit a pre-defined query" onClick="top.cw.location=top.topurl+'/getpage?url=pdq.html';top.gw.location=top.topurl+'/getpage?url=blank.html';top.sw.location=top.topurl+'/getpage?url=blank.html';top.qw.location=top.topurl+'/getpage?url=blank.html';top.initialize();">
+<input type=button value="Submit a pre-defined query" onClick="top.cw.location=top.topurl+top.action+'pdq.html';top.gw.location=top.topurl+top.action+'blank.html';top.sw.location=top.topurl+top.action+'blank.html';top.qw.location=top.topurl+top.action+'blank.html';top.initialize();">
</center>
</BODY>
</HTML>
function armageddon()
{
top.initialize();
- top.window.open(top.topurl+"/getpage?url=start.html","qw");
- top.window.open(top.topurl+"/getpage?url=blank.html","cw");
- top.window.open(top.topurl+"/getpage?url=blank.html","hw");
- top.window.open(top.topurl+"/getpage?url=blank.html","gw");
- top.window.open(top.topurl+"/getpage?url=blank.html","sw");
+ top.window.open(top.topurl+top.action+"start.html","qw");
+ top.window.open(top.topurl+top.action+"blank.html","cw");
+ top.window.open(top.topurl+top.action+"blank.html","hw");
+ top.window.open(top.topurl+top.action+"blank.html","gw");
+ top.window.open(top.topurl+top.action+"blank.html","sw");
}
function resetta()
{
function armageddon()
{
top.initialize();
- top.window.open(top.topurl+"/getpage?url=start.html","qw");
- top.window.open(top.topurl+"/getpage?url=blank.html","cw");
- top.window.open(top.topurl+"/getpage?url=blank.html","hw");
- top.window.open(top.topurl+"/getpage?url=blank.html","gw");
- top.window.open(top.topurl+"/getpage?url=blank.html","sw");
+ top.window.open(top.topurl+top.action+"start.html","qw");
+ top.window.open(top.topurl+top.action+"blank.html","cw");
+ top.window.open(top.topurl+top.action+"blank.html","hw");
+ top.window.open(top.topurl+top.action+"blank.html","gw");
+ top.window.open(top.topurl+top.action+"blank.html","sw");
}
function resetta()
{
for (i=0; i<aliases.length; i++) {
top.aliasglob[i] = aliases[i];
}
- top.window.open(top.topurl+"/getpage?url=editorpdq.html", "sw");
+ top.window.open(top.topurl+top.action+"editorpdq.html", "sw");
</script>
</head>
<body>