var debugon=false;

function dbg(msg){

	if (debugon){

		try{

			console.info(msg);

		}

		catch(e){

			//Doesn't work in IE	

		}

	}

}

function dbgDir(o){

	if (debugon){

		try{

			console.dir(o);

		}

		catch(e){

			//Doesn't work in IE	

		}

	}

	

	

}
