	function awardYear(a,filCode,filVal) /* a is the award variable */ 
	{
		var d=new Date();
		var y; /* year variable */
		var u; /* url to link to */
		var awardCode = new Array("allS","allN","allA","srBowl","playerOTY","scholar","specialCoaches","coachOTY","assistantOTY","service","contributor","lifetime","sportsmanship","official","adversity","media");
		var awardText = new Array("connecticut-boys-all-state-soccer-team","connecticut-boys-all-new-england-soccer-team","connecticut-boys-all-american-soccer-team","connecticut-boys-senior-bowl-soccer-team","connecticut-boys-soccer-player-of-the-year","connecticut-boys-soccer-valerio-moretti-scholar-athletes","connecticut-boys-soccer-special-coaches-award","connecticut-boys-soccer-coach-of-the-year","connecticut-boys-soccer-assistant-of-the-year","connecticut-boys-soccer-john-j-mcvicar-distinguished-service-award","connecticut-boys-soccer-special-contributor-award","connecticut-boys-soccer-life-time-member-award","connecticut-boys-soccer-george-d-ritchie-sportmanship-award","connecticut-boys-soccer-outstanding-official","connecticut-boys-soccer-keith-johnson-adversity-award","connecticut-boys-soccer-bo-kolinsky-media-award");
		if (d.getMonth()<10) {
			y=d.getFullYear()-1; /* sr bowl is announced in november so use previous year */
		}
		else {
			y=d.getFullYear();
		}
		/* assemble url to write out */
		i=0;
		match=false;
		while (i<awardCode.length && match==false)
		{
			if (a==awardCode[i]) 
			{
				u="csca-awards/"+awardText[i];
				j=0;
				while (j<filCode.length)
				{
					if (filCode[j]=="year" && filVal[j]==null)
					{
						filVal[j]=y;
					}			
					if (j==0)
					{
						u=u+"?"+filCode[j]+"="+filVal[j];	
					}
					else
					{
						u=u+"&"+filCode[j]+"="+filVal[j];
					}
					j++;
				}
				match=true;
			}
			i++;
		}
		return (u);
	}
