var debug = true;if (!console) {	var console = {		log : function(text) {		}	};}function log(text) {	if (debug)		console.log(text);}function load(event) {	var start = new Date();	log('initializing: ' + I18n.localize("time.formats.twitter", start));	if (initTwitter)		initTwitter();	var end = new Date();	log('initialized: ' + I18n.localize("time.formats.twitter", end));	var loadTime = end.getTime() - start.getTime();	log('load time: ' + loadTime + ' ms');}function initGallery() {	if (jQuery('sliderUpdates')) {		log('loading component: gallery');		(function($) {			jQuery('#sliderUpdates').nivoSlider();		})(jQuery);		log('component loaded: gallery');	}}jQuery(window).load(function() {			initGallery();			});
