﻿/* This functions are useful when click the menu list items to hide*/

$("#liMyAccount").click(function() {
    $(this).hide();
    $(this).nextAll().hide();
});

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liSiteDEtails").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liSiteTheme").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liEZSearchManagement").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liSyndicationPartners").click(function() {
    $(this).hide();
    $(this).parent().hide()
    $(this).prevAll().hide();
    $(this).nextAll().hide();
});

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liSyndicateChannels").click(function() {
    $(this).hide();
    $(this).parent().hide()
    $(this).prevAll().hide();
    $(this).nextAll().hide();
});

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liSiteAdministrator").click(function() {
    $(this).parent().parent().parent().hide();
    $(this).hide();
    $(this).nextAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liChannelManager").click(function() {
    $(this).hide();
    $(this).nextAll().hide();
    $(this).parent().parent().parent().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liContributor").click(function() {
    $(this).hide();
    $(this).parent().parent().parent().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liEditUser").click(function() {
    $(this).hide();
    $(this).parent().parent().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liCreateChannel").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liEditOrDeleteChannel").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liUploadVideo").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liReviewOrApproveVideo").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liCreateSchedule").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liEditEvent").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liChangeSchedule").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liManageEvent").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liSiteApproval").click(function() {
    $(this).hide();
    $(this).prevAll().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liPurchaseHistory").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//

$("#liSiteStatistics").click(function() {
    $(this).hide();
    $(this).parent().hide();
    $(this).nextAll().hide();
    $(this).prevAll().hide();
})

//---------------------------------------------------------------------------------------------------------------------------------------------------------//
