function limitList(eId, limit) {
	moreText = "+ more";
	if ($(eId).children().length > limit) {
		$.each($(eId).children(),
			function(intIndex,objValue){
				if(intIndex > limit) {
					$(objValue).hide();
				}
			});
		if ($(eId+" + a.expList").text() == '') {
			$(eId).after('<a class="expList">'+moreText+'</a>');
			$(eId+" + a.expList").hover(function () {
				$(eId+" + a.expList").css({'cursor' : 'pointer'});
			});
		}
		if ($(eId+" + a.expList").text() != moreText) {
			$(eId+" + a.expList").text(moreText)
		}
		$('a.expList').unbind("click");
		$("a.expList").bind("click", function(){
			  showListItems(eId,limit,moreText);
			});
	}
}

function showListItems(eId,limit,moreText) {
	lessText = "- less";
	$.each($(eId).children(),
			function(intIndex,objValue){
					if($(objValue+':hidden')) {
						$(objValue).show();
					}
			});
	if ($(eId+" + a.expList").text() == moreText) {
		$(eId+" + a.expList").text(lessText)
	}
	$('a.expList').unbind("click");
	$('a.expList').bind('click', function(){
	  limitList(eId,limit);
	});
}