// JavaScript Document

function diasonline(){
fecha = new Date();
hoy = new Date(fecha.getFullYear(),fecha.getMonth()+1,fecha.getDate());
//reemplaza new Date(2001,03,26) por la fecha de inicio de tu site asi: new Date(aaaa,mm,dd)
inicio = new Date(2007,01,20);
resta =   hoy.getTime()-inicio.getTime();
resultado = Math.floor(resta/(1000*60*60*24));
document.write(resultado);
}
