var CICURI="@CICURI@";
var naturalLanguage="@naturalLanguage@";
var annotations="@annotations@";
-var topurl="@topurl@";
+var interface_topurl="@topurl@";
function ask_uwobo(url)
{
"¶m.CICURI=" + escape(CICURI) +
"¶m.naturalLanguage=" + escape(naturalLanguage) +
"¶m.annotations=" + escape(annotations) +
- "¶m.topurl=" + escape(topurl) +
+ "¶m.topurl=" + escape(interface_topurl) +
"&prop.method=html"));
}
function help(w) // quando invocata, visualizza l' help relativo ad un oggetto. Di solito รจ legata ad un evento onFocus o onMouseOver.
aggcw();
cw.focus();
}
-var topurl=document.location.protocol+'//'+document.location.host;
-//var topurl="";
+var re1 = /(.*)\?.*/;
+var re2 = /(.*)\/.*/;
+var topurl=document.location+"";
+topurl = topurl.replace(re1,"$1");
+topurl = topurl.replace(re2,"$1");
+//var topurl=document.location.protocol+'//'+document.location.host;
var action="/getpage?url=";
//var action="";