﻿// Blind Dropdown and Slider Start

$(document).ready(function() {

    $("#CampSport-Blind").hide("blind");
    $("#CampLocation-Blind").hide("blind");

    $("#DomeSport-Blind").hide("blind");
    $("#DomeLocation-Blind").hide("blind");

    $("#ProTrainingSport-Blind").hide("blind");
    $("#ProTrainingLocation-Blind").hide("blind");

    $("#LeagueSport-Blind").hide("blind");
    $("#LeagueLocation-Blind").hide("blind");

    $("#AcademySport-Blind").hide("blind");
    $("#AcademyLocation-Blind").hide("blind");

    $("#SummerSelectSport-Blind").hide("blind");
    $("#SummerSelectLocation-Blind").hide("blind");

    $("#SpecialEventLocation-Blind").hide("blind");

    $("div.LocationList_Button").click(function() {
    $("div#LocationList").animate({
            height: "110px"
        })
		.animate({
            height: "110px"
		}, "fast");
		$("div.LocationList_Button").toggle();

    });

    $("div#LocationList_Hide_Button").click(function() {
    $("div#LocationList").animate({
            height: "0px"
        }, "fast");


    });

});

// Blind Dropdown and Slider End


// Tabs Start
$(function() {
    $("#tabs").tabs({
        deselectable: true
    });
    $("#tabs").data('selected.tabs', null);
});
// Tabs End

// Blind Dropdown Start

$(function() {
    $(".tabs-toggler-Camp-SportTypes").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});

$(function() {
    $(".tabs-toggler-Camp-Locations").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});


$(function() {
    $(".tabs-toggler-Dome-SportTypes").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});

$(function() {
    $(".tabs-toggler-Dome-Locations").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});


$(function() {
    $(".tabs-toggler-ProTraining-SportTypes").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});

$(function() {
    $(".tabs-toggler-ProTraining-Locations").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});


$(function() {
    $(".tabs-toggler-League-SportTypes").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});

$(function() {
    $(".tabs-toggler-League-Locations").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});

$(function() {
    $(".tabs-toggler-Academy-SportTypes").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});

$(function() {
    $(".tabs-toggler-Academy-Locations").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});


$(function() {
    $(".tabs-toggler-SummerSelect-SportTypes").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});

$(function() {
    $(".tabs-toggler-SummerSelect-Locations").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});

$(function() {
    $(".tabs-toggler-SpecialEvent-Locations").click(function() {
        $("> :eq(0)", this).toggle("blind");
    });
});
// Blind Dropdown End