$(function(){
/* formbt */
$('#contact-btbox input').hover(
	function() {
		$(this).css("background-position","left bottom");
	},
	function() {
		$(this).css("background-position","left top");
	}
);

/* inputform */
$('.inputform').mouseover(function(){
	$(this).css('background','#ffffff');
	$(this).css('border-color','#000000');
});
$('.inputform').mouseout(function(){
	$(this).css('background','#ffffff');
	$(this).css('border-color','#cccccc');
});
$('.inputform').focus(function(){
	$(this).css('background','#ffffff');
	$(this).css('border-color','#cccccc');
});	
/* contactcheck */
$("input[@type='radio']").change(function () {
      $("input#contactcheck2:checked").each(function () {
            $('tr#contact-text th').html("お問い合わせ内容<br />その他ご質問等");
            $('tr#contact-text textarea').attr("name","お問い合わせ内容その他ご質問等");
      });
      $("input#contactcheck1:checked").each(function () {
            $('tr#contact-text th').html("自己PR");
            $('tr#contact-text textarea').attr("name","自己PR");
      });
}).change();
$('#bt-reset').click(function(){
	$('tr#contact-text th').html("自己PR");
	$('tr#contact-text textarea').attr("name","自己PR");
});


});