Let's say we have a simple panel,

<Panel id="SimplePanel" style="visibility: collapse;" />

$('#SimplePanel').style.visibility would correctly return collapse.

However, if the panel was set up w/o the inline style instead (<Panel id="SimplePanel" />), $('#SimplePanel').style.visibility would return null instead, regardless of the actual style applied to it via included css files.
Would it be possible to get an API call that would return the current applied style value of the element in question?