//* [$j]使用時
jQuery.noConflict();
$j = jQuery;

$j(function(){
/*/// [$]使用時
$(function(){
//*/

$j("ul,ol").each(function(){
	$j(this).find(">li:first").addClass("first");
});


(function(){
	var valStr = '内容は500文字以内でお願いいたします。'+"\n"+
	             'Within 500 characters. An error message is displayed if this is exceeded.';
	$j("#textarea-contactbody")
		.each(function(){
			var $tObj = $j(this);
			if(!$tObj.val().match(/\S+/)){
				$tObj.val(valStr);
			}
		})
		.focus(function(){
			var $tObj = $j(this);
			if($tObj.val() == valStr){
				$tObj.val("");
			}
		})
		.blur(function(){
			var $tObj = $j(this);
			if(!$tObj.val().match(/\S+/)){
				$tObj.val(valStr);
			}
		});
})();


/*** imgover ***
■引数
.imgover({
	exclude: "imgactive",
	postfix: "o",
	aPostfix: "", //指定なしならpostfixと同じ
	isSelf: false,
	isSelfOver: false
});
*/
//$(".imgover").imgover();
$j(".gNav").imgover();
$j(".sNav").imgover();


/*** 画像切替 ***
■引数
.chimg({
	postfix: "o",
	targetAttr: "chimg"
});
*/
//$(".chimg").chimg();



/*** tableColor ***
■引数
.alternate({
	evenClass: "even"
	oddClass: "odd",
	onlyTbody: true
});
*/
//$(".coloredRow").alternate();





});//END jQuery.ready()

/*** other func ***/


