var urlstr = location.href;
var urlstatus=false;
$("#navUl a").each(function () {
if ((urlstr + '/').indexOf($(this).attr('href')) > -1&&$(this).attr('href')!='') {
$(this).addClass('acd');$(this).parent().parent().parent().find('a').eq(0).addClass('acd'); urlstatus = true;
} else {
$(this).removeClass('acd');
}
});
if (!urlstatus) {$("#navUl a").eq(0).addClass('acd'); }