﻿
function ShowEventInfo(event, ID)
{
    LookupPanel.show();
    LookupPanel.startCallback(event, "ID=" + ID.toString(), null, OnError);    
}    

function HideEventInfo()
{
    LookupPanel.hide();
    
    // *** If you don't use shadows, you can fade out
    //LookupPanel.fadeout();
}

function OnError(Result)
{
    alert("*** Error:\r\n\r\n" + Result.message);
}