黄浦区警察穿警服不出示证件上门查证件咋回事


';
oId.appendChild(oBg);
oId.appendChild(oTit);
oId.appendChild(oBtn);
},
init = function() {
addHtml();
showImg(0);
var turnLoading = getClass(oId, 'div', 'turn-loading')[0];
oId.removeChild(turnLoading);
oId.onmouseover = function() {
clearInterval(auto);
};
oId.onmouseout = function() {
auto = setInterval(autoTurn, t * 1000);
};
var turnPic = getClass(oId, 'ul', 'turn-picer')[0];
var oLi = turnPic.getElementsByTagName('li');
var oLb = getClass(oId, 'div', 'lb')[0];
var oRb = getClass(oId, 'div', 'rb')[0];
oLb.onmouseover = function() {
this.style.backgroundPosition = '-12px 0';
}
oLb.onmouseout = function() {
this.style.backgroundPosition = '0 0';
}
oLb.onclick = function() {
if (!bot) {
return false;
}
if (num == 0) {
num = oLi.length - 1;
} else {
num = num - 1;
}
showImg(num, 1);
}
oRb.onmouseover = function() {
this.style.backgroundPosition = '-18px 0';
}
oRb.onmouseout = function() {
this.style.backgroundPosition = '-6px 0';
}
oRb.onclick = function() {
if (!bot) {
return false;
}
if (num == oLi.length - 1) {
num = 0;
} else {
num = num + 1;
}
showImg(num);
}
},
autoTurn = function() {
var turnPic = getClass(oId, 'ul', 'turn-picer')[0];
var oLi = turnPic.getElementsByTagName('li');
if (num == oLi.length - 1) {
num = 0;
} else {
num = num + 1;
}
showImg(num);
};
init();
auto = setInterval(autoTurn, t * 1000);
})('turn', 3);

我要回帖

更多关于 警察穿警服不出示证件 的文章