function showFlash(swf, w, h, loop) { var isMSIE = navigator.appName.indexOf("Microsoft") != -1; var s = ''; s += '' s += '' s += '' s += '' s += '' s += '' s += '' s += '' // in theory, we should always embed in a table, but in practice, IE6 malfunctions // when width & height = 100%, but in that case, we don't really need the table anyway. if ((w.toString().indexOf('%') == -1) && (h.toString().indexOf('%') == -1)) { s = '
' + s + '
'; } document.write(s); }