today = new Date();

// 今日の日付を取得する
now_month_flower = today.getMonth() +1; // 月の取得
now_date_flower = today.getDate(); // 日の取得(使わないけど…)

function month_flower(){

	// (デバッグ)日付取得確認用
	// document.write("<br>　※今日は",now_month_flower,"月",now_date_flower,"日です<br>");

	// 春(2月)
	if(now_month_flower=='2'){
		// (デバッグ)日付取得確認用
		// document.write('春と認識しました。<br>');

		// 梅
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/spring_flower1.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');

		// 病院マーク
		document.write('<div class ="logo_space02">');
		document.write('<img  src="./images/ugadake_logomark_g.gif" width="207" height="500" border="0" title="宇賀岳病院" alt="宇賀岳病院">');
		document.write('</div>');

		// 桜
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/spring_flower2.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');
	}

	// 春(3月,4月)
	else if(now_month_flower=='3' || now_month_flower=='4'){
		// (デバッグ)日付取得確認用
		// document.write('初夏と認識しました。<br>');

		// チューリップ
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/spring_flower3.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');

		// 病院マーク
		document.write('<div class ="logo_space02">');
		document.write('<img  src="./images/ugadake_logomark_g.gif" width="207" height="500" border="0" title="宇賀岳病院" alt="宇賀岳病院">');
		document.write('</div>');

		// 桜
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/spring_flower2.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');
		}

	// 初夏(5月,6月)
	else if(now_month_flower=='5' || now_month_flower=='6'){
		// (デバッグ)日付取得確認用
		// document.write('初夏と認識しました。<br>');

		// つつじ
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/early_summer03.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');

		// 病院マーク
		document.write('<div class ="logo_space02">');
		document.write('<img  src="./images/ugadake_logomark_g.gif" width="207" height="500" border="0" title="宇賀岳病院" alt="宇賀岳病院">');
		document.write('</div>');

		// あじさい
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/early_summer02.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');
		}

		// 夏(7月〜8月)
		else if(now_month_flower=='7' || now_month_flower=='8'){
		// (デバッグ)日付取得確認用
		// document.write('夏と認識しました。<br>');

		// 朝顔
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/summar_flower1.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');

		// 病院マーク
		document.write('<div class ="logo_space02">');
		document.write('<img  src="./images/ugadake_logomark_g.gif" width="207" height="500" border="0" title="宇賀岳病院" alt="宇賀岳病院">');
		document.write('</div>');

		// ひまわり
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/summar_flower4.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');
	}

		// 夏(9月)
		else if(now_month_flower=='9'){
		// (デバッグ)日付取得確認用
		// document.write('夏と認識しました。<br>');

		// サッコウフジ
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/september_flower1.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');

		// 病院マーク
		document.write('<div class ="logo_space02">');
		document.write('<img  src="./images/ugadake_logomark_g.gif" width="207" height="500" border="0" title="宇賀岳病院" alt="宇賀岳病院">');
		document.write('</div>');

		// なでしこ
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/september_flower2.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');
	}

	// 秋(10月〜11月)
	else if(now_month_flower=='10' || now_month_flower=='11'){
		// (デバッグ)日付取得確認用
		// document.write('秋と認識しました。<br>');

		// コスモス
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/autumn_flower4.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');

		// 病院マーク
		document.write('<div class ="logo_space02">');
		document.write('<img  src="./images/ugadake_logomark_g.gif" width="207" height="500" border="0" title="宇賀岳病院" alt="宇賀岳病院">');
		document.write('</div>');

		// すすき
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/autumn_flower2.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');

	}

		// 冬(12月〜1月)
	else if(now_month_flower=='1' || now_month_flower=='12'){
		// (デバッグ)日付取得確認用
		// document.write('冬と認識しました。<br>');

		// 牡丹
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/winter_flower2.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');

		// 病院マーク
		document.write('<div class ="logo_space02">');
		document.write('<img  src="./images/ugadake_logomark_g.gif" width="207" height="500" border="0" title="宇賀岳病院" alt="宇賀岳病院">');
		document.write('</div>');

		// ビオラ
		document.write('<div class ="top_photo01">');
		document.write('<img  src="./images/winter_flower3.jpg" width="208" height="500" border="0" title="" alt="">');
		document.write('</div>');
	}

// end of function
}
