jQuery.noConflict();
var j$ = jQuery;

//消す奴 呼ぶとき・onfocus="clearmail(this)"
function clearmail1(which){
if (which.value=="メールアドレスを入力して下さい");
which.value=''
}

function clearmail2(which){
if (which.value=="メールアドレスをもう一度入力して下さい");
which.value=''
}


function iName(which){
if (which.value=="あなたのお名前");
which.value=''
}

function youName(which){
if (which.value=="相手のお名前");
which.value=''
}


//rollover fade
jQuery(function(){
jQuery(".fade").load(function(){
	jQuery(this).fadeTo(300, 1.0);
});
jQuery(".fade").hover(
function(){
	jQuery(this).fadeTo(300, 0.5);
},
function(){
	jQuery(this).fadeTo(300, 1.0);
}
);
});

//stripe table
jQuery(document).ready(function(){
	jQuery(".list tr:even").addClass("even");
});

//stripe table
jQuery(document).ready(function(){
	jQuery(".list2 tr:even").addClass("even");
});


//追加
var currentViewOnBody = true;
function ViewPartsOnBody(layerName)
{
 if (currentViewOnBody )
 {	
   //非表示
   document.getElementById(layerName).style.visibility="hidden";
   document.getElementById('imageArrowOnBody').src="http://usagi-js.com/images/arrowdown.gif";
   currentViewOnBody = false;
 }
 else
 {
   //表示
   document.getElementById(layerName).style.visibility="visible";
   document.getElementById('imageArrowOnBody').src="http://usagi-js.com/images/arrowup.gif";
   currentViewOnBody = true;
 }	
}

   //アコーディオンメニュー
jQuery(document).ready(function() {
	jQuery(".navi_categoly_list dt").hover(function(){
		jQuery(this).css("cursor","pointer"); 
	},function(){
		jQuery(this).css("cursor","default"); 
		});
	jQuery(".navi_categoly_list dd").css("display","none");
	jQuery(".navi_categoly_list dt").click(function(){
		jQuery(this).next().slideToggle("fast");
		});
});

