function print_october(i) 
{ 

var today;
var date;
var year;
var suffix;
var 
month = new Array(); 
month[0]="January"; 
month[1]="February"; 
month[2]="March"; 
month[3]="April"; 
month[4]="May"; 
month[5]="June"; 
month[6]="July"; 
month[7]="August"; 
month[8]="September"; 
month[9]="October"; 
month[10]="November"; 
month[11]="December"; 

var 
day = new Array(); 
day[0]="Sunday"; 
day[1]="Monday"; 
day[2]="Tuesday"; 
day[3]="Wednesday"; 
day[4]="Thursday"; 
day[5]="Friday"; 
day[6]="Saturday"; 

today=new Date(2011,9,i);
date = today.getDate(); 
day = (day[today.getDay()]); 
month = (month[today.getMonth()]); 
year = (today.getFullYear()); 
suffix = (date==1 || date==21 || date==31) ? "st" : "th" && (date==2 || date==22) ? "nd" : "th" && (date==3 || date==23) ? "rd" : "th" ;

var str;
str = day + "," + "&nbsp;" + month + "&nbsp;" + date + "<sup>" + suffix + "</sup>" + "&nbsp;" + "," + "&nbsp;" + year;

document.write(str.bold()); 

switch (date)
{

case 1:
  	document.write("<li>	SAT (Not at Preston High)	</li>");
	document.write("<br>");
  break;

case 3:
  	document.write("<li>	ISE DAY - N O  S C H O O L</li>");
  	document.write("<li>	BOOK FAIR - Terra Alta/East Preston</li>");
  	document.write("<li>	GOLF STATE TOURNAMENT - Wheeling - TBA</li>");
  	document.write("<li>	HUNTER'S SAFETY CLASS - Preston High (Cafeteria) - 6:00-9:00 p.m.</li>");
  	document.write("<li>	VOLLEYBALL - Preston High at Southern Garrett - 7:00 p.m.</li>");
	document.write("<br>");
  break;

case 4:
  	document.write("<li>	ELECTION DAY -  N O  S C H O O L</li>");
  	document.write("<li>	BOOK FAIR - Terra Alta/East Preston</li>");
  	document.write("<li>	BOYS' SOCCER - Preston High at South Harrison - 7:30 p.m.</li>");
  	document.write("<li>	GIRLS' SOCCER - Preston High at South Harrison - 5:30 p.m.</li>");
  	document.write("<li>	GOLF STATE TOURNAMENT - Wheeling - TBA</li>");
  	document.write("<li>	HUNTER'S SAFETY CLASS - Preston High (Cafeteria) - 6:00-9:00 p.m.</li>");
  	document.write("<li>	JV FOOTBALL - Preston High at Morgantown High - 6:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - S Garrett at Preston High - 6:00 p.m.</li>");
	document.write("<br>");
  break;

case 5:
  	document.write("<li>	BOOK FAIR - Terra Alta/East Preston</li>");
  	document.write("<li>	COMMUNITY FAMILY FUN NIGHT - Tunnelton-Denver Elem - 5:45-7:30 p.m.</li>");
  	document.write("<li>	FRESHMEN FOOTBALL - Robert C Byrd at Preston High - 6:30 p.m.</li>");
  	document.write("<li>	GOLF STATE TOURNAMENT - Wheeling - TBA</li>");
  	document.write("<li>	HSTA MEETING - Preston High - 3:30 p.m.</li>");
  	document.write("<li>	HUNTER'S SAFETY CLASS - Preston High (Cafeteria) - 6:00-9:00 p.m.</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - East Fairmont at Preston High - 6:00 p.m.</li>");
  	document.write("<li>	KID'S CLUB - Aurora School - 3:00-5:00 p.m.</li>");
  	document.write("<li>	VOLLEYBALL - Clay Battelle at Preston High - 7:30 p.m.</li>");
	document.write("<br>");
  break;

case 6:
  	document.write("<li>	BOOK FAIR - Terra Alta/East Preston</li>");
  	document.write("<li>	BOYS' SOCCER - Morgantown High at Preston High - 8:00 p.m.</li>");
  	document.write("<li>	GIRLS' SOCCER - Preston High at North Garrett - 6:00 p.m.</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - Preston High at Lewis County - 6:00 p.m.</li>");
  	document.write("<li>	LIFETOUCH SCHOOL PICTURES - Fellowsville Elem</li>");
  	document.write("<li>	PICTURE DAY - Aurora School</li>");
  	document.write("<li>	ROYALTY VISIT - Valley Elementary</li>");
	document.write("<br>");
  break;

case 7:
  	document.write("<li>	BOOK FAIR - Terra Alta/East Preston</li>");
  	document.write("<li>	FOOTBALL - Lewis County at Preston High - 7:30 p.m.</li>");
  	document.write("<li>	JV FOOTBALL - Preston High at University High - 6:00 p.m.</li>");
  	document.write("<li>	PICTURES (6th & 7th Grs) - South Preston Middle</li>");
  	document.write("<li>	PICTURE DAY (Lifetouch) - Tunnelton-Denver Elem</li>");
	document.write("<br>");
  break;

case 8:
  	document.write("<li>PRESTON GIRLS CROSS COUNTRY (Fairmont Times Invitational) - 10:00 a.m. </li>");
  	document.write("<li>PRESTON BOYS CROSS COUNTRY (GETTYSBURG CANNON CLASH Invitational) - 10:00 a.m. </li>");
  	document.write("<li>	GIRLS' SOCCER - Preston High at Musselman - 1:00 p.m.</li>");
  	document.write("<li>	PICTURES (8TH Gr) - South Preston Middle  </li>");
  	document.write("<li>	READING REWARD TRIP - Aurora School</li>");
	document.write("<br>");
  break;

case 10:
  	document.write("<li>	BOARD OF EDUCATION MEETING - Board Room - 7:00 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS BEGINS - Fellowsville Elem  </li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	BOOK FAIR BEGINS - Rowlesburg School</li>");
  	document.write("<li>	DATA WEEK - Valley Elementary</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	PTO MEETING - Tunnelton-Denver Elem - 6:00 p.m.</li>");
	document.write("<br>");
  break;

case 11:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	ATHLETIC BOOSTERS' MEETING - Preston High (Library) - 7:00 p.m.</li>");
  	document.write("<li>	BAND BOOSTERS' MEETING - Preston High (Band Room) - 7:00 p.m.</li>");
  	document.write("<li>	DATA WEEK - Valley Elementary</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	JV FOOTBALL - Lewis County at Preston High - 6:00 p.m.</li>");
  	document.write("<li>	PTA MEETING - Kingwood Elementary - 6:00 p.m.</li>");
  	document.write("<li>	PTO MEETING - Aurora School </li>");
  	document.write("<li>	PTO MEETING - Rowlesburg School - 6:00 p.m.</li>");
  	document.write("<li>	SCHOOL PICTURES - Central Preston Middle School </li>");
  	document.write("<li>	TITLE I WORKSHOPS - 5:30 p.m.</li>");
  	document.write("<li>	VOLLEYBALL - Preston High at University High - 7:30 p.m.</li>");
	document.write("<br>");
  break;

case 12:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	DATA WEEK - Valley Elementary</li>");
  	document.write("<li>	FRESHMAN FOOTBALL - Elkins at Preston High - 6:30 p.m.</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - Preston High at Elkins - 6:00 p.m.</li>");
  	document.write("<li>	KID'S CLUB - Aurora School - 3:00-5:00 p.m.</li>");
  	document.write("<li>	LIFETOUCH PICTURES - Kingwood Elem </li>");
  	document.write("<li>	PSAT/NMSQT TEST TO BE GIVEN 	KID'S CLUB - Aurora School - 3:00-5:00 p.m.</li>");
  	document.write("<li>	PTO MEETING - Fellowsville Elem - 6:00 p.m.</li>");
  	document.write("<li>	VOLLEYBALL - Preston High at Clay-Battelle - 6:00 p.m.	 Paden City - 7:30 p.m.</li>");
	document.write("<br>");
  break;

case 13:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School</li>");
  	document.write("<li>	DATA WEEK - Valley Elementary</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	SOCCER - Preston High at North Marion - Girls' 6:00 p.m./Boys' 8:00 p.m. </li>");
  	document.write("<li>	THEATRE FALL PRODUCTION - Preston High - 8:00 p.m. </li>");
	document.write("<br>");
  break;

case 14:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	THEATRE FALL PRODUCTION - Preston High - 8:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - Fairmont Senior at Preston High - 6:00 p.m. </li>");
  	document.write("<li>	VOLLEYBALL - Preston High at East Fairmont - 7:30 p.m.</li>");
	document.write("<br>");
  break;

case 15:
  	document.write("<li>	SOCCER - Hedgesville at Preston High - Girls' 12:00 p.m./Boys' 2:00 p.m. </li>");
  	document.write("<li>	THEATRE FALL PRODUCTION - Preston High - 8:00 p.m. </li>");
	
case 17:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	BULLYING PREVENTION PRESENTATION (Grs 5-8) - Rowlesburg School </li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	VOLLEYBALL - Preston High at Hampshire - 6:00 p.m. - Jefferson at 7:30 p.m.</li>");
	document.write("<br>");
  break;
						
case 18:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School</li>");
  	document.write("<li>	BOOSTERS' MEETING - South Preston Middle - 6:00 p.m. </li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	JV FOOTBALL - Preston High at East Fairmont - 6:30 p.m.</li>");
  	document.write("<li>	PICTURE DAY - Valley Elementary</li>");
	document.write("<br>");
  break;

case 19:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	CROSS COUNTRY REGIONALS - Preston High - 5:00 p.m.</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	FFA NATIONAL CONVENTION</li>");
  	document.write("<li>	FRESHMEN PARENT BREAKFAST - Preston High (BOE Office) - 7:30 a.m.</li>");
  	document.write("<li>	FRESHMEN FOOTBALL - Allegheny at Preston High - TBA</li>");
  	document.write("<li>	HSTA MEETING - Preston High - 3:30 p.m.</li>");
  	document.write("<li>	KID'S CLUB - Aurora School - 3:00-5:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - Morgantown at Preston High - 6:00 p.m.</li>");
  	document.write("<li>	VOLLEYBALL - University High at Preston High - 7:30 p.m.</li>");
	document.write("<br>");
  break;

case 20:
  	document.write("<li>	AFTER SCHOOL EXPLORERS (LIGHTS ON CELEBRATION - Fellowsville Elem</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	FBLA BLOOD DRIVE - Preston High (Auxiliary Gym - Tentative) - 9:00-2:00 p.m.</li>");
  	document.write("<li>	FFA NATIONAL CONVENTION</li>");
  	document.write("<li>	FOOTBALL - University High at Preston High - 7:00 p.m.</li>");
  	document.write("<li>	GED TESTING - Preston High - 12:00-4:00 p.m.</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - Robert C Byrd at Preston High - 6:00 p.m. </li>");
  	document.write("<li>	SOPHMORE/JUNIOR PARENT BREAKFAST - Preston High (BOE Office) - 7:30 a.m.</li>");
	document.write("<br>");
  break;

case 21:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	FALL FESTIVAL - Terra Alta/East Preston (Terra Alta Park) - Starting 11:00 a.m.	(In case of rain will be moved to school.)</li>");
  	document.write("<li>	FFA NATIONAL CONVENTION</li>");
  	document.write("<li>	GED TESTING - Preston High - 12:00-4:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - Preston High at Buckhannon-Upshur - 5:45 p.m. </li>");
  	document.write("<li>	SENIOR PARENT BREAKFAST - Preston High (BOE Office) - 7:30 a.m.</li>");
	document.write("<br>");
  break;

case 22:
  	document.write("<li>	ACT TEST - Be at Preston High by 7:45 a.m. </li>");
  	document.write("<li>	FFA NATIONAL CONVENTION</li>");
  	document.write("<li>	JROTC DRILL COMPETITION - Preston High (Outside & Gym areas) 6:00-3:00 </li>");
	document.write("<br>");
  break;

case 24:
  	document.write("<li>	BOARD OF EDUCATION MEETING - Board Room - 7:00 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	RED RIBBON WEEK ACTIVITIES - Drug Prevention</li>");
  	document.write("<li>	SCHOLASTIC BOOK FAIR - Kingwood Elem (Trailer 1) - 8:00-10:00 a.m. </li>");
	document.write("<br>");
  break;
	
case 25:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School</li>");
  	document.write("<li>	END OF GRADING PERIOD  </li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	JV VOLLEYBALL - Preston High at Allegheny - 6:00 p.m.</li>");
  	document.write("<li>	SCHOLASTIC BOOK FAIR - Kingwood Elem (Trailer 1) - 8:00-10:00 a.m. </li>");
  	document.write("<li>	VOLLEYBALL - Preston High at Elkins - 7:30 p.m.</li>");
	document.write("<br>");
  break;

case 26:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	COMMUNITY FAMILY FUN NIGHT - Tunnelton-Denver Elem - 5:45-7:30 p.m.</li>");
  	document.write("<li>	FRESHMEN FOOTBALL - Preston High at East Fairmont - 6:30 p.m.</li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	KID'S CLUB - Aurora School - 3:00-5:00 p.m.</li>");
  	document.write("<li>	SCHOLASTIC BOOK FAIR - Kingwood Elem (Trailer 1) - 8:00-10:00 a.m. </li>");
	document.write("<br>");
  break;

case 27:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Kingwood Elem - 3:30-5:30 p.m.</li>");
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	SCHOLASTIC BOOK FAIR - Kingwood Elem (Trailer 1) - 8:00-10:00 a.m.</li>"); 
  	document.write("<li>	VOLLEYBALL - Preston High at Buckhannon Upshur - 7:30 p.m.</li>");
	document.write("<br>");
  break;

case 28:
  	document.write("<li>	AFTER SCHOOL EXPLORERS - Rowlesburg School </li>");
  	document.write("<li>	AWARDS ASSEMBLY - Fellowsville Elem</li>");
  	document.write("<li>	DANCE - South Preston Middle - 7:00-9:00 p.m. </li>");
  	document.write("<li>	FALL ACTIVITIES - Fellowsville Elem </li>");
  	document.write("<li>	FALL ACTIVITIES DAY - Valley Elementary</li>");
  	document.write("<li>	FALL FESTIVAL - Tunnelton-Denver Elementary - 6:30-8:30 p.m.</li>");
  	document.write("<li>	FALL PARTY - Kingwood Elementary - 2:30 p.m.</li>");
  	document.write("<li>	FOOTBALL - Preston High at Buckhannon Upshur - 7:30 p.m.</li>");
  	document.write("<li>	PTO FALL FESTIVAL - Rowlesburg School - 6:00-9:00 p.m.</li>");
  	document.write("<li>	SCHOLASTIC BOOK FAIR - Kingwood Elem (Trailer 1) - 8:00-10:00 a.m.</li>"); 
  	document.write("<li>	SENIOR PANORAMIC PHOTO - Preston High (Gym) - 8:30 a.m.</li>");
	document.write("<br>");
  break;
	
case 29:
  	document.write("<li>	CROSS COUNTRY STATE CHAMPTIONSHIP - Preston High at Cabell Midland - 10:00 a.m. </li>");
	document.write("<br>");
  break;
                                                                                  
case 31:
  	document.write("<li>	ISAAC - Valley Elementary - 2:30-4:00 p.m.</li>");
  	document.write("<li>	HUNTER'S SAFETY CLASS - Preston High (Cafeteria) - 6:00-9:30 p.m.</li>");
  	document.write("<li>	PARENT-TEACHER CONFERENCES - Preston High - 5:00-7:00 p.m.</li>");
	document.write("<br>");
  break;

default:
  	document.write("<li>No Events Scheduled Today</li>");
	document.write("<br>");
  break;

}


} 

