function rotateQuotes(num) {
	var con = document.getElementById("quotes"),
		group = con.getElementsByTagName('li');
	
	if(num===0)
		num=group.length;
	
	group[num-1].removeAttribute('id');
	
	if(num===(group.length))
		num = 0;
	
	group[num].setAttribute('id', 'cur-quote');
	window.setTimeout("rotateQuotes("+(num+1)+")", 10000);
}