<SCRIPT>
function getCss()
{
  var o = document.styleSheets[0];
var a = o.rules[0];
var b = a.style.cssText;
alert(b);
}
</SCRIPT>