
window.onload = function()
{
	stripe("datatable1");
	stripe("datatable2");

	// Volumeをクッキーから読み込む
	loadVolume();
}

function stripe(id)
{
	table = document.getElementById(id);
	if (table == undefined) {
		return;
	}
	
	clips = table.rows;
  	itemcount = clips.length;
  	
  	// ヘッド行も含むので 2 からスタートする
  	for (i = 2; i < itemcount; i += 2) {
		curr_obj = clips[i];
		curr_obj.className = "oddline";
	}
}