browser sniffing is bound to cause future headache - it's a maintenance nightmare and general Bad Practice (tm). Why not just use things like the simple CSS '@import' rule? http://bennettpr.blogspot.com/2004/10/is-browser-sniffing-dead.html Kasimir K wrote: > >> } else if(user.indexOf("gecko/2004") != -1) { >> moz = true; > > > How about Gecko in 2005? You could take the four characters after > "gecko/" and check it's a number > 2003. > > .k >