/**
 * @author: Jeremy Smith - DNA A Web Agency - www.dnawebagency.com
 * @description: Instantiate an instance of tabs to gain access to the toggle function to toggle divs.
 *               Pass the constructor an id to initialize the page.
 * @param: init_id - this is the id of the element that you want to be shown when the page is first displayed.
**/

   var current_id = 'routes';
   
   /**
   * @author: Jeremy Smith - DNA A Web Agency - www.dnawebagency.com
   * @description: This will hide the currently active div and show the new div.
   * @param: on_id - this is the id of the element you want to show.  - NOT VALID ANYMORE - Accessed by - tabs.toggle(on_id);
   **/   
   function toggle(on_id)
   {
      //hide current_id
      $('#'+current_id).hide();
      
      //show on_id
      $('#'+on_id).show();
      
      //set current_id to on_id
      current_id = on_id;
   }
