Ver originalif (mes < 10) m = "0" + m;if (d < 10) d = "0" + d; window.location="tuscript.php?anio="+y+"&mes="+m+" &dia="+d;