function openNote(){
    var agt=navigator.userAgent.toLowerCase(); 
    var is_aol = (agt.indexOf("aol") != -1);
    leftpos=0;
    if (screen) {
        leftpos=screen.width/2 - 300;
    }

    if (is_aol) {
        var s = " ";
        s=document.calculator.sJavaScriptReport('HTML');
        document.write(s);
    } else {
        var OpenWindow=window.open("","newwin","toolbar=yes,menubar=yes,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height="+(screen.height-120)+",left="+leftpos+",top=5");
        var s = " ";
        s=document.calculator.sJavaScriptReport('HTML');
        OpenWindow.document.write(s);
        OpenWindow.document.close(); 
        OpenWindow.focus();
    }
}


