 <!--
<!-- Mas trucos y scripts en http://www.javascript.com.mx -->
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
var DIAS
function countup(yr,m,d){
var today=new Date()
var todayy=today.getYear()

var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes() 
var seconds=Digital.getSeconds()


if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var paststring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)
//difference+=" días"
DIAS = difference

//DIAS="<font size='4' face='Arial' color='990000'><b><font size='1'></font></br> Kilos "+difference+"</b></font>"  
//document.write("Este Sitio lleva "+difference+" en Internet desde su creación!")
//document.write("Este Sitio lleva "+DIAS+" en Internet desde su creación!")
//document.write("" +DIAS+ "")
//document.write("" +DIAS+ "")
//document.write("" +DIAS+ "")
}
//cambiar la fecha

//countup(2009,04,01)

 //-->
 
function formatNumber(num,prefix){
prefix = prefix || '';
num += '';
var splitStr = num.split(',');
var splitLeft = splitStr[0];
var splitRight = splitStr.length > 1 ? ',' + splitStr[1] : '';
var regx = /(\d+)(\d{3})/;
while (regx.test(splitLeft)) {
splitLeft = splitLeft.replace(regx, '$1' + '.' + '$2');
}
return prefix + splitLeft + splitRight;
}

function unformatNumber(num) {
return num.replace(/([^0-9\.\-])/g,'')*1;
} 
