﻿function NormalShowPic(type) {
    var nor1 = $("#normalshow1");
    var nor2 = $("#normalshow2");
    var nor1div = $("#nor1div");
    var nor2div = $("#nor2div");
    if (nor1 && nor2 && nor1div && nor2div) {
        switch (type) {
            case 1:
                if (nor1.attr("class") != "to") {
                    nor1.attr("class", "to");
                    nor2.attr("class", "");
                    nor1div.attr("class", "tec_cont_007");
                    nor2div.attr("class", "tec_cont_007 noshow");
                }

                break;
            case 2:
                if (nor2.attr("class") != "to") {
                    nor2.attr("class", "to");
                    nor1.attr("class", "");
                    nor2div.attr("class", "tec_cont_007");
                    nor1div.attr("class", "tec_cont_007 noshow");
                }
                break;
        }
    }
}
function doExpertScore() {
    var frm = document.getElementById("frm_exscore");
    if (islogin) {
        if (frm) {
            for (var i = 1; i < 5; i++) {
                var p = document.getElementById("expertscore" + i);
                if (p.value == "") {
                    alert("请选择您的评分！");
                    return false;
                }
            }
            frm.submit();
        }
    }
    else {
        alert("请登录后评分!");
        //window.location.href="{$conDomain_passport_k8008_com}/";
    }
    return true;
}
