function setRowsPerPage(redirect)
{
	var limit = document.getElementById('rowsperpage').value;
	window.location.href=redirect+"&limit="+limit;
}


function hideTip(div_id)
{
	document.getElementById(div_id).style.display = "none";	
	document.getElementById('tip_question_'+div_id).style.display = "block";
}


var old_id = false;
function showTip(div_id)
{
	if(old_id)
	{
		document.getElementById(old_id).style.display = "none";	
		document.getElementById('tip_question_'+old_id).style.display = "block";
	}
	
	document.getElementById(div_id).style.display = "block";
	document.getElementById('tip_question_'+div_id).style.display = "none";
	document.getElementById('tipControl_'+div_id).focus();
	old_id = div_id;
}

function tipMouseOver(div_id)
{
	document.getElementById('tip_question_'+div_id).className = "tip-question-over";	
}

function tipMouseOut(div_id)
{
	document.getElementById('tip_question_'+div_id).className = "tip-question";	
}