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_nlm_ncbi,wf_medlineplus,wf_fedstats,wf_ncbibook,wf_muse,wf_loc,wf_arxiv_cs,wf_mathworld,wf_unbisnet,wf_pubmed_xml,wf_doecit,wf_wfx_innopac__CL_1,wf_dartmouthcat,wf_mipt,wf_intute_science_all,wf_firstgov,wf_graylit,wf_thomasloc,wf_americanmemory_images,wf_nypl_picture,wf_ebscoxml_bwh,wf_uspto_issued,wf_nasaads,wf_nationalsecarch,wf_opendoar,wf_agricola_index,wf_census_factfinder,wf_ebscoxml_nfh,wf_atsdr,wf_webart,wf_scirus,wf_nsdl,wf_catusgovp,wf_toxnet,wf_newscong,wf_arxiv_all,wf_stenphil,wf_ebscoxml_8gh,wf_repec,wf_cul_histmath,wf_espacenet,wf_unstatdb\" />");
document.write("<input type=\"hidden\" name=\"Client_ID\" value=\"12756\" />");
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=\"wf_field1\" value=\"wf_keyword\" />");
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("<input class=\"wfqsbtn\" type=\"submit\" value=\"Search\" onclick=\"setForm();\" />");
document.write("</form>");
document.write("</div>");