// JavaScript Document
/* インラインフレーム高さ調整 */
function GetHeightForIndex(){
	GetHeight("map_all");
}
function GetHeightForIndex2(){
	GetHeight("news_all");
}
function GetHeightForIndex3(){
	GetHeight("newsrelease");
}

//フレーム内の高さ自動調整
function getIFrameDocument(aID){
	if (document.getElementById(aID).contentDocument){
		return document.getElementById(aID).contentDocument;
	} else {
		return document.frames[aID].document;
	}
}

function GetHeight(ID){
	if (document.height) {
		document.getElementById(ID).style.height = getIFrameDocument(ID).height +1 +"px" ;
	}else{
	document.getElementById(ID).style.height = getIFrameDocument(ID).body.scrollHeight +1 +"px";
	}
}