function getCSS()
{
datetoday = new Date();
timenow=datetoday.getTime();
datetoday.setTime(timenow);
theMonth = datetoday.getMonth()+1;
// theMonth = 1; テスト用

if (theMonth == 4)
display = "css/color1.css";
else if (theMonth == 5)
display = "css/color1.css";
else if (theMonth == 6)
display = "css/color1.css";
else if (theMonth == 7)
display = "css/color2.css";
else if (theMonth == 8)
display = "css/color2.css";
else if (theMonth == 9)
display = "css/color2.css";
else if (theMonth == 10)
display = "css/color3.css";
else if (theMonth == 11)
display = "css/color3.css";
else if (theMonth == 12)
display = "css/color3.css";
else if (theMonth == 1)
display = "css/color4.css";
else if (theMonth == 2)
display = "css/color4.css";
else if (theMonth == 3)
display = "css/color4.css";
else
display = "css/color1.css";
var css = '<link rel="stylesheet" type="text/css" href="/univ/glim/common/' + display + '" />';
document.write(css);

}


$(function(){
	var ssn=Math.floor((theMonth-1)/3);
	switch(ssn){
		case 0:
			$('table.head .head-img img').attr('src','/univ/glim/common/image/logotitle-winter.gif'); 
			break;
		case 1:
			$('table.head .head-img img').attr('src','/univ/glim/common/image/logotitle-spring.gif');
			break;
		case 2:
			$('table.head .head-img img').attr('src','/univ/glim/common/image/logotitle-summer.gif');
			break;
		case 3:
			$('table.head .head-img img').attr('src','/univ/glim/common/image/logotitle-autumn.gif');
			break;
		default:
			$('table.head .head-img img').attr('src','/univ/glim/common/image/logotitle.gif');
			break;
	}
});

