if (typeof JSON !== "object")document.write(""); var AboutHexin = {NextPage : function(Now_Page, SubChannel_ID, ver){ return this.ajax("NextPage", {Now_Page : Now_Page, SubChannel_ID : SubChannel_ID, ver : ver} ,this.getCallback(arguments, 3)); },GetUrl : function(Company_Name, ver){ return this.ajax("GetUrl", {Company_Name : Company_Name, ver : ver} ,this.getCallback(arguments, 2)); },GetOption : function(classid, ver){ return this.ajax("GetOption", {classid : classid, ver : ver} ,this.getCallback(arguments, 2)); },Related_Products : function(Product_Category, ver){ return this.ajax("Related_Products", {Product_Category : Product_Category, ver : ver} ,this.getCallback(arguments, 2)); },setDate : function (a) { if(a != null && typeof a == 'object') { for (var i in a) a[i] = this.setDate(a[i]) } return a = a instanceof Date ? '"\\/Date(' + a.getTime() + ')\\/"' : a}, getCallback : function(a, b){ return b < a.length ? a[b] : undefined},ajax: function (a, b, c){var j = JSON.stringify(this.setDate(b)); var d = { contentType:'text/plain', beforeSend : function(x){ x.setRequestHeader('method', a) }, async : true, url : this.u, type : 'POST', dataType : 'json', data : j, success:function(e){ typeof c == 'function' && c(e) } }; if(typeof c != 'function'){ d.async = false; return JSON.parse(jQuery.ajax(d).responseText) } else jQuery.ajax(d) }, u: '/ajax/AboutHexin.ashx'};