<!-- //
function makewin(targurl, width, height, winopts){if(window.sidebars == null){sidebars = new Object;sidebars.length = 1;}allopts ="width=" + width + ",height=" + height + "," + winopts;var tempref = window.open(targurl, "sidebar" + sidebars.length, allopts);sidebars[sidebars.length] = tempref;sidebars.length++;}
function killwins(){if(navigator.appName !="Microsoft Internet Explorer"){if(window.sidebars != null){for(i = 1; i < sidebars.length; i++){sidebars[i].close();}}}}
function MM_reloadPage(init){if(init==true) with(navigator){if((appName=="Netscape")&&(parseInt(appVersion)==4)){document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage;}} else if(innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();}MM_reloadPage(true);
function MM_popupMsg(msg) { //v1.0
  alert(msg);
}

function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
   }
}
/* Please don't ask about this work-around. It works... We're sure arrays
will be better supported soon. */
var isn09 = new initArray("4b","5b","8b","8b");
isn09[0] ="~01~11.0197~214.5~30.9869~40.7501~529.53~610.21~7401.8~833.49~9";
isn09[1] ="~00.9807~11~214.22~30.9678~40.7356~528.96~610.01~7394.1~832.84~9";
isn09[2] ="~00.06895~10.07031~21~30.06805~40.05171~52.036~60.7037~727.7~82.309~9";
isn09[3] ="~01.0133~11.0332~214.7~31~40.76~529.92~610.34~7407.1~833.93~9";
isn09[4] ="~01.3332~11.3595~219.34~31.316~41~539.37~613.61~7535.7~844.64~9";
isn09[5] ="~00.03386~10.03453~20.4912~30.03342~40.0254~51~60.3456~713.61~81.134~9";
isn09[6] ="~00.09798~10.09991~21.421~30.0967~40.07349~52.893~61~739.37~83.281~9";
isn09[7] ="~00.002489~10.002538~20.03609~30.002456~40.001867~50.07349~60.02540~71~80.083333~9";
isn09[8] ="~00.02986~10.03045~20.4331~30.02947~40.0224~50.8819~60.3048~712~81~9";
function preCon() {
// First, get the variables checked by the user
for (var i = 0; i < 9; i++) {
if (document.isnform09.prei[i].checked) {
prei = i;
preinm = document.isnform09.prei[i].value;
   }
}
for (var i = 0; i < 9; i++) {
if (document.isnform09.preo[i].checked) {
preo = i;
preonm = document.isnform09.preo[i].value;
   }
}
// Now grab the numeric input by user and parse to be sure numeric
useri = document.isnform09.preinp.value;
if (useri == 0) {
useri = 1;
document.isnform09.preinp.value = useri;
}
mulstr = isn09[prei];
picker ="~" + preo;
ps = mulstr.indexOf(picker);
preo++;
picker ="~" + preo;
ps1 = mulstr.indexOf(picker);
mulstr = mulstr.substring((ps + 2),ps1);
ps = (useri * mulstr);
picker ="";
picker += ps
ps1 = picker.indexOf(".");
if (ps1 > -1) {
// Correct for binary/floating point conversion error
ps = ps + .000001;
picker ="";
picker += ps;
ps2 = picker.indexOf("e");
if (ps2 < 0) {
picker = picker.substring(0,(ps1 + 6));
}
if (ps2 == 0 || ps2 > 0) {
ps3 = picker.indexOf("00000");
if (ps3 > 0) {
picker = picker.substring(0,ps3 + 1) + picker.substring(ps2,picker.length);
      }
   }
}
picker = useri + " " + preinm + " =" + picker + " " + preonm
document.isnform09.preout.value = picker;
}
//-->