﻿// Allows to open popup dialog using Javascript
function ShowToolTip(tooltipname) {
    window.setTimeout(function() {
        var tooltip = $find(tooltipname);
        if (tooltip != undefined) {
            tooltip.show();
        }
    }, 200);
    return false;
}
function HideToolTip(tooltipname) {
    window.setTimeout(function() {
        var tooltip = $find(tooltipname);
        if (tooltip != undefined) {
            tooltip.hide();
        }
    }, 100);
    return true;
}
function HideToolTipWithChecker(controlname) {
    if (CheckAllowClose() == true) {
        var c = $find(controlname);
        if (c != undefined) {
            c.hide();
        }
    }
    return false;
}
