title: set the color of menu same as its hover background once the page opens
body: <p>I have a horizontal menu on a page like this</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="/classified/siteassets/css/mymenu.css" /&gt;
  &lt;div id="content-container"&gt;
  &lt;ul&gt;
      &lt;li&gt;&lt;a href="http://mysite/Classified/Pages/Training.aspx"&gt;Training&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="http://mysite/Classified/Pages/Briefing.aspx"&gt;Briefing&lt;/a&gt;&lt;/li&gt;     
      &lt;li&gt;&lt;a href="http://mysite/Classified/Pages/Resources.aspx"&gt;Resources&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The menu is styled like this:</p>
  
  <pre><code>#content-container {
      font-family: "Trebuchet MS", Verdana, serif;
      width:100%;
      margin:0 auto;
      padding:0;
  }    
  #content-container ul {
      border-bottom: 18px solid #C93;
      list-style: none;
      margin:0 -10px;;
      padding-bottom: 1px;
      overflow: visible;
      width:98%;
  }    
  #content-container ul li {
      float: left;
      padding:0;
      margin:0;
      text-align: center;
      width: 14.25%;
  }    
  #content-container ul li a {
      border-left: 1px #fff solid;
      line-height:36px;
      text-decoration:none;
      color:#ddd;
      background-color:#2E4B68;
      display:block;
      font-size:1.5em;
  
  }
  #content-container ul li a:hover {
      background-color: #C93;
      color:#000;
  }
  </code></pre>
  
  <p>What I need to do is when one of the link is clicked the respective page opens, i need to have the same color on the menu tab that opened as its hover color. I need to do that by finding which page opened by checking the url using javascript and setting the background color of that li item dynamically using jquery to the same as its hover color so users know that's what is currently opened page. How do i do this?</p>