function getSign() {
	$
			.ajax( {
				url : "frontPage/getSixSign",
				type : "post",
				dataType : "json",
				success : function(json) {
					var index = 1;
					var ht = "";
					$
							.each(
									json.coll,
									function(i, value) {
										var img = "../jjwBG/images/signs/"
												+ json.coll[i].imagepath;
										if (index % 3 == 0) {
											ht = ht
													+ ("<td width='20%' valign='top' align='center'><label style='list-style-type:none;background-color:#e2e2e2;font-size: 12px'>"
															+ json.coll[i].dis
																	.toString()
																	.substring(
																			0,
																			6)
															+ "</label><br/><img src='"
															+ img + "' width='60px' higth='60px' border='0'/></td></tr>");
										} else if ((index - 1) == 0
												|| (index - 1) % 3 == 0) {
											ht = ht
													+ ("<tr><td width='20%' valign='top' align='center'><label style='list-style-type:none;background-color:#e2e2e2;font-size: 12px'>"
															+ json.coll[i].dis
																	.toString()
																	.substring(
																			0,
																			6)
															+ "</label><br/><img src='"
															+ img + "' width='60px' higth='60px' border='0'/></td>");
										} else {
											ht = ht
													+ ("<td width='20%' valign='top' align='center'><label style='list-style-type:none;background-color:#e2e2e2;font-size: 12px'>"
															+ json.coll[i].dis
																	.toString()
																	.substring(
																			0,
																			6)
															+ "</label><br/><img src='"
															+ img + "' width='60px' higth='60px' border='0'/></td>");
										}
										index = index + 1;
									});
					if (index == 1) {
						$("#signs")
								.append(
										"<tr><td style='font-size: 12px;text-align: center'>暂无交通标识！</td></tr>");
					}
					if (index % 5 != 0) {
						ht = ht + ("</tr>");
					}
					$("#signs").append(ht);
				},
				error : function() {
				//	alert("数据库为空");
				}
			});
}

function getallsign() {
	$
			.ajax( {
				url : "frontPage/allSign",
				type : "post",
				dataType : "json",
				success : function(json) {
					var index = 1;
					var ht = "";
					$
							.each(
									json.coll,
									function(i, value) {
										var img = "../jjwBG/images/signs/"
												+ json.coll[i].imagepath;
										if (index % 6 == 0) {
											ht = ht
													+ ("<td width='16%' valign='top' align='center'><label style='list-style-type:none;background-color:#e2e2e2;font-size: 12px'>"
															+ json.coll[i].dis
																	.toString()
																	.substring(
																			0,
																			6)
															+ "</label><br/><img src='"
															+ img + "' width='60px' higth='60px' border='0'/></td></tr>");
										} else if ((index - 1) == 0
												|| (index - 1) % 6 == 0) {
											ht = ht
													+ ("<tr><td width='16%' valign='top' align='center'><label style='list-style-type:none;background-color:#e2e2e2;font-size: 12px'>"
															+ json.coll[i].dis
																	.toString()
																	.substring(
																			0,
																			6)
															+ "</label><br/><img src='"
															+ img + "' width='60px' higth='60px' border='0'/></td>");
										} else {
											ht = ht
													+ ("<td width='16%' valign='top' align='center'><label style='list-style-type:none;background-color:#e2e2e2;font-size: 12px'>"
															+ json.coll[i].dis
																	.toString()
																	.substring(
																			0,
																			6)
															+ "</label><br/><img src='"
															+ img + "' width='60px' higth='60px' border='0'/></td>");
										}
										index = index + 1;
									});
					if (index == 1) {
						$("#newsList")
								.append(
										"<tr><td style='font-size: 12px;text-align: center'>暂无交通标识！</td></tr>");
					}
					if (index % 5 != 0) {
						ht = ht + ("</tr>");
					}
					$("#newsList").append(ht);
				},
				error : function() {
			//		$("#newsList").append("数据库无数据！");
				}
			});
}
