/**********************************************************************
共通JS
[ /js/common.js ]
***********************************************************************/



/* 目次
-------------------------------------------------
 ・ROOTPATH　環境設定
 ・JQueryの読み込み
 ------------------------------------------------- */



/*=====================================================================
 ROOTPATH　環境設定
=====================================================================*/ 

var gPathFlg = 0;    // 0:本サーバ, 1:テストサーバ
var gRootPath = '';
//var domain = '122.200.244.197';
var domain = 'www.yes-golf.jp';

if( gPathFlg == 0 )       { gRootPath = location.protocol +'//' + domain + '/'; } //{ gRootPath = location.protocol +'//' + document.domain + ':' + location.port + '/'; }
//else if( gPathFlg == 1 ){ gRootPath = location.protocol +'//' + document.domain + ':' + location.port + '/yes/'; }





/*=====================================================================
 JQueryの読み込み
=====================================================================*/
document.write('<script type="text/javascript" src="' + gRootPath + 'js/lib/jquery-1.2.2.min.js"><\/script>');


/*------------------------------------

	入力中のフォームの色の変更

------------------------------------*/
function bgcOver(element) {
	element.style.backgroundColor = '#444';
}
function bgcOut(element) {
	element.style.backgroundColor = '#888';
}

