/*
* error console logging function 
* @param log text the message that you want displayed on the error log console
* @return null
*/
function log(msg){
	if(window.console) {
		window.console.log(msg);
		return null;
	} 
	else
	{
		return null;
	}
}
/*
* jquery document initilization method 
* @param $ object the short notation for the jQuery function 
* begging the document.ready function with jQuery instead of $ allows 
* other libraries like prototype to be run in conjunction with jQuery
* 
* @return null
*/
jQuery(document).ready(function($){

	$('#multimedia_by_day, #vid_displaying_text').cycle({ 
	    fx:     'fade', 
	    speed:  'fast', 
	    timeout: 0, 
	    next:   '#multimedia_right', 
	    prev:   '#multimedia_left' 
	});
	$('#featured_photo_by_day, #photo_displaying_text').cycle({ 
	    fx:     'fade', 
	    speed:  'fast', 
	    timeout: 0, 
	    next:   '#photos_right', 
	    prev:   '#photos_left' 
	});

	
	/*
	function deactivate_classes(){
		$("#mm_nav_videos").attr("class", "");
		$("#mm_nav_photos").attr("class", "");
		$("#mm_nav_home").attr("class", "");
	}	

	$("#mm_nav_home,#mm_nav_photos,#mm_nav_videos").click(function() { 
		deactivate_classes();
		$(this).attr("class","active");
    });
	*/
}); 
