+$(document).ready(function() {
+ $("#mkwsSwitch").html($("<a/>", { href: '#',
+ onclick: "switchView(\'records\')",
+ text: "Record Browser",
+ }));
+ $("#mkwsSwitch").append($("<span/>", { text: " | " }));
+ $("#mkwsSwitch").append($("<a/>", { href: '#',
+ onclick: "switchView(\'targets\')",
+ text: "Target Info",
+ }));
+
+ // For some reason, doing this programmatically results in
+ // document.search.query being undefined, hence the raw HTML.
+ $("#mkwsSearch").html('\
+ <form id="searchForm" name="search">\
+ <input id="query" type="text" size="50" />\
+ <input id="button" type="submit" value="Search" />\
+ </form>');
+
+ $("#mkwsTargets").html('\
+ <div id="bytarget">\
+ No information available yet.\
+ </div>');
+ $("#mkwsTargets").css("display", "none");
+