function goback(){
    history.back(-1);    
}


function position_footer () {
	
	FOOTER = document.getElementById("footer");
	
	if (document.documentElement.clientHeight) {
		var fensterhoehe = document.documentElement.clientHeight;
	}
	
	if (window.innerHeight) {
		var fensterhoehe = window.innerHeight;
	}
	
	if ( fensterhoehe > document.getElementById('background').offsetHeight +  FOOTER.offsetHeight) {

		FOOTER.style.position = "absolute";
		FOOTER.style.bottom = "0";
		FOOTER.style.left = "0";
		FOOTER.style.width = "100%";
		
	} else {
		
		FOOTER.style.position = "relative";
		FOOTER.style.bottom = "";
		FOOTER.style.left = "";
		
	}
	
}


function closeError(DIV) {



	DIV.style.display = "none";	

	return false;



}


Event.observe( window, "load", position_footer );
Event.observe( window, "resize", position_footer );