// JavaScript Document
/**
/* ナビゲーター　ロールオーバー */
$(function(){
	$("img.rollover").mouseover(function(){
		$(this).attr("src",$(this).attr("src")
				.replace(/^(.+)(\.[a-z]+)$/, "$1_on$2"));
	}).mouseout(function(){
		$(this).attr("src",$(this).attr("src")
				.replace(/^(.+)_on(\.[a-z]+)$/, "$1$2"));
	});
});

/**
 * Formエリア
 *
 */

/**
/* ===== Enterによる送信禁止 ===== */
$(function(){
	$('input[type!="submit"][type!="button"]').keypress(function(e){
	  if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { 
		return false; 
	  }else{
		return true;
	  }
	});
});


$(function() {	
	$(".popup").click(function(){		
		window.open(this.href, "WindowName","width=750,height=640,resizable=yes,scrollbars=yes");		
		return false;	
	});
});


