

function toggleFieldset(eId) {
	var elem = document.getElementById(eId);
	elem.style.display = (elem.style.display=='block')? 'none' : 'block';
}

var commentIndex = 0;
function showNextComment() {
	if(++commentIndex>=userComments.length) commentIndex = 0;
	document.getElementById('blockquote-comments').innerHTML = '&laquo;'+userComments[commentIndex]+'&raquo;';
}
function updateComments() {
	userComments = document.getElementById('profile-comment-list').innerHTML.split('||');
	commentIndex = 0;
}
var userComments = [];