/*
    This script contains methods for working with default authentication service (Sys.Services.AuthenticationService). This service must be explicitely set up by:
   	<system.web.extensions>
        <scripting>
            <webServices>
                <authenticationService enabled="true" />
*/
// method for showing 
function ShowLogged(){
        
        var header_membership = $get('header_membership');
        header_membership.innerHTML = ''; //Reading status...(will not display at all)
        www.rferl.org.Services.MembershipService.GetDisplayName(ShowLoggedCallback);
}
function ShowLoggedCallback(result){
    
    var header_membership = $get('header_membership');
    if(result.length > 0)
    {
        header_membership.innerHTML = result;
    }
}
// Notify ScriptManager that this is the end of the script.
if (typeof(Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();