$(document).ready(function(){
selectMenu();
});

function selectMenu() {
	var page = location.href

	$('#sub_navi a[@href]').each(function(){
	var current = this.getAttribute('href');
		if(current==page){
			$(this).addClass('select');
		}
	});
	$('#secondly a[@href]').each(function(){
	var current = this.getAttribute('href');
		if(current==page){
			$(this).addClass('select');
		}
	});
}