/*@
	cc_on _d=document;
	eval('var document=_d')
@*/


// IE6のフリッカー回避
try {
	document.execCommand('BackgroundImageCache', false, true);
} catch(e) {}


// パス解析
function getMyPath () {
	var myPath, myHost = location.host; 
	if ( myHost.match ( /^192\.\d+?\.\d+?\.\d+?/ ) ) {
		myHost = myHost + '/facetoface';
	}
	else {
		//myHost = myHost + '/facetoface';
	}
	myPath = location.protocol + '//' + myHost + '/share/';
	return myPath;
}


// .jsファイルのインポート
var templatePath = getMyPath ();

html = new Array (
	'jquery-1.3.2.min.js',
	'jquery.scrollTo-1.4.1-min.js',
	'jquery.validate.min.js',
	'messages_ja.js',
	'easyslider1.5/js/easySlider1.5.js',
	'shadowbox-2.0/src/adapter/shadowbox-jquery.js',
	'shadowbox-2.0/src/shadowbox.js',
	'config.js'
);

for ( i in html ) {
	html[i] = '<script src="' + templatePath + 'js/' + html[i] + '" type="text/javascript"></script>'
}

document.write (html.join(''));
document.write ();

