SCRIPT438: Object doesn't support this property or method script2.js, line 92 character 5
<p>Popups work in Firefox and Safari but not in Internet&nbsp;Explorer&nbsp;9. Using the Dev Tools in Internet&nbsp;Explorer&nbsp;9, I get the following error (occurs in the function openPopUp).</p>

<blockquote>
  <p>SCRIPT438: Object doesn't support this property or method
  script2.js, line 92 character 5</p>
</blockquote>

<h2>Here is &lt;script2.js></h2>

<pre><code>var popup_content_cache = '';
var popup_content_src_id = '';
jQuery.fn.center = function () {
    console.log("*****NEW******");
    this.css("position", "absolute");
    this.css("top", (($(window).height() - this.outerHeight()) / 2) +
                                                $(window).scrollTop() + "px");
    this.css("left", (($(window).width() - this.outerWidth()) / 2) +
                                                $(window).scrollLeft() + "px");

    console.log(this.css('top'));
    console.log(parseInt(this.css('top')));
    if (parseInt(this.css('top')) &lt; 0) this.css('top', '20px');

    console.log(parseInt(this.css('top')));
    return this;/*
    this.css("position","absolute");
    var top=($(window).height() - this.outerHeight())/2;

    console.log("top:  " + top)
    console.log($(window).height());
    console.log(this.outerHeight());
    if(top&lt;0){
        console.log("** IF");
        this.css("top", "20px");
        this.css("left", (($(window).width() - this.outerWidth()) / 2) +   $(window).scrollLeft() + "px");
    }
    else {
        this.css("top", (($(window).height() - this.outerHeight()) / 2) +
                                                    $(window).scrollTop() + "px");
        this.css("left", (($(window).width() - this.outerWidth()) / 2) +
                                                    $(window).scrollLeft() + "px");
    }
    console.log();
    return this;*/
}

function openLayerBC() {
    tWidth = $(document).width();
    tHeight = $(document).height();
    //$("select").fadeOut('fast');
    $('#filter').css("width", tWidth + "px");
    $('#filter').css("height", tHeight + "px");
    // $('#filter').css('z-index',9990);
    $("#filter").css("opacity", 0.8);
    $('#filter').fadeIn('fast');

    //$('#filter').bind("click",closePopup1);
    $('#filter,#close').click(function () {
        $('#filter').fadeOut('fast');
        $('#case_light_box').hide();
        o = document.getElementById('divid');
        o.style.display = o.style.display === 'block' ? 'none' : 'block';
    });
}

function closePopup() {
    $('#filter').fadeOut('fast');
    o = document.getElementById('popup');
    o.style.display = 'none';

    // o.style.display = o.style.display=='block'?'none':'block';
    $(o).css("position","absolute");
    $(popup_content_src_id).html(popup_content_cache);
    var popup_content_cache = '';
    var popup_content_src_id = '';
}

function openPopUp(div) {
    openLayerBC();

    div = div.replace('#', '');
    file = div;
    page = '/v/vspfiles/templates/OSS/ajax/products/' + div + '.html';
    $.get(page, {}, function(data)
    {
        msgbox = document.getElementById('popup');
        $(msgbox).html(data);
        $(msgbox).css('width',$('#'+div).css('width'));
        $('#'+div).show();

        $(msgbox).center();
        $(msgbox).show();
    });
}
</code></pre>

<hr>

<p>This following is the line 92 of &lt;script2.js> the message refers to.</p>

<pre><code> page = '/v/vspfiles/templates/OSS/ajax/products/'+div+'.html';
</code></pre>

<p>Disclaimer: I inherited this JavaScript code and have little experience myself with JavaScript and its syntax.</p>
