function clearse(id,values,mode){
	var box = document.getElementById(id);
	if(mode == 1 && box.value == values){
		box.value = '';
	}else if(box.value == ''){
		box.value = values ;
	}
	
}
function showcomment(id){
	document.getElementById('commentv' + id).style.display = 'none';
	document.getElementById('comment' + id).style.display = '';
	maxitem = document.getElementById('totalcomments').value;
	id2 = 1;
	while(id2 <= maxitem){
		if(id != id2){
			document.getElementById('comment' + id2).style.display = 'none';
			document.getElementById('commentv' + id2).style.display = '';
		}
		id2++;
	}

}

