if(document.images){

domain = "gmrfc.co.uk";
domain2 = "guildfordiansrfc.co.uk";
vacancy = "Due the success of the club last season we have created a number of new committee positions for this season of which only a few remain, if you are interested in filling one of these positions and joining our fast expanding family of volunteers please contact the Club Secretary, Mike Holden - details as above";
enlarge = "Click to enlarge photo"
moreinfo = "Click here for more information"
photolink = "Click here for photos of this event"
matchreport = "Click here for match report"

}

function Change (className) {
  if (document.all) {
    for (var s = 0; s < document.styleSheets.length; s++)
      for (var r = 0; r < document.styleSheets[s].rules.length; r++)
        if (document.styleSheets[s].rules[r].selectorText == '.' + 
className)
	stylechange(document.styleSheets[s].rules[r]);
  }
  else if (document.getElementById) {
    for (var s = 0; s < document.styleSheets.length; s++)
      for (var r = 0; r < document.styleSheets[s].cssRules.length; r++)
        if (document.styleSheets[s].cssRules[r].selectorText == '.' + 
className)
	stylechange(document.styleSheets[s].cssRules[r]);
  }
}

function stylechange(theClass){
	if (theClass.style.display == 'none') {
	theClass.style.display = ''
	}
	else {
	theClass.style.display = 'none'
	}
}