//	Common Javascript - Copyright (C) 2003-2010 Charles A Upsdell, All Rights Reserved; www.upsdell.com


// Process calendar cookie options
function calCookieOptions ( )
{
if ( (typeof(cCookie) != 'undefined') && (typeof(cOptions) != 'undefined') )
  {
	if ( (typeof(oOptions.aCookie.CalUpcoming) != 'undefined') && (oOptions.aCookie.CalUpcoming == 1) )
		calUpcomingListTournamentGames = false;
	else
		calUpcomingListTournamentGames = true;
  }
}

// Mark anchor specifified in hash
function myMarkAnchor ( )
{
var o;
if ( ((window.location.href.indexOf("archive.htm") != -1)
   )
  && (window.location.hash != '') )
  {
	var sHash = window.location.hash.substr(1);
	if ( (o = document.anchors[sHash]) != null )
	  {
		o.style.color = '#090';
	  }
	else if ( (o = getElement(sHash)) != null )
	  {
		o.style.color = '#090';
	  }
  }
}


