// Match Schedules - After the season, append this file to the file "YYYYschedule.txt" var season = "Autumn 2008" var updown = new Array ( "2008080100", "2008111800" ); // Format: [DATE, // WOMEN-OPPONENT, LINK, v/@/SCORE, (C)ARRILON/(E)ASTWOOD/(X)CANX, CELLHIGHLIGHT, // MEN-OPPONENT, LINK, v/@/SCORE, (C)ARRILON/(E)ASTWOOD/(X)CANX, CELLHIGHLIGHT, // U19-OPPONENT, LINK, v/@/SCORE, (C)ARRILON/(E)ASTWOOD/(X)CANX, CELLHIGHLIGHT] (NO COMMA AFTER LAST ELEMENT) var sched = new Array ( ["RECORD", "GF:0 GA:0 (0:0:0)", "", "", "", "", // WOMEN "GF:0 GA:0 (0:0:0)", "", "", "", "", // MEN "GF:0 GA:0 (0:0:0)", "", "", "", ""], // U19 ["6 SEP", "-", "", "", "", "", "Indianapolis", "http://www.indianapolisrugbyclub.com/", "v", "C", "", "-", "", "", "", "",], ["13 SEP", "-", "", "", "", "", "Louisville", "http://www.louisvillerugby.org", "@", "", "", "-", "", "", "", ""], ["20 SEP", "-", "", "", "", "", "Toledo", "http://www.toledorugby.com/", "@", "", "", "-", "", "", "", ""], ["27 SEP", "-", "", "", "", "", "Scioto Valley", "http://www.sciotorugby.com", "v", "E", "", "-", "", "", "", ""], ["4 OCT", "-", "", "", "", "", "Detroit", "http://www.detroitrugby.org/", "v", "E", "", "-", "", "", "", ""], ["11 OCT", "-", "", "", "", "", "Pitsburgh", "http://www.pghrugby.com/", "@", "", "", "-", "", "", "", ""], ["25 OCT", "-", "", "", "", "", "Midwest Playoffs", "http://www.midwestrugbyunion.org/", "@", "", "greenish", "-", "", "", "", ""], ["1 NOV", "-", "", "", "", "", "Midwest Playoffs", "http://www.midwestrugbyunion.org/", "@", "", "greenish", "-", "", "", "", ""], ["Wed 20 APR", "-", "", "", "", "", "Knoxville", "http://www.knoxvillerugby.com/", "@", "", "", "-", "", "", "", ""] // Last element and last record are not followed with a comma ',' ) if (( tnow > updown[0] ) && ( tnow < updown[1] )) { document.write (' '); document.write (' '); document.write (' '); document.write (' '); for ( i = 0; i < sched.length ; i++ ) { document.write (' '); // Loop: Women = 0 , Men = 1, U19 = 2 for ( j = 0; j < 3; j++ ) { // Check for cell highlighting if ( sched[i][(j * 5) + 5] ) document.write (''); } document.write (' '); } document.write ('
'); document.write ( season ); document.write ('
'); document.write (' Directions // Schedule // PDF // Match Reports // Opponents\' Web Sites // DARC Work Sched'); document.write ('
Date   Women (k.o. 11:00 a.m.)   Men (k.o. 1:00 p.m.)   U19 (Spring only)
'); // Date document.write ( sched[i][0] ); document.write ('  ' ); else document.write ('   '); // v/@/score if (sched[i][(j * 5) + 4] == "X") document.write ('') document.write ( sched[i][(j * 5) + 3] + ' '); // Link if ( sched[i][(j * 5) + 2] ) document.write ('' ); // Venue document.write ( sched[i][(j * 5) + 1] + '' ); // Carillon/Eastwood switch ( sched[i][(j * 5) + 4] ) { case "C": document.write (' (Carillon)'); break; case "E": document.write (' (Eastwood)'); break; case "X": document.write ('    CANX '); break; } document.write ('
'); document.write ('
' ); }