
/* 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());


// flash_main
function main() {
	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="435" />\n');
	document.write('<param name="movie" value="image/top.swf?' + nowdate + '" />\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<embed src="image/top.swf?' + nowdate + '" quality="high" wmode="transparent" width="780" height="435" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\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;
}
