function setSearchVisibility(){
	document.getElementById("footer_search_intro").style.display = "none";
	document.getElementById("footer_search_form").style.display = "none";
	document.getElementById("footer_search_form_wrap").style.height = "1.7em";
}
	
function switchSearchVisibility(){
	if(document.getElementById("footer_search_intro").style.display == "none"){
		document.getElementById("footer_search_intro").style.display = "block";
		document.getElementById("footer_search_form").style.display = "block";
		document.getElementById("footer_search_form_wrap").style.height = "8.0em";
	}else{
		document.getElementById("footer_search_intro").style.display = "none";
		document.getElementById("footer_search_form").style.display = "none";
		document.getElementById("footer_search_form_wrap").style.height = "1.7em";
	}
}

/*
function formNavi3(){
	arrChildren = document.getElementById("subnavi").childNodes;
	for(i = 0; i < arrChildren.length; i++)
	{
		objChild = arrChildren[i];
		
		changeChild = objChild.firstChild;
		childID = changeChild;
		updateLayout = childID;
		if( updateLayout ){
			//alert(updateLayout.offsetHeight);
			if(updateLayout.offsetHeight > 21 ){
			updateChild = updateLayout.firstChild.firstChild;
			//alert(updateChild.style);
			//updateChild.style.height = "47px";
			updateChild.style.setAttribute("border", "1px solid red", false);
			//updateChild.style.paddingTop = "2px";
			updateLayout.style.lineHeight = "16px";
			//updateLayout.style.marginTop = "1px";
			//updateLayout.style.paddingTop = "7px";
			//updateLayout.style.paddingBottom = "2px";
			}
		}
	}
}

function formNavi(){
	arrChildren = document.getElementById("subnavi").childNodes;
	for(i = 0; i < arrChildren.length; i++)
	{
		objChild = arrChildren[i];
		
		changeChild = objChild.firstChild;
		childID = changeChild;
		updateLayout = childID;
		if( updateLayout ){
			//alert(updateLayout.offsetHeight);
			if(updateLayout.offsetHeight > 21 ){
			updateChild = updateLayout.firstChild;
			updateChild.style.height = "37px";
			updateChild.style.paddingTop = "2px";
			updateLayout.style.lineHeight = "16px";
			//updateLayout.style.marginTop = "1px";
			//updateLayout.style.paddingBottom = "2px";
			}
		}
	}
}
*/