var musicTop = 1;

function PositionFooter(){
	var s;
	if (self.pageYOffset){s = self.pageYOffset;}
	else if (document.documentElement && document.documentElement.scrollTop) {	s = document.documentElement.scrollTop; }
	else if (document.body) {	s = document.body.scrollTop; }

	var el = document.getElementById("floatingFooterContainer");
	el.style.top = getWindowHeight() - 30 + s;
	var music = document.getElementById("music");
	var musicContaier = document.getElementById("musicContainer");
	
	music.style.top = getWindowHeight() - 22 + (s * 1.001);

	window.setTimeout('PositionFooter()', 10);
}

function getWindowHeight() {
	var windowHeight=0;
	if (typeof(window.innerHeight)=='number') {
		windowHeight=window.innerHeight;
	}
	else {
		if (document.documentElement&&document.documentElement.clientHeight) {
			windowHeight=document.documentElement.clientHeight;
		}
		else {
			if (document.body&&document.body.clientHeight) {
				windowHeight=document.body.clientHeight;
			}
		}
	}
	return windowHeight;
}


window.setTimeout('PositionFooter()', 10);

function KillMusic(){
	var musicContainer = document.getElementById('musicContainer');
	musicContainer.innerHTML = "<div id='music'>&nbsp;</div>";
}