function HandleChange1() {
var tablesort = document.getElementById("theTable");
var x = tablesort.className.match(/paginate-([0-9]+)/)[1];
tablesort.className = tablesort.className.replace("paginate-" + x,"paginate-" + document.forms['pagination1'].selectsite.value);
document.forms['pagination2'].selectsite.value = document.forms['pagination1'].selectsite.value;
setPaginationCookie();
tablePaginater.init("theTable");
}

function HandleChange2() {
var tablesort = document.getElementById("theTable");
var x = tablesort.className.match(/paginate-([0-9]+)/)[1];
tablesort.className = tablesort.className.replace("paginate-" + x,"paginate-" + document.forms['pagination2'].selectsite.value);
document.forms['pagination1'].selectsite.value = document.forms['pagination2'].selectsite.value;
setPaginationCookie();
tablePaginater.init("theTable");
}
