$("#view_more p, #view_around p").on("click", function(){
			// view more data .
			var around_status = parseInt($(this).attr("data-around"));
			var cur_url = $(this).attr("data-url");
			base.utils.coverLayer.alphaStart();
			base.common.getData( "", ( /param/.test(cur_url) === true ? (cur_url + "&") : (cur_url + "?") )+ "is_around="+ around_status +"&ajax_commit=1", false, carListDataCallback, carListDataErrorProcess );
		});
        $("#submitBtn").on("click", function() {
               var content = $("#feedContent").val();
               var phone = $("#phone").val();
               var refer_url = $("#refer_url").val();
               if ( content.length === 0 ) {
                        $(".hint-not i").text("请输入您的宝贵意见!");
                        base.utils.coverLayer.tipsCover($(".question-center"), "hint-not");
                        return false;
               }
               if ( content.length > 150 ) {
                        $(".hint-not i").text("您输入的文字已超限制,请删减后再提交!");
                        base.utils.coverLayer.tipsCover($(".question-center"), "hint-not");
                        return false;
               }
               if ( phone != '' && !base.utils.checkMobile( phone )) {
                       $(".hint-not i").text("手机号码错误,请重新输入");
                       base.utils.coverLayer.tipsCover($(".question-center"), "hint-not");
                       return false;
               }

               base.common.postData(base.address.feedback_commit, "content=" + content + "&phone=" + phone + "&refer_url=" + refer_url, false, function(returnData) {
                            if (returnData.code === 1) {
                                    $(".hint-ok i").text("提交成功!3秒后自动跳转到刚才的页面");
                                    base.utils.coverLayer.tipsCover($(".question-center"), "hint-ok");
                                    setTimeout(function() {
                                        window.history.go(-1);
                                    }, 3000);
                             } else {
                                    $(".hint-not i").text("提交失败!");
                                    base.utils.coverLayer.tipsCover($(".question-center"), "hint-not");
                        }
                }, function() {});
        })
		$("#validateNext i").on("click", function( e, type ){
			if( type === "disable" ){
				e.preventDefault();
			}else{
				if( $(this).hasClass("again") ){
					// resend captcha .
					$("#sendSMSBtn").trigger("click");
				}else{
					// question finished .
					if( $("#phoneCaptcha").val() !== "" && $("#phoneCaptcha").val().length === 6 ){
						base.common.postData( base.address.question_validate, "title="+ $("#questionContent").val() + "&phone=" + $("#phoneNumer").val() + "&captcha=" + $("#phoneCaptcha").val(), false, function( returnData ){
							if( returnData.code === 1 ){
								base.utils.fade( [ $("#questionValidate") ], "out", 100 );
								base.utils.fade( $(".hint-ok"), "in");
								setTimeout(function(){
									window.history.go(-1);
								}, 1500);
							}else{
								base.utils.fade( $("#phoneCaptchaError"), "in", 200 );
							}
						}, function(){} );
					}
				}
			}
		});
		$(".brand-box").on("click", "li", function(){
			// the event of the car brand logo .
			var cur_url = $(this).find("em").attr("data-url");
			if( !$(this).hasClass("empty") && cur_url != "" ){
				base.utils.coverLayer.alphaStart();
				base.common.getData( base.address.series, cur_url, false, seriesDataCallback, seriesDataErrorProcess );
			}
		});
		$("#sendSMSBtn").on("click", function(){
			if( base.utils.checkMobile( $("#phoneNumer").val() ) ){
				base.common.postData( base.address.send_sms, "phone="+ $("#phoneNumer").val() , false, function( data ){
					var _count = 59;
					$("#sendSMSBtn").hide();
					$("#validateNext i").eq(0).removeClass("again").addClass("gr");
					$("#validateNext i").trigger("click", "disable");
					base.utils.fade( [ $("#phoneCaptcha"), $("#validateNext") ], "in", 200 );
					var timer = setInterval(function(){
						if( _count === 0 ){
							clearInterval(timer);
							$("#validateNext i").eq(0).html("重发验证码");
							$("#validateNext i").eq(0).removeClass("gr").addClass("again");
						}else{
							$("#validateNext i").eq(0).html( "重发验证码(" + (_count--) + ")" );
						}
					}, 1000);
				}, function(){} );
			}else{
				base.utils.fade( $("#phoneNumberError"), "in", 200 );
			}
		});
		$("#view_more").on("click", function() {
			base.utils.coverLayer.alphaStart();
			base.common.getData(base.address.ask_list, "/?page=" + cur_page, false, askListDataCallback, askListDataErrorProcess);
			cur_page++;
		});