Flash animation not showing in htm file, which is opened using load() method.

Flash animation not showing in htm file, which is opened using load() method.

Hi,
 
jquery code
-------------------------

$(document).ready(

function (){

$("body").append("<div id='qsDiv'><div class='ui-overlay'><div class='ui-widget-overlay'></div><div id='qsShadow' class='ui-widget-shadow ui-corner-all'></div></div><div id='qsContent' class='ui-widget ui-widget-content ui-corner-all'></div></div>");

$("#qsDiv").hide();

var bwidth = $("body").width();

var poswidth = (bwidh-832)/2;

$("#qsShadow").css({left: poswidth + "px"});

$("#qsContent").css({left: poswidth + "px"});

});

function

LaunchQuickSpot()

{

$("#qsContent").load("FlashContainer.htm");

$("#qsDiv").show(200);

}

-------------------------
 
javascript:
------------------
<
a href ="javascript:LaunchQuickSpot('flector','3','True');"> test </ a >
-------------------
 
now this does executes load method, but the flash contaned in FlashContaner.htm file is not shown, though it is shown if we open the FlashContaner.htm file in browser.
 
Thanks