// Funzione che esegue il redirect a seconda della data
// Non st๒ a spiegarti come funziona, ่ semplicissimo

// D Day
var mAnno=2004;
var mMese=12;
var mGiorno=31;

// Redirect rispetto al D Day
var URLRedirectPrima = "index1.html";
var URLRedirectDopo = "http://www.compilation-power.com";

function redirectFromDate()
{
	var mDate = new Date();
	if (mDate.getYear()==mAnno && mDate.getMonth()<=mMese && mDate.getDate()<=mGiorno)
	{
		location.href=URLRedirectPrima;
	}
	else
	{
		location.href=URLRedirectDopo;
	}
}
