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("Flight Timer");
YWATracker.setCF("49", "18");
YWATracker.setCF("50", "135");
YWATracker.setCF("51", "3581");
YWATracker.setCF("52", "36406");
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("Flight Timer");
YWATracker.setCF("49", "18");
YWATracker.setCF("50", "135");
YWATracker.setCF("51", "3581");
YWATracker.setCF("52", "36406");
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(hpp) {
return function(e) {
ywaClick({ hpp: hpp, sn: "10001392760262", group: "Catalog - Catitem" });
ywaClick({ hpp: hpp, sn: "1000986400535", group: "Catalog - Catitem" });
var alink = e.currentTarget || e.srcElement;
while (alink && (alink.tagName != 'A')) {
alink = alink.parentNode;
}
if (!alink) return;
var target = alink.target;
if (target && (target != '_top')) return;
e.preventDefault ? e.preventDefault() : e.returnValue = false;
if (hpp == 'n1' || hpp == 'n2') return;
var href = alink.href.replace(/[\\?&]hpp=([^]*)$/, '');
setTimeout(function(){ location.href = href; }, 300);
};
}
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(m[1]), false);
} else {
a[i].attachEvent('onclick', ywaHandler(m[1]), 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 22 Sun 2012 23:01
ORIS Hunter Team PS 飛行機械腕錶-深灰/44mm