glowhead: browserweiche

Beitrag lesen

Moin liebes Forum!
diese gleich folgende Browserweiche funtzt/trennt ns4.x von moz absolut sauber! ns. 6.2 nutzt jedoch die version für moz! woran liegt das? wie trenn ich die beiden browder am besten!

function autowahl() {
if (navigator.appName=='Microsoft Internet Explorer') {
 document.location.replace ("willk_ie.htm");
 }
 var moz =  !!(document.captureEvents  &&  document.documentElement);
  if (moz == true) {
   document.location.replace ("willk_mo.htm");
  }
}

ich hoffe es kann mir einer helfen! ich verzweifel so langsam!
Danke im Vorraus mfg glowhead