$(document).ready(function(){ 
//NOT on is_single
	//zebra stripes		
	$('ul').children('li:even').addClass('alt');
	$('ol').children('li:even').addClass('alt');
	
//NOT on is_single	    
    //match height of story boxes		
	var highestColTop = $('.excerpt-parent li a.title-link').tallestSize();
	$('.excerpt-parent li a.title-link').height(highestColTop);
    		
    var highestColBottom = $('.excerpt-parent li .bottom .excerpt').tallestSize();
	$('.excerpt-parent li .bottom .excerpt').height(highestColBottom);
	
	var tallestHighlightP = $('.highlights ul li p ').tallestSize();
	$('.highlights ul li p').height(tallestHighlightP);
	
 	$('.sidebar .highlights ul').each(function() {
      if($(this).is("ol")) { var ordered = true; }
      var colsize = Math.round($(this).find("li").size() / 2);
      $(this).find("li").each(function(i) {
           if (i>=colsize) {
                $(this).addClass('right_col');
           }
      });
      if(ordered) {
           $(this).find('.right_col').insertAfter(this).wrapAll("<ol class='splitcol' start='" + (colsize+1) + "'></ol>").removeClass("right_col");
      } else {
           $(this).find('.right_col').insertAfter(this).wrapAll("<ul class='splitcol'></ul>").removeClass("right_col");
      }
 	});	
   
});
