		var time = 10; //How long (in seconds) to countdown
		var page = "/?a=1"; //The page to redirect to
		function errorCountDown()
		{
			time--;
			getSpan("container").innerHTML = time;
			if(time == 0)
			{
				window.location = page;
			}
		}
		function getSpan(id)
		{
			if(document.getElementById) return document.getElementById(id);
			if(document.all) return document.all.id;
			if(document.layers) return document.layers.id;
			if(window.opera) return window.opera.id;
		}
		function init()
		{
			if(getSpan('container'))
			{
				setInterval(errorCountDown, 1000);
				getSpan("container").innerHTML = time;
			}
			else
			{
				setTimeout(init, 50);
			}
		}
		document.onload += init();

