$(document).ready(function(){
  $('a[href$=".pdf"]').attr('href', function () {
		return '/elqNow/elqRedir.htm?ref=' + this.href
	});
});
$(document).ready(function(){
	$('a[href$=".ashx?IndexSymbol=SOX"]').attr('href', function () {
		return '/elqNow/elqRedir.htm?ref=' + this.href
	});
});
$(document).ready(function() {
  if(window.location.hash == $(this).attr('href')) $(this).trigger('click');
  $(".tab_content").hide();
  $("ul.tabs li:first").addClass("active").show();
  $(".tab_content:first").show();
  $("ul.tabs li").click(function() {
    $("ul.tabs li").removeClass("active");
    $(this).addClass("active");
    $(".tab_content").hide();
    var activeTab = $(this).find("a").attr("href");
    $(activeTab).fadeIn();
    return false;
  });
});


