var node = document.getElementById ('aaa');
var value;
if (document.implementation.hasFeature ('CSS2', '2.0')) { // Firefox, Opera, Safari
value = document.defaultView.getComputedStyle (node, null).display;
}
else if (typeof node.currentStyle != 'undefined') { // IE
value = node.currentStyle.display;
}