<!-- Start
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 TYPE='button' value='Calculate' class='button-popups' Name='btnCallCalc' onClick='document.calculator.calculate()'><INPUT TYPE='button' value='View Report' Name='btnOpenNote' class='button-popups' onClick='openNote()'></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();
 }
 }

document.write('<TABLE cellpadding="0" cellspacing="0" border="0" width="80%"><form><tr><td align="center">');

document.write('<input type="button" value="Close" onClick=\'window.close()\' class="button-popups" onmouseover="this.className=\'buttonon-popups\'" onmouseout="this.className=\'button-popups\'"><br>');


// NOTE: The spacer height= below moves the close button up or down


document.write('<IMG SRC="picts/spacer.gif" HEIGHT="1" WIDTH="10"><br>');


document.write('</td></tr></form></table>');

//  End -->
