
/* swfキャッシュ対策用 */
myYear = new Date().getYear();
if(myYear<1000) myYear+=1900;
nowdate = myYear + "" + (new Date().getMonth() + 1) + "_" + (new Date().getDate()) + "_" + (new Date().getHours()) + "_" + (new Date().getMinutes()) + "_" + (mySeconds = new Date().getSeconds());


// summer2010
function summer2010() {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="780" height="490" />\n');
	document.write('<param name="movie" value="image/summer2010.swf?' + nowdate + '" />\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<embed src="image/summer2010.swf?' + nowdate + '" quality="high" wmode="transparent" width="780" height="490" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');	
	document.write('</object>\n');
}


// flash_main
function main() {
  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="780" height="435">\n');
  document.write('<param name="movie" value="top_0906.swf">\n');
  document.write('<param name="quality" value="high">\n');
  document.write('<embed src="top_0906.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="435"></embed>\n');	
  document.write('</object>\n');
} 

function summer2009() {
  document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="780" height="490" id="summer" align="middle">\n');
  document.write('<param name="movie" value="image/summer.swf" />\n');
  document.write('<param name="quality" value="high" />\n');
  document.write('<param name="allowFullScreen" value="false" />\n');
  document.write('<embed src="image/summer.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" height="490"></embed>\n');	
  document.write('</object>\n');
} 


// 
function boxOpenOnly(no) {
  for(i=1; i < 4; i++){
     isa = 's' + i + 'a';
     isb = 's' + i + 'b';
     ica = 'c' + i + 'a';
     icb = 'c' + i + 'b';
     if(i == no){
       document.getElementById(isa).style.display = "none";
       document.getElementById(isb).style.display = "block";
       document.getElementById(ica).style.display = "block";
     }
     else {
       document.getElementById(isa).style.display = "block";
       document.getElementById(isb).style.display = "none";
       document.getElementById(ica).style.display = "none";
     }
  }
  return false;
}
