var now = 4;
var _obj = document.getElementById('eventInfoBlock');
if( _obj )
{
	var _list = _obj.getElementsByTagName('LI');
	var len = _list.length;
	for( i = 0; i < len; i++ )
	{
		_list[i].style.display = "none";
	}
	_list[0].style.display = "";
}

function prev()
{
	now--;
	if( now < 0 )
	{
		now += len;
	}
	show( now );
}

function next()
{
	now++;
	if( now >= len )
	{
		now -= len;
	}
	show( now );
}

function change( e ){
	now = e;
	show( now );
}

function show( e ){
	for( i = 0; i < len; i++ )
	{
	_list[i].style.display = "none";
	}
	_list[e].style.display = "";
}