// JavaScript Document
		$().ready( function() {
			$("img").error( function() {
				$(this).attr("src","/images/nopic.gif");
			} );
			
			$(".former,.formermain").submit( function() {
				if ( $(this).find(".U_Name").val() == "" ) {
					alert("姓名不能为空"); return false;
				}
				else if ( $(this).find(".U_Tel").val() == "" ) {
					alert("电话不能为空"); return false;
				}
				else if ( $(this).find(".U_Mail").val() == "" ) {
					alert("邮箱不能为空"); return false;
				}
				else if ( $(this).find(".U_Mobile").val() == "" ) {
					alert("手机不能为空"); return false;
				}
				else if ( $(this).find(".U_Addr").val() == "" ) {
					alert("地址不能为空"); return false;
				}
				else if ( $(this).find(".U_Code").val() == "" ) {
					alert("邮编不能为空"); return false;
				}
				else if ( $(this).find(".U_Conts").val() == "" ) {
					alert("病情描述不能为空"); return false;
				}
				else {
					return true;
				}
			} );
		} );
