function appendCSSRule(selector, style)
{
	if (document.styleSheets)
	{
		if (document.styleSheets[0].insertRule) document.styleSheets[0].insertRule(selector+" { "+style+" }", document.styleSheets[0].cssRules.length);
		else if(document.styleSheets[0].addRule) document.styleSheets[0].addRule(selector, style, document.styleSheets[0].rules.length);
	}
}

(function (){
	var path = document.location.pathname;
	if (path=="/")
		appendCSSRule('#header #quickContacts DIV A:first-child','display: none;');
	else
		appendCSSRule('#menu A[href="'+path+'"]','color:#ccc;');
})();
