var hoy = new Date();
var meshoy=hoy.getMonth(); 
var diahoy=hoy.getDate(); 
 
// Los meses van de 0 a 11
if (((diahoy>2) && (meshoy>=11)) || ((diahoy<8) && (meshoy==0))) {

 var img_copo="nieve.gif"
 var no = 30;
 var navegador_ie = (document.all) ? 1 : 0;
 var navegador_nn6 = (document.getElementById) ? 1 : 0;
 var dx, xp, yp;
 var am, stx, sty;
 var i;
 var doc_width = document.body.clientWidth;
 var doc_height = document.body.clientHeight;
 dx = new Array();
 xp = new Array();
 yp = new Array();
 am = new Array();
 stx = new Array();
 sty = new Array();
 
 for (i = 0; i < no; ++ i) {
 dx[i] = 0;
 xp[i] = Math.random()*(doc_width-50);
 yp[i] = Math.random()*doc_height;
 am[i] = Math.random()*20;
 stx[i] = 0.02 + Math.random()/10;
 sty[i] = 0.7 + Math.random();
if (navegador_ie || navegador_nn6) {
 if (i == 0) { document.write("<div id=dot"+ i +" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+img_copo+"' border=0></div>");
 } else {
 document.write("<div id=dot"+ i +" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+img_copo+"' border=0></div>");
 }
 }
 }
 function nieveIE() {
 for (i = 0; i < no; ++ i) {
 yp[i] += sty[i];
 if (yp[i] > doc_height-50) {
 xp[i] = Math.random()*(doc_width-am[i]-30);
 yp[i] = 0;
 stx[i] = 0.02 + Math.random()/10;
 sty[i] = 0.7 + Math.random();
 }
 dx[i] += stx[i];
 document.all["dot"+i].style.pixelTop = yp[i];
 document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
 }
 setTimeout("nieveIE()", 35);
 }
function nieveNN6() {
 for (i = 0; i < no; ++ i) {
 yp[i] += sty[i];
 if (yp[i] > doc_height-50) {
 xp[i] = Math.random()*(doc_width-am[i]-30);
 yp[i] = 0;
 stx[i] = 0.02 + Math.random()/10;
 sty[i] = 0.7 + Math.random();
 }
 dx[i] += stx[i];
 document.getElementById("dot"+i).style.top = yp[i];
 document.getElementById("dot"+i).style.left = xp[i] + am[i]*Math.sin(dx[i]);
 }
 setTimeout("nieveNN6()", 35);
 }

 if (navegador_ie) {
    nieveIE();
 } else if (navegador_nn6) {
    nieveNN6();
 }
}