try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}

function winopen(url, name, w, h) {
    var l = (screen.availWidth-10 - w) / 2;
    var t = (screen.availHeight-20 - h) / 2;

    var features = "width="+w+",height="+h+",left="+l+",top="+t;
    features += ",screenX="+l+",screenY="+t;
    features += ",scrollbars=1,resizable=1,location=0";
    features += ",menubar=0,toolbar=0,status=0";

    var nw = window.open(url, name, features);
    if (nw) nw.focus();
    return nw;
}

/* show sidebar list */
function showsblist(id) {
    var sb = document.getElementById("sidebar");
    var lists = sb.getElementsByTagName("ul");
    for (var i = 0; i < lists.length; i++) {
            lists[i].style.display='none';
    }

    e = document.getElementById(id);
    if (e) {e.style.display='block';}
}