function cn(id) {
    for (var x = 1; x <= 4; x++) {
        document.getElementById("newsList" + x).className = (x == id ? "active": "");
        document.getElementById("topic_" + x).style.display = (x == id ? "": "none");
    }    
}
function loadPrice(page) {
    var priceArea = $("#priceArea");
    priceArea.html("正在加载价目表，请稍候...");
    switch (page) {
        case "LengKu":
        case "BingGui":
            page = "BingXiang";
        break;
        case "KongTiaoYiJi":
        case "ZhongYangKongTiao":
            page = "KongTiao";
        break;
    }
    priceArea.load("../Price/" + page + ".htm");
}
function setMenu(id){
    $(".currentMenu").removeClass("currentMenu");
    $("#leftMenu li:eq(" + id + ")").addClass("currentMenu");
}
function co(obj, show){
    obj.style.filter = !show ? "Alpha(opacity=50)" : "";
    obj.style.opacity = !show ? "0.5" : 1;
}
function jump(page){
    location.href = page + ".aspx";
}
function setHref(obj,page){
    obj.href = page;
    obj.target = "_blank";
}
function cp(faType){
    document.getElementById("aPrice").href = "北京" + faType + "维修收费标准.aspx";
}