function showUserComments(uid, lang, param) {
	if(getElement('myCommentsContent')) {
		getElement('commentDetails').style.display = 'block';
		getElement('showComments').style.display = 'none';
		getElement('hideComments').style.display = 'block';		
	} else {
		sendRequest('UserComments',handleCommentsCallback,lang,'uid='+uid+'&'+param);
	}
}

function hideUserComments() {
	getElement('commentDetails').style.display = 'none';
	getElement('hideComments').style.display = 'none';
	getElement('showComments').style.display = 'block';
}

function handleCommentsCallback(status, statusText, responseText, responseXML) {
	if(status == 200) {
		getElement('commentDetails').innerHTML = responseText;
	} else {
		getElement('commentDetails').innerHTML = statusText;
	}
	getElement('commentDetails').style.display = 'block';
	getElement('showComments').style.display = 'none';
	getElement('hideComments').style.display = 'block';
}