//===　SWF埋め込み　===
var SecCode = 3264;
var obiWidth = 540;
var hanreiWidth = 350;
var hanreiHeight = 90;

var MM_contentVersion = 8;
var obiheight = obiWidth/10;

var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i)
	    {
		if (isNaN(parseInt(words[i])))
		continue;
		var MM_PluginVersion = words[i]; 
	    }
	var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
	document.write('<SCR' + 'IPT LANGUAGE=VBScript\>\n'); //FS hide this from IE4.5 Mac by splitting the tag
	document.write('on error resume next \n');
	document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
	document.write('</SCR' + 'IPT\>\n');
}

if ( MM_FlashCanPlay ) {
	var FlaVarChk = 1;
} else{
	var FlaVarChk = 0;
}

function includeSwf(j){
 if(FlaVarChk==1){
   if(j==0){
      document.write('<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="150" HEIGHT="170" ALIGN="">\n');
      document.write('<param name=movie VALUE="../img/'+SecCode+'/br/piechart_e.swf?year='+ThisYear+'&amp;quarter='+ThisQuarter+'&amp;code='+SecCode+'">\n');
      document.write('<param name=quality VALUE=high>\n');
      document.write('<param name=bgcolor VALUE=#FFFFFF>\n');
      document.write('<param name=menu value=false>\n');
	  document.write('<PARAM NAME="wmode" VALUE="transparent">\n');
      document.write('<EMBED src="../img/'+SecCode+'/br/piechart_e.swf?year='+ThisYear+'&amp;quarter='+ThisQuarter+'&amp;code='+SecCode+'" quality=high bgcolor=#FFFFFF WIDTH="150" HEIGHT="170" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode="transparent">\n');
      document.write('</EMBED>\n');
      document.write('</object>\n');
   } else if(j==99){
      document.write('<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="'+hanreiWidth+'" HEIGHT="'+hanreiHeight+'" ALIGN="">\n');
      document.write('<param name=movie VALUE="../img/'+SecCode+'/br/hanrei_e.swf?year='+ThisYear+'&amp;quarter='+ThisQuarter+'&amp;code='+SecCode+'">\n');
      document.write('<param name=quality VALUE=high>\n');
      document.write('<param name=bgcolor VALUE=#FFFFFF>\n');
      document.write('<param name=menu value=false>\n');
	  document.write('<PARAM NAME="wmode" VALUE="transparent">\n');
      document.write('<EMBED src="../img/'+SecCode+'/br/hanrei_e.swf?year='+ThisYear+'&amp;quarter='+ThisQuarter+'&amp;code='+SecCode+'" quality=high bgcolor=#FFFFFF WIDTH="'+hanreiWidth+'" HEIGHT="'+hanreiHeight+'" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode="transparent">\n');
      document.write('</EMBED>\n');
      document.write('</object>\n');
   } else if(j=="chk"){
	  document.write('<IMG SRC="../img/'+SecCode+'/spacer.gif" WIDTH="10" HEIGHT="1" border="0">');
   } else {
      document.write('<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="'+obiWidth+'" height="'+obiheight+'" align="">\n');
      document.write('<param name=movie value="../img/'+SecCode+'/br/obi_e.swf?year='+ThisYear+'&amp;quarter='+ThisQuarter+'&amp;myid='+j+'&amp;code='+SecCode+'">\n');
      document.write('<param name=quality value=high>\n');
      document.write('<param name=bgcolor value=#FFFFFF>\n');
      document.write('<param name=menu value=false>\n');
	  document.write('<PARAM NAME="wmode" VALUE="transparent">\n'); 
      document.write('<embed src="../img/'+SecCode+'/br/obi_e.swf?year='+ThisYear+'&amp;quarter='+ThisQuarter+'&amp;myid='+j+'&amp;code='+SecCode+'" quality=high bgcolor=#FFFFFF  width="'+obiWidth+'" height="'+obiheight+'" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent">\n');
      document.write('</embed>\n');
      document.write('</object>\n');
   }
 } else {
   if(j=="chk"){
	 document.write('<br /><table width="'+obiWidth+'" border="0" cellpadding="1" cellspacing="1" align="center" bgcolor="#bb0000"><tr><td align="left" class="txt12"><a href="http://www.adobe.com/go/getflashplayer_jp" target="_blank" class="flash">ご覧いただいているページは、Macromedia Flash Player が最新版でない為、正常に表示されていません。こちらをクリックして、最新版をインストールしてください。</a></td></tr></table>');
   }else {
	 document.write('<IMG SRC="../img/'+SecCode+'/spacer.gif" WIDTH="10" HEIGHT="1" border="0">');
   }
  
 }
}

//===　プルダウンのリンク　===
function FChangeForm(form,sel){
   member = sel.options[sel.selectedIndex].value ;
   if(member != "0"){
     location.href = "../"+member+"/asp.html";	
   }
}
 
//======
