function jsconfirm(strText, strURL) {
    if (confirm(strText)) {
        window.location = strURL
    }
}
function ChkAll() {
    for (var i = 0; i < document.form.elements.length; i++) {
        var obj = document.form.elements[i];
        if (obj.type == "checkbox")
            obj.checked = document.form.chk.checked;
    }
}
function openPopup(strurl, strname) {
    var popup;
    popup = window.open(strurl, strname, "menubar=no,width=350,height=280,toolbar=no,location=no,directories=no");
    popup.focus();
}
function selarticle(atype) {
    document.getElementById('aURL').style.visibility = 'hidden';
    document.getElementById('aURL').style.display = 'none';

    if (atype == 1) {
        document.getElementById('aURL').style.visibility = 'visible';
        document.getElementById('aURL').style.display = 'block';
    }
}
