function Redirect_Simple(where, delay)
{
	var where;
	var delay = delay*1000; //Conversion secondes
	setTimeout(function(){location.href = where;}, delay)
}

function Redirect(where, delay , counter)
{
	var counter = document.getElementById(counter);
	var where;
	var delay;

	function Counter()
	{
		delay = delay--;
		counter.innerHTML = delay;
	}
	
	if(delay > 0)
		setInterval(function(){delay--; if(delay == 0)location.href = where; counter.innerHTML = delay;}, 1000);
	else
		location.href = where;
//	setTimeout(function(){location.href = where;}, delay)
}