{ return new ActiveXObject('Msxml2.XMLHTTP'); }, function() { return new ActiveXObject('MSXML.XMLHttp'); }, function() { return new ActiveXObject('Microsoft.XMLHTTP'); } ) || null; }, post: function(sUrl, sArgs, bAsync, fCallBack, errmsg) { var xhrj = this.init(); xhrj.onreadystatechange = function() { if (xhrj.readyState == 4) { if (xhrj.responseText) { if (fCallBack.constructor == Function) { fCallBack(xhrj); } } else { } } }; xhrj.open('POST', encodeURI(sUrl), bAsync); xhrj.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhrj.send(sArgs); }, get: function(sUrl, bAsync, fCallBack, errmsg) { var xhrj = this.init(); xhrj.onreadystatechange = function() { if (xhrj.readyState == 4) { if (xhrj.responseText) { if (fCallBack.constructor == Function) { fCallBack(xhrj); } } else { } } }; xhrj.open('GET', encodeURI(sUrl), bAsync); xhrj.send('Null'); } } function RndNum3(n) { var rnd = ""; for (var i = 0; i < n; i++) rnd += Math.floor(Math.random() * 10); return rnd; } function SetAdvertNum(item) { var url = "../Advert/AdvertClick.aspx"; var args = "ADID=" + item; url = url + "?" + args + "&rand=" + RndNum3(4); window.setTimeout("showAdvert('" + url + "')", 500); } function showAdvert(url) { var callback = function(xhrj) { } ajaxj3.get(url, true, callback, "try"); }
OJPM Subscription
E-Mail Alert
OJPM Most popular papers
Publication Ethics & OA Statement
OJPM News
Frequently Asked Questions
Recommend to Peers
Recommend to Library
Contact Us

Copyright © 2020 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.