@{
    Layout = null;
}
<div class="head-tab">
    <ul>
        <li class="tabhead current"><a href="@Url.Action("Index","MsgInbox")?message=1">收件箱</a></li>
        <li class="tabhead"><a href="@Url.Action("Index","MsgoutBox")?message=2">发件箱</a></li>
        @*<li class="tabhead"><a href="@Url.Action("Add","MsgoutBox")?message=3">发信息</a></li>*@
    </ul>
</div>
<script>
    $(function () {
        if (Request("message") == "1") {
            $(".tabhead").eq(0).addClass("current").siblings().removeClass("current");
        } else if (Request("message") == "2") {
            $(".tabhead").eq(1).addClass("current").siblings().removeClass("current");
        }
        //else if (Request("message") == "3") {
        //    $(".tabhead").eq(2).addClass("current").siblings().removeClass("current");
        //}
    })
</script>