var d = {
	on:	true,
	bug: function(e){
		if(d.on) alert("Caught Exception:\n"+e);
	}
}