
function DisableControls() 
{
    var controls = document.links;
    for (i = 0; i < controls.length; i++) 
    {
        if (controls[i].id.match("MainLogoHref1") ||
            controls[i].id.match("MainLogoHref2") ||
            controls[i].id.match("MainLogoHref3") ||
            controls[i].id.match("MainLogoHref4") ||
            controls[i].id.match("MainLogoHref5") ||
            controls[i].id.match("MainLogoHref6") ||
            controls[i].id.match("MainLogoHref7") ||
            controls[i].id.match("MainLogoHref8") ||
            controls[i].id.match("Tr_Manage") ||

            controls[i].id.match("Tr_BecomeMember") ||
            controls[i].id.match("Tr_ForgotPassword") ||
            controls[i].id.match("imgTreeGroup") ||
            controls[i].id.match("Tr_AttendantCare") ||
            controls[i].id.match("Tr_CrisisIntervention") ||
            controls[i].id.match("Tr_CertifiedPeerSpeliacist") ||
            controls[i].id.match("ce_certifiedpeerspecialists") ||
            controls[i].id.match("Tr_OnlineTrainings") ||
            controls[i].id.match("Tr_CPSTrainings") ||
            controls[i].id.match("Tr_EventTrainings") ||
            controls[i].id.match("Yo_Main") ||
            controls[i].id.match("Re_TipSheets") ||

            // Added by HMK 09/17/09
            controls[i].id.match("Tr_TrainingUpdates") ||
            controls[i].id.match("aBasicTraining") ||
            controls[i].id.match("aAdvancedTraining") ||
            controls[i].id.match("aSchedule") ||
            ///

            controls[i].id.match("Su_Faq") ||
            controls[i].id.match("Su_OurTeam") ||
            controls[i].id.match("Su_SubmitCase") ||
            controls[i].id.match("MemberPolicyHref") ||
            controls[i].id.match("FAQHref") ||
            controls[i].id.match("ContactUsHref") ||
            controls[i].id.match("treeGroup") ||
            controls[i].id.match("Tr_AttendantCare")
             ) 
        {
            controls[i].onclick = showAlert;
            controls[i].style.color = "gray";
            controls[i].href = document.location.href;
        }
        else 
        {
            continue;
        }
    }
}

function showAlert() 
{
    var message = "<span class='bodyTextRed'>Please update the missing REQUIRED profile information. You can navigate other links after completing the mandatory information.</span>";
    radalert(message, 470, 150, 'Required Information Missing');

    return false;
}