'a[href$="' + url + '"]').parent("li").addClass("selected").parents("li").addClass("active").end().parents("ul").addClass("in");
	}
}

$(function() {
	var lockPath = storage.get('lockPath');
	if($.common.equals("history", mode) && window.performance.navigation.type == 1) {
		var url = storage.get('publicPath');
	    if ($.common.isNotEmpty(url)) {
	    	applyPath(url);
	    }
	} else if($.common.isNotEmpty(lockPath)) {
	    applyPath(lockPath);
	    storage.remove('lockPath');
	} else {
		var