
function fuzzySearch() {
	var a = $("#sear_type").val();
	var b = $("#mykeywords").val();
	if (b == $("#mykeywords").inputComment()) {
		return false;
	}
	var c = $("<form  target='_blank'></form>");
	$("body").append(c);
	if (a == "tradeFair") {
		c.attr("action", "/advSearch/listExhibition/1-1.html&tk=" + encodeURI(encodeURI(b)));
		c.trigger("submit");
	} else {
		if (a == "newTechnology") {
			c.attr("action", "/listView/newTech/1-1.html&ntt=" + encodeURI(encodeURI(b)));
			c.trigger("submit");
		} else {
			if (a == "patentManagement") {
				c.attr("action", "/advSearch/listPatent/1-1.html&pmt=" + encodeURI(encodeURI(b)));
				c.trigger("submit");
			} else {
				if (a == "questionAnswer") {
					c.attr("action", "/qustionAnswer/qList/1-1.html&qut=" + encodeURI(encodeURI(b)));
					c.trigger("submit");
				} else {
					if (a == "news") {
						c.attr("action", "/advSearch/newsAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
						c.trigger("submit");
					} else {
						if (a == "technologyRequire") {
							c.attr("action", "/advSearch/tecRequiredAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
							c.trigger("submit");
						} else {
							if (a == "outsourcing") {
								c.attr("action", "/advSearch/outSourceAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
								c.trigger("submit");
							} else {
								if (a == "corporation") {
									c.attr("action", "/advSearch/enterYpAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
									c.trigger("submit");
								} else {
									if (a == "apparatus") {
										c.attr("action", "/advSearch/eProductAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
										c.trigger("submit");
									} else {
										if (a == "product") {
											c.attr("action", "/advSearch/productAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
											c.trigger("submit");
										} else {
											if (a == "services") {
												c.attr("action", "/advSearch/serviceAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
												c.trigger("submit");
											} else {
												if (a == "standard") {
													c.attr("action", "/advSearch/standardAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
													c.trigger("submit");
												} else {
													if (a == "material") {
														c.attr("action", "/advSearch/materialAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
														c.trigger("submit");
													} else {
														if (a == "software") {
															c.attr("action", "/advSearch/softAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
															c.trigger("submit");
														} else {
															if (a == "equipment") {
																c.attr("action", "/advSearch/listEqui/1-1.html&et=" + encodeURI(encodeURI(b)));
																c.trigger("submit");
															} else {
																if (a == "article") {
																	c.attr("action", "/advSearch/articleAdvaSearch/1-1.html&keywords=" + encodeURI(encodeURI(b)));
																	c.trigger("submit");
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}
$(function () {
	$("#mykeywords").inputComment("请输入您感兴趣的名称");
});


