
acDate=new Date();
mySeconds=acDate.getSeconds();
myMinutes=acDate.getMinutes();
myHour=acDate.getHours();
myDate=acDate.getDate();
myMonth=acDate.getMonth() +1;

//　トップページ用

function top_flash(){

//正月
	if((myMonth==1) && (myDate<=15)){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/syogatsu/main.swf">');
document.write('<param name="movie" value="swf/syogatsu/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/syogatsu/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}


//雪
	else if(myMonth<=2){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/snow/main.swf">');
document.write('<param name="movie" value="swf/snow/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/snow/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//茶のれん
	else if((myMonth==3) && (myDate<=14)){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//桜
	else if(myMonth<4){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//桜
	else if((myMonth==4) && (myDate<=15)){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//茶のれん
	else if(myMonth<=5){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//白のれん
	else if(myMonth==6){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//夏休み
	else if(myMonth<=8){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//白のれん
	else if(myMonth==9){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//茶のれん
	else if((myMonth==10) && (myDate<=21)){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//雪
	else if((myMonth==12) && (myDate<=14)){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

//雪(年末年始)
	else if((myMonth==12) && (myDate<=31)){
document.write('<object type="application/x-shockwave-flash" width="920" height="700" title="" data="swf/main.swf">');
document.write('<param name="movie" value="swf/main.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="swf/main.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="920" height="700" wmode="transparent"></embed>');
document.write('</object>');
}

else{}
}
