﻿function ShowMaster() {
    var modalPopupBehavior = $find('msgClientIdMaster');
    modalPopupBehavior.show();
}

function ShowMaster(titre,contenu) {
    var modalPopupBehavior = $find('msgClientIdMaster');
    LblTitle.innerHTML = titre;
    LblMessage.innerHTML = contenu;
    modalPopupBehavior.show();
}

function HideMaster() {
    var modalPopupBehavior = $find('msgClientIdMaster');
    LblTitle.innerHTML = "";
    LblMessage.innerHTML = "";
    modalPopupBehavior.hide();
}


function ShowCarteSwf() {
    var modalPopupBehavior = $find('msgClientIdMasterCarteSwf');
    modalPopupBehavior.show();
}

function HideCarteSwf() {
    var modalPopupBehavior = $find('msgClientIdMasterCarteSwf');
    modalPopupBehavior.hide();
}

function ShowFicheAssociation() {
    var modalPopupBehavior = $find('msgClientIdMasterFicheAssociation');
    modalPopupBehavior.show();
}

function HideFicheAssociation() {
    var modalPopupBehavior = $find('msgClientIdMasterFicheAssociation');
    modalPopupBehavior.hide();
}

function ShowFicheMentionLegaleCredit(titre, contenu, taille) {
    var modalPopupBehavior = $find('msgClientIdMasterFicheMentionLegaleCredit');
    LblTitrePnlPopupFicheMentionLegaleCredit.innerHTML = titre;
    LblContenuPnlPopupFicheMentionLegaleCredit.innerHTML = contenu.value;
    jQuery(".modalPopupPnlPopupFicheMentionLegaleCredit").css("height", taille);
    modalPopupBehavior.show();
}

function HideFicheMentionLegaleCredit() {
    var modalPopupBehavior = $find('msgClientIdMasterFicheMentionLegaleCredit');
    LblTitrePnlPopupFicheMentionLegaleCredit.innerHTML = "";
    LblContenuPnlPopupFicheMentionLegaleCredit.innerHTML = "";
    modalPopupBehavior.hide();
}



function ShowPlanSite() {
    var modalPopupBehavior = $find('msgClientIdMasterPlanSite');
    modalPopupBehavior.show();
}

function HidePlanSite() {
    var modalPopupBehavior = $find('msgClientIdMasterPlanSite');
    modalPopupBehavior.hide();
}
