//this file is not in use(every click on LeftNav should reload the page)
if (jQuery) 
{
	$(document).ready(function() 
	{	
	    jQuery(function($) 
	    {      
          
		    //sidebar function
		    function sideNav_init(ul) 
		    {
			    $(">li>a",ul).each(function() 
			    {
				    $(this).click(function() 
				    {	        
				        $("li",ul).not($(this).parent()).removeClass("active");
					    $(this).parent().toggleClass("active");
					    this.blur();					    
					    //return false;
					    
				    });
    				
				    if($(this).next("ul").length > 0) 
				    {
					    sideNav_init($(this).next("ul"));
				    }
			    });
		    }
    		/*
		    //initialize sidebar navigation (if any)
		    if ($("#side_nav").length > 0) 
		        sideNav_init($("#side_nav>ul"));
		    */
    		
		    //initialize the 2nd sidebar navigation (if any)
		    if ($("#side_nav2").length > 0) 		    
			    sideNav_init($("#side_nav2>ul"));
		    
		
        });

		
	});
}