
//<![CDATA[
var page={};var onCondition=function(D,C,A,B){D=D;A=A?Math.min(A,5):5;B=B||100;if(D()){C()}else{if(A>1){setTimeout(function(){onCondition(D,C,A-1,B)},B)}}};
//]]>

      $( function () {
        
  setTimeout(function() { $(".twtr-widget").append($("<div></div>").attr("class", "twtr-fade")); }, 0);

  var tabIndex = $("[tabindex]:last").attr("tabIndex");
  var setTabIndex = function() {
    $(this).attr("tabindex", ++tabIndex);
  }
  $(".footer-nav a").each(setTabIndex);
  $(".language-select a").each(setTabIndex);
  
(function(){function b(){var c=location.href.split("#!")[1];if(c){window.location.hash = "";window.location.pathname = c.replace(/^([^/])/,"/$1");}else return true}var a="onhashchange"in window;if(!a&&window.setAttribute){window.setAttribute("onhashchange","return;");a=typeof window.onhashchange==="function"}if(a)$(window).bind("hashchange",b);else{var d=function(){b()&&setTimeout(d,250)};setTimeout(d,250)}}());
  $('#signin_menu').isSigninMenu();

      new FrontPage().init();
    
      $('#newbar .hashtag').isSearchLink(SEARCH_CALLBACKS.hashtagLink);
    
  
      });
	  
