title: jQuery show div for several minutes
body: <p>Hello I have multiple divs which are separated by different ids and i have a dive named as show_ads now i want to show this ad div on current active div after 3 minutes for once for just 10 seconds to show my ad and this automatically closes that show_ads div</p>
  
  <p>here is my code: </p>
  
  <pre><code>&lt;div id="main_1"&gt;
  //content here for 1
  &lt;/div&gt;
  
  &lt;div id="main_2"&gt;
  //content here for 2
  &lt;/div&gt;
  
  &lt;div id="main_3"&gt;
  //content here for 3
  &lt;/div&gt;
  
  &lt;div id="main_4"&gt;
  // content here for 4
  &lt;/div&gt;
  
  
  
  &lt;div id="show_ads"&gt;
  // ad code here
  &lt;/div&gt;
  </code></pre>
  
  <p>e.g. if someone is clicked on div main_2 then is means main_2 div is currently activated now after 3 minutes show_ad div will appear just for once only for 10 seconds and automatically close</p>
  
  <p>then again the same user clicks on main_3 it the same process will activated again</p>