function submenu(bhv){
	subID = document.getElementById('submenu');
	bhv ? subID.style.display='' : subID.style.display='none';
}
function extMap(target){
	parentDIV = document.getElementById('maparea');
	mapDIV = document.getElementById('map');
	
	if(parentDIV.getAttribute('class')){
		if(parentDIV.getAttribute('class') == 'small'){
			parentDIV.setAttribute('class','large');
			mapDIV.setAttribute('class','large');
			target.innerHTML = "▲ 元のサイズに戻す";
		}else{
			parentDIV.setAttribute('class','small');
			mapDIV.setAttribute('class','small');
			target.innerHTML = "▼ 地図を広げる";
		}
	}else{
		if(parentDIV.getAttribute('className') == 'small'){
			parentDIV.setAttribute('className','large');
			mapDIV.setAttribute('className','large');
			target.innerHTML = "▲ 元のサイズに戻す";
		}else{
			parentDIV.setAttribute('className','small');
			mapDIV.setAttribute('className','small');
			target.innerHTML = "▼ 地図を広げる";
		}
	}
}

onload = function(){
	/*
	if(typeof window.addEventListener == 'function'){ // addEventListenerが使えるなら
		document.getElementById("scroll_category").addEventListener('DOMMouseScroll', CancelEvent, false);
		return true;
	} else if(typeof window.attachEvent == 'object'){ // attachEventが使えるなら(IE用)
		document.getElementById("scroll_category").attachEvent('onmousewheel', CancelEvent );
	}*/
}

////////////////////////////////// scroll cancel //////////////////////////////////
function CancelEvent(event) {
	  e = event;
	  if (typeof e.preventDefault  == 'function') 
	        e.preventDefault();
	  if (typeof e.stopPropagation == 'function')
	        e.stopPropagation();
	  if (window.event) {
	     window.event.cancelBubble = true; // for IE
	     window.event.returnValue = false; // for IE
	  }
} // ----------------------------------------------------------------------------