var mactest=navigator.userAgent.indexOf("Safari")!=-1
if (mactest)
document.write('<div id="srch_safari"><input id="srch_safari_field" name="tx_indexedsearch[sword]" type="search" /></div>')
else {
document.write('<div id="srch_submit"><input name="tx_indexedsearch[submit_button]" type="image" src="/fileadmin/images/search_submit.gif" size="17,16" /></div>')
document.write('<div id="srch_keyword"><input id="srch_keyword_field" name="tx_indexedsearch[sword]" type="text" /></div>')
document.write('<div id="srch_reset"><a onclick="document.searchform.reset();return false;" href="#"><img src="/fileadmin/images/search_reset.gif" height="16" width="18" alt="" /></a></div>')
}