function SWFobj(file,width,height,wmode){
  var swf = '<object type="application/x-shockwave-flash" data="'+file+'" width="'+width+'" height="'+height+'">'
  +'  <param name="movie" value="'+file+'">'
  +'  <param name="wmode" value="'+wmode+'">'
  +'  Установите <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash-плеер</a>'
  +'</object>';
  document.write(swf);
}

