return document.UNICODEvsSYMBOL.radioUNICODEvsSYMBOL[1].value;
}
+function chopSlash(url)
+{
+ return url.slice(0,url.lastIndexOf('/'));
+}
+
function refreshLinks()
{
var search = top.location.search;
"?processorURL=" + getUwoboURL() +
"&getterURL=" + getGetterURL();
- document.links[4].href = "../html/library/index.html?cicuri=" + cicuri
- + "&theoryuri=" + theoryuri
- + "&mode=" + mode
- + "&processorURL=" + getUwoboURL()
- + "&getterURL=" + getGetterURL()
- + "&UNICODEvsSYMBOL=" + getUNICODEvsSYMBOL();
+ var topurl =
+ chopSlash(chopSlash(
+ document.location.protocol + '//' +
+ document.location.host +
+ document.location.pathname));
+ document.links[4].href =
+ getUwoboURL() + "apply" +
+ "?keys=RT" +
+ "¶m.topurl=" + topurl +
+ "&xmluri=" +
+ escape(
+ topurl + "/html/library/index.html" +
+ "?cicuri=" + cicuri +
+ "&theoryuri=" + theoryuri +
+ "&mode=" + mode +
+ "&processorURL=" + getUwoboURL() +
+ "&getterURL=" + getGetterURL() +
+ "&UNICODEvsSYMBOL=" + getUNICODEvsSYMBOL()
+ );
}
function selectUwoboURL(ss)