function iterate_list(listname,index)
{
	
	listroot = document.getElementById(listname);

	listroot.childNodes[index].style.fontWeight = 'normal';
	listroot.childNodes[index].style.color = 'black';


	if(index >= listroot.childNodes.length-1)
	{
		index = 0;
	}
	else
		index++;

	listroot.childNodes[index].style.fontWeight = 'bold';
	listroot.childNodes[index].style.color = 'blue';
	setTimeout(function() { iterate_list(listname,index); }, 1200);
}

function fireEvent(element,event)
{
	if (document.createEventObject)
	{
		// dispatch for IE
		var evt = document.createEventObject();
		return element.fireEvent('on'+event,evt)
	}
	else
	{
		// dispatch for firefox + others
		var evt = document.createEvent("HTMLEvents");
		evt.initEvent(event, true, true ); // event type,bubbling,cancelable
		return !element.dispatchEvent(evt);
	}
}
