Free javascript Hosting


script_graficas_de_ganancias_greasemonkey_golden.js

Uploaded on Nov 12 2009 07:07 by jfvp.01

var d=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);var m=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);var L=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);var g=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);var v=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);var J=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);var A="";var D="";var G="";var F="";var P="";var C="";var K="";var H="";var O=document.getElementById("GlDoioHDiv");var k=O.childNodes[0].getAttribute('flashvars');c=k.split("<set label='");for(a=0;a<c.length;a++){if(a>0){l=c[a].split("'");value=l[2];l=l[0];if(l=="Today"){t=t+1;}else if(l=="Yesterday"){t=t+1;}else{B=l.split("/");t=parseInt(B[2]);I=parseInt(B[1]);M=parseInt(B[0]);}A+="<category name='"+t+"/"+I+"/"+M+"'/>";d[a]=parseFloat(d[a])+parseFloat(value);g[a]=parseFloat(g[a-1])+d[a];}}var o=document.getElementById("kYszDiv");var k=o.childNodes[0].getAttribute('flashvars');c=k.split("<set label='");for(a=0;a<c.length;a++){if(a>0){r=c[a].split("'");value=r[2];d[a]=parseFloat(d[a])+parseFloat(value);g[a]=parseFloat(g[a-1])+d[a];}}var o=document.getElementById("eLAoUDiv");var k=o.childNodes[0].getAttribute('flashvars');c=k.split("<set label='");for(a=0;a<c.length;a++){if(a>0){r=c[a].split("'");value=r[2];d[a]=parseFloat(d[a])+parseFloat(value);g[a]=parseFloat(g[a-1])+d[a];}}var o=document.getElementById("TCYTDiv");var k=o.childNodes[0].getAttribute('flashvars');c=k.split("<set label='");for(a=0;a<c.length;a++){if(a>0){r=c[a].split("'");value=parseFloat(r[2]);value=value*0.01;m[a]=parseFloat(m[a])+parseFloat(value);v[a]=parseFloat(v[a-1])+m[a];}}for(a=1;a<=15;a++){D+="<set value='-"+d[a]+"'/>";G+="<set value='"+m[a]+"'/>";L[a]=m[a]-d[a];F+="<set value='"+L[a]+"'/>";C+="<set value='"+g[a]+"'/>";K+="<set value='"+v[a]+"'/>";J[a]=v[a]-g[a];H+="<set value='"+J[a]+"'/>";}var j="<embed type='application/x-shockwave-flash' src='/js/fc/MSLine.swf' id='ch_dr' name='ch_dr' quality='high' allowscriptaccess='always' width='320' height='250'";j+="flashvars=\"chartWidth=320&chartHeight=250&debugMode=0&DOMId=ch_dr&registerWithJS=0&scaleMode=noScale&lang=EN&dataXML=<chart canvasPadding='4' caption='Ganancias diarias' showValues='0' showNames='0' formatNumberScale='0' showBorder='1' toolTipBgColor='FFDD00' canvasBorderColor='aaaaaa' canvasBorderThickness='1' anchorBgColor='ffdd00' anchorRadius='3' lineColor='347bbf' lineThickness='4' numberPrefix='$' numVDivLines='13' showAlternateVGridColor='1' AlternateVGridColor='e1f5ff' vdivLineColor='aaaaaa' vDivLineIsDashed='1' vDivLineDashLen='1' vDivLineDashGap='1' zeroPlaneThickness='2' zeroPlaneColor='000000' >";j+="<categories>"+A+"</categories>";j+="<dataset seriesName='Ingresos' color='008200' alpha='50' anchorRadius='2' anchorBgColor='008200' >"+G+"</dataset>";j+="<dataset seriesName='Egresos' color='ff5656' alpha='50' anchorRadius='2' anchorBgColor='ff5656' >"+D+"</dataset>";j+="<dataset seriesName='Ganancias' color='AAAAAA' alpha='50' anchorRadius='2' anchorBgColor='AAAAAA' >"+F+"</dataset>";j+="</chart>\"";j+="></embed>";var f="<embed type='application/x-shockwave-flash' src='/js/fc/MSLine.swf' id='ch_dr' name='ch_dr' quality='high' allowscriptaccess='always' width='320' height='250'";f+="flashvars=\"chartWidth=320&chartHeight=250&debugMode=0&DOMId=ch_dr&registerWithJS=0&scaleMode=noScale&lang=EN&dataXML=<chart canvasPadding='4' caption='Ganancias en el Mes' showValues='0' showNames='0' formatNumberScale='0' showBorder='1' toolTipBgColor='FFDD00' canvasBorderColor='aaaaaa' canvasBorderThickness='1' anchorBgColor='ffdd00' anchorRadius='3' lineColor='347bbf' lineThickness='4' numberPrefix='$' numVDivLines='13' showAlternateVGridColor='1' AlternateVGridColor='e1f5ff' vdivLineColor='aaaaaa' vDivLineIsDashed='1' vDivLineDashLen='1' vDivLineDashGap='1' zeroPlaneThickness='2' zeroPlaneColor='000000' >";f+="<categories>"+A+"</categories>";f+="<dataset seriesName='Ingresos' color='008200' alpha='50' anchorRadius='2' anchorBgColor='008200' >"+K+"</dataset>";f+="<dataset seriesName='Egresos' color='ff5656' alpha='50' anchorRadius='2' anchorBgColor='ff5656' >"+C+"</dataset>";f+="<dataset seriesName='Ganancias' color='AAAAAA' alpha='50' anchorRadius='2' anchorBgColor='AAAAAA' >"+H+"</dataset>";f+="</chart>\"";f+="></embed>";char=document.getElementById("bxHYiDiv");char.innerHTML=char.innerHTML+"<br><br>"+j;char=document.getElementById("TCYTDiv");char.innerHTML=char.innerHTML+"<br><br>"+f;

Back to list