window.addEvent('domready', function() {
	sl = new Array;
	$$('div.sub_l2').each(function(item,index) {
		sl[index] = new Fx.Slide(item);
    });
	$$('h2.sub_l').each(function(item,index) {
		item.addEvent('click', function(e) {
			e = new Event(e);
			e.stop();
			sl.each(function(ul_item, ul_index){
				if(ul_index==index)
				{
					ul_item.toggle();
				}
			});
		});
	});
});

function __OnHM(index){
	var obj = document.getElementById("HM"+index);
	if (obj.style.display == '')
		obj.style.display = 'none';
	else
		obj.style.display = '';
}

