function $(id) {
	return document.getElementById(id);
}
function backwards(where) {
	var count=document.getElementById('counter').innerHTML; count--;
	document.getElementById('counter').innerHTML=count;
	
	if(count==0) {	window.location = where; }
	
	setTimeout("backwards('"+where+"')",1000);
}