var co = new Object; function recalc_onclick(ctl) { if (true) {
co.XLEW_1_6_6=eeparseFloat(document.formc.XLEW_1_6_6.value);co.XLEW_1_6_7=eeparseFloat(document.formc.XLEW_1_6_7.value);co.XLEW_1_6_8=eeparseFloat(document.formc.XLEW_1_6_8.value);co.XLEW_1_9_6=eeparseFloat(document.formc.XLEW_1_9_6.value);co.XLEW_1_9_7=eeparseFloat(document.formc.XLEW_1_9_7.value);co.XLEW_1_9_8=eeparseFloat(document.formc.XLEW_1_9_8.value);co.XLEW_1_15_6=eeparseFloat(document.formc.XLEW_1_15_6.value);co.XLEW_1_15_7=eeparseFloat(document.formc.XLEW_1_15_7.value);co.XLEW_1_15_8=eeparseFloat(document.formc.XLEW_1_15_8.value);co.XLEW_1_16_6=eeparseFloat(document.formc.XLEW_1_16_6.value);co.XLEW_1_16_7=eeparseFloat(document.formc.XLEW_1_16_7.value);co.XLEW_1_16_8=eeparseFloat(document.formc.XLEW_1_16_8.value);co.XLEW_1_19_6=eeparseFloat(document.formc.XLEW_1_19_6.value);co.XLEW_1_19_7=eeparseFloat(document.formc.XLEW_1_19_7.value);co.XLEW_1_19_8=eeparseFloat(document.formc.XLEW_1_19_8.value);co.XLEW_1_24_6=eeparseFloat(document.formc.XLEW_1_24_6.value);co.XLEW_1_24_7=eeparseFloat(document.formc.XLEW_1_24_7.value);co.XLEW_1_24_8=eeparseFloat(document.formc.XLEW_1_24_8.value);co.XLEW_1_25_6=eeparseFloat(document.formc.XLEW_1_25_6.value);co.XLEW_1_25_7=eeparseFloat(document.formc.XLEW_1_25_7.value);co.XLEW_1_27_6=eeparseFloat(document.formc.XLEW_1_27_6.value);co.XLEW_1_27_7=eeparseFloat(document.formc.XLEW_1_27_7.value);co.XLEW_1_31_6=eeparseFloat(document.formc.XLEW_1_31_6.value);co.XLEW_1_31_7=eeparseFloat(document.formc.XLEW_1_31_7.value);co.XLEW_1_43_6=eeparseFloat(document.formc.XLEW_1_43_6.value); co.XLEW_1_43_7=eeparseFloat(document.formc.XLEW_1_43_7.value);calc(co);document.formc.XLEW_1_6_10.value=eedisplayFloatND(co.XLEW_1_6_10,1);document.formc.XLEW_1_9_10.value=eedisplayFloatND(co.XLEW_1_9_10,1);document.formc.XLEW_1_15_10.value=eedisplayFloatND(co.XLEW_1_15_10,1);document.formc.XLEW_1_16_10.value=eedisplayFloatND(co.XLEW_1_16_10,1);document.formc.XLEW_1_17_8.value=eedisplayFloatND(co.XLEW_1_17_8,0);document.formc.XLEW_1_17_10.value=eedisplayFloatND(co.XLEW_1_17_10,1);document.formc.XLEW_1_19_10.value=eedisplayFloatND(co.XLEW_1_19_10,1);document.formc.XLEW_1_20_8.value=eedisplayFloatND(co.XLEW_1_20_8,0);document.formc.XLEW_1_20_10.value=eedisplayFloatND(co.XLEW_1_20_10,1);document.formc.XLEW_1_24_10.value=eedisplayFloatND(co.XLEW_1_24_10,2);document.formc.XLEW_1_25_10.value=eedisplayFloatND(co.XLEW_1_25_10,1);document.formc.XLEW_1_27_10.value=eeisnumber(co.XLEW_1_27_10)?eedisplayFloatND(co.XLEW_1_27_10,1):co.XLEW_1_27_10;document.formc.XLEW_1_31_10.value=eedisplayFloatND(co.XLEW_1_31_10,1);document.formc.XLEW_1_32_10.value=eedisplayFloatND(co.XLEW_1_32_10,1);document.formc.XLEW_1_43_10.value=eedisplayFloatND(co.XLEW_1_43_10,1); };};
var eeisus=1;var eetrue="TRUE";var eefalse="FALSE";var eedec=".";var eeth=",";var eedecreg=new RegExp("\\.","g");var eethreg=new RegExp(",","g");var eecurrencyreg=new RegExp("[$]","g");var eepercentreg=new RegExp("%","g");
function calc(data){var c1F6=data.XLEW_1_6_6;var c1G6=data.XLEW_1_6_7;var c1H6=data.XLEW_1_6_8;var c1F9=data.XLEW_1_9_6;var c1G9=data.XLEW_1_9_7;var c1H9=data.XLEW_1_9_8;var c1F15=data.XLEW_1_15_6;var c1G15=data.XLEW_1_15_7;var c1H15=data.XLEW_1_15_8;var c1F16=data.XLEW_1_16_6;var c1G16=data.XLEW_1_16_7;var c1H16=data.XLEW_1_16_8;var c1F19=data.XLEW_1_19_6;var c1G19=data.XLEW_1_19_7;var c1H19=data.XLEW_1_19_8;var c1F24=data.XLEW_1_24_6;var c1G24=data.XLEW_1_24_7;var c1H24=data.XLEW_1_24_8;var c1F25=data.XLEW_1_25_6;var c1G25=data.XLEW_1_25_7;var c1F27=data.XLEW_1_27_6;var c1G27=data.XLEW_1_27_7;var c1F31=data.XLEW_1_31_6;var c1G31=data.XLEW_1_31_7;var c1F43=data.XLEW_1_43_6;var c1G43=data.XLEW_1_43_7;var c1I6=(7.48);var c1I9=(7.48);var c1I15=(2.2);var c1I16=(4.3);var c1I19=(2.3);var c1J6=(((((((((c1F6)*(c1G6)))*(0.8)))*(c1H6)))*(c1I6)));var c1J9=(((((((c1F9)*(c1G9)))*(c1H9)))*(c1I9)));var c1J15=(((((((c1F15)*(c1G15)))*(c1H15)))*(c1I15)));var c1J16=(((((((c1F16)*(c1G16)))*(c1H16)))/(c1I16)));var c1J19=(((((((c1F19)*(c1G19)))*(c1H19)))/(c1I19)));var c1J24=(((((((((c1F24)*(c1G24)))/(1000)))*(24)))*(30.4)));var c1J25=(((c1F25)*(c1G25)));var c1J27=(((((c1G27)==(0)))?(""):(((c1F27)/(c1G27)))));var c1J31=(((((c1F31)*(c1G31)))/(40)));var c1J43=(((((((c1F43)*(c1G43)))/(65)))*(2000)));var c1H17=(c1J16);var c1H20=(c1J19); var c1J32=(((((c1J31)*(0.3)))*(2000)));var c1J17=(((c1H17)*(32)));var c1J20=(((c1H20)*(17)));data.XLEW_1_6_10=c1J6;data.XLEW_1_9_10=c1J9;data.XLEW_1_15_10=c1J15;data.XLEW_1_16_10=c1J16;data.XLEW_1_17_8=c1H17;data.XLEW_1_17_10=c1J17;data.XLEW_1_19_10=c1J19;data.XLEW_1_20_8=c1H20;data.XLEW_1_20_10=c1J20;data.XLEW_1_24_10=c1J24;data.XLEW_1_25_10=c1J25;data.XLEW_1_27_10=c1J27;data.XLEW_1_31_10=c1J31;data.XLEW_1_32_10=c1J32;data.XLEW_1_43_10=c1J43;};
function myIsNaN(x){return(isNaN(x)||(typeof x=='number'&&!isFinite(x)));};function round(n,nd){if(isFinite(n)&&isFinite(nd)){var sign_n=(n<0)?-1:1;var abs_n=Math.abs(n);var factor=Math.pow(10,nd);return sign_n*Math.round(abs_n*factor)/factor;}else{return NaN;}};function eeparseFloat(str){str=String(str).replace(eedecreg,".");var res=parseFloat(str);if(isNaN(res)){return 0;}else{return res;}};var near0RegExp=new RegExp("[.](.*0000000|.*9999999)");function eedisplayFloat(x){if(myIsNaN(x)){return Number.NaN;}else{var str=String(x);if(near0RegExp.test(str)){x=round(x,8);str=String(x);}return str.replace(/\./g,eedec);}};function eedisplayFloatND(x,nd){if(myIsNaN(x)){return Number.NaN;}else{var res=round(x,nd);if(nd>0){var str=String(res);if(str.indexOf('e')!=-1)return str;if(str.indexOf('E')!=-1)return str;var parts=str.split('.');if(parts.length<2){var decimals=('00000000000000').substring(0,nd);return(parts[0]).toString()+eedec+decimals;}else{var decimals=((parts[1]).toString()+'00000000000000').substring(0,nd);return(parts[0]).toString()+eedec+decimals;}}else{return res;}}};function eeisnumber(v){if(isNaN(v)||v==Number.NEGATIVE_INFINITY||v==Number.POSITIVE_INFINITY){return false;}else{switch(typeof v){case "number":return true;case "object":return v.constructor==Number;default:return false;}}};