//jQuery.noConflict();
jQuery(document).ready(function($){

    jQuery('.mcol').makeacolumnlists({cols: 3, colWidth: 305, equalHeight: 'ul', startN: 1});
    jQuery('.mcol2').makeacolumnlists({cols: 3, colWidth: 293, equalHeight: 'ul', startN: 1});
   


		if (jQuery('.slideshow-set').length) {
			jQuery('.slideshow-items').delegate('a', 'click', function(event) {
				event.preventDefault();
				
				jQuery('.slider-next').click();
				return false;
			});
		};

});

animatedcollapse.addDiv('categories', 'fade=0,speed=400,group=srv,hide=1')
animatedcollapse.addDiv('archives', 'fade=0,speed=400,group=srv,hide=1')
animatedcollapse.addDiv('search', 'fade=0,speed=400,group=srv,hide=1')

animatedcollapse.ontoggle=function($, divobj, state){ //fires each time a DIV is expanded/contracted
	//$: Access to jQuery
	//divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
	//state: "block" or "none", depending on state
}

animatedcollapse.init()
