﻿/* a#nogo return false */
$(document).ready(function() {
    $("a[href*='#nogo']").click(function() { return false });
});


/* 三栏高度对齐 for 远播资料 */
$(document).ready(function() {
    var a = $(".area01").height(), b = $(".area02").height(), c = $(".area03").height(), d = $(".area04").height();
    if ((b > a) && (b > c)) {
        $(".area01").css("height", b + "px");
        $(".area03").css("height", b + "px");
    }
    if ((c > a) && (c > b)) {
        $(".area01").css("height", c + "px");
    }
    if ((a > b) && (a > c)) {
        $(".area02").css("height", a + "px");
        $(".area03").css("height", a + "px");
    }
    if (d > c) {
        $(".area03").css("height", d + "px");
    }
});


/* mouseover change bg for 资料列表 */
$(document).ready(function() {
    if ($.browser.msie && ($.browser.version == "6.0") && !$.support.style) {
        $(".articleList .ctn li").mouseover(function() {
            $(this).css("backgroundColor", "#f3f3f3")
        });
        $(".articleList .ctn li").mouseout(function() {
            $(this).css("backgroundColor", "")
        });
    }
});



/* mouseover change bg for 资料详细_课程推荐 */
$(document).ready(function() {
    if ($.browser.msie && ($.browser.version == "6.0") && !$.support.style) {
        $(".mod04 .courseList dd").mouseover(function() {
            $(this).css("backgroundColor", "#f3f3f3")
        });
        $(".mod04 .courseList dd").mouseout(function() {
            $(this).css("backgroundColor", "")
        });
    }
});

