Microsoft JScript runtime error: 'Alticore' is undefined
<p>In my project i am using Ajax popup control to display address details. Popup is showing perfectly For the first time page load but when i saved my details and click on the popup button it getting error like "Microsoft JScript runtime error: 'Alticore' is undefined".
Below is my code please help me on this.</p>

<pre><code>function EditAddress(addressId)
{
    var companyId = $get('hdnCompanyId').value;
    var url = "AddAddressDetails.aspx?AddressId=" + addressId + "&amp;EntityId=" + companyId   + "&amp;EntityType=COMPANY";
    Alticore.Framework.openModalFrame('divEditAddress', url, { 'callback': addressPopupClosed, 'draggable': true, 'title': "Address Details ", 'width': '600px', 'height': '380px' });
}

function addressPopupClosed(response) // This method is called when the Popup is closed
{
    try {
        if (response.IsOk) {
            $get('btnListAddress').click();
            activeTabId = "AddressDetails";
        }
    }
    catch (e) {
        alert(e.message);
    }
}
</code></pre>
