// BEGIN DEBUGGING PLUGIN
(function($)
{
	$.fn.log = function (msg)
	{
		log( msg, this );
		return this;
	};
	
	function log ()
	{
		try {
			return console.log.apply(console, arguments);
		} catch (e) {
			try {
				return console.log($.makeArray(arguments).join(" "));
			} catch (e) {}
			return false;
		}
	}
	
	// provide external access to the normal logging function.
	$.fn.log.log = log;
	
})(jQuery);
// END DEBUGGING PLUGIN
