/* Use IE JS conditional compilation to detect IE */

function IsIE() {
    var result = /*@cc_on!@*/false;
    return result;
}

function IsIE7() {
    /* 
     *  JS 5.7 is installed natively in IE7, but can be added to IE6 as an upgrade, so
     *  we check for IE and JS 5.7; if present, we make sure we're NOT running IE6.
     */
    var result = IsIE()/*@cc_on&& (@_jscript_version >= 5.7) && (window.XMLHttpRequest)@*/;
    return result;
}

