
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->


<!-- Copyright 2002 Bontrager Connection, LLC
// See http://willmaster.com/possibilities/archives/ for more info
//
// Specify the spelling of month names. They can be abbreviated 
//    or completely spelled out, and can be in any written language.

Month1  = 'January';
Month2  = 'February';
Month3  = 'March';
Month4  = 'April';
Month5  = 'May';
Month6  = 'June';
Month7  = 'July';
Month8  = 'August';
Month9  = 'September';
Month10 = 'October';
Month11 = 'November';
Month12 = 'December';


//
// Specify the spelling of month names. They can be abbreviated 
//    or completely spelled out, and can be in any written language.

Weekday1  = 'Sunday';
Weekday2  = 'Monday';
Weekday3  = 'Tuesday';
Weekday4  = 'Wednesday';
Weekday5  = 'Thursday';
Weekday6  = 'Friday';
Weekday7  = 'Saturday';



// Specify the format you want for your date/time display. Whatever 
//    you type between the quotes will be printed, except the 
//    following placeholders will be replaced with live data --
//
// Note 1: All placeholders are case sensitive.
//
//       YEAR -- The 4-digit year.
//         YR -- The 2-digit year.
//
//      MONTH -- The month name.
//         MT -- The month number.
//        0MT -- The month number, with a zero leading single digits.
// Note 2: The first character of 0MT is a zero, not a capital letter Oh.
//
//    WEEKDAY -- The day of the week.
//
//        DAY -- The day of the month.
//       0DAY -- The day of the month, with a zero leading single digits.
// Note 3: The first character of 0DAY is a zero, not a capital letter Oh.
//
//        H12 -- replaced with the hour (12-hour clock).
//       0H12 -- replaced with the hour (12-hour clock), with a zero leading single digits.
//        H24 -- replaced with the hour (24-hour clock).
//       0H24 -- replaced with the hour (24-hour clock), with a zero leading single digits.
//         MM -- replaced with the minute.
//         0M -- replaced with the minute, with a zero leading single digits.
//         SS -- replaced with the second.
//         0S -- replaced with the second, with a zero leading single digits.
//       AMPM -- replaced with "AM" if the time is before noon, "PM" otherwise.
// Note 4: The first character of 0H12, 0H24, 0M, and 0S is a zero, not a capital letter Oh.
//
// Here, specify the format:

DateTimeFormat = "WEEKDAY, MONTH DAY, YEAR at H12:0M:0S ampm";



//
// No further customization is necessary.
//

function FormatDateTimeString(fixedtime) {
var currentYear     = fixedtime.getFullYear();
var currentMonth    = fixedtime.getMonth();
var currentWeekDay  = fixedtime.getDay();
var currentMonthDay = fixedtime.getDate();
var currentHour     = fixedtime.getHours();
var currentMinute   = fixedtime.getMinutes();
var currentSecond   = fixedtime.getSeconds();
var re = '';
var datetimeString = DateTimeFormat;
re = /YEAR/g;
datetimeString = datetimeString.replace(re,currentYear);
var st = new String(currentYear);
var shortYear = st.charAt(2) + st.charAt(3);
re = /YR/g;
datetimeString = datetimeString.replace(re,shortYear);
currentMonth = currentMonth + 1;
st = String('st2 = Month' + currentMonth);
var st2 = '';
eval(st);
re = /MONTH/g;
datetimeString = datetimeString.replace(re,st2);
var si = '';
if(currentMonth < 10) { si = '0' + currentMonth; }
else                  { si =       currentMonth; }
re = /0MT/g;
datetimeString = datetimeString.replace(re,si);
re = /MT/g;
datetimeString = datetimeString.replace(re,currentMonth);
currentWeekDay = currentWeekDay + 1;
st = String('st2 = Weekday' + currentWeekDay);
eval(st);
re = /WEEKDAY/g;
datetimeString = datetimeString.replace(re,st2);
si = '';
if(currentMonthDay < 10) { si = '0' + currentMonthDay; }
else                     { si =       currentMonthDay; }
re = /0DAY/g;
datetimeString = datetimeString.replace(re,si);
re = /DAY/g;
datetimeString = datetimeString.replace(re,currentMonthDay);
var AmPm = 'pm';
if(currentHour < 12) { AmPm = 'am'; }
var twelveHour = currentHour;
if(currentHour > 12) { twelveHour = currentHour - 12; }
var zeroCurrentHour = currentHour;
if(currentHour < 10) { zeroCurrentHour = '0' + currentHour; }
var zeroCurrentMinute = currentMinute;
if(currentMinute < 10) { zeroCurrentMinute = '0' + currentMinute; }
var zeroCurrentSecond = currentSecond;
if(currentSecond < 10) { zeroCurrentSecond = '0' + currentSecond; }
var zeroTwelveHour = twelveHour;
if(twelveHour < 10) { zeroTwelveHour = '0' + twelveHour; }
re = /ampm/g;
datetimeString = datetimeString.replace(re,AmPm);
re = /0H12/g;
datetimeString = datetimeString.replace(re,zeroTwelveHour);
re = /H12/g;
datetimeString = datetimeString.replace(re,twelveHour);
re = /0H24/g;
datetimeString = datetimeString.replace(re,zeroCurrentHour);
re = /H24/g;
datetimeString = datetimeString.replace(re,currentHour);
re = /0M/g;
datetimeString = datetimeString.replace(re,zeroCurrentMinute);
re = /MM/g;
datetimeString = datetimeString.replace(re,currentMinute);
re = /0S/g;
datetimeString = datetimeString.replace(re,zeroCurrentSecond);
re = /SS/g;
datetimeString = datetimeString.replace(re,currentSecond);
re = /am/g;
datetimeString = datetimeString.replace(re,'am');
re = /pm/g;
datetimeString = datetimeString.replace(re,'pm');
return datetimeString;
} // end of function FormatDateTimeString()

function GetAndRelayCurrentDateTime() {
var mytime = new Date();
return FormatDateTimeString(mytime);
} // end of function GetAndRelayCurrentDateTime()

function UpdateDateTime() {
var t = GetAndRelayCurrentDateTime();
document.datetimeform.timespot.value = t;
setTimeout('UpdateDateTime()',1000);
} // end of function UpdateDateTime()
//-->



// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this  header
// NS4-6,IE4-6
// Fade effect only in IE; degrades gracefully

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000

// Duration of crossfade (seconds)
var crossFadeDuration = 5

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'images/trio1.jpg'
Pic[1] = 'images/trio2.jpg'
Pic[2] = 'images/trio3.jpg'
Pic[3] = 'images/trio4.jpg'
Pic[4] = 'images/trio5.jpg'
Pic[5] = 'images/trio6.jpg'
Pic[6] = 'images/trio7.jpg'
Pic[7] = 'images/trio8.jpg'
Pic[8] = 'images/trio4.jpg'
Pic[9] = 'images/trio3.jpg'
Pic[10] = 'images/trio2.jpg'



// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2)"
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}



<!--
function launchmay()
{
window.open("diary_may2006.htm","","width=707,height=450,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchjun()
{
window.open("diary_june2006.htm","","width=707,height=450,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchjul()
{
window.open("diary_july2006.htm","","width=707,height=450,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchaug()
{
window.open("diary_aug2006.htm","","width=707,height=450,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchsep()
{
window.open("diary_sep2006.htm","","width=707,height=450,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchoct()
{
window.open("diary_oct2006.htm","","width=707,height=450,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchnov()
{
window.open("diary_nov2006.htm","","width=707,height=450,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchdec()
{
window.open("diary_dec2006.htm","","width=707,height=450,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchclubchamp()
{
window.open("club_champ_table.htm","","width=717,height=680,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchprizes()
{
window.open("ladyprizes.htm","","width=740,height=590,resizable=no,scrollbars=no,toolbars=no");
}
//-->

<!--
function launchwinestone()
{
window.open("winestone.htm","","width=717,height=700,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchcarl()
{
window.open("html/carl_black_2007.htm","","width=780,height=590,resizable=no,scrollbars=no,toolbars=no");
}
//-->

<!--
function launchprov()
{
window.open("provincial_2006.htm","","width=700,height=590,resizable=no,scrollbars=no,toolbars=no");
}
//-->

<!--
function launchhappy()
{
window.open("html/happydaze2.htm","","width=700,height=625,resizable=no,scrollbars=no,toolbars=no");
}
//-->

<!--
function launchtiger()
{
window.open("html/tigertee.htm","","width=700,height=720,resizable=no,scrollbars=no,toolbars=no");
}
//-->

<!--
function launchfinalists()
{
window.open("html/finalists.htm","","width=700,height=540,resizable=no,scrollbars=no,toolbars=no");
}
//-->

<!--
function launchnewton()
{
window.open("html/newtonshield.htm","","width=717,height=755,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchwintersocial()
{
window.open("html/wintersocial.htm","","width=717,height=690,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchagm2006()
{
window.open("html/agm2006.htm","","width=717,height=550,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function launchremodel()
{
window.open("html/course_remodelling2006.htm","","width=717,height=630,resizable=no,scrollbars=yes,toolbars=no");
}
//-->

<!--
function reflow() {
  var photo = document.getElementById("photo");
  photo.style.border = photo.style.border;
}

//-->

<!--
function reflow1() {
  var photo1 = document.getElementById('photo1');
  photo1.style.border = photo1.style.border;
}

//-->

<!--
function launchmats() {
window.open("html/mats.htm","","width=717,height=470,resizable=no,scrollbars=yes,toolbars=no");
}

//-->

<!--
function launchmenprizes() {
window.open("html/men_prizes.htm","","width=717,height=500,resizable=no,scrollbars=yes,toolbars=no");
}

//-->

<!--
function launchladyprizes() {
window.open("html/ladies_prizes.htm","","width=717,height=500,resizable=no,scrollbars=yes,toolbars=no");
}

//-->

<!--
function launchjuniorprizes() {
window.open("html/juniors_prizes.htm","","width=717,height=500,resizable=no,scrollbars=yes,toolbars=no");
}

//-->

<!--
function launchigvoucher() {
window.open("html/IG_voucheroffer.htm","","width=717,height=500,resizable=no,scrollbars=yes,toolbars=no");
}

//-->

<!--
function launchigvoucher1() {
window.open("IG_voucheroffer.htm","","width=717,height=500,resizable=no,scrollbars=yes,toolbars=no");
}

//-->

<!--
function launchassociates() {
window.open("html/associates.htm","","width=717,height=480,resizable=no,scrollbars=yes,toolbars=no");
}

//-->

<!--
function launchrefurb() {
window.open("html/refurb.htm","","width=717,height=525,resizable=no,scrollbars=yes,toolbars=no");
}

//-->

<!--
function launchcards() {
window.open("html/cards.htm","","width=717,height=415,resizable=no,scrollbars=yes,toolbars=no");
}

//-->


<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->

//here you place the ids of every element you want.
var ids=new Array('Nicky','hole1' ,'hole2','hole3', 'hole4' ,'hole5','hole6', 'hole7' ,'hole8','hole9', 'hole10' ,'hole11','hole12', 'hole13' ,'hole14','hole15', 'hole16' ,'hole17','hole18');

function switchid(id){	
	hideallids();
	showdiv(id);
}

function hideallids(){
	//loop through the array and hide each element by id
	for (var i=0;i<ids.length;i++){
		hidediv(ids[i]);
	}		  
}

function hidediv(id) {
	//safe function to hide an element with a specified id
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'none';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'none';
		}
		else { // IE 4
			document.all.id.style.display = 'none';
		}
	}
}

function showdiv(id) {
	//safe function to show an element with a specified id
		  
	if (document.getElementById) { // DOM3 = IE5, NS6
		document.getElementById(id).style.display = 'block';
	}
	else {
		if (document.layers) { // Netscape 4
			document.id.display = 'block';
		}
		else { // IE 4
			document.all.id.style.display = 'block';
		}
	}
}




//-->

      
/***********************************************
* Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/
 
var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["images/slideshow1.jpg", "", ""] //plain image syntax
fadeimages[1]=["images/slideshow2.jpg", "", ""] //image with link syntax
fadeimages[2]=["images/slideshow3.jpg", "", ""] //image with link and target syntax
fadeimages[3]=["images/slideshow4.jpg", "", ""] //image with link and target syntax
fadeimages[4]=["images/slideshow5.jpg", "", ""] //image with link and target syntax

var fadeimages3=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages3[0]=["../images/2010animation1.jpg", "", ""] //plain image syntax
fadeimages3[1]=["../images/50years2.jpg", "", ""] //image with link syntax
fadeimages3[2]=["../images/challenge1.jpg", "", ""] //image with link and target syntax
fadeimages3[3]=["../images/relax1.jpg", "", ""] //image with link and target syntax
 
var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed.
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["photo1.jpg", "", ""] //plain image syntax
fadeimages2[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax
fadeimages2[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax
 
var fadebgcolor="transparent"

////NO need to edit beyond here/////////////
 
var fadearray=new Array() //array to cache fadeshow instances
var fadeclear=new Array() //array to cache corresponding clearinterval pointers
 
var dom=(document.getElementById) //modern dom browsers
var iebrowser=document.all
 
function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, onetime, displayorder){
this.flag=0
this.onetime=onetime
this.pausecheck=pause
this.mouseovercheck=0
this.delay=delay
this.degree=10 //initial opacity degree (10%)
this.curimageindex=0
this.nextimageindex=1
fadearray[fadearray.length]=this
this.slideshowid=fadearray.length-1
this.canvasbase="canvas"+this.slideshowid
this.curcanvas=this.canvasbase+"_0"
if (typeof displayorder!="undefined")
theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :)
this.theimages=theimages
this.imageborder=parseInt(borderwidth)
this.postimages=new Array() //preload images
for (p=0;p<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox
this.startit()
else{
this.curimageindex++
setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay)
}
}

function fadepic(obj){
if (obj.degree<100){
obj.degree+=10
if (obj.tempobj.filters&&obj.tempobj.filters[0]){
if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+
obj.tempobj.filters[0].opacity=obj.degree
else //else if IE5.5-
obj.tempobj.style.filter="alpha(opacity="+obj.degree+")"
}
else if (obj.tempobj.style.MozOpacity)
obj.tempobj.style.MozOpacity=obj.degree/101
else if (obj.tempobj.style.KhtmlOpacity)
obj.tempobj.style.KhtmlOpacity=obj.degree/100
else if (obj.tempobj.style.opacity&&!obj.tempobj.filters)
obj.tempobj.style.opacity=obj.degree/101
}
else{
clearInterval(fadeclear[obj.slideshowid])
obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1"
obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas)
if(obj.flag&&obj.onetime)
return;
if(obj.nextimageindex==obj.postimages.length-1)
obj.flag=1
obj.populateslide(obj.tempobj, obj.nextimageindex)
obj.nextimageindex=(obj.nextimageindex<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
picobj.innerHTML=slideHTML
}
 
 
fadeshow.prototype.rotateimage=function(){
if (this.pausecheck==1) //if pause onMouseover enabled, cache object
var cacheobj=this
if (this.mouseovercheck==1)
setTimeout(function(){cacheobj.rotateimage()}, 100)
else if (iebrowser&&dom||dom){
this.resetit()
var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
crossobj.style.zIndex++
fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50)
this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0"
}
else{
var ns4imgobj=document.images['defaultslide'+this.slideshowid]
ns4imgobj.src=this.postimages[this.curimageindex].src
}
this.curimageindex=(this.curimageindex<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}

