//===============================// Show/Hide
function showHide(inID) {
if (document.getElementById(inID).style.display == 'none') {
		document.getElementById(inID).style.display = 'block';
	} else {
		document.getElementById(inID).style.display = 'none';
	}
}

//===============================// Countdown
var month = '10'; 
var day = '8'; 
var dow = 0;  
var hour = 14;
var tz = 10;  
var lab = 'countdown';
function start() { displayCountdown(setCountdown(month,day,hour,tz),lab); }
loaded(lab,start);
var pageLoaded = 0; window.onload = function() {pageLoaded = 1;}
function loaded(i,f) {if (document.getElementById && document.getElementById(i) != null) f(); else if (!pageLoaded) setTimeout('loaded(\''+i+'\','+f+')',100);
}
function setCountdown(month,day,hour,tz) {var m = month; if (month=='*') m = 0;  var c = setC(m,day,hour,tz); if (month == '*' && c < 0)  c = setC('*',day,hour,tz); return c;} function setC(month,day,hour,tz) {var toDate = new Date();if (day.substr(0,1) == '+') {var day1 = parseInt(day.substr(1));toDate.setDate(toDate.getDate()+day1);} else{toDate.setDate(day);}if (month == '*')toDate.setMonth(toDate.getMonth() + 1);else if (month > 0) { if (month <= toDate.getMonth())toDate.setYear(toDate.getYear() + 1);toDate.setMonth(month-1);}
if (dow >0) toDate.setDate(toDate.getDate()+(dow-1-toDate.getDay())%7);
toDate.setHours(hour);toDate.setMinutes(0-(tz*60));toDate.setSeconds(0);var fromDate = new Date();fromDate.setMinutes(fromDate.getMinutes() + fromDate.getTimezoneOffset());var diffDate = new Date(0);diffDate.setMilliseconds(toDate - fromDate);return Math.floor(diffDate.valueOf()/1000);}
function displayCountdown(countdn,cd) 
{
	if (countdn < 0) document.getElementById(cd).innerHTML = '<b>The Greats of the Game Play Here</b>'; else 
		{
			var secs = countdn % 60; 
			if (secs < 10) secs = '0'+secs;var countdn1 = (countdn - secs) / 60;
			var mins = countdn1 % 60; 
			if (mins < 10) mins = '0'+mins;
			countdn1 = (countdn1 - mins) / 60;
			var hours = countdn1 % 24;
			var days = (countdn1 - hours) / 24;
			document.getElementById(cd).innerHTML = '<b>The Greats of the Game Play Here</b><br /><h1>'+days+' days, '+hours+' : '+mins+' : '+secs+'</h1>'; setTimeout('displayCountdown('+(countdn-1)+',\''+cd+'\');',999);
		}
}

//===============================// Slide Show Players
//===============================// Slide Show Players
//      (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 = 3000;
//      Duration of crossfade (seconds)
var crossFadeDuration = 3;
//      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
var picDirectory = '/eControl_repository/image/Players/';
Pic[0] = picDirectory + 'slide-BenCrenshaw.jpg';
Pic[1] = picDirectory + 'slide-BruceLietzke.jpg';
Pic[2] = picDirectory + 'slide-CurtisStrange.jpg';
Pic[3] = picDirectory + 'slide-HaleIrwin.jpg';
Pic[4] = picDirectory + 'slide-JayHaas.jpg';
Pic[5] = picDirectory + 'slide-LeeTrevino.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 runSlideShow1(){
   if (document.all){
      document.images.SlideShow1.style.filter="blendTrans(duration=2)";
      document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow1.filters.blendTrans.Apply();      
   }
   document.images.SlideShow1.src = preLoad[j].src;
   if (document.all){
      document.images.SlideShow1.filters.blendTrans.Play();
   }
   j = j + 1;
   if (j > (p-1)) j=0;
   t = setTimeout('runSlideShow1()', slideShowSpeed);
}
//===============================// Slide Show Players
//      (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 = 3000;
//      Duration of crossfade (seconds)
var crossFadeDuration = 3;
//      Specify the image files
var Pic2 = new Array(); 
//      don't touch this, to add more images, just continue the pattern, adding to the array below
var picDirectory = '/eControl_repository/image/Players/';
Pic2[0] = picDirectory + 'slide-LorenRoberts.jpg';
Pic2[1] = picDirectory + 'slide-MarkOMeara.jpg';
Pic2[2] = picDirectory + 'Slide-NickFaldo.jpg';
Pic2[3] = picDirectory + 'slide-NickPice.jpg';
Pic2[4] = picDirectory + 'slide-PeterJacobsen.jpg';
Pic2[5] = picDirectory + 'slide-TomKite.jpg';
//      do not edit anything below this line
var t;
var j = 0;
var p = Pic2.length;
var preLoad2 = new Array();
for (i = 0; i < p; i++){
   preLoad2[i] = new Image();
   preLoad2[i].src = Pic2[i];
}
function runSlideShow2(){
   if (document.all){
      document.images.SlideShow2.style.filter="blendTrans(duration=2)";
      document.images.SlideShow2.style.filter="blendTrans(duration=crossFadeDuration)";
      document.images.SlideShow2.filters.blendTrans.Apply();      
   }
   document.images.SlideShow2.src = preLoad2[j].src;
   if (document.all){
      document.images.SlideShow2.filters.blendTrans.Play();
   }
   j = j + 1;
   if (j > (p-1)) j=0;
   t = setTimeout('runSlideShow2()', slideShowSpeed);
}