jQuery.flashWrite = function(url,w,h)
{
    var flashStr = 
    "<div class='flashwrap' style='height:"+h+"px;width:"+w+"px'>" +
	"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' " +      
    "    codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' " +
    "    width='" + w + "' height='" + h + "'>" +
    "    <param name='movie' value='" + url + "'>  " +
    "    <param name='quality' value='high'> " +
    "    <param name='wmode' value='opaque'> " +
    "    <param name='menu' value='false'>" +
    "    <embed src ='" + url + "' " +
	"    pluginspage ='http://www.macromedia.com/go/getflashplayer' " +
    "        width='" + w + "' height='" + h + "' type='application/x-shockwave-flash' wmode='opaque'> " +
    "    </embed>" +
    "</object>" +
	"</div>" ;
    //document.getElementById("flashObj").innerHTML = flashStr;
    document.write(flashStr);
} 