
    $(function() {
	    //On Click Event
	    $("ul.tabsInnerRight li").click(function() {
		    $(".active").removeClass("active"); //Remove any "active" class
		    $(this).addClass("active"); //Add "active" class to selected tab
		    $(".tab_content").hide(); //Hide all tab content
		    var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		    $(activeTab).fadeIn(); //Fade in the active ID content
		    return false;
    //    var queryData = {};
	    }); 
/*
        
        if (queryData.hasOwnProperty("innertab")) {
            if ($('#' + queryData.innertab).length > 0) {
                $('a[href=#' + queryData.innertab + "]").click();
            } else {
                $('ul.tabsInnerRight li:first').click();
            }
        } else {
	        $('ul.tabsInnerRight li:first').click(); //Show first tab content
        }
*/
	//When page loads...
    	$(".tab_content").hide(); //Hide all content
    	$("ul.tabsInnerRight li:first").click() //addClass("active").show(); //Activate first tab

    });
