body全体の高さの取得

function bodyContentsHeight() {
	var h = Math.max.apply( null, [document.body.clientHeight , document.body.scrollHeight, document.documentElement.scrollHeight, document.documentElement.clientHeight] ); 
	return h;
}
モバイルバージョンを終了