﻿
//保存session
function NewsSession(bigclassid) {
    qxsmallid(bigclassid);
      
    }
  
            function getNewDomain() {
                var strFullPath = window.document.location.href;

                var strPath = window.document.location.pathname;

                var pos = strFullPath.indexOf(strPath);

                var prePath = strFullPath.substring(0, pos) + "/";
                return prePath;

            }
            function qxsmallid(bigclassid) {

                remotePostCall(getNewDomain() + "Ajax.aspx", "qxsess", "stype=SmallClassID",
                function(result1) {
                    if (result1 == "yes") {
                        remotePostCall(getNewDomain() + "/Ajax.aspx", "NewsSession", "bigclassid=" + escape(bigclassid),
                function(result) {
                        if (result == "Yes") {
                            window.navigate(getNewDomain() + "/wenzhang/MoreNews.aspx");
                   
                    }
                }
            );
                    }
                }
            );                   }