/**
 * Helper function for form pagination. Adds an additional hidden field ("pagination-offset") on the form by the given id and posts the form.
 */
function paginationPost(formId, offset) {
	$j("#"+formId).append('<input type="hidden", name="pagination-offset", value="'+offset+'"/>');
	$j("#"+formId).submit();
}