I am trying to read CSS selectors in my stylesheets with the document.styleSheets array. It works fine with and
document.styleSheets
Excellent page with lots of stylesheet parsing info: http://www.howtocreate.co.uk/tutorials/javascript/domstylesheets