var CFLiewin = navigator.userAgent.indexOf('Win') && (document.all);
var CFLflag = false;
var CFLwidth = 150;
var CFLheight= 300;
var CFLaltHTML = '<!-- Adobe Flash Player  --><div class="yjplg"><table><tr><td class="yjSt">Adobe Flash Playerは、ボタンを押して移動したサイトで入手できます。さらに詳しい情報は「<a href="http://help.yahoo.co.jp/help/jp/common/sys/sys-10.html">Adobe Flash Playerをインストールするには</a>」をご覧ください。</td></tr><tr><td class="icn-v" align="center"><a href="http://www.adobe.com/go/getflashplayer_jp" target="new"><img src="http://i.yimg.jp/images/common/get_flash_player.gif" width="88" height="31" alt="Flash Playerをダウンロード" target="new"></a></td></tr></table></div><!-- /Adobe Flash Player  -->';

var CFLfpver = 8;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if (plugin) {
  //CFLflag = parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= CFLfpver;
  if(parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) >= CFLfpver || parseInt(plugin.description.substring(plugin.description.indexOf(".")-1)) == 0){
		CFLflag = true;
	}
} else if (CFLiewin) {
  document.write('<script language="VBScript"\> \n');
  document.write('on error resume next \n');
  document.write('CFLflag = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & CFLfpver )))\n');
  document.write('</script\> \n');
}
if (CFLflag) {
  if (!window['CFLdev']) {
    var CFLrdurl = 'http://rd.yahoo.co.jp/blog/blogparts/event/*';
    var CFLswfurl = 'http://i.yimg.jp/i/evt/yica2008/blogparts.swf';
    CFLswfurl = CFLrdurl + CFLswfurl;
  }
  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="150" height="300">');
  document.write('<param name="movie" value="' + CFLswfurl + '">');
  document.write('<param name="quality" value="high">');
  document.write('<param name="allowScriptAccess" value="always">');
  document.write('<embed src="' + CFLswfurl + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="150" height="300" allowScriptAccess="always"></embed>');
  document.write('</object>');
} else {
  document.write(CFLaltHTML);
}
function CFLerr() {
  return true;
}


