<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
function browsertest()
{
if ((navigator.userAgent.indexOf("MSIE 5.0") != -1) &&
(navigator.userAgent.indexOf("Opera") == -1)) {
window.location.href="e5.html";
}
else
if ((navigator.userAgent.indexOf("MSIE 5.5") != -1) &&
(navigator.userAgent.indexOf("Opera") == -1)) {
window.location.href="e55.html";
}
else
if ((navigator.userAgent.indexOf("MSIE 6.0") != -1) &&
(navigator.userAgent.indexOf("Opera") == -1)) {
window.location.href="e6.html";
}
else
if ((navigator.userAgent.indexOf("MSIE 7.0") != -1) &&
(navigator.userAgent.indexOf("Opera") == -1)) {
window.location.href="e7.html";
}
else
if ((navigator.userAgent.indexOf("MSIE 8.0") != -1) &&
(navigator.userAgent.indexOf("Opera") == -1)) {
window.location.href="e8.html";
}
else
if ((navigator.userAgent.indexOf("Gecko") != -1) &&
(navigator.userAgent.indexOf("Netscape) == -1) &&
(navigator.userAgent.indexOf("Firefox) == -1) &&
(navigator.userAgent.indexOf("rv:1") != -1)) {
window.location.href="m1.html";
}
else
if (navigator.userAgent.indexOf("Firefox/1.0") != -1) {
window.location.href="f10.html";
}
else
if (navigator.userAgent.indexOf("Firefox/1.5") != -1) {
window.location.href="f15.html";
}
else
if ((navigator.userAgent.indexOf("Firefox/2.0") != -1) &&
(navigator.userAgent.indexOf("Navigator") == -1)) {
window.location.href="f20.html";
}
else
if (navigator.userAgent.indexOf("Firefox/3.0") != -1) {
window.location.href="f30.html";
}
else
if (navigator.userAgent.indexOf("Firefox/3.5") != -1) {
window.location.href="f35.html";
}
else
if ((navigator.appName == "Netscape") &&
(navigator.userAgent.indexOf("Mozilla/4") != -1) &&
(navigator.userAgent.indexOf("Opera") == -1)) {
window.location.href="n4.html";
}
else
if (navigator.userAgent.indexOf("Netscape6") != -1) {
window.location.href="n6.html";
}
else
if (navigator.userAgent.indexOf("Netscape/7") != -1) {
window.location.href="n7.html";
}
else
if (navigator.userAgent.indexOf("Netscape/8") != -1) {
window.location.href="n8.html";
}
else
if (navigator.userAgent.indexOf("Navigator/9") != -1) {
window.location.href="n9.html";
}
else
if ((navigator.userAgent.indexOf("Opera 7") != -1) ||
(navigator.userAgent.indexOf("Opera/7") != -1)) {
window.location.href="o7.html";
}
else
if ((navigator.userAgent.indexOf("Opera 8") != -1) ||
(navigator.userAgent.indexOf("Opera/8") != -1)) {
window.location.href="o8.html";
}
else
if (((navigator.userAgent.indexOf("Opera 9") != -1) ||
(navigator.userAgent.indexOf("Opera/9") != -1)) &&
(navigator.userAgent.indexOf("Presto") == -1)) {
window.location.href="o9.html";
}
else
if ((navigator.userAgent.indexOf("Presto/2.2.15") != -1) ||
(navigator.userAgent.indexOf("Opera 10") != -1)) {
window.location.href="o10.html";
}
}
//-->
</SCRIPT>

Zorg ervoor dat de code tussen de haakjes achter de if-statements niet onderbroken wordt door een harde overgang naar de volgende regel.