function setForm()
{
var sCookieText = '';
sCookieText += document.wfqsform.wf_field1.value + ":";
sCookieText += document.wfqsform.wf_term1.value + ":";
document.cookie = 'wf_search_structure=' + encodeURIComponent(sCookieText) + '; Path=/';
document.cookie = 'wf_selected_databases=' + document.wfqsform.Databases.value + '; Path=/';
}

document.write("<div class=\"wfqsdiv\">");
document.write("<form name=\"wfqsform\" action=\"http://wfxsearch.webfeat.org/wfsearch/search\" method=\"POST\">");
document.write("<input type=\"hidden\" name=\"Databases\" value=\"wf_edgardci,wf_ebscoxml_h3h,wf_wfx_polaris__CL_14,wf_ebscoxml_mih,wf_pubmed,wf_ebscoxml_lxh,wf_wikipedia,wf_ebscoxml_prh,wf_ift:contauthors,wf_thomasloc,wf_ebscoxml_ulh,wf_ebscoxml_trh_2,wf_ebscoxml_njh,wf_ebscoxml_buh,wf_facts_factsforlearning,wf_ebscoxml_bwh,wf_litfinder_new,wf_ebscoxml_funk,wf_wfx_horizon__CL_12,wf_ebsresctr,wf_ebscoxml_ani,wf_wfx_polaris__CL_13,wf_ebscoxml_cmh,wf_ebscoxml_hch,wf_biorefbank,wf_ebscoxml_khh,wf_ofr_all\" />");
document.write("<input type=\"hidden\" name=\"Client_ID\" value=\"10916\" />");
document.write("<input type=\"hidden\" name=\"Command\" value=\"Search\" />");
document.write("<input type=\"hidden\" name=\"noserial\" value=\"1\" />");
document.write("<input type=\"hidden\" name=\"wf_all_years\" value=\"yes\" />");
document.write("<input type=\"hidden\" name=\"wf_codeset\" value=\"utf-8\" />");
document.write("<input type=\"hidden\" name=\"useSessions\" value=\"1\" />");
document.write("<input type=\"hidden\" name=\"rtmpl\" value=\"wfx_ui2.jsp\" />");
document.write("<input type=\"hidden\" name=\"format\" value=\"JS\" />");
document.write("<input type=\"hidden\" name=\"locale\" value=\"en\" />");document.write("<input class=\"wfqsterm\" type=\"text\" name=\"wf_term1\" size=\"20\" value=\"\" />");
document.write("<select class=\"wfqsfieldselect\" name=\"wf_field1\" size=\"1\">");
document.write("<option class=\"wfqsfieldoption\" value=\"wf_keyword\">Keyword</option>");
document.write("<option class=\"wfqsfieldoption\" value=\"wf_title\">Title</option>");
document.write("<option class=\"wfqsfieldoption\" value=\"wf_author\">Author</option>");
document.write("<option class=\"wfqsfieldoption\" value=\"wf_subject\">Subject</option>");
document.write("</select>");
document.write("<input class=\"wfqsbtn\" type=\"submit\" value=\"Search Teacher Resources\" onclick=\"setForm();\" />");
document.write("</form>");
document.write("</div>");