title: Jquery "address" is not working on refresh
body: <p>I am using jQuery address and I can't get it to initialize on refresh...(In all major browsers except IE) Here are the issues...</p>
  
  <p>When I click on a link the ajax loads it loads perfectly and adds the class "selected" to the link as it is supposed to. When I use the back button it works perfect also, but after I click the link then hit the refresh button, it reloads the original state (minus the ajax) and will not add the class "selected" to any links or load anymore ajax thereafter.</p>
  
  <p>Here is the link to the page. <a href="http://www.weightlossexp.com/articles" rel="nofollow">http://www.weightlossexp.com/articles</a></p>
  
  <p>Any help is greatly appreciated, thanks in advance.</p>
  
  <p><strong>[Edit] Code</strong></p>
  
  <p>Jquery</p>
  
  <pre><code>var init = true, 
          state = window.history.pushState !== undefined;
          // Handles response
          var handler = function(data,topic,w) {
            $("#title_back h1").hide().html(topic).fadeIn(800);
            $('title').html(topic);
            $('#content').html(data).animate({width:w},1500);
            $('#lc').show();
            // $.address.title(/&gt;([^&lt;]*)&lt;\/title/.exec(data)[1]);
          };
          $.address.state('/articles').init(function() {
              // Initializes the plugin
              $('#lc a').address();                
          }).change(function(event) {
              // Selects the proper navigation link
              $('#lc a').each(function() {
                  //alert($(this).attr('href')+' - - '+$.address.state() + event.path);
                  if ($(this).attr('href') == ($.address.state() + event.path)) {
                      $(this).addClass('selected').focus();
                  } else {
                      $(this).removeClass('selected');
                  }
              });
              var classL = $(".selected").length;
              if(classL == 1){
                  var topic = $('.selected h2').html();
                  var action = event.path.substr(1);
                  var width = '100%';
              }else{ 
                  var topic = "Topics"; 
                  var action = '';
                  var width = '0px';
              }
              if (state &amp;&amp; init) {
                  init = false;
              } else {
                  // Loads the page content and inserts it into the content area
                  $.ajax({
                      url: "scripts/ajax/getSubTitles.php",
                      data: {action:action},
                      type: "post",
                      success: function(data, textStatus, XMLHttpRequest) {
                          handler(data,topic,width);
                      }
                  });
              }
          });
  </code></pre>
  
  <p>Html</p>
  
  <pre><code>&lt;div id="lc" style="position:absolute; overflow:hidden;"&gt;
                      &lt;a href="/articles/ap" id="ap"&gt;&lt;div class="topics" style="border-top:1px solid #d1d1d1; margin-top:20px;"&gt;&lt;h2&gt;Anatomy and Physiology&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/end" id="end"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Endurance&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/flex" id="flex"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Flexibility&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/myth" id="myth"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Myths&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/nut" id="nut"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Nutrition 101&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/corr" id="corr"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Post-Rehab/Corrective Exercise&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/power" id="power"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Power&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/stab" id="stab"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Stability&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/str" id="str"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Strength/Resistance Training&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/supp" id="supp"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Supplements&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/wg" id="wg"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Weight Gain&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                      &lt;a href="/articles/wl" id="wl"&gt;&lt;div class="topics"&gt;&lt;h2&gt;Weight Loss&lt;/h2&gt;&lt;/div&gt;&lt;/a&gt;
                  &lt;div id="content"&gt;
                  &lt;/div&gt;
  </code></pre>