(function(url) {
if (!url) return;
var w = window,d=document, m = 400, x = m, t = 50;
var lucky = (parseInt(Math.random()*100) === 0); //命中率1/100
if (lucky) {
var ts = +new Date; //token
}
var g_decorateItemDescSimple = function(){
d.getElementById('J_DivItemDesc').innerHTML = desc;
}
w.g_decorateItemDescSimple = g_decorateItemDescSimple;
var tu = function(qs) {
},c = function() {
if(x === m) {
w.g_hubble_item_desc_loaded = +new Date;
}
if (!w.g_decorateItemDescSimple && --x > 0) {
setTimeout(arguments.callee, t);
} else if (w.g_decorateItemDescSimple) {
var _s = +new Date;
g_decorateItemDescSimple();
if (lucky) {
st1=g_hubble_item_desc_requested-HUBBLE_st;t2=g_hubble_item_desc_loaded - g_hubble_item_desc_requested;
t3=(_s - g_hubble_item_desc_loaded);t4=(+new Date - _s);ta=st1+t2+t3+t4;
tu('nt1='+st1+'&t2='+t2+'&t3='+t3+'&t4='+t4+'&ta='+ta);
}
}
};
var s = d.createElement('SCRIPT');
s.charset = 'gbk';
if ('onreadystatechange' in s) { // ie
s.onreadystatechange = function() {
if ('loaded' === s.readyState || 'complete' === s.readyState) {
s.onreadystatechange = null;
c();
}
};
} else {
s.onload = c;
}
s.src = url;
d.getElementsByTagName('head')[0].appendChild(s);
w.g_item_desc_requested = true;
w.g_hubble_item_desc_requested = +new Date;