document.writeln("<SCRIPT language=javascript>");
document.writeln("<!--");
document.writeln("");
document.writeln("function CheckForm()");
document.writeln("{");
document.writeln("	if (document.formg.city.value > 11)");
document.writeln("		document.formg.action=\'http:\/\/www.xianjiaxiao.com\/carsearch\/SearchCity.asp\';");
document.writeln("	else");
document.writeln("		document.formg.action=\'http:\/\/www.xianjiaxiao.com\/carsearch\/index.asp\';");
document.writeln("	return true;");
document.writeln("}");
document.writeln("function openwindow(url,winName,width,height)");
document.writeln("{");
document.writeln("	xposition=0; yposition=0;");
document.writeln("	if ((parseInt(navigator.appVersion) >= 4))");
document.writeln("	{");
document.writeln("		xposition = (screen.width - width) \/ 2;");
document.writeln("		yposition = (screen.height - height) \/ 2;");
document.writeln("	}");
document.writeln("	theproperty= \"width=\" + width + \",\"");
document.writeln("	+ \"height=\" + height + \",\"");
document.writeln("	+ \"location=0,\"");
document.writeln("	+ \"menubar=0,\"");
document.writeln("	+ \"resizable=0,\"");
document.writeln("	+ \"scrollbars=0,\"");
document.writeln("	+ \"status=0,\"");
document.writeln("	+ \"titlebar=0,\"");
document.writeln("	+ \"toolbar=0,\"");
document.writeln("	+ \"hotkeys=0,\"");
document.writeln("	+ \"screenx=\" + xposition + \",\" \/\/仅适用于Netscape");
document.writeln("	+ \"screeny=\" + yposition + \",\" \/\/仅适用于Netscape");
document.writeln("	+ \"left=\" + xposition + \",\" \/\/IE");
document.writeln("	+ \"top=\" + yposition; \/\/IE");
document.writeln("	window.open( url,winName,theproperty );");
document.writeln("}");
document.writeln("\/\/-->");
document.writeln("<\/SCRIPT>")
