document.writeln("<script type=\"text\/javascript\" >");
document.writeln("");
document.writeln("\/\/ JavaScript Documentvar tw = null;");
document.writeln("var tw = null;");
document.writeln("function twindow(tform)");
document.writeln("{	");
document.writeln("	if (! tw || tw.closed)");
document.writeln("	{");
document.writeln("  tw = window.open(\"\/Search-China-Tour\/cityname.htm\",\"tour\",\"menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=480,height=360\");");
document.writeln("	}else");
document.writeln("	{");
document.writeln("		tw.focus();");
document.writeln("	}");
document.writeln("}");
document.writeln("");
document.writeln("function checkd() ");
document.writeln("{");
document.writeln(" var la = document.tt.f.length;");
document.writeln("\/\/ var lb = document.tt.d2.length;");
document.writeln(" var ff =\"\";");
document.writeln("for(var ii=0;ii<la;ii++)");
document.writeln("{");
document.writeln("if(document.tt.f[ii].checked)ff=ff+document.tt.f[ii].value+\", \";");
document.writeln("}");
document.writeln("document.tt.TourCity.value=ff+document.tt.c.value;");
document.writeln("\/\/for(var i2=0;i2<lb;i2++)");
document.writeln("\/\/{");
document.writeln("\/\/if(document.tt.d2[i2].checked)ff=ff+document.tt.d2[i2].value+\", \";");
document.writeln("\/\/}");
document.writeln("document.tt.TourCity.value=ff+document.tt.c.value;");
document.writeln("");
document.writeln("}");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("<\/script>");
document.writeln("<table border=\"0\" width=\"100%\" bordercolorlight=\"#C0C0C0\" cellspacing=\"0\" cellpadding=\"0\" bordercolordark=\"#FFFFFF\" id=\"table2\">");
document.writeln("			<tr>");
document.writeln("			  <td style=\" font-size:12px;\">");
document.writeln("	<table width=\"92%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bordercolorlight=\"#C0C0C0\" bordercolordark=\"#FFFFFF\" id=\"table1\">");
document.writeln("	<form action=\/Search-China-Tour\/TourSearchResult2.Asp method=post name=form1>");
document.writeln("		<tr>");
document.writeln("			<td width=\"30%\" height=\"32\" align=\"left\">Tour Type:<\/td>");
document.writeln("			<td width=\"70%\">");
document.writeln("		<select size=\"1\" name=\"TourType\" style=\"width:95%\">");
document.writeln("        <option value=\"0\" selected=\"selected\"> - China Tours - <\/option>");
document.writeln("        <option value=\"Classical China Tours\">Classical China Tours<\/option>");
document.writeln("        <option value=\"Yangtze River Tours\">Yangtze River Tours<\/option>");
document.writeln("        <option value=\"Tibet Tours\">Tibet Tours<\/option>");
document.writeln("        <option value=\"Yunnan Tours\">Yunnan Tours<\/option>");
document.writeln("        <option value=\"Silk Road Tours\">Silk Road Tours<\/option>");
document.writeln("        <option value=\"Guizhou Tours\">Guizhou Tours<\/option>");
document.writeln("        <option value=\"China Heritage Tours\">China Heritage Tours<\/option>");
document.writeln("        <option value=\"China City Tours\">China City Tours<\/option>");
document.writeln("			<\/select><\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("			<td height=\"32\" align=\"left\">Duration:<\/td>");
document.writeln("			<td><select size=\"1\" name=\"TourDays\" style=\"width:95%\">");
document.writeln("        <option value=\"0\" > - Length of Tour - <\/option>");
document.writeln("        <option value=\"1\">1-4 days<\/option>");
document.writeln("        <option value=\"2\">5-9 days<\/option>");
document.writeln("        <option value=\"3\">10-14 days<\/option>");
document.writeln("        <option value=\"4\">15-19 days<\/option>");
document.writeln("        <option value=\"5\">20-24 days<\/option>");
document.writeln("        <option value=\"6\">More Than 24 days<\/option>");
document.writeln("			<\/select><\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("			<td height=\"32\" align=\"left\">Your Budget:<\/td>");
document.writeln("			<td >");
document.writeln("		<select size=\"1\" name=\"TourPrice\" style=\"width:95%\">");
document.writeln("        <option value=\"0\" selected=\"selected\">- Price Per Person -<\/option>");
document.writeln("        <option value=\"1\">US$500 Or less<\/option>");
document.writeln("        <option value=\"2\">US$500-1,000<\/option>");
document.writeln("        <option value=\"3\">US$1,000-1,500<\/option>");
document.writeln("        <option value=\"4\">US$1,500-2,000<\/option>");
document.writeln("        <option value=\"5\">US$2,000-3,000<\/option>");
document.writeln("        <option value=\"6\">More than US$3,000<\/option>");
document.writeln("		<\/select>		<\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("			<td align=\"left\">Visiting:<\/td>");
document.writeln("			<td >");
document.writeln("			<input type=\"checkbox\" name=\"TourCity2\" value=\"Beijing\" onClick=\"getcity();\">Beijing");
document.writeln("            <input type=\"checkbox\" name=\"TourCity4\" value=\"Guilin\" onClick=\"getcity();\">Guilin<br>");
document.writeln("            <input type=\"checkbox\" name=\"TourCity1\" value=\"Shanghai\" onClick=\"getcity();\">Shanghai");
document.writeln("			<input type=\"checkbox\" name=\"TourCity5\" value=\"Tibet\" onClick=\"getcity();\">Tibet <br>");
document.writeln("			<input type=\"checkbox\" name=\"TourCity3\" value=\"Xian\" onClick=\"getcity();\">Xian ");
document.writeln("			<input type=\"checkbox\" name=\"TourCity6\" value=\"Yangtze River\" onClick=\"getcity();\">Yangtze River<\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("			<td height=\"32\" align=\"center\">　<\/td>");
document.writeln("			<td><font color=\"#0000FF\">&gt;&gt; <a href=\"javascript:;\" onClick=\"twindow();\" rel=\"nofollow\">Select more cities<\/a><\/font><\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("			<td height=\"28\" colspan=\"2\ align=\"center\">");
document.writeln("		    <textarea rows=\"4\" name=\"TourCity\" id=\"dd\" style=\"width:97%\"><\/textarea><\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("			<td height=\"28\" colspan=\"2\">");
document.writeln("		<table style=\"display:none\" id=\"gjcx\">");
document.writeln("   		<tr>");
document.writeln("			<td height=\"28\" width=\"97\" align=\"center\">");
document.writeln("			Starting from:<\/td>");
document.writeln("			<td height=\"28\" width=\"97\">");
document.writeln("		<select size=\"1\" name=\"FromCity\">");
document.writeln("        <option value=\"0\" selected=\"selected\"> - Selecte - <\/option>");
document.writeln("        <option value=\"Beijing\">Beijing<\/option>");
document.writeln("        <option value=\"Guangzhou\">Guangzhou<\/option>");
document.writeln("        <option value=\"Hong Kong\">Hong Kong<\/option>");
document.writeln("        <option value=\"Kunming\">Kunming<\/option>");
document.writeln("        <option value=\"Shanghai\">Shanghai<\/option>");
document.writeln("        <option value=\"Xian\">Xian<\/option>");
document.writeln("			<\/select><\/td>");
document.writeln("		<\/tr>");
document.writeln("		");
document.writeln("		<tr>");
document.writeln("			<td height=\"28\" width=\"97\" align=\"center\">");
document.writeln("			Departing from:<\/td>");
document.writeln("			<td height=\"28\" width=\"97\">");
document.writeln("		<select size=\"1\" name=\"ToCity\">");
document.writeln("        <option value=\"0\"> - Selecte - <\/option>");
document.writeln("        <option value=\"Beijing\">Beijing<\/option>");
document.writeln("        <option value=\"Guangzhou\">Guangzhou<\/option>");
document.writeln("        <option value=\"Hong Kong\">Hong Kong<\/option>");
document.writeln("        <option value=\"Kunming\">Kunming<\/option>");
document.writeln("        <option value=\"Shanghai\">Shanghai<\/option>");
document.writeln("        <option value=\"Xian\">Xian<\/option>");
document.writeln("        <\/select><\/td>");
document.writeln("		<\/tr>");
document.writeln("		<\/table>");
document.writeln("		    <\/td>");
document.writeln("		<\/tr>");
document.writeln("		<tr>");
document.writeln("			<td height=\"32\" colspan=\"2\" align=\"center\">");
document.writeln("			  <input type=\"submit\" value=\"Search\" name=\"B1\">&nbsp;&nbsp;");
document.writeln("			<font color=\"#0000FF\"><a href=\"javascript:displayReviewContent(\'gjcx\');\">Advanced Search<\/a><\/font><\/td>");
document.writeln("		<\/tr>");
document.writeln("		<\/form> ");
document.writeln("	<\/table>");
document.writeln("			  <\/td>");
document.writeln("			<\/tr>");
document.writeln("<\/table>");
document.writeln("<script language=\"javascript\">");
document.writeln("function getcity()");
document.writeln("{ ");
document.writeln("  var sc;");
document.writeln("  sc=\"\";");
document.writeln("  if (document.form1.TourCity1.checked==true)");
document.writeln("     { sc+=document.form1.TourCity1.value+\',\';}");
document.writeln("  if (document.form1.TourCity2.checked==true)");
document.writeln("     { sc+=document.form1.TourCity2.value+\',\';}");
document.writeln("  if (document.form1.TourCity3.checked==true)");
document.writeln("     { sc+=document.form1.TourCity3.value+\',\';}");
document.writeln("  if (document.form1.TourCity4.checked==true)");
document.writeln("     { sc+=document.form1.TourCity4.value+\',\';}");
document.writeln("  if (document.form1.TourCity5.checked==true)");
document.writeln("     { sc+=document.form1.TourCity5.value+\',\';}");
document.writeln("  if (document.form1.TourCity6.checked==true)");
document.writeln("     { sc+=document.form1.TourCity6.value+\',\';}");
document.writeln("   document.form1.TourCity.value=sc;");
document.writeln("}");
document.writeln("function displayReviewContent(obj){ ");
document.writeln("  var ctrobj = document.getElementById(obj);");
document.writeln("   if(ctrobj.style.display==\'none\'){");
document.writeln("              ctrobj.style.display = \'block\';");
document.writeln("      }else{");
document.writeln("              ctrobj.style.display = \'none\';");
document.writeln("            document.form1.FromCity.value=\'0\';");
document.writeln("            document.form1.ToCity.value=\'0\';");
document.writeln("      }");
document.writeln("     }");
document.writeln("<\/script>");
document.writeln("")
