User:Connel MacKenzie/catlan.js

function stuffandsubmit { var frm = PromptWin.document.getElementsByTagName('form')[0]; frm.txtWord.value = wgPageName; frm.submit; }

function catlanLookup { PromptWin = window.open("about:blank", "PromptWin", "width=800,height=320,dependent=yes,location=yes,menubar=yes,resizable=yes,status=yes,toolbar=yes"); PromptWin.document.open; PromptWin.document.write(" "); PromptWin.document.write(""); PromptWin.document.write(""); PromptWin.document.write(""); PromptWin.document.write("  "); PromptWin.document.close; setTimeout('stuffandsubmit', 5000); }

catlanLookup;