What I am thinking is something like this, but it will be a little more complicated (I left the links simple as not to use too much up here), I think, as I would rather have it running under a PHP array, just in case the users do not run Java...
PHP Code:
< script>
if (language.indexOf('en') > -1) document.location.href = 'English.html';
else if (language.indexOf('es') > -1) document.location.href = 'Spanish.html';
else if (language.indexOf('ca') > -1) document.location.href = 'Catalan.html';
else
document.location.href = 'English.html';
</ script>
I'm going to give this a test this evening on the testing server, and the office grid, but am still digging around for a PHP script or a .htaccess that does similar, as this code was something that was written way back in 2001.