function checkCookies(url) {    
    var localOffice, localLanguage, redirect, x, y;
    localOffice = getCookie('sectionLocalOffice');
    localLanguage = getCookie('sectionLanguage');
    redirect =  url+'?userSection='+localOffice+'&userLanguage='+localLanguage;
    window.location = redirect;
}
