Get Word Definition FCGI

This cgi script takes in the information from the text input form. It then calls suites.netDictionary.lookup on that word. The html is then formatted and returned in a separate window. That's all there is to it.
on getWordDef (adrParams) {
local {
word = "Test";
client;
definition = "";
html = ""};
on build (word, definition) {
html = "<html>:<head>:\r<title>:Defintions of: "+word+"</title>:\r";
html = html + "</head>:<body bgcolor=\"#FFFFCC\">:\r";
html = html + "<h3>:Definitions of: "+word+"</h3>:\r";
html = html + "<blockquote>:\r"+definition+"\r<p>:<hr>:\r";
html = html + "Thanks to <a href=\"http://www.cogsci.princeton.";
html = html + "edu/cgi-bin/webwn\" target=\"_new\">:WordNet</a>:";
html = html + " for this service\r</blockquote>:\r</body>:</html>:"};
if defined (adrParams^.pathArgs) {
word = string.nthField (adrParams^.pathArgs, "=", 2)};
definition = suites.netDictionary.lookup(word);
build (word, definition);
return (html)}
<-- The Definition Search Function | Modified suites.netDictionary -->