﻿//操作会员离开
function Leave(cid)
{
    if(__P_M=="")
    {
        top.location = "/user/login.htm?IsShow=1&ReturnUrl="+top.location.href;return;
    }
         showProgressBar(false,true);
          $("$divIput$").style.display = "none";
    var leaveDesc="<div style='width:370px; overflow:hidden'>"+TP378+"</div><br/><div class='popup_button'><input value='"+TP109+"' class='button' onclick='opWebSerLeave("+cid+")' type='button'/>&nbsp;&nbsp;<input type='button' value='"+C0056+"' class='buttong' onclick='$EndMessageBox$()' /></div>";     
        var obj = {}
        $ShowMessageBox$(C1008,leaveDesc,obj,$EndMessageBox$,400);
}
//执行离开
function opWebSerLeave(f)
{
    $EndMessageBox$();
    $("cid").value=f;
    $("Form1").action ='/my/mycourses.htm';
    $("Form1").submit();
}