	/* Define the prefix for the pictures depending on the month of the year */
	/* pref = s for Summer */
	/* pref = p for Spring  */
	/* pref = w for Winter */
	/* pref = a for Autum */
	
	var today = new Date();
	var mes = today.getMonth(); 
	
	if ( mes == 11 || mes == 0  || mes == 1 ) {
		var pref = 'w';
		var npic = 6;
	} else {
		if ( mes == 2 || mes == 3 ) {
			var pref = 'p';
			var npic = 3;
		}
		else {
			if ( mes == 9 || mes == 10 ) {
				var pref = 'a';
				var npic = 5;
			}
			else { 
				pref = 's';
				var npic = 6;
			}
		}
	}
	
	var j,d="",l="",m="",p="",q="",z="",list= new Array()
	
	for ( var i = 1; i <= npic; i++)
		{
			num = i.toString();
			var source = "p";
			source += pref;
			source += "entry";
			source += num;
			source += ".jpg";
			list[list.length]= source;
			source = "";
		}

	j=parseInt(Math.random()*list.length);
	j=(isNaN(j))?0:j;
	document.write("<img src='../images/frontPage/"+list[j]+"'>");
	
