for (var i = 0; i < ad.length; i++) {
if (ad[i].innerHTML == '∏' || ad[i].className == 'tor-icon tor-dup' || ad[i].className == 'tor-icon tor-need-edit') {
x = ad[i].innerHTML == '∏' ? dup2: ad[i].className == 'tor-icon tor-dup' ? dup : neededit;
cls = ''tor-icon ' + (ad[i].className == 'tor-icon tor-need-edit' ? 'tor-need-edit': 'tor-dup');
q = document.createElement("span");
ad[i].className = cls,
ad[i].onmouseover = function () {
tooltip.show(x);
},
ad[i].onmouseout = function () {
tooltip.hide();
},
ad[i].parentNode.insertBefore(q, ad[i].nextSibling);
}
}