/* <![CDATA[ */
		
	/////// Shortcodes Javascript ///////
	jQuery(document).ready(function($){
		// learn more
		$et_learn_more = $('.et-learn-more .heading-more');
		$et_learn_more.live('click', function() {
			if ( $(this).hasClass('open') ) 
				$(this).removeClass('open');
			else 
				$(this).addClass('open');
			$(this).parent('.et-learn-more').find('.learn-more-content').animate({ opacity: 'toggle', height: 'toggle' }, 300);
			if ( $(this).hasClass('open') ) {
				var map =  $(this).parent('.et-learn-more').find('.learn-more-content').find('.google_map_holder').attr('id');
				wakeupMap(map);
			}
		});
		$('.et-learn-more').find('.learn-more-content').css( { 'visibility' : 'visible', 'display' : 'none' } );
	});
	
	// this hack is for epanel usage
	function wakeupMap(map) {
		if(map == undefined)
			return;
		var w_map = window[map];
		var center = w_map.getCenter()
		google.maps.event.trigger(w_map, 'resize');
		if(w_map["bbox"].isEmpty())
				w_map.setCenter(center);
		else
			w_map.fitBounds(w_map["bbox"]);
	}	

/* ]]> */
