﻿// JScript File

function openLightBox (senderId)
{
    if (eventId) eventId.value = senderId;
    MeetingFormLightbox.showLightbox();
}

var MeetingFormLightbox={
    init:function(){
        var EventsInfoRequest=$("EventsInfoRequest");
        MeetingFormLightbox.EventsInfoRequest = new Lightbox($("EventsInfoRequest"));        
    },
    
    showLightbox:function(){
        MeetingFormLightbox.EventsInfoRequest.show();
    },
    hideLightBox:function(){
        $("EventsInfoRequest").getElement(".thankyouPhaze").setStyle("display","none");      
        $("EventsInfoRequest").getElement(".form").setStyle("display","block");  
        MeetingFormLightbox.EventsInfoRequest.hide();
    }  
};       

$DL(
    function(){
        MeetingFormLightbox.init();
    }
)
