function ShowPopUp (controlId, ev)
{
    var el = $get(controlId);

    if (el)
    {
        el.style.left = ev.clientX + 30 + "px";
        el.style.top = ev.clientY + 20 + "px";
        el.ShowPanel();
    }
}

function FixFirefox (id)
{
    if (typeof(FCKeditorAPI) != "undefined")
    {
        var x = FCKeditorAPI.GetInstance(id);
        if (typeof (x) != "undefined")
            x.UpdateLinkedField();
    }
}