document.writeln("<TABLE height=50 cellSpacing=0 cellPadding=0 border=0>");
document.writeln("  <TBODY>");
document.writeln("    <TR> ");
document.writeln("<form name=\"esfsearchform\">");
document.writeln("        <TD>出售房： ");
document.writeln("          <SELECT id=\"city\" name=\"city\">");
for (i=0;i<cityStr.length;i++){
	document.writeln("<option value=\""+i+"\">"+cityStr[i]+"<\/option>");
}
document.writeln("          <\/SELECT> <SELECT id=qy name=qy>");
for (i=0;i<QyStr.length;i++){
	document.writeln("<option value=\""+i+"\">"+QyStr[i]+"<\/option>");
}
document.writeln("          <\/SELECT>");
document.writeln("          <SELECT name=hx style=\"width:80px;\">");
for (i=0;i<HxStr.length;i++){
	document.writeln("<option value=\""+i+"\">"+HxStr[i]+"<\/option>");
}
document.writeln("          <\/SELECT>");
document.writeln("<span id=\"pb\"><select style=\"width:80px;\" id=pay name=pay>");
for (i=0;i<payStr.length;i++){
	document.writeln("<option value=\""+i+"\">"+payStr[i]+"<\/option>");
}
document.writeln("<\/select></span>");
document.writeln("          <INPUT name=Keyword class=housesearchinput id=Keyword title=请输入物业地址、名称 size=\"20\" maxLength=30>");
document.writeln("<img style=\"cursor:hand;\" src=\"\/image\/index_9.gif\" border=0 onclick=\"Soo(esfsearchform,3);\">");
document.writeln("        <\/TD>");
document.writeln("      <\/FORM>");
document.writeln("    <\/TR>");
document.writeln("    <TR> ");
document.writeln("      <FORM name=\"esfsearchr\">");
document.writeln("        <TD>出租房： ");
document.writeln("         <SELECT id=\"city\" name=\"city\">");
for (i=0;i<cityStr.length;i++){
	document.writeln("<option value=\""+i+"\">"+cityStr[i]+"<\/option>");
}
document.writeln("          <\/SELECT>");
document.writeln("          <SELECT id=qy name=qy>");
for (i=0;i<QyStr.length;i++){
	document.writeln("<option value=\""+i+"\">"+QyStr[i]+"<\/option>");
}
document.writeln("          <\/SELECT> <STRONG> ");
document.writeln("          <SELECT name=hx style=\"width:80px;\">");
for (i=0;i<HxStr.length;i++){
	document.writeln("<option value=\""+i+"\">"+HxStr[i]+"<\/option>");
}
document.writeln("          <\/SELECT>");
document.writeln("          <\/STRONG><STRONG> ");
document.writeln("          <SELECT style=\"width:80px;\" id=pay name=pay>");
 for (i=0;i<rentPayStr.length;i++){
	document.writeln("<option value=\""+i+"\">"+rentPayStr[i]+"<\/option>");
}

document.writeln("          <\/SELECT>");
document.writeln("          <INPUT name=Keyword class=housesearchinput id=Keyword title=请输入关键字 size=\"20\" maxLength=30>");
document.writeln("          <\/STRONG><img style=\"cursor:hand;\" src=\"\/image\/index_9.gif\" border=0 onclick=\"Soo(esfsearchr,1);\"> ");
document.writeln("        <\/TD>");
document.writeln("      <\/FORM>");
document.writeln("    <\/TR>");
document.writeln("  <\/TBODY>");
document.writeln("<\/TABLE>");
function Soo(obj,t){
	var _fr=obj;
		var kwd;
		if (_fr.Keyword.value==""){
			kwd=0
		}else kwd=encodeURIComponent(_fr.Keyword.value);
		window.open("http://fc.0566fc.com/2s/search.html?"+t+",2,0,"+_fr.city.value+","+_fr.qy.value+","+_fr.hx.value+","+_fr.pay.value+",0,"+kwd+",----------------------------------------1,30");
}