document.writeln(" <div id=\"top\"  style=\"background:url("+getRootPath()+"images/topbg.jpg) no-repeat; width:1003px\">");
document.writeln("        	<table width=\"990\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=\"left\">");
document.writeln("            	<tr>");
document.writeln("                	<td rowspan=\"2\" width=\"238\" align=\"center\" height=\"180\"><img src=\""+getRootPath()+"images/logo.jpg\" alt=\"恒丰房产\"/></td>");
document.writeln("                    <td height=\"120\" width=\"752\" valign=\"top\">");
document.writeln("                    	<table width=\"752\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("                        	<tr><td height=\"24\"></td></tr>");
document.writeln("                        	<tr>");
document.writeln("                            	<td align=\"left\" style=\"padding:0 0 0 20px;\">");
document.writeln("                                    <img src=\""+getRootPath()+"images/titlebtna1.gif\" id=\"pic1_1\" onclick=\"javascript:change1(1);\" style=\"margin-bottom:-2px;border:0;cursor:pointer;\" alt=\"找二手房\"/><img src=\""+getRootPath()+"images/titlebtnb1.gif\" id=\"pic1_2\" onclick=\"javascript:change1(1);\" style=\"margin-bottom:-2px;border:0;cursor:pointer;display:none;\" alt=\"找二手房\"/><img src=\""+getRootPath()+"images/titlebtna2.gif\" id=\"pic2_1\" onclick=\"javascript:change1(2);\" style=\"margin-bottom:-2px;border:0;cursor:pointer;display:none;\" alt=\"找租房\"/><img src=\""+getRootPath()+"images/titlebtnb2.gif\" id=\"pic2_2\" onclick=\"javascript:change1(2);\" style=\"margin-bottom:-2px;border:0;cursor:pointer;\" alt=\"找租房\"/><img src=\""+getRootPath()+"images/titlebtna3.gif\" id=\"pic3_1\" onclick=\"javascript:change1(3);\" style=\"margin-bottom:-2px;border:0;cursor:pointer;display:none;\" alt=\"找网络经纪人\"/><img src=\""+getRootPath()+"images/titlebtnb3.gif\" id=\"pic3_2\" onclick=\"javascript:change1(3);\" style=\"margin-bottom:-2px;border:0;cursor:pointer;\" alt=\"找网络经纪人\"/>");
document.writeln("                                </td>");
document.writeln("                            </tr>");
document.writeln("                            <tr>");
document.writeln("                            	<td>");
document.writeln("                                	<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("                                    	<tr >");
document.writeln("                                        	<td width=\"46\" height=\"42\" align=\"left\"><img src=\""+getRootPath()+"images/text1.jpg\" style=\"border:0;\" alt=\"\"/></td>");
document.writeln("                                        	<td width=\"504\" align=\"left\" style=\"background-image:url("+getRootPath()+"images/text2.jpg);padding-top:4px;border:0;\" >");
document.writeln("				                            <input type=\"text\" id=\"searchword\"  size=\"70\" style=\"border:0;color:#666; font-size:14px;height:18px;\" value=\">>请输入你要查找的关键字\" onblur=\"javascript:searchwordblur(this);\" onfocus=\"javascript:searchwordfocus(this);\" /></td>");
document.writeln("                                            <td align=\"left\"><img src=\""+getRootPath()+"images/text3_1.gif\" style=\"border:0;cursor:pointer;\" onclick=\"javascript:searchbtn(0)\" alt=\"搜索\" /><img src=\""+getRootPath()+"images/text3_2.gif\" style=\"border:0;cursor:pointer;\" onclick=\"javascript:searchbtn(1)\" alt=\"高级搜索\" /></td>");
document.writeln("                                    	</tr>");
document.writeln("                                    </table>");
document.writeln("                                </td>");
document.writeln("                            </tr>");
document.writeln("                            <tr>");
document.writeln("                            	<td height=\"38\" align=\"left\" style=\"display:none\"><select><option>区域不限</option></select>&nbsp;&nbsp;&nbsp;<select><option>类型不限</option></select>&nbsp;&nbsp;&nbsp;<select><option>性质不限</option></select>&nbsp;&nbsp;&nbsp;<select><option>价格不限</option></select>&nbsp;&nbsp;&nbsp;<select><option>面积不限</option></select>&nbsp;&nbsp;&nbsp;<select><option>楼层不限</option></select></td>");
document.writeln("                            </tr>");
document.writeln("                        </table>");
document.writeln("                  </td>");
document.writeln("                </tr>");
document.writeln("                <tr>");
document.writeln("                	<td height=\"60\" width=\"100%\" valign=\"top\" align=\"left\">");
document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=9,0,28,0\" width=\"760\" height=\"60\">");
document.writeln("              <param name=\"movie\" value=\""+getRootPath()+"images\/menu.swf\">");
document.writeln("              <param name=\"quality\" value=\"high\">");
document.writeln("              <param name=\"wmode\" value=\"transparent\">");
document.writeln("              <embed src=\""+getRootPath()+"images\/menu.swf\" quality=\"high\" pluginspage=\"http:\/\/www.adobe.com\/shockwave\/download\/download.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application\/x-shockwave-flash\" width=\"760\" height=\"60\" wmode=\"transparent\"><\/embed>");
document.writeln("            <\/object>")
document.writeln("                	</td>");
document.writeln("                </tr>");
document.writeln("            </table>");
document.writeln("</div>    ");


function getRootPath() 
{//得到站点的根路径 
    var pathName = window.location.pathname.substring(1);  
    var webName = pathName == '' ? '' : pathName.substring(0, pathName.indexOf('/'));  
    
    return window.location.protocol + '//' + window.location.host + '/';   //发布用
    //return window.location.protocol + '//' + window.location.host + '/'+ webName + '/';  //测试用
}  

(function() {
var mysrt = document.createElement('script'); mysrt.type = 'text/javascript'; mysrt.async = true;
mysrt.src = getRootPath()+"topjs.js";
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(mysrt, s);
})();

