function createFlash(DivID, URL, XX, YY, BG, IMG) {
   document.write('<DIV id="'+DivID+'" style="width: '+XX+'px; height: '+YY+'px; margin: 0px; padding: 0px;"></DIV>');
   var d = document.getElementById(DivID);
   text = '<embed menu="false" src="'+URL+'" quality="high" bgcolor="'+BG+'" width="'+XX+'" height="'+YY+'" swLiveConnect=true allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" ></embed>';
   d.innerHTML = text;
}

