function _getHeight(){
	return $(window).height();
}
function _geDoctHeight(){
	return $(document).height();
}
function _scrollTop(){
	return $( document ).scrollTop();
}
function _getWindow(){
	return window;
}
function _setScrollEvent( fn ){
	$(window).unbind('scroll');
	$(window).scroll( fn );
}
function _setResizeEvent( fn ){
	$(window).unbind('resize');
	$(window).resize( fn );
}
function _setScrollTop(){
	$(window).unbind('scroll');

	var h = $('html, body');

    // 現在のスクロール位置をダイアログボックスに表示
//    window.alert(
//      'top:' + h.scrollTop() + '\n' +
//      'height:' + h.scrollLeft()
//    );


	// スクロール位置を先頭／左端に移動
	h.scrollTop(0).scrollLeft(0);
}
function _getElementTop(ele_id){
	var ele = $("#"+ele_id);
	//var ele = $("#ifrm");
	return ele.offset().top;
}
function _getBodyTop(){
	return $("html,body").offset().top;
}

