// new way to write the flash tag to get around that patent suit in IE // args are as follows // file -- path to swf file // id -- object name in the DOM // w -- width // h -- height // bg -- hex for background color, or 'transparent' // al -- align parameter // // note that for the purposes of alternate HTML content, this tag is openended // in the html is still required to close this tag () after any content // function flashTag(file, id, w, h, bg, al, scale, vars){ var txt = ""; if (scale != null){ txt += ""; }else{ txt += ""; } if(al != null){ txt += ""; } if (bg == null){ txt += ""; }else if (bg.toLowerCase() == "transparent"){ txt += ""; }else{ txt += ""; } if (vars != null){ txt += ""; } //alert(txt); document.write(txt); }