// DOM2 Abstract Views for IE5-6 v1.0 // documentation: http://www.dithered.com/javascript/dom2_views/index.html // license: http://creativecommons.org/licenses/by/1.0/ // code by Chris Nott (chris[at]dithered[dot]com) if (!(document.implementation && document.implementation.hasFeature && document.implementation.hasFeature("Views", "2.0"))) { document.defaultView = window; function getComputedStyle(element, pseudoElement) { if (element != null && element.currentStyle) { return element.currentStyle; } } }