/**********************************************************************
EPOTOKU PLAZA
共通フッタ インクルード用JS
[ /js/footer.js ]

Since         : 09.02.19
Last modified : 09.02.19
***********************************************************************/


var gFtRootPath = gRootPath;    //common.jsにて指定

var gFtImgPath = gFtRootPath + 'images/common/';    //Image Path


//---------------------------------------------
// Document Write
//---------------------------------------------
with( document ){

	write('<div id="FooterWrap">');
	write('<p id="FtPagetop"><a href="' + location.pathname + location.search + '#PageTop"><img src="/epotoku/images/common/ft_pagetop.gif" alt="ページトップへ" width="100" height="25" title="ページトップへ"></a></p>');
	write('<div id="Footer"></div>');
	$("#Footer").load(gFtRootPath + "footer.html", function(text, status) {
		$("#Footer a").each(function(){rewriteHrefAttr(this);})
	});
	
	write('</div>');
	
	//GoogleAnalytics用
	//write('<script type="text/javascript">');
	//write('	 var pageTracker = _gat._getTracker("UA-1025949-2");');
	//write('	 pageTracker._initData();');
	//write('	 pageTracker._trackPageview();');
	//write('</script>');


}

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24557695-1']);
  _gaq.push(['_setDomainName', '.eposcard.co.jp']);
  _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);
  })();


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24557695-5']);
  _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);
  })();


  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24557695-7']);
  _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);
  })();

