o.root = oRoot && oRoot != null ? oRoot : o ;\r
\r
if (o.hmode && isNaN(parseInt(o.root.style.left ))) {\r
- o.root.style.left = window.getComputedStyle(o, "").getPropertyValue("left");\r
+ o.root.style.left = document.defaultView.getComputedStyle(o, "").getPropertyValue("left");\r
if (isNaN(parseInt(o.root.style.left)))\r
o.root.style.left = "0px";\r
}\r
if (o.vmode && isNaN(parseInt(o.root.style.top ))) {\r
- o.root.style.top = window.getComputedStyle(o, "").getPropertyValue("top");\r
+ o.root.style.top = document.defaultView.getComputedStyle(o, "").getPropertyValue("top");\r
if (isNaN(parseInt(o.root.style.top)))\r
o.root.style.top = "0px";\r
}\r