1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
-
- Namespace.register("U.UF.DL.C.AD");
- U.UF.DL.C.AD.onloadBaiduJs = function (baiduid) {
- U.UF.DL.asynLoadJs({ "src": "//hm.baidu.com/hm.js?" + baiduid });
- }
- U.UF.DL.C.AD.baidu = function (elementid, baiduid) {
- if (baiduid) {
- U.UF.DL.asynLoadJs({ type: "text/javascript", src: "http://cbjs.baidu.com/js/m.js" },
- function () {
- U.UF.DL.C.AD.asynBaidu(elementid, baiduid);
- });
- }
- }
- U.UF.DL.C.AD.asynBaidu = function (elementid, code) {
- BAIDU_CLB_fillSlotAsync(code, elementid);
- }
- U.UF.DL.C.AD.alimama = function (obj) {
-
- var i,
- _aliobj = window.alimamatk_onload = window.alimamatk_onload || [];
- if (Array.isArray(obj)) {
- for (i = 0; i < obj.length; i++) {
- U.UF.DL.C.AD.alimama(obj[i]);
- }
- }
- else {
- _aliobj.push(U.UF.C.isObject(obj) ? obj : (obj = { pid: obj, appkey: "", unid: "", type: "click" }));
- }
- if (!window.alimamatk_show) {
- U.UF.DL.asynLoadJs({ type: "text/javascript", id: obj.pid, charset: "gbk", async: true, src: "http://a.alimama.cn/tkapi.js" });
- }
- }
- U.UF.DL.C.AD.asynAlimama = function (el, id) {
- $$("a", { style: { "display": "none!important" }, id: "tanx-a-" + id }, el);
- U.UF.DL.asynLoadJs({ type: "text/javascript", id: "tanx-s-" + id, async: true,
- charset: "gbk", async: true, src: "http://p.tanx.com/ex?i=" + id
- });
- }
|