﻿function DisplayMarquis() {

    var flashvars = {};
    var params = { loop: false };
    var attributes = { loop: false };

    // Initialize the age validation field events
    $("#dlgWelcome").dialog({
        bgiframe: true,
        height: 540,
        width: 440,
        title: "Welcome",
        modal: false,
        resizable: false,
        closeOnEscape: false,
        beforeclose: function(event, ui) { $(this).dialog('destroy'); },
        buttons: {
            Close: function() {
                $(this).dialog('destroy');
            }
        }
    });

    swfobject.embedSWF("marquis.swf", "myContent", "400", "380", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
    setTimeout('$("#dlgWelcome").dialog("destroy");', 11000);
}
