function DisableControls()
{
   //get all the anchors in the page
    var controls = document.links;
    for (i = 0; i < controls.length; i++) 
    {
        //disable all except required links
        if (controls[i].id == "Me_MyInformation" ||
            controls[i].id.match("Menu_Tr_MyInformation") ||
            controls[i].id.match("MyInformationLinkBot") ||
            controls[i].id.match("MyInformationLinkTop") ||
            controls[i].id == "hlSignOut" ||
            controls[i].id.match("hlSignInInfo") ||
            controls[i].id.match("hlEmploymentInfo") ||
            controls[i].id.match("hlPrinterFriendly") ||
            controls[i].id.match("hlPersonalInfo") ||
            controls[i].id.match("A1") ||
            controls[i].id.match("A2") ||
            controls[i].className == "rwPopupButton" // RadAlert OK button class
            )
            continue;
        controls[i].onclick = showAlert;
        controls[i].style.color = "gray";
        controls[i].href = document.location.href;
    }
}

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;
}