// JavaScript Document


function checkPlugin(mimeType, comNames){

  comNames = [].concat(comNames);

  if(navigator.userAgent.indexOf('MSIE')==-1){

    return !!navigator.mimeTypes[mimeType];

  }

  else{var L = navigator.mimeTypes.length;

hairetu= new Array(L);

for(i=0; i<L; i++){

hairetu[i] = navigator.mimeTypes[i].type;}

var mimetoindex = hairetu.join("-");

if(mimetoindex.indexOf(mimeType) > -1){

return true;

}

  }

  for(var i=comNames.length-1 ; comNames[i] ; i-- ){

    try{

      new ActiveXObject(comNames[i]);

      return true;

    }catch(e){

    }

  }

  

  return false;

}
function RunSwf01()

{/**/

if (checkPlugin('application/x-shockwave-flash','ShockwaveFlash.ShockwaveFlash')==true){

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="880" height="420" title="top">\n');
document.write('<param name="movie" value="top.swf" />\n');
document.write('<param name="quality" value="high" />\n');
document.write('<param name="wmode" value="transparent" />\n');
document.write('<embed src="top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="880" height="420" wmode="transparent">\n');
document.write('</embed>\n');
document.write('</object>\n');
}
else{
document.write('<img src="images/topimage.jpg" border="0" usemap="#Map">\n');
document.write('<map name="Map" id="Map">\n');
document.write('<area shape="rect" coords="699,45,869,108" href="https://reg.cpplus.jp/public/application/add/165?lang=ja" target="_blank" />\n');
document.write('<area shape="rect" coords="697,114,867,166" href="https://reg.cpplus.jp/public/mypage/login?lang=ja" target="_blank" />\n');
document.write('</map>\n');
}
}
