function showAlert(control1, control2, alertPopupId)
{
    var txtControl1 = document.getElementById(control1);
    var txtControl2 = document.getElementById(control2);
    var pnlAlert = document.getElementById(alertPopupId);
    
    
    
    if(txtControl1.value == txtControl2.value)
    {
        pnlAlert.className = 'AccountAlertInvisible';
    }
    else
    {
        pnlAlert.className = 'AccountAlertVisible';
    }
}

function showAlertObjectBlur(control, panelId, control1, control2, alertPopupId)
{
    showAlert(control1, control2, alertPopupId);
    objectBlur(control, panelId);
}
