function ShowCustInfo(custId)
    {
        ICParkWeb.CustomerService.FetchBaseInfoForManage(custId,cb_FetchInfo);
    }
    function cb_FetchInfo(result)
    {
        var custInfo = result;        
        $get("custFace").src=custInfo.FaceImg;
        $get("custName").innerHTML=custInfo.TrueName;
        $get("custSex").innerHTML=custInfo.Sex;   
        if (custInfo.State != custInfo.City)
        {
            $get("custArea").innerHTML=custInfo.State+" "+custInfo.City;
        }
        else
        {
            $get("custArea").innerHTML=custInfo.State;
        }
        $get("custSign").innerHTML=custInfo.PersonalSign;
        $get("tags").innerHTML=custInfo.Tags;
        $get("about").innerHTML=custInfo.Brief;
       $get("email").innerHTML=custInfo.Email; 
        if (custInfo.CompanyName=="")
        {
            $get("noCompany").style.display="inline";
            $get("companyInfo").style.display="none";
            $get("tel").style.display="none"; 
        }        
        else
        {
            $get("noCompany").style.display="none";
            $get("companyInfo").style.display="block";
            $get("tel").style.display="inline"; 
            $get("companyName").innerHTML=custInfo.CompanyName;
            $get("companyType").innerHTML=custInfo.CompanyType;
            $get("tel").innerHTML=custInfo.CompanyTel;
        }
        $get("linkPersonalCenter").href="/PersonalCenter/default.aspx?custId="+custInfo.CustomerId;
    }
    function Cover(bottom, top, ignoreSize) 
    {          
        var location = Sys.UI.DomElement.getLocation(bottom);       
        top.style.position = 'absolute';
        top.style.top = location.y + 'px';
        top.style.left = location.x + 'px';
        if (!ignoreSize) 
        {
            top.style.height = bottom.offsetHeight + 'px';
            top.style.width = bottom.offsetWidth + 'px';
        }
    }
    function Cover2(bottom, top, ignoreSize) 
    {        
        var location=Sys.UI.DomElement.getLocation($get(document.getElementById('hf').value));
        if (ignoreSize)
        {
            location = Sys.UI.DomElement.getLocation(bottom); 
        }
        else
        {
            location=Sys.UI.DomElement.getLocation($get(document.getElementById('hf').value));
        }
        top.style.position = 'absolute';
        top.style.top = location.y + 'px';
        top.style.left = location.x + 'px';
        if (!ignoreSize) 
        {
            top.style.height = bottom.offsetHeight + 'px';
            top.style.width = bottom.offsetWidth + 'px';
        }
    }