Javascript Browser ID and Ajax

I enherited some code and it works on FF, IE, Safari but not Chrome.  It seems that the javascript is looking for something different than Chrome is IDing.

The lines of code in questions are:
var iex=(document.all);
var nav=(document.layers);
var old=(navigator.appName=="Netscape" && !document.layers && !document.getElementById);
var n_6=(window.sidebar);

This is how we ID the browser, this works fine for all but Chrome.

Anyone have any idea on what would ID Chrome correctly?

You can see the full file here:

As for what this is doing, you can see the results but visiting this page and putting your mouse over any of the kayaks, it is making an AJAX call to retrieve the information.  In Chrome it will not display the DIV even though it is firing off the AJAX.

Any help would be greatly appreciated.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

>>Anyone have any idea on what would ID Chrome correctly?

try chaning:
var n_6=(window.sidebar);

var n_6=(window.sidebar || (navigator.userAgent.toLowerCase().indexOf('chrome') > -1) );

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pmessanaAuthor Commented:

I knew it was something simple.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.