var flashvars = {}; flashvars.settingsXML = "nocache.aspx?path=/flashxml/settings/home.xml"; var params = {}; params.folderPath = window.location.protocol + "//" + window.location.host + "/"; params.scale = "noscale"; params.salign = "tl"; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF(window.location.protocol + "//" + window.location.host + "/" + "nocache.aspx?path=/images/banner.swf", "BannerDiv", "440", "382", "9.0.0", false, flashvars, params, attributes);