var $j = jQuery.noConflict();

$j(document).ready(function () {
	// equalize the children container heights
	  $j(".jcart_wrapper").each(function() {
	    // initializes a max height
	    var heightfixmax = 0;
	    // iterates through all the children and finds the tallest height
	    $j(this).children().each(function() {
	      if ($j(this).height() > heightfixmax) {
	        heightfixmax = $j(this).height();
	      }
	    });
	    // makes all children the same (max) height
	    $j(this).children().each(function() {
	      $j(this).height(heightfixmax);
	    });
	  });
	  
	  $j(".event_sub li:last").addClass("last_event_list");
	  
	  if ($j('#hidden').hasClass('news_section')) {
		  $j("li.page-item-17").addClass("current_page_item");
		}
		
	  if ($j('#hidden').hasClass('event_section')) {
		  $j("li.page-item-196").addClass("current_page_item");
		}  

	  
});
