﻿var ageGroup = 11;
var articles = new Array();
var baseURL = "http://images.sgrech.net/wrfcu10/";
var clubs = new Array();
var fixtures9 = new Array();
var fixtures10 = new Array();
var fixtures11 = new Array();
var monthNames = new Array();
var news = new Array();
var papers = new Array();
var players = new Array();
var squad = new Array();
var topMenu = new Array();


var second = 1000;
var minute = second * 60;
var hour = minute * 60;
var day = hour * 24;
var week = day * 7;


articles.push("02/03/2007~waeExpress~108~waeExpress_2007-03-02_p108~description");
articles.push("02/03/2007~wObserver~90~wObserver_2007-03-02_p90~description");
articles.push("16/02/2007~waeExpress~119~waeExpress_2007-02-16_p119~description");
articles.push("16/02/2007~wObserver~80~wObserver_2007-02-16_p80~description");
articles.push("16/02/2007~wObserver~74~wObserver_2007-02-16_p74~description");
articles.push("09/02/2007~wObserver~74~wObserver_2007-02-09~description");
articles.push("12/01/2007~waeExpress~106~waeExpress_2007-01-12~Also in the Slough & South Bucks Express");
articles.push("12/01/2007~wObserver~72~wObserver_2007-01-12~Also in the Slough & Langley Observer");
articles.push("17/11/2006~waeExpress~109~waeExpress_2006-11-17~description");
articles.push("07/04/2006~sObserver~-~sObserver_2006-04-07~description");
articles.push("07/04/2006~waeExpress~124~waeExpress_2006-04-07_p124~description");
articles.push("07/04/2006~waeExpress~114~waeExpress_2006-04-07_p114~description");
articles.push("17/03/2006~waeExpress~-~waeExpress_2006-03-17~description");
articles.push("03/03/2006~wObserver~79~wObserver_2006-03-03_p79~description");
articles.push("03/03/2006~wObserver~3~wObserver_2006-03-03_p3~description");
articles.push("24/02/2006~wObserver~-~wObserver_2006-02-24~description");
articles.push("10/02/2006~waeExpress~-~waeExpress_2006-02-10~description");


clubs["amersham"]     = "Amersham &amp; Chiltern RFC~http://www.chilternrugby.co.uk/~HP6 5QU~http://www.streetmap.co.uk/newmap.srf?x=496250&y=199250&z=2&sv=496250,199250&st=4&ar=N&mapp=newmap.srf&searchp=newsearch.srf&ax=495234&ay=199034";
clubs["aylesbury"]    = "Aylesbury RFC~http://www.facebook.com/pages/Weston-Turville-United-Kingdom/Aylesbury-RFC/7187032921~HP22 5RN~http://www.streetmap.co.uk/map.srf?x=486369&y=211370&z=110&sv=486369,211370&st=4&ar=Y&mapp=map.srf&searchp=s.srf&dn=821&ax=486369&ay=211370&lm=0";
clubs["beaconsfield"] = "Beaconsfield RFC~http://www.brfc.org.uk/~HP9 2SQ~http://www.streetmap.co.uk/newmap.srf?x=494665&y=189617&z=2&sv=494665,189617&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=494665&ay=189617";
clubs["bracknell"]    = "Bracknell RFC~http://www.bracknellrugbyclub.com/~RG12 2UG ~http://www.streetmap.co.uk/newmap.srf?x=488423&y=169059&z=2&sv=488423,169059&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=488423&ay=169059";
clubs["camberley"]    = "Camberley RFC~http://camberleyrugby.org.uk/~GU15 2SR~http://www.streetmap.co.uk/newmap.srf?x=487065&y=159306&z=2&sv=487065,159306&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=487065&ay=159306";
clubs["chobham"]      = "Chobham RFC~http://www.chobham-rugby.co.uk/~GU24 8NA~http://www.streetmap.co.uk/newmap.srf?x=497417&y=162119&z=2&sv=497417,162119&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=497417&ay=162119";
clubs["cobham"]       = "Cobham RFC~http://www.cobhamrfc.com/~KT11 2BU~http://www.streetmap.co.uk/newmap.srf?x=511929&y=161123&z=2&sv=511929,161123&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=511929&ay=161123";
clubs["guildford"]    = "Guildford RFC~http://www.guildfordrugbyclub.co.uk/~GU7 3BU~http://www.streetmap.co.uk/newmap.srf?x=498623&y=145620&z=2&sv=498623,145620&st=4&ar=Y&mapp=newmap.srf&searchp=newsearch.srf&ax=498623&ay=145620";
clubs["harlequins"]   = "NEC Harlequins~http://www.quins.co.uk/~TW2 7SX~http://www.streetmap.co.uk/newmap.srf?x=515222&y=173720&z=2&sv=515222,173720&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=515222&ay=173720";
clubs["henley"]       = "Henley RFC~http://www.henleyrugbyclub.org.uk/~RG9 2JA~http://www.streetmap.co.uk/newmap.srf?x=476031&y=183156&z=2&sv=476031,183156&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=476031&ay=183156";
clubs["londonirish"]  = "London Irish RFC~http://www.london-irish.com/~TW16 5EQ~http://www.streetmap.co.uk/idld.srf?x=510648&y=169523&z=110&sv=510648,169523&st=4&mapp=idld.srf&searchp=s.srf&dn=623&ax=510648&ay=169523&lm=0";
clubs["maidenhead"]   = "Maidenhead RFC~http://www.maidenheadrfc.com/~SL6 1BN~http://www.streetmap.co.uk/newmap.srf?x=488981&y=180377&z=2&sv=488981,180377&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=488981&ay=180377";
clubs["marlow"]       = "Marlow RFC~http://www.marlowrfc.com/~SL7 1QU ~http://www.streetmap.co.uk/newmap.srf?x=486274&y=186243&z=2&sv=486274,186243&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=486274&ay=186243";
clubs["newbury"]      = "Newbury RFC~http://www.newburyrfc.co.uk/~RG14 7RW~http://www.streetmap.co.uk/newmap.srf?x=446344&y=165026&z=2&sv=446344,165026&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=446344&ay=165026";
clubs["reading"]      = "Reading RFC~http://www.readingrfc.co.uk/~RG4 6ST~http://www.streetmap.co.uk/newmap.srf?x=475498&y=175070&z=2&sv=475498,175070&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=475498&ay=175070";
clubs["teddington"]   = "Teddington RFC~http://www.teddingtonrfc.co.uk/~TW11 0EA~http://www.streetmap.co.uk/newmap.srf?x=515336&y=170332&z=2&sv=515336,170332&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=515336&ay=170332";
clubs["trevelyan"]    = "Trevelyan Middle School~http://www.trevelyan.org.uk/~SL4 3LL~http://www.streetmap.co.uk/idld.srf?x=496279&y=175403&z=110&sv=496279,175403&st=4&mapp=idld.srf&searchp=s.srf&dn=623&ax=496279&ay=175403&lm=0";
clubs["twickenham"]   = "Twickenham RFC~http://www.twickenhamrugby.com/~TW12 3PE~http://www.streetmap.co.uk/newmap.srf?x=512507&y=170569&z=2&sv=512507,170569&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=512507&ay=170569";
clubs["wallingford"]  = "Wallingford RFC~http://www.wallingfordrfc.com/~OX10 9RB~http://www.streetmap.co.uk/newmap.srf?x=459627&y=189214&z=2&sv=459627,189214&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=459627&ay=189214";
clubs["windsor"]      = "Windsor RFC~http://www.windsorrugby.info/~SL4 6HX~http://www.streetmap.co.uk/newmap.srf?x=497074&y=177727&z=2&sv=497074,177727&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=497074&ay=177727";
clubs["worthing"]     = "Worthing RFC~http://www.worthingrfc.com/~BN16 4AX~http://www.streetmap.co.uk/newmap.srf?x=507454&y=103377&z=2&sv=507454,103377&st=4&mapp=newmap.srf&searchp=newsearch.srf&ax=507454&ay=103377";
clubs["NULL"]         = "~~~";


fixtures11.push("06/09/2009~Training~windsor~URL~description");
fixtures11.push("13/09/2009~Training~windsor~URL~description");
fixtures11.push("20/09/2009~Training and registration~windsor~URL~description");
fixtures11.push("27/09/2009~Training~windsor~URL~description");
fixtures11.push("04/10/2009~Windsor minis tournament~windsor~URL~<B><A HREF=dyncat.cfm?catid=30928&squad=20091004a>A squad</A>&nbsp;|&nbsp;<A HREF=dyncat.cfm?catid=30928&squad=20091004b>B squad</A></B>");
fixtures11.push("11/10/2009~Amersham &amp; Chiltern festival~amersham~URL~description");
fixtures11.push("18/10/2009~Training~trevelyan~URL~description");
fixtures11.push("25/10/2009~Training~windsor~URL~description");
fixtures11.push("01/11/2009~Beaconsfield festival~beaconsfield~URL~<B><A HREF=dyncat.cfm?catid=30928&squad=20091101a>A squad</A></B>");
fixtures11.push("08/11/2009~Training~windsor~URL~description");
fixtures11.push("15/11/2009~London Irish~londonirish~URL~CANCELLED");
fixtures11.push("22/11/2009~Training~windsor~URL~description");
fixtures11.push("29/11/2009~Bracknell~windsor~URL~description");
fixtures11.push("06/12/2009~Training~windsor~URL~description");
fixtures11.push("13/12/2009~Marlow~marlow~URL~description");
fixtures11.push("20/12/2009~Fun day~NULL~URL~CANCELLED");
fixtures11.push("27/12/2009~Christmas break~NULL~URL~No training");
fixtures11.push("03/01/2010~Training~windsor~URL~description");
fixtures11.push("10/01/2010~Maidenhead~windsor~URL~CANCELLED");
fixtures11.push("17/01/2010~Training~windsor~URL~description");
fixtures11.push("24/01/2010~Henley~henley~URL~description");
fixtures11.push("31/01/2010~Wallingford~windsor~URL~Note that this was previously down as a visit to Wallingford. They are now coming to Home Park.");
fixtures11.push("07/02/2010~Training~windsor~URL~description");
fixtures11.push("14/02/2010~Teddington~windsor~URL~<b>Note the change to this fixture:</b> We are now at Home Park, hosting Teddington only.");
fixtures11.push("21/02/2010~Training~windsor~URL~description");
fixtures11.push("28/02/2010~Training~NULL~URL~CANCELLED");
fixtures11.push("07/03/2010~Guildford A tournament~guildford~URL~description");
fixtures11.push("07/03/2010~Beaconsfield B tournament~beaconsfield~URL~description");
fixtures11.push("14/03/2010~Training~windsor~URL~description");
fixtures11.push("20/03/2010~Shipston RUFC touring side~windsor~URL~Please come along and help our Saturday side extend a warm welcome the tourists from Shipston RUFC.");
fixtures11.push("21/03/2010~Training~windsor~URL~description");
fixtures11.push("28/03/2010~Marlow tournament~marlow~URL~description");
fixtures11.push("04/04/2010~Easter break~NULL~URL~No training");
fixtures11.push("11/04/2010~Triangular fixture with Eastbourne and Maidenhead~windsor~URL~An opportunity to host a touring side from Eastbourne, as well as enjoying the local rivalry with Maidenhead.");
fixtures11.push("18/04/2010~On tour!~NULL~URL~description");
fixtures11.push("25/04/2010~Aylesbury festival~aylesbury~URL~Note that this is a new fixture, replacing the Newbury fixture that was listed.");
fixtures11.push("02/05/2010~End of season fun day~windsor~URL~description");


fixtures10.push("07/09/2008~Training~windsor~URL~description");
fixtures10.push("14/09/2008~Training~windsor~URL~description");
fixtures10.push("21/09/2008~Training and registration~windsor~URL~description");
fixtures10.push("28/09/2008~Training~windsor~URL~description");
fixtures10.push("05/10/2008~Windsor minis tournament (A&nbsp;&amp;&nbsp;B&nbsp;squads)~windsor~URL~<B><A HREF=dyncat.cfm?catid=30928&squad=20081005a>A squad</A>&nbsp;|&nbsp;<A HREF=dyncat.cfm?catid=30928&squad=20081005b>B squad</A></B><BR>No training for C&nbsp;squad.");
fixtures10.push("12/10/2008~Amersham &amp; Chiltern festival (A&nbsp;&amp;&nbsp;B&nbsp;squads)~amersham~URL~<A HREF=dyncat.cfm?catid=30928&squad=20081012a>A squad</A>&nbsp;|&nbsp;<A HREF=dyncat.cfm?catid=30928&squad=20081012b>B squad</A></B><BR>No training for C&nbsp;squad.");
fixtures10.push("19/10/2008~Camberley festival (A&nbsp;&amp;&nbsp;B&nbsp;squads)~camberley~URL~description");
fixtures10.push("26/10/2008~Training~windsor~URL~description");
fixtures10.push("02/11/2008~Beaconsfield festival: CANCELLED~windsor~URL~Everyone to Home Park for 10am please.");
fixtures10.push("09/11/2008~Cobham C tournament~cobham~URL~<A HREF=dyncat.cfm?catid=30928&squad=20081109c>C squad</A><BR>On site at 09:30 please.<BR>Training at Home Park for A and B squads.");
fixtures10.push("16/11/2008~Reading (all squads)~windsor~URL~description");
fixtures10.push("23/11/2008~Training~windsor~URL~description");
fixtures10.push("30/11/2008~Marlow (all squads)~marlow~URL~description");
fixtures10.push("07/12/2008~Training~windsor~URL~description");
fixtures10.push("14/12/2008~Windsor C tournament~windsor~URL~<A HREF=dyncat.cfm?catid=30928&squad=20081214c>C squad</A><BR>On site at 09:30 please. All other players to Bracknell.");
fixtures10.push("14/12/2008~Bracknell (A and B squads)~bracknell~URL~All players not at the Windsor tournament today, please be at Bracknell by 09:30.");
fixtures10.push("21/12/2008~Minis fun day~windsor~URL~description");
fixtures10.push("28/12/2008~Christmas/new year break~NULL~URL~description");
fixtures10.push("04/01/2009~Training~windsor~URL~description");
fixtures10.push("11/01/2009~Maidenhead~NULL~URL~CANCELLED!<br>No training at Home Park.");
fixtures10.push("18/01/2009~Training~windsor~URL~description");
fixtures10.push("25/01/2009~Henley~windsor~URL~CANCELLED!");
fixtures10.push("01/02/2009~Wallingford~windsor~URL~description");
fixtures10.push("08/02/2009~Training~windsor~URL~description");
fixtures10.push("15/02/2009~Training~windsor~URL~description");
fixtures10.push("22/02/2009~Training~windsor~URL~description");
fixtures10.push("01/03/2009~Amersham &amp; Chiltern (all squads)~amersham~URL~description");
fixtures10.push("08/03/2009~Guildford A festival (A&nbsp;squad)~guildford~URL~<A HREF=dyncat.cfm?catid=30928&squad=20090308a>A squad</A>");
fixtures10.push("08/03/2009~Beaconsfield B festival (B&nbsp;squad)~beaconsfield~URL~<A HREF=dyncat.cfm?catid=30928&squad=20090308b>B squad</A>");
fixtures10.push("15/03/2009~Worthing B tournament~worthing~URL~<A HREF=dyncat.cfm?catid=30928&squad=20090315b>B squad</A><br>Training at Home Park for everyone not travelling to Worthing.");
fixtures10.push("22/03/2009~Training~windsor~URL~description");
fixtures10.push("29/03/2009~Marlow tournament (A&nbsp;&amp;&nbsp;B&nbsp;squads)~marlow~URL~<A HREF=dyncat.cfm?catid=30928&squad=20090329a>A squad</A> | <A HREF=dyncat.cfm?catid=30928&squad=20090329b>B squad</A>");
fixtures10.push("05/04/2009~Minis tour weekend~NULL~URL~description");
fixtures10.push("12/04/2009~Easter break~NULL~URL~description");
fixtures10.push("19/04/2009~Newbury A &amp; B tournament~newbury~URL~<A HREF=dyncat.cfm?catid=30928&squad=20090419a>A squad</A> | <A HREF=dyncat.cfm?catid=30928&squad=20090419b>B squad</A>");
fixtures10.push("26/04/2009~Training~windsor~URL~description");
fixtures10.push("03/05/2009~Training~windsor~URL~description");


fixtures9.push("02/09/2007~Training~windsor~URL~description");
fixtures9.push("09/09/2007~Training~windsor~URL~description");
fixtures9.push("16/09/2007~Training~windsor~URL~description");
fixtures9.push("23/09/2007~Training~windsor~URL~description");
fixtures9.push("30/09/2007~Training~windsor~URL~description");
fixtures9.push("07/10/2007~Windsor A &amp; B minis tournament~windsor~URL~<B><A HREF=dyncat.cfm?catid=30928&squad=20071007a>A squad</A>&nbsp;|&nbsp;<A HREF=dyncat.cfm?catid=30928&squad=20071007b>B squad</B>");
fixtures9.push("14/10/2007~Camberley A &amp; B team tournament~camberley~URL~<B><A HREF=dyncat.cfm?catid=30928&squad=20071014a>A squad</A>&nbsp;|&nbsp;<A HREF=dyncat.cfm?catid=30928&squad=20071014b>B squad</B>");
fixtures9.push("21/10/2007~Training~windsor~URL~description");
fixtures9.push("28/10/2007~Training~windsor~URL~description");
fixtures9.push("04/11/2007~Beaconsfield A &amp; B four-way tournament~beaconsfield~URL~<B><A HREF=dyncat.cfm?catid=30928&squad=20071104a>A squad</A>&nbsp;|&nbsp;<A HREF=dyncat.cfm?catid=30928&squad=20071104b>B squad</B>");
fixtures9.push("11/11/2007~Wallingford~wallingford~URL~<B><A HREF=dyncat.cfm?catid=30928&squad=20071111a>A squad</A>&nbsp;|&nbsp;<A HREF=dyncat.cfm?catid=30928&squad=20071111b>B squad</B>");
fixtures9.push("18/11/2007~Training~windsor~URL~description");
fixtures9.push("25/11/2007~Training~windsor~URL~description");
fixtures9.push("02/12/2007~Training~windsor~URL~description");
fixtures9.push("09/12/2007~Bracknell~windsor~URL~description");
fixtures9.push("16/12/2007~Fun day~windsor~URL~description");
fixtures9.push("23/12/2007~Christmas and new year break~windsor~URL~No training");
fixtures9.push("30/12/2007~Christmas and new year break~windsor~URL~No training");
fixtures9.push("06/01/2008~Training~windsor~URL~description");
fixtures9.push("13/01/2008~Maidenhead~windsor~URL~description");
fixtures9.push("20/01/2008~Training~windsor~URL~<B>CANCELLED!</B>");
fixtures9.push("27/01/2008~Henley~henley~URL~description");
fixtures9.push("03/02/2008~Training~windsor~URL~description");
fixtures9.push("10/02/2008~Cobham~cobham~URL~description");
fixtures9.push("17/02/2008~Training~windsor~URL~description");
fixtures9.push("24/02/2008~Guildford B tournament~guildford~URL~<A HREF=dyncat.cfm?catid=30928&squad=20080224b>B squad</A>.");
fixtures9.push("24/02/2008~Training~windsor~URL~Training for A team, and remainder");
fixtures9.push("02/03/2008~Reading~reading~URL~description");
fixtures9.push("09/03/2008~Guildford A tournament~guildford~URL~<A HREF=dyncat.cfm?catid=30928&squad=20080309a>A squad</A>");
fixtures9.push("09/03/2008~Beaconsfield B tournament~beaconsfield~URL~<A HREF=dyncat.cfm?catid=30928&squad=20080309b>B squad</A>");
fixtures9.push("09/03/2008~Training~windsor~URL~Training at Home Park for those not travelling to Beaconsfield or Guildford.");
fixtures9.push("16/03/2008~Worthing B tournament~worthing~URL~<A HREF=dyncat.cfm?catid=30928&squad=20080316b>B squad</A>. <B>CANCELLED!</B>");
fixtures9.push("16/03/2008~Training~windsor~URL~Training for those not travelling to Worthing.");
fixtures9.push("23/03/2008~Easter break~windsor~URL~No training");
fixtures9.push("30/03/2008~Marlow A and B tournament~marlow~URL~<A HREF=dyncat.cfm?catid=30928&squad=20080330a>A squad</A> | <A HREF=dyncat.cfm?catid=30928&squad=20080330b>B squad</A>.<BR>Everyone on-site at 09:00 please.<BR><B>No training for those not travelling to Marlow.</B>");
fixtures9.push("06/04/2008~Minis tour~windsor~URL~Training at Home Park for those not on tour.");
fixtures9.push("13/04/2008~Training~windsor~URL~description");
fixtures9.push("20/04/2008~Training~windsor~URL~description");
fixtures9.push("27/04/2008~Newbury A and B tournament~newbury~URL~<A HREF=dyncat.cfm?catid=30928&squad=20080427a>A squad</A> | <A HREF=dyncat.cfm?catid=30928&squad=20080427b>B squad</A><BR>On-site by 9:15am please (see Christine's e-mail). <B>No training this week for those not travelling to Newbury.</B>");


monthNames.push("January");
monthNames.push("February");
monthNames.push("March");
monthNames.push("April");
monthNames.push("May");
monthNames.push("June");
monthNames.push("July");
monthNames.push("August");
monthNames.push("September");
monthNames.push("October");
monthNames.push("November");
monthNames.push("December");


news.push("Fun day~There's still some debate about the precise date of the fun day. Keep an eye on the web site for breaking news.~http://www.windsorrugby.info/minis/u11s/events.cfm");


papers["sExpress"]   = "Slough &amp; South Bucks Express";
papers["sObserver"]  = "Slough &amp; Langley Observer";
papers["wObserver"]  = "Windsor, Ascot &amp; Maidenhead Observer";
papers["waeExpress"] = "Windsor &amp; Eton Express";


players["BaldwinThomas"]     = "Thomas Baldwin~no_photo.jpg~1998,September,1~x";
players["BashamJosh"]        = "Josh Basham~no_photo.jpg~1998,September,1~x";
players["BaxterSamuel"]      = "Samuel Baxter~no_photo.jpg~1999,March,5~b";
players["BeardAndrew"]       = "Andrew Beard~no_photo.jpg~1998,November,29~b";
players["BirchTom"]          = "Tom Birch~no_photo.jpg~1998,September,1~x";
players["BollandGeorge"]     = "George Bolland~no_photo.jpg~1998,September,22~b";
players["BoundyJohn"]        = "John Boundy~no_photo.jpg~1998,September,28~a";
players["BowlesSamuel"]      = "Samuel Bowles~no_photo.jpg~1998,September,1~x";
players["BranstonJames"]     = "James Branston~no_photo.jpg~1999,August,17~b";
players["BranwhiteTerry"]    = "Terry Branwhite~no_photo.jpg~1998,September,12~a";
players["BrudneyJames"]      = "James Brudney~no_photo.jpg~1998,November,22~a";
players["BryantAndrew"]      = "Andrew Bryant~no_photo.jpg~1999,February,11~b";
players["BushMat"]           = "Mat Bush~no_photo.jpg~1998,September,21~b";
players["CourtBen"]          = "Ben Court~no_photo.jpg~1999,June,3~b";
players["CrickThomas"]       = "Thomas Crick~no_photo.jpg~1999,June,19~a";
players["CunninghamMax"]     = "Max Cunningham~no_photo.jpg~1999,April,7~a";
players["DaviesJack"]        = "Jack Davies~no_photo.jpg~1998,September,26~a";
players["DixonThomas"]       = "Thomas Dixon~no_photo.jpg~1999,February,10~b";
players["DrapeAlistair"]     = "Alistair Drape~no_photo.jpg~1999,July,3~b";
players["EvansBarney"]       = "Barney Evans~no_photo.jpg~1999,June,18~a";
players["FarrowEddy"]        = "Eddy Farrow~no_photo.jpg~1999,May,21~b";
players["FletcherRobbie"]    = "Robbie Fletcher~no_photo.jpg~1998,September,3~b";
players["ForderMatt"]        = "Matt Forder~no_photo.jpg~1998,September,27~a";
players["FragollaJoe"]       = "Joe Fragolla~no_photo.jpg~1999,January,5~b";
players["GroganJoseph"]      = "Joseph Grogan~no_photo.jpg~1998,September,1~x";
players["HarrisJames"]       = "James Harris~no_photo.jpg~1998,December,29~a";
players["HarwoodBen"]        = "Ben Harwood~no_photo.jpg~1999,March,24~b";
players["HatchCharlie"]      = "Charlie Hatch~no_photo.jpg~1998,October,1~a";
players["HopkinsPhillip"]    = "Phillip Hopkins~no_photo.jpg~1998,September,1~x";
players["HumphriesRegan"]    = "Regan Humphries~no_photo.jpg~1999,March,16~a";
players["IrvingGabriel"]     = "Gabriel Irving~no_photo.jpg~1999,June,23~x";
players["JohnsonBen"]        = "Ben Johnson~no_photo.jpg~1999,February,12~a";
players["JonesHarvey"]       = "Harvey Jones~no_photo.jpg~1999,February,1~b";
players["JordanHarry"]       = "Harry Jordan~no_photo.jpg~1998,October,15~a";
players["JuppCharlie"]       = "Charlie Jupp~no_photo.jpg~1999,March,20~a";
players["KaushalHarry"]      = "Harry Kaushal~no_photo.jpg~1998,September,1~x";
players["KilbyAidan"]        = "Aidan Kilby~no_photo.jpg~1999,March,18~b";
players["KingJames"]         = "James King~no_photo.jpg~1998,November,11~a";
players["LawrencePhilip"]    = "Philip Lawrence~no_photo.jpg~1998,September,1~x";
players["LeeJake"]           = "Jake Lee~no_photo.jpg~1999,April,3~a";
players["LisleAlex"]         = "Alex Lisle~no_photo.jpg~1998,September,1~x";
players["MontgomeryBrownEthan"] = "Ethan Montgomery-Brown~no_photo.jpg~1998,September,1~b";
players["MunroAngus"]        = "Angus Munro~no_photo.jpg~1999,June,2~a";
players["NorrisJake"]        = "Jake Norris~no_photo.jpg~1998,September,1~x";
players["OSullivanLawrence"] = "Lawrence O'Sullivan~no_photo.jpg~1998,September,1~x";
players["PalfreymanLouis"]   = "Louis Palfreyman~no_photo.jpg~1998,September,1~x";
players["PalmerElderScott"]  = "Scott Palmer-Elder~no_photo.jpg~1998,September,1~x";
players["ParkinHenry"]       = "Henry Parkin~no_photo.jpg~1998,September,1~x";
players["ParrySean"]         = "Sean Parry~no_photo.jpg~1998,September,1~x";
players["PrenticeAlexander"] = "Alexander Prentice~no_photo.jpg~1998,October,28~b";
players["RandalwhaPrub"]     = "Prub Randalwha~no_photo.jpg~1999,February,25~x";
players["RobinsonJames"]     = "James Robinson~no_photo.jpg~1998,October,7~b";
players["RogersFreddie"]     = "Freddie Rogers~no_photo.jpg~1998,December,20~b";
players["SmithGeorge"]       = "George Smith~no_photo.jpg~1999,July,25~a";
players["ThomasIeuan"]       = "Ieuan Thomas~no_photo.jpg~1998,October,10~b";
players["ToddAlistair"]      = "Alistair Todd~no_photo.jpg~1998,September,1~x";
players["UnderwoodTom"]      = "Tom Underwood~no_photo.jpg~1999,March,3~b";
players["UppalRaj"]          = "Ray Uppal~no_photo.jpg~1998,September,1~x";
players["YorkeIan"]          = "Ian Yorke~no_photo.jpg~1999,January,25~x";



squad["20071007a"] = "07/10/2007~Windsor minis tournment (A team)~Here is the A squad for the <B>Windsor minis tournament</B> on 7 October 2007~windsor~BashamJosh#BoundyJohn#ForderMatt#HumphriesRegan#IrvingGabriel#JohnsonBen#JordanHarry#JuppCharlie#KilbyAidan#LeeJake#LisleAlex#YorkeIan~Notes";
squad["20071007b"] = "07/10/2007~Windsor minis tournment (B team)~Here is the B squad for the <B>Windsor minis tournament</B> on 7 October 2007~windsor~BollandGeorge#BowlesSamuel#CrickThomas#GroganJoseph#KaushalHarry#KingJames#MunroAngus#OSullivanLawrence#ParrySean#PrenticeAlexander#RobinsonJames#ThomasIeuan~Notes";
squad["20071014a"] = "14/10/2007~Camberley tournment (A team)~Here is the A squad for the <B>Camberley tournament</B> on 14 October 2007~camberley~BranwhiteTerry#DaviesJack#EvansBarney#HarrisJames#NorrisJake#SmithGeorge#BashamJosh#BoundyJohn#HumphriesRegan#IrvingGabriel#JohnsonBen#LeeJake#LisleAlex~Notes";
squad["20071014b"] = "14/10/2007~Camberley tournment (B team)~Here is the B squad for the <B>Camberley tournament</B> on 14 October 2007~camberley~BaxterSamuel#BeardAndrew#BranstonJames#BryantAndrew#PalfreymanLouis#RandalwhaPrub#UppalRaj#KaushalHarry#KingJames#PrenticeAlexander#RobinsonJames#ThomasIeuan~Notes";
squad["20071104a"] = "04/11/2007~Beaconsfield four-way tournament (A team)~Here is the A squad for the <B>Beaconsfield four-way tournament</B> on 4 November 2007~beaconsfield~BashamJosh#DaviesJack#EvansBarney#HarrisJames#JohnsonBen#JuppCharlie#KilbyAidan#LeeJake#LisleAlex#NorrisJake#SmithGeorge#ThomasIeuan~Notes";
squad["20071104b"] = "04/11/2007~Beaconsfield four-way tournament (B team)~Here is the B squad for the <B>Beaconsfield four-way tournament</B> on 4 November 2007~beaconsfield~BaxterSamuel#BeardAndrew#BollandGeorge#BranstonJames#BryantAndrew#CrickThomas#MunroAngus#OSullivanLawrence#PalfreymanLouis#ParrySean#PrenticeAlexander#UppalRaj~Notes";
squad["20071111a"] = "11/11/2007~Wallingford (A team)~Here is the A squad for our trip to Wallingford on 11 November 2007~wallingford~BashamJosh#BoundyJohn#DaviesJack#ForderMatt#HarrisJames#HumphriesRegan#IrvingGabriel#JohnsonBen#JordanHarry#KilbyAidan#LisleAlex#SmithGeorge~Notes";
squad["20071111b"] = "11/11/2007~Wallingford (B team)~Here is the B squad for our trip to Wallingford on 11 November 2007~wallingford~BaxterSamuel#BeardAndrew#BollandGeorge#BryantAndrew#KaushalHarry#KingJames#MunroAngus#OSullivanLawrence#PalfreymanLouis#RandalwhaPrub#RobinsonJames#UppalRaj~Notes";
squad["20080224b"] = "24/02/2008~Guildford (B team)~Here is the B squad for our trip to Guildford on 24 February 2008~guildford~BeardAndrew#BollandGeorge#CrickThomas#FletcherRobbie#LeeJake#NorrisJake#ParkinHenry#ParrySean#PrenticeAlexander#SmithGeorge#ThomasIeuan#UppalRaj";
squad["20080309a"] = "09/03/2008~Guildford (A team)~Here is the A squad for our trip to Guildford on 9 March 2008~guildford~BashamJosh#BoundyJohn#DaviesJack#EvansBarney#ForderMatt#HarrisJames#IrvingGabriel#JordanHarry#JuppCharlie#KaushalHarry#LisleAlex#YorkeIan~Notes";
squad["20080309b"] = "09/03/2008~Beaconsfield (B team)~Here is the B squad for our trip to Beaconsfield on 9 March 2008~beaconsfield~BaxterSamuel#BranstonJames#BryantAndrew#HumphriesRegan#KilbyAidan#KingJames#LeeJake#OSullivanLawrence#ParrySean#RandalwhaPrub#RobinsonJames#ThomasIeuan~Notes";
squad["20080316b"] = "16/03/2008~Worthing (B team)~Here is the B squad for our trip to Worthing on 16 March 2008~worthing~BaxterSamuel#BeardAndrew#BranstonJames#FletcherRobbie#KingJames#MunroAngus#NorrisJake#PalfreymanLouis#ParrySean#RobinsonJames#SmithGeorge#ThomasIeuan~Notes";
squad["20080330a"] = "30/03/2008~Marlow (A team)~Here is the A squad for our trip to Marlow on 30 March 2008~marlow~BashamJosh#BoundyJohn#BranwhiteTerry#DaviesJack#EvansBarney#ForderMatt#HumphriesRegan#IrvingGabriel#JohnsonBen#JordanHarry#JuppCharlie#KaushalHarry#LisleAlex#YorkeIan~Notes";
squad["20080330b"] = "30/03/2008~Marlow (B team)~Here is the B squad for our trip to Marlow on 30 March 2008~marlow~BaxterSamuel#BranstonJames#BryantAndrew#CrickThomas#KilbyAidan#KingJames#LeeJake#MunroAngus#NorrisJake#ParrySean#PrenticeAlexander#RobinsonJames#SmithGeorge~Notes";
squad["20080330c"] = "30/03/2008~Teddington (C team)~Here is the C squad for our trip to Teddington on 30 March 2008~teddington~BaldwinThomas#BeardAndrew#BollandGeorge#BryantAndrew#FletcherRobbie#HopkinsPhillip#LawrencePhilip#OSullivanLawrence#PalfreymanLouis#PalmerElderScott#ParkinHenry#RandalwhaPrub#UppalRaj~Notes";
squad["20080427a"] = "27/04/2008~Newbury (A team)~Here is the A squad for our trip to Newbury on 27 April 2008~newbury~BashamJosh#BoundyJohn#BranwhiteTerry#EvansBarney#ForderMatt#HarrisJames#HumphriesRegan#IrvingGabriel#JohnsonBen#JordanHarry#JuppCharlie#KaushalHarry#LisleAlex#YorkeIan~Notes";
squad["20080427b"] = "27/04/2008~Newbury (B team)~Here is the B squad for our trip to Newbury on 27 April 2008~newbury~BaxterSamuel#BranstonJames#BryantAndrew#CrickThomas#KilbyAidan#KingJames#LeeJake#MunroAngus#ParrySean#PrenticeAlexander#RobinsonJames#SmithGeorge#ThomasIeuan~Notes";
squad["20081005a"] = "05/10/2008~Windsor minis tournment (A team)~Here is the A squad for the <B>Windsor minis tournament</B> on 5 October 2008~windsor~BashamJosh#BoundyJohn#BranwhiteTerry#DaviesJack#ForderMatt#HarrisJames#HumphriesRegan#IrvingGabriel#JohnsonBen#JordanHarry#JuppCharlie#KingJames#LeeJake#LisleAlex#YorkeIan~Notes";
squad["20081005b"] = "05/10/2008~Windsor minis tournment (B team)~Here is the B squad for the <B>Windsor minis tournament</B> on 5 October 2008~windsor~BirchTom#BranstonJames#BryantAndrew#CrickThomas#EvansBarney#FletcherRobbie#JonesHarvey#KaushalHarry#KilbyAidan#MunroAngus#PalfreymanLouis#PrenticeAlexander#RobinsonJames#SmithGeorge#ThomasIeuan~Notes";
squad["20081012a"] = "12/10/2008~Amersham &amp; Chiltern festival (A team)~Here is the A squad for the <B>Amersham &amp; Chiltern festival</B> on 12 October 2008~windsor~BashamJosh#BranwhiteTerry#DaviesJack#ForderMatt#HarrisJames#HumphriesRegan#IrvingGabriel#JuppCharlie#KingJames#LeeJake#LisleAlex#YorkeIan~Notes";
squad["20081012b"] = "12/10/2008~Amersham &amp; Chiltern festival (B team)~Here is the B squad for the <B>Amersham &amp; Chiltern festival</B> on 12 October 2008~windsor~BaxterSamuel#BirchTom#BranstonJames#BryantAndrew#HatchCharlie#EvansBarney#FletcherRobbie#JonesHarvey#KilbyAidan#MunroAngus#PalfreymanLouis#PrenticeAlexander#RobinsonJames#SmithGeorge#ThomasIeuan";
squad["20081109c"] = "09/11/2008~Cobham C tournament~Here is the C squad for the <B>Cobham C tournament</B> on 9 November 2008~cobham~BaxterSamuel#BeardAndrew#BollandGeorge#BranstonJames#BryantAndrew#CourtBen#DixonThomas#JonesHarvey#MunroAngus#PrenticeAlexander#RandalwhaPrub#RobinsonJames#ThomasIeuan#ToddAlistair#UnderwoodTom";
squad["20081214c"] = "14/12/2008~Windsor C tournament~Here is the squad for the <B>Windsor C tournament</B> on 14 December 2008~windsor~BaxterSamuel#BeardAndrew#BollandGeorge#BranstonJames#BryantAndrew#CourtBen#CrickThomas#DixonThomas#FletcherRobbie#HopkinsPhillip#JonesHarvey#MunroAngus#PalfreymanLouis#RandalwhaPrub#RobinsonJames#ToddAlistair#UnderwoodTom";
squad["20090308a"] = "08/03/2009~Guildford A festival~Here is the squad for the <B>Guildford A festival</B> on 8 March 2009~guildford~BashamJosh#BoundyJohn#BranwhiteTerry#DaviesJack#ForderMatt#HarrisJames#IrvingGabriel#JohnsonBen#JuppCharlie#KaushalHarry#KingJames#LeeJake#LisleAlex#SmithGeorge#YorkeIan~Notes";
squad["20090308b"] = "08/03/2009~Beaconsfield B festival~Here is the squad for the <B>Beaconsfield B festival</B> on 8 March 2009~beaconsfield~BaxterSamuel#BeardAndrew#BollandGeorge#BranstonJames#BryantAndrew#CrickThomas#FarrowEddy#FletcherRobbie#HumphriesRegan#JonesHarvey#PrenticeAlexander#RandalwhaPrub#RobinsonJames#ThomasIeuan~Notes";
squad["20090315b"] = "15/03/2009~Worthing B tournament~Here is the squad for the <B>Worthing B tournament</B> on 15 March 2009~worthing~BaxterSamuel#BranstonJames#BryantAndrew#BushMat#CourtBen#CrickThomas#DaviesJack#DixonThomas#FletcherRobbie#JonesHarvey#MunroAngus#PrenticeAlexander#RandalwhaPrub#RobinsonJames#ThomasIeuan~Notes";
squad["20090329a"] = "29/03/2009~Marlow tournament~Here is the A squad for the <B>Marlow tournament</B> on 29 March 2009~marlow~BashamJosh#BoundyJohn#BranwhiteTerry#EvansBarney#ForderMatt#HatchCharlie#HumphriesRegan#IrvingGabriel#JohnsonBen#JordanHarry#JuppCharlie#KaushalHarry#KingJames#SmithGeorge#YorkeIan~Notes";
squad["20090329b"] = "29/03/2009~Marlow tournament~Here is the B squad for the <B>Marlow tournament</B> on 29 March 2009~marlow~BaxterSamuel#BeardAndrew#BirchTom#BollandGeorge#BranstonJames#BryantAndrew#CourtBen#CrickThomas#FarrowEddy#FletcherRobbie#JonesHarvey#MunroAngus#PrenticeAlexander#RobinsonJames#ThomasIeuan~Notes";
squad["20090419a"] = "19/04/2009~Newbury tournament~Here is the A squad for the <B>Newbury tournament</B> on 19 April 2009~newbury~BashamJosh#BoundyJohn#DaviesJack#EvansBarney#ForderMatt#HarrisJames#HatchCharlie#HumphriesRegan#IrvingGabriel#JuppCharlie#LeeJake#LisleAlex#SmithGeorge#YorkeIan~Notes";
squad["20090419b"] = "19/04/2009~Newbury tournament~Here is the B squad for the <B>Newbury tournament</B> on 19 April 2009~newbury~BaxterSamuel#BeardAndrew#BollandGeorge#BranstonJames#BryantAndrew#BushMat#CourtBen#CrickThomas#DixonThomas#FarrowEddy#FletcherRobbie#MunroAngus#RandalwhaPrub#RobinsonJames~Notes";
squad["20091004a"] = "04/10/2009~Windsor tournament (A squad)~Here is the A squad for the <B>Windsor tournament</B> on 4 October 2009~windsor~BoundyJohn#BranwhiteTerry#BrudneyJames#CrickThomas#CunninghamMax#DaviesJack#EvansBarney#ForderMatt#HarrisJames#HatchCharlie#HumphriesRegan#JohnsonBen#JordanHarry#JuppCharlie#KingJames#LeeJake#MunroAngus#SmithGeorge#YorkeIan~Notes";
squad["20091004b"] = "04/10/2009~Windsor tournament (B squad)~Here is the B squad for the <B>Windsor tournament</B> on 4 October 2009~windsor~BaxterSamuel#BeardAndrew#BollandGeorge#BranstonJames#BryantAndrew#BushMat#CourtBen#DixonThomas#DrapeAlistair#FarrowEddy#FletcherRobbie#FragollaJoe#HarwoodBen#JonesHarvey#MontgomeryBrownEthan#RobinsonJames#RogersFreddie#ThomasIeuan#UnderwoodTom~Notes";
squad["20091101a"] = "01/11/2009~Beaconsfield festival~Here is the A squad for the <B>Beaconsfield festival</B> on 1 November 2009~beaconsfield~BaxterSamuel#BollandGeorge#BoundyJohn#BranstonJames#BryantAndrew#BushMat#CrickThomas#CunninghamMax#DixonThomas#FletcherRobbie#ForderMatt#HarrisJames#HatchCharlie#HumphriesRegan#JuppCharlie#MunroAngus#SmithGeorge#ThomasIeuan~Notes";




topMenu.push("Welcome~http://www.windsorrugby.info/minis/u11s/"); 
topMenu.push("Squads~dyncat.cfm?catid=24524"); 
topMenu.push("Press cuttings~dyncat.cfm?catid=27608"); 



function getBirthdays() {

  var thisPlayer = new Array();
  var playerBirthday = new Date();
  var today = new Date();

  var birthdayList = new Array();

  for(var x in players) {
    thisPlayer = players[x].split("~")[2].split(",");
    playerBirthday = Date.parse((thisPlayer[0] - 0 + ageGroup) + "," + thisPlayer[1] + "," + thisPlayer[2]);

    if((playerBirthday - today) / day < 9 && (playerBirthday - today) / day > -1  && players[x].split("~")[3] != "x")
      birthdayList.push(players[x].split("~")[0]);
    }

  return birthdayList;

  }


function getClubMapURL(club) {
  var thisClub = clubs[club].split("~");
  return thisClub[3];
  }


function getClubName(club) {
  var thisClub = clubs[club].split("~");
  return thisClub[0];
  }


function getClubPostcode(club) {
  var thisClub = clubs[club].split("~");
  return thisClub[2];
  }


function getClubSiteURL(club) {
  var thisClub = clubs[club].split("~");
  return thisClub[1];
  }


function getPlayerName(playerArray) {
  var thisPlayer = playerArray.split("~");
  return thisPlayer[0];
  }


function getPlayerPhoto(player) {
  var thisPlayer = players.split("~");
  return thisPlayer[1];
  }


function sgn(testValue) {
  return(testValue / Math.abs(testValue))
  }



function writeBaseSquad(thisSquad) {

  for (var x in players) {

    if(players[x].split("~")[3] == thisSquad) {
      document.write(players[x].split("~")[0] + "<BR>")
      }

    }

  }




function writeFixtures(fixtureArray, timeframe) { 

  document.write("<TABLE width=100% cellpadding=0 cellspacing=0 border=0>"); 
  document.write("  <TR valign=top>"); 
  document.write("    <TD class=u8><B>Date</B></TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD>");

  document.write("    <TD class=u8><B>Fixture</B></TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD>");

  document.write("    <TD class=u8><B>Web site</B></TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD>");

  document.write("    <TD class=u8><B>Postcode/Map</B></TD>"); 
  document.write("  </TR><TR height=8><TD colspan=7><TD class=u8></TR><TR height=1><TD bgcolor=#000000 colspan=7><TD class=u8></TR><TR height=4><TD colspan=7><TD class=u8></TR>");

  for(var x in fixtureArray) { 

    var today = new Date();
    var fixtureDate = new Date();
    var fixtureDateArray = new Array();

    var thisFixture = fixtureArray[x].split("~"); 

    fixtureDateArray = thisFixture[0].split("/");

    fixtureDate = Date.parse(fixtureDateArray[2] + ", " + monthNames[fixtureDateArray[1] - 1] + ", " + fixtureDateArray[0]);

    if( sgn(fixtureDate - ( today - day) ) == timeframe ) {
  
      document.write("<TR valign=top>"); 

      document.write("<TD class=u8>" + thisFixture[0] + "</TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD>");

      if(thisFixture[3] == "URL") 
        document.write("<TD class=u8><B>" + thisFixture[1] + "</B>"); 
      else 
        document.write("<TD class=u8><B><A HREF=" + thisFixture[3] + " title='Click for squads'>" + thisFixture[1] + "</A></B>");

      if(thisFixture[4] != "description") 
        document.write("<BR>" + thisFixture[4]); 

      document.write("</TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD>");

      if(thisFixture[2] != "windsor") 
        document.write("<TD class=u8><A HREF=" + getClubSiteURL(thisFixture[2]) + " target=new>" + getClubName(thisFixture[2]) + "</A></TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD>");
      else 
        document.write("<TD class=u8>Home</TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD>");

      document.write("<TD class=u8><A HREF=" + getClubMapURL(thisFixture[2]) + " target=new>" + getClubPostcode(thisFixture[2]) + "</A></TD>");

      document.write("  </TR><TR height=8><TD colspan=7><TD class=u8></TR><TR height=1><TD bgcolor=#000000 colspan=7><TD class=u8></TR><TR height=4><TD colspan=7><TD class=u8></TR>");

      }

    } 

      document.write("  </TABLE>");

  } 



function writePressArticles() {

  document.write("<TABLE width=100% cellpadding=0 cellspacing=0 border=0>");
  document.write("  <TR valign=top>");
  document.write("    <TD class=u8><B>Date</B></TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD><TD class=u8><B>Newspaper</B></TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD><TD class=u8><B>Page</B></TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD><TD class=u8><B>Download</B></TD>");
  document.write("  </TR>");

  document.write("  <TR height=4><TD colspan=7></TD></TR>")
  document.write("  <TR height=1><TD bgcolor=#000000; colspan=7></TD></TR>")
  document.write("  <TR height=4><TD colspan=7></TD></TR>")

  var thisArticle = "";

  for (var x in articles) {

    thisArticle = articles[x].split("~");

    document.write("  <TR valign=top>")

    document.write("    <TD class=u8>" + thisArticle[0] + "</TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD><TD class=u8><B>" + papers[thisArticle[1]] + "</B>");

    if(thisArticle[4] != "description")
      document.write("<BR>" + thisArticle[4]);

    document.write("</TD>");

    document.write("    <TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD><TD class=u8>" + thisArticle[2] + "</TD><TD class=u8><IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0></TD>")
    document.write("    <TD class=u8><A HREF=" + baseURL + thisArticle[3] + "_small.jpg>Small</A> | <A HREF=" + baseURL + thisArticle[3] + ".jpg>Large</A></TD>")

    document.write("  </TR>")

    document.write("  <TR height=4><TD colspan=7></TD></TR>")
    document.write("  <TR height=1><TD bgcolor=#000000; colspan=7></TD></TR>")
    document.write("  <TR height=4><TD colspan=7></TD></TR>")

    }

  document.write("</TABLE>");

  }




function writeSquad(squadString) {

  var squadArray = squadString.split("~");

  var squadPlayers = squadArray[4].split("#");

  document.write("<P><B>" + squadArray[1] + ", " + squadArray[0] + "</B></P>");
  document.write("<P>Fixture postcode: <A HREF=" + getClubMapURL(squadArray[3]) + " target=new>" + getClubPostcode(squadArray[3]) + "</A><BR>");
  document.write("Club web site: <B><A HREF=" + getClubSiteURL(squadArray[3]) + " target=new>" + getClubName(squadArray[3]) + "</A></B></P>");
  document.write("<P>" + squadArray[2] + "</P>");

  document.write("<P>");

  for (var x in squadPlayers) {
    document.write(getPlayerName(players[squadPlayers[x]]) + "<BR>");
    }

  }



function writeSquadsMenu() { 

  for (var x in squad) { 
    thisSquad = squad[x].split("~"); 
    document.write(thisSquad[0] + ": <B><A HREF=" + thisSquad[2] + ">" + thisSquad[1] + "</A></B><BR>"); 

    } 

  } 




function writeTopMenu() { 

  document.write("<TABLE width=100% cellpadding=0 cellspacing=0><TR><TD class=u8>"); 

  for (var x in topMenu) { 
    document.write("<A HREF=" + topMenu[x].split("~")[1] + ">" + topMenu[x].split("~")[0] + "</A>&nbsp;|&nbsp;") 
    } 

    document.write("</TD></TR><TR height=3><TD class=u8></TD></TR><TR height=1><TD bgcolor=#000000></TD></TR></TABLE>");

  } 




function writeNews() { 

  document.write("<TABLE width=100% cellpadding=1 cellspacing=0 border=0 bgcolor=#7D1015>"); 
  document.write("  <TR>"); 
  document.write("    <TD class=u8small>"); 
  document.write("      <TABLE width=100% cellpadding=0 cellspacing=0 border=0 bgcolor=#F6D992>"); 
  document.write("        <TR height=8>"); 
  document.write("          <TD colspan=3>"); 
  document.write("          </TD>"); 
  document.write("        </TR>"); 
  document.write("        <TR height=8>"); 
  document.write("          <TD class=u8small>"); 
  document.write("            <IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0>");

  document.write("          </TD>"); 
  document.write("          <TD class=u8small><B>Under 11s news</B></TD>"); 
  document.write("          <TD class=u8small>"); 
  document.write("            <IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0>");

  document.write("          </TD>"); 
  document.write("        </TR>"); 
  document.write("        <TR height=8>"); 
  document.write("          <TD colspan=3>"); 
  document.write("          </TD>"); 
  document.write("        </TR>"); 
  document.write("        <TR valign=top>"); 
  document.write("          <TD class=u8small>"); 
  document.write("            <IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0>");

  document.write("          </TD>"); 
  document.write("          <TD class=u8small>"); 

  document.write("            <TABLE width=100% cellpadding=0 cellspacing=0 border=0>"); 

  for (var x in news) { 

    document.write("<TR valign=top>"); 
    document.write("  <TD class=u8small>"); 

    if (news[x].split("~")[2] != "URL") 
      document.write("<B><A HREF=" + news[x].split("~")[2] + " target=_parent>" + news[x].split("~")[0] + "</A></B><BR>");

    else 
      document.write("<B>" + news[x].split("~")[0] + "</A></B><BR>"); 

    document.write(news[x].split("~")[1]);  

    document.write("  </TD>"); 
    document.write("</TR>"); 

    document.write("<TR height=8>"); 
    document.write("  <TD class=u8small>"); 
    document.write("  </TD>"); 
    document.write("</TR>"); 

    document.write("<TR height=1 bgcolor=#7D1015>"); 
    document.write("  <TD class=u8small>"); 
    document.write("  </TD>"); 
    document.write("</TR>"); 

    document.write("<TR height=8>"); 
    document.write("  <TD class=u8small>"); 
    document.write("  </TD>"); 
    document.write("</TR>"); 

    } 

  document.write("            </TABLE>"); 

  document.write("          </TD>"); 
  document.write("          <TD class=u8small>"); 
  document.write("            <IMG src=http://images.sgrech.net/wrfcu10/transparent.gif width=10 height=1 border=0>");

  document.write("          </TD>"); 
  document.write("        </TR>"); 
  document.write("        <TR height=8>"); 
  document.write("          <TD colspan=3>"); 
  document.write("          </TD>"); 
  document.write("        </TR>"); 
  document.write("      </TABLE>"); 
  document.write("    </TD>"); 
  document.write("  </TR>"); 
  document.write("</TABLE>"); 

  } 









var birthdays = getBirthdays();
var birthdayString = "";

if (birthdays.length != 0) {
  for(var x in birthdays) {
    birthdayString = birthdayString + "<BR>" + birthdays[x];
    }

  news.push("Birthdays this week~Happy birthday to: " + birthdayString + "~URL");
  }






function verifyForm(f) {

  var result = true;
  var errorMessage = "Please correct the following:        \n\n";

  if(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(f.email.value) == false){
    result = false;
    errorMessage = errorMessage + "* Enter a valid e-mail address\n";
    }

  if (!(f.wrfcu10.checked || f.wrfcu11.checked)) {
    result = false;
    errorMessage = errorMessage + "* Select a mailing list\n";
    }

  if (f.password.value=="") {
    result = false;
    errorMessage = errorMessage + "* Enter a password\n";
    }

  if (result) {
    return result;
    }
    else {
    alert(errorMessage);
    return result;

    }

  }





