﻿String.prototype.startsWith = function(str) {return (this.match("^"+str)==str)};

$('a[id^="mnu"]').each(function(){
	if (location.href == this.href || 
		location.href == this.href + '/')
	{
		$(this).addClass('on');
		$('#' + $(this).attr('parent')).addClass('on');
	}
});
