<script language="javascript">
function gosearch(){
document.frm.action= "http://m.sm.cn/s?";
document.frm.word.value = document.frm.search.value;
document.frm.method='get';
document.frm.submit();
return false;
}
</script>
<div align="center">
<a href="http://m.sm.cn/" target="_blank">
<img src="img/smsourch.jpg" alt="神马搜索" title="神马搜索,什么都知道" style="max-height: 80px;width:auto"/>
</a>
<form onsubmit="return gosearch()" name="frm" target="_blank">
<div class="input-group">
<input type="text" name="q" class="form-control" placeholder="Search" style="height: 40px">
<input type="hidden" value="smor" name="from"/>
<input type="hidden" value="1" name="safe"/>
<span class="input-group-btn">
<button class="btn" type="submit" style="height: 40px;background-color: gainsboro"><span class="glyphicon glyphicon-search"></span></button>
</span>
</div>
</form>
</div>