/******************************************************************************************************************************
サーバ条件設定
------------------------------------------------------------------------------------------------------------------------------*/
var gPathFlg = 0;    // 0:本サーバ, 1:テストサーバ
var gRootPath = '';

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

var gHdRootPath = gRootPath;

document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/jquery-1.2.6.min.js"></script>');
document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/jquery-ui.min.js"></script>');
document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/jquery.easing.js"></script>');
document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/jquery.dimensions.js"></script>');
document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/jquery.scrollfollow.js"></script>');
document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/rollover.js"></script>');
document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/library.js"></script>');
document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/header.js"></script>');
if (typeof document.documentElement.style.maxHeight == "undefined") {
	document.write('<script type="text/javascript" src="' + gHdRootPath + 'js/minmax.js"></script>');
}


/******************************************************************************************************************************
Google Analytics
------------------------------------------------------------------------------------------------------------------------------*/

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-19207638-1']);
_gaq.push(['_trackPageview']);

(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();



