var num13=.55;
var num14=0;
num14=num13.toExponential(5);
if(num14>50){alert("You are using the APPLE SAFARI BROWSER\nwhich can produce calculation errors, incorrect\nby a factor of 100. To prevent this, when this\npage is accessed through the Safari browser,\nthe rounding and formatting will be disabled.\nThe numbers won't be as easy to read but at\nleast they will be correct.\n\nApple has been aware of this problem for years\nbut it still goes uncorrected. Please alert Apple\nto this by clicking HELP and then selecting\n'Report Bugs To Apple'\n\nFor better number formatting, use Internet Explorer,\nNetscape, Firefox, Opera or Google Chrome.\n\nThanks\n1728 Software Systems");apswt=1}
-->
var choyce=0;
var rad=57.2957795130823;
var chc=0;
var angname=new Array("ZERO", " Degrees "," Radians ", " ", " ", " Degrees "," Radians ");
var func=new Array(" ZERO ", " Sine ", " Cosine ", " Tangent ", " Cotangent ", " Secant ", " Cosecant ", " ArcSine ", " ArcCosine ", " ArcTangent ", " ArcCotangent ", " ArcSecant ", " ArcCosecant ")
var angconv=new Array(0.0174532925199433, 0.000290888208665722, 0.00000484813681109536, 57.2957795130823, 3437.74677078494, 206264.806247096)
var cnv=3;
-->
sigfig=(document.box.b9.value)-1;
if(apswt==0){if(sigfig>-1){num2=num2.toExponential(sigfig);num3=num3.toExponential(sigfig)}};
if(num2>-1000 && num2<1000){num2=num2*1}
if(num3>-1000 && num3<1000){num3=num3*1}
if(Math.abs(num2)<1E-14){num2=0}
if(Math.abs(num3)<1E-14){num3=0}
document.inbox.x1a.value=" "+num2 + angname[chc+2];
}
-->