/*	-------------------------------------------------------------
	function getBrowserHeight()
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	Description:	Returns the height of the browser window
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	Credits:		The Internet
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

function getBrowserHeight() {
	var browserHeight = 0;
	if (typeof(window.innerHeight) == 'number') {
    	//Non-IE
    	browserHeight = window.innerHeight;
	} else if (document.documentElement && document.documentElement.clientHeight) {
    	//IE 6+ in 'standards compliant mode'
    	browserHeight = document.documentElement.clientHeight;
	} else if (document.body && document.body.clientHeight) {
    	//IE 4 compatible
    	browserHeight = document.body.clientHeight;
	}
	return browserHeight;
}

/*	-------------------------------------------------------------
	function placeFooter()
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	Description:	Places the footer always at the bottom of the
					browser window
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
	Credits:		Sven Ellingen
	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -	*/

function placeFooter(){
	var browserHeight, footer;
	
	browserHeight = getBrowserHeight();
	
	footer = document.getElementById('footer');
	footer.style.visibility = "visible";
	footer.style.top = ((browserHeight)-45)+"px";
}

