/*
var scrollTop = document.body.scrollTop;
if (scrollTop == 0) {
if (window.pageYOffset)
scrollTop = window.pageYOffset;
else
scrollTop = (document.body.parentElement) ? document.body.parentElement.scrollTop : 0;
}
div.style.position = 'absolute';
div.style.left = event.clientX;
div.style.top = event.clientY + scrollTop;
div.style.display = 'block';
*/
var scrollTop = document.body.scrollTop;
if (scrollTop == 0) {
if (window.pageYOffset)
scrollTop = window.pageYOffset;
else
scrollTop = (document.body.parentElement) ? document.body.parentElement.scrollTop : 0;
}
div.style.position = 'absolute';
div.style.left = event.clientX;
div.style.top = event.clientY + scrollTop;
div.style.display = 'block';
*/