﻿/// <reference path="../jquery/jquery-cn.js" />

function addfavorite() {//加入收藏
    if (document.all) {
        window.external.addFavorite("http://" + document.location.host + "/", document.title);
    } else if (window.sidebar) {
        window.sidebar.addPanel(document.title, "http://" + document.location.host + "/", "");
    }
}

/*点击扩展信息按钮时处理*/
function clickExtInfoButtonHandler_common(extInfoContainerID, extInfoContainerClassName) {
    if ($("#" + extInfoContainerID).attr("class") != extInfoContainerClassName) {
        document.getElementById(extInfoContainerID).className = extInfoContainerClassName;
               
    }

};

function OpenWin(childURL,width,height){
    var str = window.showModalDialog(childURL,window, "dialogWidth=" + width + ";dialogHeight=" + height);
}
