/////////////////////////////// qTip  ///////////////////////////////
		
$(document).ready(function() {  		
	$('span.ev_title').each(function(){ // Use each to gain access to each element as $(this)
   		$(this).qtip({
      		content: $(this).next('span.ev_time'), // Use the element next to this with class bodytext for the tooltip content
      		hide: {    				 
   				fixed: true,
   				delay: 300,
   				when: 'mouseout'
   			},
   			position: {
				my: 'bottom center', 
     			at: 'top center',
     			adjust: { y: -5 }
			},
		  	style: {
				classes: 'ui-tooltip-cream ui-tooltip-shadow ui-tooltip-rounded'
			}
   		})
	});


});

$(document).ready(function(){ 
            $(".gallery_container").collapse(
            	
           // 	{head: "h2"},
            	
            	{show: function(){
            	
                    this.animate({ 
                        height: 'toggle'
                    }, 500);
                },
                
                hide : function() {
                    
                    this.animate({
                  //   	opacity: 'toggle',  can't fadeIn/out content because stupid IE7 applies a black bg instead of transparency to the png img bg. 
                        height: 'toggle'
                    }, 500);
                }
            }); 
}); 





