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)
{document.getElementById("paginationCurrentPage"+id).value=pageSet;document.getElementById(formName).submit();}
function usListPaginationJsPlugin(paginationCurrentPage,formName,id)
{document.userRecordForm.excel.value="";document.getElementById("paginationCurrentPage"+id).value=paginationCurrentPage;document.getElementById(formName).submit();}
function linksPageSetJS(linksPageSet,linkCount,formName,id)
{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.userRecordForm.excel.value="";document.getElementById("linksPageSet"+id).value=0;}
function resetPaginationJS(formName,id)
{document.getElementById("paginationCurrentPage"+id).value=1;document.getElementById("linksToDisplayPagination"+id).value=0;}
function submitPaginationFormJS(e,formName,id)
{if(e.keyCode==13)
{resetPaginationJS(formName,id);}}