function recordsPerPageJS(formName, id)
{
	document.getElementById("paginationCurrentPage"+id).value = 1;
	document.getElementById("linksToDisplayPagination"+id).value = 0;	
	document.getElementById(formName).submit();
}

function linksToDisplayPaginationJS(pageSet, formName, id)
{
	//alert("dhfgh");
	document.getElementById("paginationCurrentPage"+id).value = pageSet;
	document.getElementById(formName).submit();
}

function usListPaginationJsPlugin(paginationCurrentPage, formName, id)
{
	document.getElementById("paginationCurrentPage"+id).value = paginationCurrentPage;
	document.getElementById(formName).submit();
}

function linksPageSetJS(linksPageSet, linkCount, formName, id)
{
	//alert(linksPageSet);
	document.getElementById("paginationCurrentPage"+id).value = linksPageSet * linkCount + 1;
	document.getElementById("linksToDisplayPagination"+id).value = linksPageSet;
	document.getElementById("linksPageSet"+id).value = linksPageSet;
	document.getElementById(formName).submit();
}

function resetLinksPageSet(id)
{
document.getElementById("linksPageSet"+id).value = 0;
}

