$(function() {
	if ($.browser.mozilla && parseFloat($.browser.version) < 1.9 && navigator.appVersion.indexOf('Mac') !== -1) $('body').css('-moz-opacity',.999);	
});

$(document).ready(function(){
	$.fn.superfish.defaults.autoArrows = true;
	$("#top-nav-menu").superfish({ 
		pathClass:  'current'
	}); 
});

function changeColor(id,color,defcol,tot)
{
	for(i=1;i<=10;i++)
	{
		if(i==id)
		{
			document.getElementById(i).style.color = color;//"#000000";
		}
		else
		{
			if(document.getElementById(i)!=null)
			{
				document.getElementById(i).style.color = defcol;
			}
		}
	}
}

function changedefColor(id,color)
{
	document.getElementById(id).style.color = color;//"#000000";
}

