// solution from
// http://code.google.com/p/fbug/source/browse/branches/firebug1.2/lite/firebugx.js?r=964
// to avoid  errors in browsers that don't use firebug
// if (!window.console || !console.firebug) {
var ConsoleMonkeypatch=function(){var a,b=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];window.console={};for(a=0;a<b.length;a+=1)window.console[b[a]]=function(){}};ConsoleMonkeypatch()
