function embedFlash() {
 var l=arguments.length;
 var ll;
 var h = [];
 // emit string
 function e(s) {
  h[h.length] = s;
 }
 if (l>2) {
  // Object part
  e('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="');
  e(arguments[1]);
  e('" height="');
  e(arguments[2]);
  e('" ');
  if (l>3) {
   e('id="');
   e(arguments[3]);
   e('" ');
  }
  if (l>4) {
   e('align="');
   e(arguments[4]);
   e('" ');
  }
  e('>');
  e('<param name="movie" value="')
  e(arguments[0]);
  e('" />');
  // Object parameters
  ll=l;
  while (ll>5) {
   e('<param name="');
   e(arguments[ll-2]);
   e('" value="');
   e(arguments[ll-1]);
   e('" />');
   ll=ll-2;
  }
  // Embed section
  e('<embed src="');
  e(arguments[0]);
  e('" width="');
  e(arguments[1]);
  e('" height="');
  e(arguments[2]);
  if (l>3) {
   e('" name="');
   e(arguments[3]);
   e('" ');
  }
  if (l>4) {
   e('align="');
   e(arguments[4]);
   e('" ');
  }
  // Embed parameters
  ll=l;
  while (ll>5) {
   e(arguments[ll-2]);
   e('="');
   e(arguments[ll-1]);
   e('" ');
   ll=ll-2;
  }
  e('type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
  e('</object>');
 }
 document.write(h.join(''));
}
