document.write("<tr><td valign=top style='border-right: 5px solid white'><img src=/graphics/logo_calculator_trans.gif alt=[CALCULATOR] border=1 height=58 width=150 style='border:1px solid white' hspace=10></td>")
document.write("<td valign=top style='border-right: 5px solid #531C21'>&nbsp;</td>")
document.write("<td align=left colspan=1 valign=top>")
document.write("<a name=calculator><font size=4 color=#ffff0c>Calculator.</font></a><br>")
document.write("<center>")
document.write("<table bgcolor=#531C21 style=background-attachment:fixed;background-repeat:repeat background=/graphics/back_531C21.gif border=0>")
document.write("<tr><td align=left>")
document.write("<form name=Keypad>")
document.write("<div align=center>")
document.write("<table border=0 style=background-attachment:fixed;background-repeat:repeat background=/graphics/back_531C21.gif>")
document.write("<tr><td>")
document.write("<table border=1 cellspacing=5 width=50 height=60 style=background-attachment:fixed;background-repeat:repeat background=/graphics/back_531C21.gif>")
document.write("<tr>")
document.write("<td align=center valign=center colspan=3 bgcolor=#b38f91><input type=text size=20 name=ReadOut value=0 width=100% style=height:20;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnClear value=C onclick=Clear() style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnClearEntry value=CE onclick=ClearEntry() style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("</tr><tr>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnSeven value=7 onclick=NumPressed(7) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnEight value=8 onclick=NumPressed(8) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnNine value=9 onclick=NumPressed(9) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnNeg value='&#x00B1;' onclick=Neg() style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnPercent value='%' onclick=Percent() style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("</tr><tr>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnFour value=4 onclick=NumPressed(4) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnFive value=5 onclick=NumPressed(5) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnSix value=6 onclick=NumPressed(6) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnPlus value=' + ' onclick=Operation('+') style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnMinus value='--' onclick=Operation('-') style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("</tr><tr>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnOne value=1 onclick=NumPressed(1) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnTwo value=2 onclick=NumPressed(2) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnThree value=3 onclick=NumPressed(3) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnMultiply value='&#x00D7;' onclick=Operation('*') style=background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnDivide value='&#x00F7;' onclick=Operation('/') style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("</tr><tr>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnZero value=0 onclick=NumPressed(0) style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center bgcolor=#b38f91><input type=button name=btnDecimal value='.' onclick=Decimal() style=height:20;width:30;background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("<td align=center valign=center colspan=3 width=100% bgcolor=#b38f91><input type=button size=20 name=btnEquals value='  =  ' onclick=Operation('=') style=background-color:#b38f91;font-weight:bold;font-size:15px;color:#ffff0c;border:0></td>")
document.write("</tr>")
document.write("</table>")
document.write("</td></tr>")
document.write("</table>")
document.write("</center></div>")
document.write("</form>")
document.write("</td></tr>")
document.write("</table>")
document.write("</center>")
document.write("</td>")
document.write("<td valign=top align=right bgcolor=#b38f91 style='background-attachment: fixed; background-repeat: repeat' background=/graphics/back_B38F91.gif>")
document.write("</td></tr>")
