function showbuttons() {   
    var is_major = parseInt(navigator.appVersion); 
    var agt=navigator.userAgent.toLowerCase();
    var is_mac    = (agt.indexOf("mac")!=-1);
    var is_ie4up  = ((agt.indexOf("msie") != -1)  && (is_major >= 4 ));

    var is_win31  = ((agt.indexOf("windows 3.1")!=-1) || (agt.indexOf("win16=")!=-1) || (agt.indexOf("windows 16-bit")!=-1));
    if ((is_mac && is_ie4up) ||  is_win31) {
      return "<BR><B>Press enter to recalculate</B>";
    }

    return "<FORM><input name='btnCallCalc' type='image' onClick='document.calculator.calculate()' src='/JCB_FinancialCalculators/images/Btn_Calculate.gif' width='84' height='24' border='0'><input name='btnOpenNote' type='image' onClick='openNote()' src='/JCB_FinancialCalculators/images/Btn_ViewReport.gif' width='109' height='24' border='0'><br><input name='imageField3' onClick='getpage()'  type='image' src='/JCB_FinancialCalculators/images/Btn_ContactUsInfo.gif' width='193' height='24' border='0'></FORM> ";
} 

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=380,left="+leftpos+",top=20");
   var s = " ";
   if (navigator.appName == "Netscape")
     s=document.applets["calculator"].sJavaScriptReport('HTML');
   else
     s=document.calculator.sJavaScriptReport('HTML');
   OpenWindow.document.write(s);
   OpenWindow.document.close(); 
   OpenWindow.focus();
 }



 }