function returnObjById(id){if(document.getElementById){var _1=document.getElementById(id);}else{if(document.all){var _1=document.all[id];}else{if(document.layers){var _1=document.layers[id];}}}return _1;};function spref(){returnObjById("ref").value=mylib_search.user;};raw_css="#hcSearchWidget-3rdParty{font:11px tahoma,arial,helvetica,sans-serif bold /24px;background:url(http://hotchalk-search-widget.s3.amazonaws.com/images/search-back.jpg) no-repeat;height:105px;width:203px;padding:6px;color:#009;text-align:center}#hcSearchWidget-3rdParty,#hcSearchWidget-3rdParty #search_box_home,#hcSearchWidget-3rdParty .search_query{float:left}#hcSearchWidget-3rdParty #displayBack{background:url(http://hotchalk-search-widget.s3.amazonaws.com/images/search_field_home.gif);margin:2px 0 0;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;width:200px}#hcSearchWidget-3rdParty #displayBack,#hcSearchWidget-3rdParty form,#hcSearchWidget-3rdParty .search_query{height:30px}#hcSearchWidget-3rdParty #displayBack,#hcSearchWidget-3rdParty form{padding:0}#hcSearchWidget-3rdParty form,#hcSearchWidget-3rdParty .search_query{margin:0}#hcSearchWidget-3rdParty #search_box_home{background:url(http://hotchalk-search-widget.s3.amazonaws.com/images/search_field_home.gif) no-repeat;margin:6px auto auto;width:198px;height:22px}#hcSearchWidget-3rdParty .search_query{padding:6px 0 0 9px;width:152px;font-size:12px;background:none;border-top-width:0;border-right-width:0;border-bottom-width:0;border-left-width:0}#hcSearchWidget-3rdParty #search_button_home{float:right}";document.write(unescape("<style type='text/css' media='screen'>"+raw_css+"</style>"));document.write(unescape("<div id='hcSearchWidget-3rdParty'>"));document.write(unescape("<img src='http://hotchalk-search-widget.s3.amazonaws.com/images/searchlabel.gif' alt='Search Free K-12 Content' width='198' height='28' hspace='3' vspace='3' />"));document.write(unescape("<div id='displayBack'>"));document.write(unescape("<form action='http://lib.hotchalk.com/search/results' method='get' autocomplete='off' target='blank' onsubmit='spref()' />"));document.write(unescape("<input name='search_query' type='text' class='search_query' id='search_queryrch_query' onfocus='this.value=\"\"' value='Enter Search Term...' size='25' autocomplete='off' />"));document.write(unescape("<input id='new_flag' name='new_flag' value='1' type='hidden' />"));document.write(unescape("<input id='filtered' name='filtered' value='true' type='hidden' />"));document.write(unescape("<input id='is_free'  name='is_free' value='1' type='hidden' />"));document.write(unescape("<input id='ref'      name='ref'  type='hidden' />"));document.write(unescape("<input id='search_button_home' src='http://hotchalk-search-widget.s3.amazonaws.com/images/search_button_home.gif' border='0' type='image' width='30' height='30'/>"));document.write(unescape("</form></div>"));document.write(unescape("<div style='float:left;width: 200px; text-align: right;font:9px tahoma,arial,helvetica,sans-serif bold;margin-top: 5px;'><a href='http://www.hotchalk.com/searchwidget.htm' style='color: black;' target='_blank'>get the widget</a></div>"));document.write(unescape("</div>"));document.write(unescape("<div style='clear:both;height: 1px; margin-bottom: -30px;'>&nbsp;</div>"));