;function getPos(id) { ;var element ;if (document.all) element=document.all[id] ;else if (document.getElementById) element=document.getElementById(id) ;if (element) { ;var coords={x: 0, y: 0} ;do { ;if(element.currentStyle) { ;if(element.currentStyle.position!='relative') { ;coords.x+=element.offsetLeft ;coords.y+=element.offsetTop ;} ;} else { ;coords.x+=element.offsetLeft ;coords.y+=element.offsetTop ;} ;element=element.offsetParent ;} while (element) return coords ;} else return null
Session-Cookies