/*
$(function(){

//CSS
$("dt").css("cursor","pointer");
$("dd").css("display","none");

//dt click
$("dt").click(function(){
	if($("+dd",this).css("display")=="none"){
		$("+dd",this).slideDown("slow");
	} else {
		$("+dd",this).slideUp("slow");
	}
});

});

// DropDown
<!--//--><![CDATA[//><!--
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}

if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]>
*/
// Table Row Add Decorations
$(document).ready(function(){
  $("table").each(function(){
    jQuery(this).find("tr:even").addClass("even");
  });
});

<!-- 
var term = 6; //　選択表示する月数(リザーブゲートの公開月数に設定すると良いかと思います。)
var today = new Date();
var cYear = today.getFullYear();
var cMonth = today.getMonth();
var cDate = today.getDate();
var i;
var std;
var optC;
var optN;
for (i=0; i<term; i++) {
  cMonth++;
  if (cMonth > 12) {
    cMonth = 1;
    cYear++;
  }
  fcMonth = cMonth;
  if (cMonth < 10) { fcMonth = "0" + cMonth; }
  vcMonth = cMonth * 1;
  if (i == 0) { std = "selectedi=\"selected\""; }
  else { std = ""; }
  optC = optC + "<option value='"+cYear+fcMonth+"' "+std+">"+cYear+"年"+vcMonth+"月</option>\n";
}
for(i=1; i<=31; i++){
  if(i == cDate) { std = "selected=\"selected\""; }else{ std = ""; }
  optN = optN + "<option value='"+i+"' "+std+">"+i+"</option>\n";
}
// -->
