srtPixel.src = 'http://geo.yahoo.com/p?s=2144861277&query=twbuy'
+ ('x' + zid)
+ (sbid ? 'x' + sbid : '')
+ ('x' + level);
}
};
var docURL = location.href;
if (docURL.indexOf('/gdsale/') >= 0) {
rpdObj.sendRequest(spaceid, 'Item', 'ItemPage', ['rpd-zid', 'rpd-sbid', 'rpd-catid', 'rpd-itemid', 'rpd-gdid'], 'rpd-uuid');
}
else if (docURL.indexOf('z=') >= 0) {
rpdObj.sendRequest(spaceid, 'Zone', 'ZonePage', ['rpd-zid']);
}
else if (docURL.indexOf('sub=') >= 0) {
rpdObj.sendRequest(spaceid, 'Sub', 'SubPage', ['rpd-zid', 'rpd-sbid']);
}
else if (docURL.indexOf('catid=') >= 0) {
rpdObj.sendRequest(spaceid, 'Cat', 'CatPage', ['rpd-zid', 'rpd-sbid', 'rpd-catid']);
}
else if (docURL.indexOf('catitemid=') >= 0) {
rpdObj.sendRequest(spaceid, 'CatItem', 'CatItemPage', ['rpd-zid', 'rpd-sbid', 'rpd-catid', 'rpd-itemid']);
}
else if (docURL.indexOf('payshop_ok.asp') >= 0 || docURL.indexOf('pay-delivplace_ok.asp') >= 0) {
rpdObj.sendRequest(spaceid, 'Checkout', 'Completion', ['rpd-gdidlist', 'rpd-itemidlist']);
}
}
function dycRequest() {
var spaceid = document.getElementById('spaceid');
if (!spaceid) return;
if (typeof(dycTracker) == 'function') {
// dycTracker
dycTracker('zno', 'subno', function(spaceid) {
if (typeof(rpdTracker) == 'function') {
rpdTracker(spaceid); // rpdTracker
}
});
}
}
dycRequest();
YWAT.prototype.setBD = function(v){ if (v) this.BU = this.BU.replace(this.BD, this.BD = location.protocol + "//" + v); }
var YWATracker = YWA.getTracker("10001392760262");
YWATracker.setBD("a.analytics.yahoo.com");
YWATracker.setDomains("buy.yahoo.com.tw,*.buy.yahoo.com.tw,*.buy.yahoo.com,yahoo.monday.com.tw,*.yahoo.monday.com.tw,login.yahoo.com");
YWATracker.setDocumentGroup("Catalog - Catitem");
YWATracker.setDocumentName("戒指");
YWATracker.setCF("49", "18");
YWATracker.setCF("50", "485");
YWATracker.setCF("51", "7737");
YWATracker.setCF("52", "67115");
YWATracker.submit();
var YWATracker = YWA.getTracker("1000986400535");
YWATracker.setBD("apac.analytics.yahoo.com");
YWATracker.setDomains("buy.yahoo.com.tw,*.buy.yahoo.com.tw,*.buy.yahoo.com,yahoo.monday.com.tw,*.yahoo.monday.com.tw,login.yahoo.com");
YWATracker.setDocumentGroup("Catalog - Catitem");
YWATracker.setDocumentName("戒指");
YWATracker.setCF("49", "18");
YWATracker.setCF("50", "485");
YWATracker.setCF("51", "7737");
YWATracker.setCF("52", "67115");
YWATracker.submit();
function ywaRequest() {
function ywaClick(param) {
var YWATracker = YWA.getTracker(param.sn);
YWATracker.setAction("07");
YWATracker.setCF("21", param.group);
YWATracker.setCF("22", param.hpp);
YWATracker.submit_action();
}
function ywaHandler(e) {
ywaClick({ hpp: m[1], sn: "10001392760262", group: "Catalog - Catitem" });
ywaClick({ hpp: m[1], sn: "1000986400535", group: "Catalog - Catitem" });
var target = e.currentTarget.getAttribute('target');
if (target && (target != '_top')) return;
var href = e.currentTarget.getAttribute('href');
if (href != '/?hpp=n1' && href != '/?hpp=n2') {
setTimeout(function(){ location.href = href; }, 300);
}
e.preventDefault();
}
var a = document.getElementsByTagName('a');
for (var i = 0; i < a.length; i++) {
var href = a[i].getAttribute('href');
if (!href) continue;
var m = /[\\?&]hpp=([^]*)/.exec(href);
if (!m) continue;
if (typeof(window.addEventListener) != "undefined") {
a[i].addEventListener('click', ywaHandler, false);
} else {
a[i].attachEvent('click', ywaHandler, false);
}
}
// YWA for Flash Click
window.YWA_Flash_Click = function(btnID, FlashName) {
var YWATracker = YWA.getTracker("10001392760262");
if (btnID != "") { YWATracker.setAction(btnID); }
YWATracker.setCF(25, FlashName);
YWATracker.submit_action();
}
}
ywaRequest();
- Jan 04 Wed 2012 00:23
D&D 心曲系列珍珠戒指-小