//===　SWF埋め込み　===
var SecCode = 4575;
var buttonWidth = 615;
var swfWidth = 300;
var swfheight = 225;


if(ThisPage==1 || ThisPage==2 || ThisPage==3){
   var rentan = "r";
}else{
   var rentan = "t";
}


var MM_contentVersion = 6;

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 = 1;
}

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="'+buttonWidth+'" HEIGHT="35" ALIGN="">\n');
      document.write('<param name=movie VALUE="../img/'+SecCode+'/qir/button_e.swf?class='+rentan+'&amp;code='+SecCode+'&amp;num='+ThisPage+'">\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('<EMBED src="../img/'+SecCode+'/qir/button_e.swf?class='+rentan+'&code='+SecCode+'&num='+ThisPage+'" quality=high bgcolor=#FFFFFF WIDTH="'+buttonWidth+'" HEIGHT="35" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">\n');
      document.write('</EMBED>\n');
      document.write('</object>\n');
   } 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="'+swfWidth+'" height="'+swfheight+'" align="">\n');
      document.write('<param name=movie value="../img/'+SecCode+'/qir/qir_e.swf?id='+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('<embed src="../img/'+SecCode+'/qir/qir_e.swf?id='+j+'&code='+SecCode+'" quality=high bgcolor=#FFFFFF  width="'+swfWidth+'" height="'+swfheight+'" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\n');
      document.write('</embed>\n');
      document.write('</object>\n');
   }
 } else {
   if(j==0){
	 document.write('<A href="http://www.macromedia.com/go/gnavtray_dl_flashpl_jp"><IMG SRC="../img/'+SecCode+'/noflash_b_e.gif" WIDTH="'+buttonWidth+'" HEIGHT="58" border="0"></A>');
   }else {
	 document.write('<A href="http://www.macromedia.com/go/gnavtray_dl_flashpl_jp"><IMG SRC="../img/'+SecCode+'/noflash_e.gif" WIDTH="'+swfWidth+'" '+swfheight+'="198" border="0"></A>');
   }
  
 }
}
//======
