﻿// javscript to show popup form

function ShowCouponForm() {
    // get reference to modal popup using the AJAX api $find() function
    // this funciton gets a reference to a ajax control toolkit object if the behavior
    // id property is specified
    var mpc = $find('MCOUPON');
    if (mpc) {
        document.getElementById("frameBCP").src = "BankChecksPlus_signup.html";
        mpc.show();
    }

    return false;
}

function ClosePopup(ctrlID) {
    var mpe = $find(ctrlID);
    if (mpe) {
        mpe.hide();
    }
}

function ShowPopup(ctrlID) {
    var mpe = $find(ctrlID);
    if (mpe) {
        mpe.show();
    }
    return true;
}

