/* 
 * site.js
 * 
 * 個々のサイトで使用する処理を記述する。
 * 
 */


/* ********************************************************************
 * imagelink
 * 
 * [概要]
 * 画像を使ったリンクにホバー時の効果などを与える。
 * 実際には対象は画像でなくとも構わない。
 *
 * [オプション]
 * speed  : ホバー時の変化速度 : デフォルト 100
 * alpha  : ホバー時の透明度   : デフォルト 0.3
 *
 * *******************************************************************/
 
$(function(){
	$("a img").imagelink(
//速度や透明度の調整は以下をコメントアウトして変更
/*
		options = {
			"speed" : 100,
			"alpha" : 0.3
		}
*/
	);
});



/* ********************************************************************
 * colorbox
 * http://colorpowered.com/colorbox/
 * 
 * [概要]
 * Thickbox.jsの代替。
 * 使用する場合は以下の手順を行う。
 * 
 * ■<script>タグの追加
 * <script type="text/javascript" src="../_common/lib/colorbox/colorbox.js"></script>
 *
 * ■スタイルの指定
 * 以下から選択して指定する。
 *
 * 01.black_stripe
 * <link rel="stylesheet" href="../_common/lib/colorbox/style/1/colorbox.css" />
 *
 * 02.white_simple
 * <link rel="stylesheet" href="../_common/lib/colorbox/style/2/colorbox.css" />
 *
 * 03.black_simple
 * <link rel="stylesheet" href="../_common/lib/colorbox/style/3/colorbox.css" />
 *
 * 04.white_shadow
 * <link rel="stylesheet" href="../_common/lib/colorbox/style/4/colorbox.css" />
 *
 * 05.black_modern
 * <link rel="stylesheet" href="../_common/lib/colorbox/style/5/colorbox.css" />
 *
 * ■実行コードの設定
 * 下記「colorbox 実行コード」部分のコメントアウトを解除する。
 * また、colorboxを適用したい要素のセレクタを指定する。
 *
 * *******************************************************************/

//colorbox 実行コード
/*
$(function(){
	$("a.colorbox").colorbox();
});
*/

