function swf(idname, flashURL, swfWidth, swfHeight){ htmlCode = ""; hasRightVersion = true; if(hasRightVersion === true){ htmlCode += ""; htmlCode += ""; htmlCode += ""; htmlCode += ""; htmlCode += ""; htmlCode += ""; htmlCode += ""; htmlCode += ""; document.getElementById(idname).innerHTML = htmlCode; } }