I come from a C++ background and I was wondering how you can write an if condtion in JavaScript. I want to write something like this.

if (browser equals Internet Explorer)
{
load this script (http://dynamicdrive.com/dynamicindex8/autocenter.htm)
}


Thanks.