// JavaScript Document

//$(document).ready(function() {
//	alert('Welcome to StarTrackr! Now no longer under police ...');
//});


// When the document loads do everything inside here ...
$(document).ready(function () {

    // When a link is clicked
    $("a.tabbed").click(function () {

        // switch all tabs off
        $(".tabActive").removeClass("tabActive");

        // switch this tab on
        $(this).addClass("tabActive");

        // slide all elements with the class 'content' up
        //$(".content").slideUp()
        $(".tabContent").hide();

        // Now figure out what the 'name' attribute value is and find the element with that id.  Then slide that down.
        var content_show = $(this).attr("name");
        $("#" + content_show).slideDown();
    });
});
		
		
		



