// =============================================================================
// documentオブジェクト拡張クラス
// =============================================================================
/*
   document クラス

   最終更新日:2004年1月5日(火)
   -----------------------------------------------------------------------------

   依存
	sniffer.js

   -----------------------------------------------------------------------------

   コンストラクタの引数
	無し

   -----------------------------------------------------------------------------

   メソッド
	- getRootPath()
		ドキュメントルートへのパスを返す
*/
// =============================================================================
if(sniffer.DOMable()) {



// -----------------------------------------------------------------------------
/*
   getRootPathメソッド
	String document.getRootPath();
	
	返値
		String rootPath - ドキュメントルートへのパス

	引数
		無し
*/
document.getRootPath = function(index) {
	if( typeof siteRootPath != "undefined" ) {
		return siteRootPath;
	}
	else return "";
}
// -----------------------------------------------------------------------------


}