// FB debugging v1.0 // cherny.com // use anywhere at any time // no warranty expressed or implied
FB = {
	iesetup : false,
	o : true,
	log : function(tf, junk, x)
	{
		if (!FB.o) return true;
		if (!FB.iefb){
			FB.iefb = (!window.console && !FB.iefb) ? document.createElement("div") : false;
		}
		if (FB.iefb && !FB.iesetup) {
			FB.iefb.id = "IEFB";
			document.body.appendChild(FB.iefb);
			FB.iefb.style.backgroundColor = "#fff"; FB.iefb.style.color = "#000"; FB.iefb.style.fontSize = "11px";
			FB.iefb.style.height = "150px"; FB.iefb.style.overflowY = "scroll"; FB.iefb.style.fontFamily = "verdana";
			FB.iesetup = true;
		}
		if (window.console && tf) {
			console.log(junk.join(" "));
			if (x) console.trace();
		}
		else if (FB.iefb && tf) {
			var x = document.getElementById("IEFB")
				x.innerHTML += junk.join(" ") + "<br />";
				x.scrollTop = x.scrollHeight;
		}
	}
};

//FB.o = false; //globally disable debugging output

