﻿//function WS_Member(params)
//{
//	glbXmlRequest = new AkimanXmlHTTP(getID(strLoadingDiv),getID(strDebugDiv));
//	var soapData = SoapDataBuilder("PublicOperations",params);	
//	AjaxRequest("/App_Code/WebService/PublicOperation.cs",soapData,"",strLoadingDiv);	
//}
function SetLA(intLAID)
{
    var objLA =  GetAspFormField("intLAID");	
    if (objLA)
    {
        for (var i = 0;i < objLA.options.length;i++)
        {
           if ( objLA.options[i].value == intLAID )
           {
                objLA.options[i].selected = true;
                SubmitAspForm();
           }
        }
    }
}

function SortOrderForMembers(strSortField)
{    
    if ( GetAspFormField("strSortField").value == strSortField)
    {
        if (GetAspFormField("strSortType").value  == "ASC")
        {
            SetAspFormField("strSortType","DESC");
        }  
        else 
        {
            SetAspFormField("strSortType","ASC");
        }   
    }
    else
    {
        SetAspFormField("strSortType","ASC");
    }
    SetAspFormField("strSortField",strSortField);
    SubmitAspForm();
} 
//function GetMemberList()
//{
//    var	params = CustomParamBuilder("strOperation","GetMemberList");
//    params += parseAspForm();
//    WS_Member(params);
//} 



