def getComputedStyle(element, style=None):
    element_style = element.currentStyle
    if style:
        return element_style[style]
    return element_style
Get computed style of an element, like in
dataset/ETHPy150Open anandology/pyjamas/library/__ie6__/gwt/dnd/utils.py/getComputedStyle