<!--
// 博多青松メインイメージの月別変更 
var Mon
var Nom

// 博多青松メインイメージの月別変更 (sky)
   function top()
   {
    d = new Date();
    h = d.getHours();
	  
	 var now = new Date();
	 if(now.getYear()-1900 >= 100)
	  var dy = now.getYear();
	 else
	  var dy =1900 + now.getYear();
	  var dm = now.getMonth()+1;
	  var dd = now.getDate();
	  
      var onRotate = new Array()
	  
		onRotate[1] = '<img src="picts/index/sky_01.jpg" width="453" height="154" border="0">'	
		onRotate[2] = '<img src="picts/index/sky_evening.jpg" width="453" height="154" border="0">'
		onRotate[3] = '<img src="picts/index/sky_night.jpg" width="453" height="154" border="0">'
		onRotate[4] = '<img src="picts/index/sky_morning.jpg" width="453" height="154" border="0">'
		onRotate[5] = '<img src="picts/index/sky_jet.jpg" width="453" height="154" border="0">'
		onRotate[6] = '<img src="picts/index/sky_bard.jpg" width="453" height="154" border="0">'
		onRotate[7] = '<img src="picts/index/sky_night2.jpg" width="453" height="154" border="0">'

		// 1
		onRotate[11] = '<img src="picts/index/sky/sky_tako.jpg" width="453" height="154" border="0">'
		onRotate[12] = '<img src="picts/index/sky/sky_snow.jpg" width="453" height="154" border="0">'		// 2
		// 3
		// 4
		// 5
		onRotate[51] = '<img src="picts/index/sky/sky_koinobori.jpg" width="453" height="154" border="0">'		// 2

		// 6
		// 7
		// 8
		onRotate[81] = '<img src="picts/index/sky_fireworks.jpg" width="453" height="154" border="0">'
		// 9
		// 10
		// 11
		// 12
		onRotate[121] = '<img src="picts/index/sky/sky_snow.jpg" width="453" height="154" border="0">'
		onRotate[122] = '<img src="picts/index/sky/sky_snow_day.jpg" width="453" height="154" border="0">'
		
          switch(dm){
			case 1:	if(h < 5 ){Nom = 12;}
	  					else{if(h < 8){Nom = 12;}
						   else{if(h <18){Nom = 11;}
							  else{Nom = 12;}
	                 }};break;
		 	case 2:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
		 	case 3:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
		 	case 4:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
			case 5:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
			case 6:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
			case 7:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
			case 8:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <22){Nom = 81;}
							  else{Nom = 3;}
	                 }}}}}};break;
			case 9:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
			case 10:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
			case 11:if(h < 5 ){Nom = 3;}
	  					else{if(h < 8){Nom = 4;}
	   					 else{if(h <10){Nom = 1;}
		 				  else{if(h <12){Nom = 6;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 7;}
							  else{Nom = 3;}
	                 }}}}}};break;
			case 12:if(h < 5 ){Nom = 121;}
	  					else{if(h < 8){Nom = 121;}
	   					 else{if(h <10){Nom = 122;}
		 				  else{if(h <12){Nom = 122;}
						   else{if(h <16){Nom = 5;}
						    else{if(h <18){Nom = 2;}
							 else{if(h <21){Nom = 121;}
							  else{Nom = 121;}
	                 }}}}}};break;
					 
			default:{Nom = 0;};break;
			}
		
      return onRotate[Nom]
}
   
   
// 博多青松メインイメージの月別変更 (main)
 
function bottom()
{
    d = new Date();
    h = d.getHours();
	  
	 var now = new Date();
	 if(now.getYear()-1900 >= 100)
	  var dy = now.getYear();
	 else
	  var dy =1900 + now.getYear();
	  var dm = now.getMonth()+1;
	  var dd = now.getDate();
	  
      var onRotate = new Array()
	    // 0
		onRotate[0] = '<img src="picts/index/season/main_00.jpg" width="360" height="171" border="0">'	
		onRotate[1] = '<img src="picts/index/season/main_00_snow.jpg" width="360" height="171" border="0">'	
		onRotate[2] = '<img src="picts/index/season/main_00_newyear.jpg" width="360" height="171" border="0">'	

		// 1
		onRotate[10] = '<img src="picts/index/season/main_1_sinnen.jpg" width="360" height="171" border="0">'	
		onRotate[11] = '<img src="picts/index/season/main_1_newyear.jpg" width="360" height="171" border="0">'	
		onRotate[12] = '<img src="picts/index/season/main_1_snow_newyear.jpg" width="360" height="171" border="0">'	

		// 2
		// 3
		onRotate[31] = '<img src="picts/index/season/main_31.jpg" width="360" height="171" border="0">'	

		// 4
		onRotate[41] = '<img src="picts/index/season/main_4_sakura.jpg" width="360" height="171" border="0">'
		onRotate[42] = '<img src="picts/index/season/main_4_nyugaku.jpg" width="360" height="171" border="0">'

		// 5
		onRotate[51] = '<img src="picts/index/season/main_5_koinobori.jpg" width="360" height="171" border="0">'
		onRotate[52] = '<img src="picts/index/season/main_5_dontaku.jpg" width="360" height="171" border="0">'

		// 6
		// 7
		onRotate[71] = '<img src="picts/index/season/main_71.jpg" width="360" height="171" border="0">'	

		// 8
		// 9
		onRotate[91] = '<img src="picts/index/season/main_9_zensotu.jpg" width="360" height="171" border="0">'	

		// 10
		onRotate[101] = '<img src="picts/index/season/main_10_kounyu.jpg" width="360" height="171" border="0">'	

		// 11
		// 12
		onRotate[120] = '<img src="picts/index/season/main_12.jpg" width="360" height="171" border="0">'	
		onRotate[121] = '<img src="picts/index/season/main_12_christmas.jpg" width="360" height="171" border="0">'	
		onRotate[122] = '<img src="picts/index/season/main_12_aisatu.jpg" width="360" height="171" border="0">'	
		onRotate[123] = '<img src="picts/index/season/main_12_snow_aisatu.jpg" width="360" height="171" border="0">'	
		onRotate[124] = '<img src="picts/index/season/main_12_christmastree.jpg" width="360" height="171" border="0">'	

	  if(h < 8 ){
          switch(dm){
			case 1:if(dd <= 7){Nom = 12;}else{Nom = 1;};break;
		 	case 2:{Nom = 0;};break;
		 	case 3:{Nom = 0;};break;
		 	case 4:if(dd <= 26){Nom = 0;}else{Nom = 51;};break;
			case 5:if(dd <= 2){Nom = 51;}else{if(dd <= 4){Nom = 52;}else{if(dd <= 8){Nom = 51;}else{Nom = 0;}}};break;
			case 6:{Nom = 0;};break;
			case 7:{Nom = 0;};break;
			case 8:{Nom = 0;};break;
			case 9:{Nom = 0;};break;
			case 10:{Nom = 0;};break;
			case 11:{Nom = 0;};break;
			case 12:if(dd <= 23){Nom = 120;}else{if(dd <= 25){Nom = 121;}else{Nom = 123;}};break;
			default:{Nom = 0;};break;
				  }}
	    else{if(h < 18){
          switch(dm){
			case 1:if(dd <= 7){Nom = 10;}else{if(dd <= 15){Nom = 2;}else{Nom = 0;}};break;
		 	case 2:if(dd <= 3){Nom = 0;}else{Nom = 0;};break;
		 	case 3:if(dd <= 3){Nom = 31;}else{Nom = 0;};break;
		 	case 4:if(dd <= 5){Nom = 41;}else{if(dd <= 15){Nom = 42;}else{if(dd <= 26){Nom = 0;}else{Nom = 51;}}};break;
			case 5:if(dd <= 2){Nom = 51;}else{if(dd <= 4){Nom = 52;}else{if(dd <= 8){Nom = 51;}else{Nom = 0;}}};break;
			case 6:{Nom = 0;};break;
			case 7:if(dd <= 15){Nom = 71;}else{Nom = 0;};break;
			case 8:{Nom = 0;};break;
			case 9:if(dd <= 22){Nom = 0;}else{Nom = 91;};break;
			case 10:if(dd <= 6){Nom = 101;}else{Nom = 0;};break;
			case 11:{Nom = 0;};break;
			case 12:if(dd <= 25){Nom = 124;}else{Nom = 122;};break;
			default:{Nom = 0;};break;
				  }}
	    else{
		  switch(dm){
			case 1:if(dd <= 7){Nom = 12;}else{Nom = 1;};break;
		 	case 2:{Nom = 0;};break;
		 	case 3:{Nom = 0;};break;
		 	case 4:if(dd <= 26){Nom = 0;}else{Nom = 51;};break;
			case 5:if(dd <= 2){Nom = 51;}else{if(dd <= 4){Nom = 52;}else{if(dd <= 8){Nom = 51;}else{Nom = 0;}}};break;
			case 6:{Nom = 0;};break;
			case 7:{Nom = 0;};break;
			case 8:{Nom = 0;};break;
			case 9:{Nom = 0;};break;
			case 10:{Nom = 0;};break;
			case 11:{Nom = 0;};break;
			case 12:if(dd <= 23){Nom = 120;}else{if(dd <= 25){Nom = 121;}else{Nom = 123;}};break;
			default:{Nom = 0;};break;
				  }}
	     };
				  
  return onRotate[Nom]
  }
  //-->