jQuery(document).ready(function() {
    jQuery(".post-box").bind('mouseenter', function() {
        jQuery(this).find(".readthis").fadeIn()
    })
    jQuery(".post-box").bind('mouseleave', function() {
        elem = jQuery(this)
        setTimeout(function() {
            elem.find(".readthis").fadeOut()
        }, 1000)
        return false;
    });
	
	
	if ( jQuery.browser.opera ) {

	}
	
	if ( jQuery.browser.mozilla ) {
  	jQuery(".partner li span").css("margin","-7px 0 0 -12px");

	jQuery(".partner").css("margin"," -80px 0 0 -29px");
	
	}
	
	if ( jQuery.browser.webkit ) {
  	
	}
	
	if ( jQuery.browser.msie ) {
  	jQuery(".partner").css("margin","-80px 0 0 -729px");
	jQuery("#nav-below").css("margin","380px 0 0 -720px");
	}
	
	
	jQuery('#newsletter-bar-ex, #facebook-bar-ex, #twitter-bar-ex, .partner-bar-ex').transform({rotate: '45deg'});
	
	

jQuery(".side-menu li").find("a[href='"+window.location.href+"']").each(function(){
jQuery(this).css({'color' : '#E7601B', 'text-decoration' : 'underline'})
//add your own logic here if needed
})
	
	
	
});


jQuery(document).ready(function() {
    jQuery("#accordion").accordion();
  });
  
function equalHeight(group) {
   tallest = 0;
   group.each(function() {
      thisHeight = jQuery(this).height();
      if(thisHeight > tallest) {
         tallest = thisHeight;
      }
   });
   group.height(tallest);
}
jQuery(document).ready(function() {
   equalHeight(jQuery("#primary, #content"));
});






 
 

