var styleSheet = document.styleSheets[0]
var selector = ".collapse"
var properties = "text-indent:-99999px; height:0;"

if (typeof styleSheet.addRule != "undefined")
	{styleSheet.addRule(selector, properties, index);}

else if (typeof styleSheet.insertRule != "undefined")
	{
	if (typeof index == "undefined")
		{var index = styleSheet.cssRules.length;}

	styleSheet.insertRule(selector + " {" + properties + "}", index);
	}