function ignite() {
	if (! new Array().push) {
		return false;
	}
	else {
		var scripts = new Array (
			'/common/js/jquery.js',
			'/common/js/params.js',
			'/common/js/baynote.js',
			'/common/js/baynote-guide.js',
			'/common/js/share.js',
			'/common/js/flatheights.js',
			'/common/js/popup.js',
			'/common/js/jquery.formtips.js'
		);
		for (var i=0; i<scripts.length; i++) {
			document.write('<script type="text/javascript" src="'+scripts[i]+'"><\/script>');
		}
	}
	if(document.URL.indexOf('/weborder/sales?_T=AC08') != -1){
		document.write('<script type="text/javascript" src="/common/js/siteCatalyst_orderInfo.js"><\/script>');
	}
}

// add 2012.2.7 fade
$(document).ready(function(){
    $(".fade a img").hover(function(){
       $(this).fadeTo(150, 0.7);
           },function(){
       $(this).fadeTo(300, 1.0);
    });
});

// add 2011.2.22 mfujita catalyst計測用
function SCClick(LinkName){
    var s=s_gi(s_account);
    s.linkTrackVars='prop5,eVar5';
    s.prop5 = LinkName;
    s.eVar5 = LinkName;
    s.tl(this,'o',LinkName);
}

// add 2011.5.12 socialbtn
function writeSNS(plocate,ptitle,phash){
	//fastload
	if(plocate == undefined)
		plocate = "http://"+location.hostname+location.pathname;
	if(ptitle  == undefined)
		ptitle  = ""+document.title;
	if(phash   == undefined){
		phash   = "";
		if(plocate.match(/yomimono\/aino/))
			phash = " #TS_aigeki";
	}
	//set
	var src_facebook = '<iframe src="http://www.facebook.com/plugins/like.php?href=' + plocate + '&layout=button_count&show_faces=true&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;" allowTransparency="true"></iframe>';
	var src_twitter  = '<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="tsuhan_seikatsu" data-lang="ja" data-url="' + plocate + '?cid=TW" data-text="' + ptitle + phash +'">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>';
	var src_yahoo    = '<a href="javascript:void window.open('+"'http://bookmarks.yahoo.co.jp/bookmarklet/showpopup?t="+encodeURIComponent(ptitle)+'&amp;u='+encodeURIComponent(plocate)+"&amp;ei=UTF-8','_blank','width=550,height=480,left=100,top=50,scrollbars=1,resizable=1',0);"+'" /><img src="http://i.yimg.jp/images/ybm/blogparts/addmy_btn.gif" width="125" height="17" alt="Yahoo!ブックマークに登録" style="border:none;"></a>';
	var src_mixi     = '<a href="http://mixi.jp/share.pl" class="mixi-check-button" data-key="44e935272c179beb7a48b277dd7ab2af8c60cb86" data-url="' + plocate + '">Check</a><script type="text/javascript" src="http://static.mixi.jp/js/share.js"></script>';
	var src_hatena   = '<a href="http://b.hatena.ne.jp/append?' + plocate + '"><img src="http://b.hatena.ne.jp/images/append.gif" alt="このエントリーをはてなブックマーク" title="' + ptitle + '" width="16" height="12" border="0" /></a>';
	//output
	document.write('<div id="sns">');
	document.write('<span>' + src_facebook + '</span>');
	document.write('<span>' + src_twitter  + '</span>');
	document.write('<span>' + src_yahoo    + '</span>&nbsp;');
	document.write('<span>' + src_mixi     + '</span>&nbsp;');
	document.write('<span>' + src_hatena   + '</span>');
	document.write('</div>');
}


ignite();
