function GetCssStyle(e){ if (e.currentStyle) return e.currentStyle; else if (window.getComputedStyle) return window.getComputedStyle(e,null) }