﻿var show_bar="";
var _x,_y;
_x=document.body.offsetWidth;
if(_x-1000>0)
    _x=(_x-1000)/2+550;
else
    _x=1000; 
show_bar+=' <div style="position:absolute; height:28px; background-attachment: fixed; background: url(/hxnews/images/set1.gif); width: 448px; top: 0px; left:'+_x+'px;z-index:10; font-size:14px; padding-top:3px;">';
show_bar+='    <div style="float:left; margin-left:105px;z-index:11; ">';
show_bar+='        <select name="_class" style="border:1px solid #333333;">';
show_bar+='            <option value="">请选择报纸类型</option>';
show_bar+='            <option value="yc">烟草版</option>';
show_bar+='            <option value="yy">烟叶版</option>';
show_bar+='        </select>';
show_bar+='    </div>';
show_bar+='    <div style="float:left; margin-left:5px;z-index:11; ">';
show_bar+='       <input type="text" name="_keyword" value="请输入关键字" style="border:1px solid #333333;" onclick="if(this.value==\'请输入关键字\')this.value=\'\'" />';
show_bar+='    </div>';
show_bar+='    <div style="float:right; margin-right:10px;z-index:11; ">';
show_bar+='        <img src="/hxnews/images/set2.gif" border="0" style="cursor:pointer;" onclick="location=\'/hxnews/Search.aspx?K=\'+document.all._keyword.value +\'&T=\'+document.all._class.value" />';
show_bar+='    </div>';
show_bar+='</div>';
document.write(show_bar);
