document.getElementById("divname").offsetLeft

document.getElementById("divname").offsetTop