document.writeln("<div class=\"main1\">");
document.writeln("        <script type=\"text\/javascript\">");
document.writeln("        function setBrand() {");
document.writeln("            var aj2 = new ajax();");
document.writeln("            aj2.url = \"admin\/tab\/brand_class.php\";");
document.writeln("            aj2.method = \"get\";");
document.writeln("            aj2.responsetype = \"text\";");
document.writeln("            var brand = document.getElementById(\"brand\");");
document.writeln("            var brand_l = \"<select class=\\\"select\\\" name=\\\"p_brand\\\">\";");
document.writeln("            var brand_r = \"<\/select>\";");
document.writeln("            aj2.exe(function(str) {");
document.writeln("                brand.innerHTML = brand_l + str + brand_r;");
document.writeln("            })");
document.writeln("        }");
document.writeln("function search_submit(){");
document.writeln("             var form=document.form_s;");
document.writeln("             var pc=form.p_class.value;");
document.writeln("             var pb=form.p_brand.value;");
document.writeln("             var ps=form.p_search.value;");
document.writeln("             var vvv=\"product.php?pc=\"+pc+\"&pb=\"+pb+\"&ps=\"+ps;");
document.writeln("            location.href=vvv;");
document.writeln("        }");
document.writeln("    <\/script>");
document.writeln("        <img style=\"float:left;\" src=\"img\/search_left.jpg\" alt=\"\">");
document.writeln("        <form name=\"form_s\" action=\"#\" method=\"get\">");
document.writeln("            <table height=\"34\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("                <tr>");
document.writeln("                    <td><img src=\"img\/serch_oo.jpg\"\/><\/td>");
document.writeln("                    <td><span>产品搜索：<\/span><\/td>");
document.writeln("                    <td><input class=\"product\" name=\"p_search\" type=\"text\"\/><\/td>");
document.writeln("                    <td>&nbsp;<span>类 别：<\/span><\/td>");
document.writeln("                    <td>");
document.writeln("                        <SELECT style=\"WIDTH: 150px\" name=\"p_class\">");
document.writeln("                            <OPTION value=\"0\">所有栏目<\/OPTION>");
document.writeln("                            <OPTION value=\"102\">金属切削机床<\/OPTION>");
document.writeln("                            <OPTION value=\"102102\">　├ 车床<\/OPTION>");
document.writeln("                            <OPTION value=\"102103\">　├ 钻床<\/OPTION>");
document.writeln("                            <OPTION value=\"102104\">　├ 镗床<\/OPTION>");
document.writeln("                            <OPTION value=\"102105\">　├ 磨床<\/OPTION>");
document.writeln("                            <OPTION value=\"102114\">　├ 铣床<\/OPTION>");
document.writeln("                            <OPTION value=\"102106\">　├ 齿轮加工机床<\/OPTION>");
document.writeln("                            <OPTION value=\"102107\">　├ 螺纹加工机床<\/OPTION>");
document.writeln("                            <OPTION value=\"102108\">　├ 刨床、插床<\/OPTION>");
document.writeln("                            <OPTION value=\"102109\">　├ 拉床<\/OPTION>");
document.writeln("                            <OPTION value=\"102110\">　├ 加工机床<\/OPTION>");
document.writeln("                            <OPTION value=\"102111\">　├ 锯床<\/OPTION>");
document.writeln("                            <OPTION value=\"102112\">　├ 线切割机<\/OPTION>");
document.writeln("                            <OPTION value=\"102113\">　└ 加工中心<\/OPTION>");
document.writeln("                            <OPTION value=\"103\">锻压机械<\/OPTION>");
document.writeln("                            <OPTION value=\"103102\">　├ 机械压力机<\/OPTION>");
document.writeln("                            <OPTION value=\"103103\">　├ 液压机<\/OPTION>");
document.writeln("                            <OPTION value=\"103104\">　├ 自动锻机<\/OPTION>");
document.writeln("                            <OPTION value=\"103105\">　├ 锤类<\/OPTION>");
document.writeln("                            <OPTION value=\"103106\">　├ 锻压机<\/OPTION>");
document.writeln("                            <OPTION value=\"103107\">　├ 剪切机<\/OPTION>");
document.writeln("                            <OPTION value=\"103108\">　├ 弯曲校正机<\/OPTION>");
document.writeln("                            <OPTION value=\"103109\">　└ 其他锻压机<\/OPTION>");
document.writeln("                            <OPTION value=\"106\">机床附件<\/OPTION>");
document.writeln("                            <OPTION value=\"106102\">　├ 分度头<\/OPTION>");
document.writeln("                            <OPTION value=\"106103\">　├ 工作台<\/OPTION>");
document.writeln("                            <OPTION value=\"106104\">　└ 卡盘<\/OPTION>");
document.writeln("                        <\/SELECT>");
document.writeln("                    <\/td>");
document.writeln("                    <td>&nbsp;<span>品 牌：<\/span><\/td>");
document.writeln("                    <td>");
document.writeln("                        <span class=\"texthui\" id=\"brand\">");
document.writeln("                        <select class=\"trademark\" name=\"p_brand\">");
document.writeln("                            <option value=\"0\">请选择<\/option>");
document.writeln("                            <option value=\"1\">沈阳机床<\/option>");
document.writeln("                            <option value=\"2\">大连机床<\/option>");
document.writeln("                        <\/select>");
document.writeln("                        <\/span>");
document.writeln("                        <script type=\"text\/javascript\">setBrand();<\/script>");
document.writeln("                    <\/td>");
document.writeln("                    <td>&nbsp;<input onclick=\"search_submit();\" class=\"_search\" type=\"button\" value=\"搜索\"\/><\/td>");
document.writeln("                <\/tr>");
document.writeln("            <\/table>");
document.writeln("        <\/form>");
document.writeln("        <img style=\"float:right;\" src=\"img\/search_right.jpg\" alt=\"\">");
document.writeln("    <\/div>");
