Teste
Autor: Tuba Livre | Publicado: 2013-11-07T21:14:00-03:00

<!-- saved from url=(0013)about:internet --><!-- SpreadsheetConverter Header start --><!-- Parts of this page Copyright (C) 2002-2008 Framtidsforum I&M AB, Sweden --> /* Styles needed by SpreadsheetConverter */.eebuttons {width:120px}*.ee100 { border : 0.50pt solid windowtext; color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 700; padding-left : 1px; padding-right : 1px; padding-top : 1px; text-align : center; vertical-align : bottom }*.ee102 { color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 700; text-align : center; vertical-align : bottom }*.ee103 { border : 0.50pt solid windowtext; color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 400; padding-left : 1px; padding-right : 1px; padding-top : 1px; text-align : center; vertical-align : bottom }*.ee105 { color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 400; text-align : center; vertical-align : bottom }*.ee106 { border : 0.50pt solid windowtext; color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 400; padding-left : 0px; padding-right : 1px; padding-top : 0px; text-align : center; vertical-align : bottom }*.ee107 { border-left : 0.50pt solid windowtext; border-right : 0.50pt solid windowtext; color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 400; padding-left : 1px; padding-right : 1px; padding-top : 1px; text-align : center; vertical-align : bottom }*.ee108 { border-right : 0.50pt solid windowtext; color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 400; padding-left : 0px; padding-right : 1px; padding-top : 0px; text-align : center; vertical-align : bottom }*.ee109 { border-bottom : 0.50pt solid windowtext; border-left : 0.50pt solid windowtext; border-right : 0.50pt solid black; border-top : 0.50pt solid windowtext; color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 700; padding-left : 1px; padding-right : 1px; padding-top : 1px; text-align : right; vertical-align : bottom }*.ee115 { border-bottom : 0.50pt solid windowtext; border-right : 0.50pt solid windowtext; color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 400; padding-left : 0px; padding-right : 1px; padding-top : 0px; text-align : center; vertical-align : bottom }*.ee116 { border : 0.50pt solid windowtext; color : black; font-family : calibri , sans-serif; font-size : 11.00pt; font-style : normal; font-weight : 700; padding-left : 0px; padding-right : 1px; padding-top : 0px; text-align : center; vertical-align : bottom }*.ee900 { font-size : 10.00pt; color : #3333ff; font-family : "Arial", sans-serif; border-bottom : 3px solid #3333ff; border-right : 3px solid #3333ff; border-top : 3px solid #3333ff; border-left : 3px solid #3333ff }textarea {  overflow: auto; }.eebuttonbar_top {margin-bottom:6px;padding-bottom:6px;border-bottom: 2px solid blue}.eebuttonbar_bottom {margin-top:6px;padding-top:6px;border-top: 2px solid blue}.eetabs {display:block; font-family : arial; font-size : 10.00pt}.eebuttonbar_top {display:none;}.eebuttonbar_bottom {display:none;}.eetabs {display:none;} var co = new Object;function recalc_onclick(ctl) {  if (true) {co.XLEW_1_2_2=eeparseFloat(document.formc.XLEW_1_2_2.value);co.XLEW_1_2_3=eeparseFloat(document.formc.XLEW_1_2_3.value);co.XLEW_1_3_2=eeparseFloat(document.formc.XLEW_1_3_2.value);co.XLEW_1_3_3=eeparseFloat(document.formc.XLEW_1_3_3.value);co.XLEW_1_4_2=eeparseFloat(document.formc.XLEW_1_4_2.value);co.XLEW_1_4_3=eeparseFloat(document.formc.XLEW_1_4_3.value);co.XLEW_1_5_2=eeparseFloat(document.formc.XLEW_1_5_2.value);co.XLEW_1_5_3=eeparseFloat(document.formc.XLEW_1_5_3.value);co.XLEW_1_6_2=eeparseFloat(document.formc.XLEW_1_6_2.value);co.XLEW_1_6_3=eeparseFloat(document.formc.XLEW_1_6_3.value);calc(co);document.formc.XLEW_1_2_4.value=eedisplayFloat(co.XLEW_1_2_4);document.formc.XLEW_1_3_4.value=eedisplayFloat(co.XLEW_1_3_4);document.formc.XLEW_1_4_4.value=eedisplayFloat(co.XLEW_1_4_4);document.formc.XLEW_1_5_4.value=eedisplayFloat(co.XLEW_1_5_4);document.formc.XLEW_1_6_4.value=eedisplayFloat(co.XLEW_1_6_4);document.formc.XLEW_1_7_4.value=eedisplayFloat(co.XLEW_1_7_4);document.formc.XLEW_1_8_4.value=eedisplayFloat(co.XLEW_1_8_4);document.formc.XLEW_1_9_4.value=eedatefmt(fmtdate6,co.XLEW_1_9_4);};};var eeisus=0;var eetrue="TRUE";var eefalse="FALSE";var eedec=",";var eeth=".";var eedecreg=new RegExp(",","g");var eethreg=new RegExp("\\.","g");var eecurrencyreg=new RegExp("R[$]","g");var eepercentreg=new RegExp("%","g"); var fmtdaynamesshort=new Array("dom","seg","ter","qua","qui","sex","sáb"); var fmtdaynameslong=new Array("domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"); var fmtmonthnamesshort=new Array("jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"); var fmtmonthnameslong=new Array("janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"); var fmtstrings=new Array(","," ","R$"); var fmtdate6=new Array(34,33,25,2);var arr1xD2D6=new Array(5);for(var ii=0;ii<5;ii++){arr1xD2D6[ii]=new Array(1);for(var jj=0;jj<1;jj++){arr1xD2D6[ii][jj]=0}};var eecm1=new Array(new Array(arr1xD2D6,0,0,4,0));function calc(data){var cA2B=data.XLEW_1_2_2;var cA2C=data.XLEW_1_2_3;var cA3B=data.XLEW_1_3_2;var cA3C=data.XLEW_1_3_3;var cA4B=data.XLEW_1_4_2;var cA4C=data.XLEW_1_4_3;var cA5B=data.XLEW_1_5_2;var cA5C=data.XLEW_1_5_3;var cA6B=data.XLEW_1_6_2;var cA6C=data.XLEW_1_6_3;arr1xD2D6[0][0]=(((cA2B)*(cA2C)));arr1xD2D6[1][0]=(((cA3B)*(cA3C)));arr1xD2D6[2][0]=(((cA4B)*(cA4C)));arr1xD2D6[3][0]=(((cA5B)*(cA5C)));arr1xD2D6[4][0]=(((cA6B)*(cA6C)));var cA7D=(sumgeneral(5,0,0,eecm1));var cA8D=(((cA7D)*(30)));var cA9D=(((cA8D)*(0.4)));data.XLEW_1_2_4=arr1xD2D6[0][0];data.XLEW_1_3_4=arr1xD2D6[1][0];data.XLEW_1_4_4=arr1xD2D6[2][0];data.XLEW_1_5_4=arr1xD2D6[3][0];data.XLEW_1_6_4=arr1xD2D6[4][0];data.XLEW_1_7_4=cA7D;data.XLEW_1_8_4=cA8D;data.XLEW_1_9_4=cA9D;}; function myIsNaN(x){return(isNaN(x)||(typeof x=='number'&&!isFinite(x)));};function mod(n,d){return n-d*Math.floor(n/d);};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 sum2(arr,rt,rb){var sum=0;for(var ii=rt;ii<=rb;ii++){sum+=arr[ii]};return sum};function sum3(arr,rt,ct,rb,cb){var sum=0;for(var ii=rt;ii<=rb;ii++){for(var jj=ct;jj<=cb;jj++){sum+=arr[ii][jj]}};return sum};function sumgeneral(cnt,vsum,vcnt,x){var sum=vsum;for(var ii=0;ii0){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 eedisplayPercent(x){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloat(x*100)+'%';}};function eedisplayPercentND(x,nd){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloatND(x*100,nd)+'%';}}function eedisplayFloatNDTh(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('.');var res2=eeinsertThousand(parts[0].toString());if(parts.length<2){var decimals=('00000000000000').substring(0,nd);return(res2+eedec+decimals);}else{var decimals=((parts[1]).toString()+'00000000000000').substring(0,nd);return(res2+eedec+decimals);}}else{return(eeinsertThousand(res.toString()));}}};function eedisplayPercentNDTh(x,nd){if(myIsNaN(x)){return Number.NaN;}else{return eedisplayFloatNDTh(x*100,nd)+'%';}}function eeinsertThousand(whole){if(whole==""||whole.indexOf("e")>=0){return whole;}else{var minus_sign="";if(whole.charAt(0)=="-"){minus_sign="-";whole=whole.substring(1);};var res="";var str_length=whole.length-1;for(var ii=0;ii<=str_length;ii++){if(ii>0&&ii%3==0){res=eeth+res;};res=whole.charAt(str_length-ii)+res;};return minus_sign+res;}};function eedatefmt(fmt,x){if(!isFinite(x))return Number.NaN;var padding=0;var tmp=0;var res="";var len=fmt.length;for(var ii=0;ii31){res+=fmtstrings[fmt[ii]-32];}else{switch(fmt[ii]){case 2:res+=eemonth(x);break;case 3:tmp=eemonth(x);if(tmp<10){res+="0";};res+=tmp;break;case 4:res+=fmtmonthnamesshort[eemonth(x)-1];break;case 5:res+=fmtmonthnameslong[eemonth(x)-1];break;case 6:res+=eeday(x);break;case 7:tmp=eeday(x);if(tmp<10){res+="0";};res+=tmp;break;case 8:res+=fmtdaynamesshort[weekday(x,1)-1];break;case 9:res+=fmtdaynameslong[weekday(x,1)-1];break;case 10:tmp=year(x)%100;if(tmp<10){res+="0";};res+=tmp;break;case 11:res+=year(x);break;case 12:res+=hour(x);break;case 13:tmp=hour(x);if(tmp<10){res+="0";};res+=tmp;break;case 14:tmp=hour(x)%12;if(tmp==0){res+="12";}else{res+=tmp%12;};break;case 15:tmp=hour(x)%12;if(tmp==0){res+="12";}else{if(tmp<10){res+="0";};res+=tmp;};break;case 16:res+=minute(x);break;case 17:tmp=minute(x);if(tmp<10){res+="0";};res+=tmp;break;case 18:res+=second(x);break;case 19:tmp=second(x);if(tmp<10){res+="0";};res+=tmp;break;case 21:case 22:if(hour(x)<12){res+="AM";}else{res+="PM";};break;case 23:res+=eedisplayFloat(x);break;case 24:tmp=fmt[++ii];res+=eedisplayFloatND(x,tmp);break;case 25:tmp=fmt[++ii];res+=eedisplayFloatNDTh(x,tmp);break;case 26:res+=eedisplayPercent(x);break;case 27:tmp=fmt[++ii];res+=eedisplayPercentND(x,tmp);break;case 28:tmp=fmt[++ii];res+=eedisplayPercentNDTh(x,tmp);break;case 29:tmp=fmt[++ii];res+=eedisplayScientific(x,tmp);break;case 30:padding=fmt[++ii];tmp=hour(x)+Math.floor(x)*24;tmp=tmp.toString();if(tmp.length function leap_gregorian(year){return((year%4)==0)&&(!(((year%100)==0)&&((year%400)!=0)));}var GREGORIAN_EPOCH=1721425;function gregorian_to_jd(year,month,day){return(GREGORIAN_EPOCH-0)+(365*(year-1))+Math.floor((year-1)/4)+(-Math.floor((year-1)/100))+Math.floor((year-1)/400)+Math.floor((((367*month)-362)/12)+((month<=2)?0:(leap_gregorian(year)?-1:-2))+day);}function jd_to_gregorian(jd){var wjd,depoch,quadricent,dqc,cent,dcent,quad,dquad,yindex,year,yearday,leapadj;wjd=Math.floor(jd);depoch=wjd-GREGORIAN_EPOCH-1;quadricent=Math.floor(depoch/146097);dqc=mod(depoch,146097);cent=Math.floor(dqc/36524);dcent=mod(dqc,36524);quad=Math.floor(dcent/1461);dquad=mod(dcent,1461);yindex=Math.floor(dquad/365);year=(quadricent*400)+(cent*100)+(quad*4)+yindex;if(!((cent==4)||(yindex==4))){year++;}yearday=wjd-gregorian_to_jd(year,1,1);leapadj=((wjd60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[2];};function hour(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return Math.floor(res/3600);}function minute(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return Math.floor(res/60)%60;}; function eemonth(serial_number){if(!isFinite(serial_number))return Number.NaN;if(serial_number<1){return 1;}if(serial_number>60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[1];};function second(serial_number){if(!isFinite(serial_number))return Number.NaN;var res=Math.floor((serial_number-Math.floor(serial_number))*86400+0.5);return res%60;};function weekday(serial_number,return_type){if(!isFinite(return_type)||!isFinite(serial_number))return Number.NaN;if(return_type<1||return_type>3)return Number.NaN;var res=Math.floor(serial_number+6)%7;switch(Math.floor(return_type)){case 1:return res+1;case 2:return(res+6)%7+1;case 3:return(res+6)%7;};return "hej";};function year(serial_number){if(!isFinite(serial_number))return Number.NaN;if(serial_number<1){return 1900;}if(serial_number>60)serial_number--;var res=jd_to_gregorian(serial_number+2415020);return res[0];};  &#160;