I want to get intial top and left positions and save them for when the function is called again with the same object. I need the bits between the ??
Any suggestions on how to go about it.

function doFun(Obj,var) {
if(! ??Obj been through function?? ) { 
??record Obj been through function??  } else {
getInitialVars(Obj); }