/*
Original Floating Menu script by-  Roy Whittle (http://www.javascript-fx.com/)
Modified by Ken Clarke, www.perlprogrammer.net
Script featured on/available at http://www.dynamicdrive.com/
This notice must stay intact for use
*/
bottom_floaterscript_loaded = true;
function Float_Bottom(box_height) {
	Bottom_Float_Visible_Flag = true;
	var d = document;
	var px = d.layers ? "" : "px";
	var ns = (navigator.appName.indexOf("Netscape") != -1);

	function ml(id) {
		var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
		if(d.layers)el.style=el;
		el.sP=function(y){this.style.top=y+px;};
		el.y = ns ? pageYOffset + innerHeight : d.body.scrollTop + d.body.clientHeight;
		return el;
	}

	window.stayBottom=function() {
		if(Bottom_Float_Visible_Flag) {
			var pY = ns ? pageYOffset + innerHeight : d.body.scrollTop + d.body.clientHeight;
			bottom_Obj.y += (pY - bottom_Obj.y - box_height)/8;
			bottom_Obj.sP(bottom_Obj.y);
			setTimeout("stayBottom()", 30);
		}
	}

	bottom_Obj = ml("float_bottom");
	bottom_Obj.style.visibility = "visible";
	stayBottom();
}

function Close_Bottom_Floater() {
	var d = document;
	var bf_Obj = d.getElementById?d.getElementById("float_bottom"):d.all?d.all["float_bottom"]:d.layers["float_bottom"];
	bf_Obj.style.visibility = "hidden";
	Bottom_Float_Visible_Flag = false;
}