function showHelp(item) { var link = item; //document.getElementById(item); if (link) { var leftVal = findPosX(link); var topVal = findPosY(link); document.getElementById("helpText").innerHTML = "Votez pour ce billet sur Nuouz"; document.getElementById("helpDiv").style.visibility='visible'; document.getElementById("helpDiv").style.left = (leftVal + 30) + "px"; document.getElementById("helpDiv").style.top = (topVal - 30) + "px"; } } function hideHelp() { document.getElementById("helpDiv").style.visibility='hidden'; } function findPosX(obj) { var curleft = 0; if (!obj) return 0; if (obj.offsetParent) { while (obj.offsetParent) { curleft += obj.offsetLeft obj = obj.offsetParent; } } else if (obj.x) curleft += obj.x; return curleft; } function findPosY(obj) { var curtop = 0; if (!obj) return 0; if (obj.offsetParent) { while (obj.offsetParent) { curtop += obj.offsetTop obj = obj.offsetParent; } } else if (obj.y) curtop += obj.y; return curtop; } function openVote(link) { window.open(link,'NzVote'); } if (!document.getElementById("helpDiv")) { document.write("
![]() | ');
document.write('3 votes | '); document.write("