var tr = window.location.pathname;
len = tr.length;
rs = 0;
for (i = len; i > -1; i--) {
	vb = tr.substring(i,i+1);
	if (vb == "/" && rs == 0) {
		if (document.getElementById("menu_"+(tr.substring(i+1,len).replace(".php",""))) != null)
		{
			document.getElementById("menu_"+(tr.substring(i+1,len)).replace(".php","")).className = 'selectedMenu';
		}
		rs = 1
	}
}
