/// Main page slideshow
var initloop = true;
var eltSlideShow;
var eltCaptions;
var eltAds0;
var eltContent;
//var eltTest99;
var maxdivs = 7;
var is = new Is();

var intLeftAlley = 350 + 'px;';
var imgHeight = 260;
var adImageWidth = 260 + 'px;';
var adImageHeight = 200 + 'px;';
var slideShowTop = '265px;';
var captionTopLine = imgHeight + 265 + 'px;';
var adToggle=0;

//User defined variables - change these variables to alter the behaviour of the script
var ImageFolder = "/Images/Ads/"; //Folder name containing the images
var ImageFileNames = new Array('Capstone1L.jpg', 'SportsSpectrumL.jpg'); //List of images to use
var ImageURLs = new Array('http://www.amazon.com/exec/obidos/redirect?tag=brettbcom&path=subst/home/home.html', 'http://www.iplus.zetnet.co.uk/', 'http://www.amazon.com/exec/obidos/redirect?tag=brettbcom&path=subst/home/home.html', 'http://www.iplus.zetnet.co.uk/'); //List of hyperlinks associated with the list of images
var DefaultURL = 'http://www.hspn.net/default.asp'; //Default hyperlink for the Banner Ad
var DisplayInterval = 5; //Number of seconds to wait before the next image is displayed
var TargetFrame = ""; //Name of the frame to open the hyperlink into
//Internal variables (do not change these unless you know what you are doing)

// Defaults: --------
var ctrlMainLooping = 1;
var offsetMainSlideShow = 0;
var MainSlideshowImageNum = 0
var startMainSlideshowImageNum = 0;
var selectedCaptionNum = 0;
var refreshMainSlideShowImage = true;
// ------------------

var IsValidBrowser = false;
var BannerAdCode = 0;
var ciInitIndex = 0;
var Adcounter = 0;
/// -------------------------------
var maxAds = 6;
/// -------------------------------
var maxMainSlideshowImageNum = 82;
/// -------------------------------
var startAd = 0;

var oLayer = eval('eltAds0');
var oSlideShow = eval('eltSlideShow');
var oCaptions = eval('eltCaptions');

DisplayInterval = DisplayInterval * 1000;
//var NumberOfImages = ImageFileNames.length;
var NumberOfImagesa = 90;
var CountofDivs = 27;

//Add a trailing forward slash to the ImageFolder variable if it does not already have one
if (ImageFolder.substr(ImageFolder.length - 1, ImageFolder.length) != "/" && ImageFolder != "") { ImageFolder += "/";}
if (TargetFrame == '')
{
	var FramesObject = null;
}	
else
{
	var FramesObject = eval('parent.' + TargetFrame);
}


function Is ()
{   // convert all characters to lowercase to simplify testing
    var agt=navigator.userAgent.toLowerCase()

    // --- BROWSER VERSION ---
    this.major = parseInt(navigator.appVersion)
    this.minor = parseFloat(navigator.appVersion)

    this.nav  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1)))
    this.nav2 = (this.nav && (this.major == 2))
    this.nav3 = (this.nav && (this.major == 3))
    this.nav4 = (this.nav && (this.major >= 4))
		
    this.ie   = (agt.indexOf("msie") != -1)
    this.ie3  = (this.ie && (this.major == 2))
    this.ie4  = (this.ie && (this.major == 4))

    this.opera = (agt.indexOf("opera") != -1)
     
    this.nav4up = this.nav && (this.major >= 4)
    //this.nav5up = this.nav4up && (navigator.userAgent.indexOf("Firefox")!=-1)
    this.nav5up = this.nav4up && (navigator.userAgent.indexOf("Firefox") != -1) || this.nav4up && (this.major >= 5)

    this.ie4up  = this.ie  && (this.major >= 4)
}
function init_vars()
	{
		eltSlideShow = getElt("Slideshow");
		eltAds0 = getElt("AdBanner1");
		eltCaptions = getElt("MainCaptions");
		eltContent = getElt("Content");
		//eltWaitBox = getElt("WaitBox");
		//showContent();
	}

function getElt () 
{
 if (is.nav5up) {
    var currentLayer = document.getElementById([getElt.arguments[0]]);
    return currentLayer;
  } 
  else if (is.ie4up ) {
    var elt = eval('document.all.' + getElt.arguments[getElt.arguments.length-1]);
    return(elt);
  }
  else if (is.nav4up) {
	//showit(document.layers[0]);
    var currentLayer = document.layers[getElt.arguments[0]];

    for (var i=1; i<getElt.arguments.length && currentLayer; i++)
    {   currentLayer = currentLayer.document.layers[getElt.arguments[i]];
    }
    return currentLayer;
    }
}

function clearWait() {
	document.all.WaitBox.style.display = 'none';
  document.all.Content.style.visibility = 'visible';
}
function showContent()  {
	var oLayer = eval('eltContent');

	if (is.nav5up)
		{
		oLayer.style.visibility = "visible";
		}
	else if (is.nav4up)
		{
		oLayer.visibility = "visible";
		document.layers[0].visibility = "hidden";
		}
	else
		{
		oLayer.style.visibility = "visible";
		}
}
function showMe(d) {
	var oLayer = eval('eltAds' + d);
	if (is.nav4up)
		{
		oLayer.visibility = "visible";
		}
	else
		{
		oLayer.style.visibility = "visible";
		}
}
var adsF = new Array;
adsF[0] = '<img src="http://www.hspn.net/images/eastcoast/sponsors/dsg logo.jpg" width="' + adImageWidth + '" height="' + adImageHeight + '" align=left border=0><br><center><font face="Arial" size="2" color="black"><b></b></center>';
adsF[1] = '<img src="http://www.hspn.net/images/eastcoast/sponsors/dsg logo.jpg" width="' + adImageWidth + '" height="' + adImageHeight + '" align=left border=0><br><center><font face="Arial" size="2" color="black"><b></b></center>';
adsF[2] = '<a href="http://www.scoreinternational.org"><img src="http://www.hspn.net/images/eastcoast/sponsors/score logo color.jpg" width="' + adImageWidth + '" height="' + adImageHeight + '" align=left border=0><br><center><font face="Arial" size="2" color="black"><b>SCORE INTERNATIONAL</b></a></center>';
adsF[3] = '<a href="http://www.scoreinternational.org"><img src="http://www.hspn.net/images/eastcoast/sponsors/score logo color.jpg" width="' + adImageWidth + '" height="' + adImageHeight + '" align=left border=0><br><center><font face="Arial" size="2" color="black"><b>SCORE INTERNATIONAL</b></a></center>';
adsF[4] = '<a href="http://www.lifeway.com/" target=_new><img alt="LifeWay Christian Stores" title="LifeWay Christian Stores" src="http://www.hspn.net/Images/EastCoast/Sponsors/lifeway.jpg" width="' + adImageWidth + '" height="' + adImageHeight + '" align=top border=0></A>';
adsF[5] = '<a href="http://www.lifeway.com/" target=_new><img alt="LifeWay Christian Stores" title="LifeWay Christian Stores" src="http://www.hspn.net/Images/EastCoast/Sponsors/lifeway.jpg" width="' + adImageWidth + '" height="' + adImageHeight + '" align=top border=0></A>';
//adsF[4] = '<a href="http://www.kirkleyhotel.com" target=_new><img alt="" title="" src="http://www.hspn.net/Images/Eastcoast/2010/kirkley463 logo.JPG" width="300"  height="200" align=top border=0></a><br><center><br><font size=2><b></b></font></center>';
adsF[6] = '<a href="http://www.discoverlynchburg.org" target= "_new"><img src="http://www.hspn.net/Images/EastCoast/2010/discoverlynchburg.jpg" width="300" align=top border=0><br><center><font face="Arial" size="2" color="black"><b>Discover Lynchburg</b></center></A>';

var aSlideShow = new Array;
aSlideShow[0]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/images/EastCoast/2009/SlamDunk4.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[1]='<a href="http://www.hspn.net/Events\"><img src="http://www.hspn.net/images/Tournaments/blimpatscrTourney.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[2]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/Marketing/2009Testimonial8.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[3] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/BoysVarsity_8A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[4] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/BoysVarsity_7A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[5] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/BoysVarsity_6A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[6] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/BoysVarsity_5A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[7] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/GirlsVarsity_5A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[8] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/BoysVarsity_4A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[9] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/GirlsVarsity_4A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[10] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/BoysVarsity_3A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[11] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/GirlsVarsity_3A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[12] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/BoysVarsity_2A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[13] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/GirlsVarsity_2A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[14] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/BoysVarsity_A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[15] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/GirlsVarsity_A_Champs.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[16] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/Tuesday_TeamPackets.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[17] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/Tuesday_IceBreaker.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[18] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/Wednesday_Kirkley3.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[19] = '<a href="http://www.hspn.net/events/eastcoasttourney2011.asp"><img src="http://www.hspn.net/images/EastCoast/2011/Results/Thursday_Coaches.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[20] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/SlamDunk/SlamDunkiso.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[21] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/SlamDunk/SlamDunkiso.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[22] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Feedback/2010Watermarkfadetesttestm1.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[23] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Boys7AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[24] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Boys6AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[25] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Boys5AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[26] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Boys4AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[27] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Boys3AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[28] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Boys2AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[29] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Feedback/2010Watermarkfadetesttestm2.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[30] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/BoysAChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[31] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Girls4AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[32] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Girls3AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[33] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/Girls2AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[34] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/GirlsAChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[35] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/BoysJV3AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[36] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/BoysJV2AChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[37] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Feedback/2010Watermarkfadetesttestm3.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[38] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/BoysJVAChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[39] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Champions/BoysMSChamps.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[40] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/2010ectLogoMG3.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[41] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/MVP/MVPGirls.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[42] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/MVP/MVPJV.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[43] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/MVP/MVPVarsity.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[44] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/AllTournamentGirls/GirlsAllTournamentTeam.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[45] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Feedback/2010Watermarkfadetesttestm4.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[46] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/AllTournamentBoys/BoysAllTournamentTeam.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[47] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/SlamDunk/SlamDunkiso.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[48] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/SlamDunk/SlamDunkWinner.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[49] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/3pt/3-pt11UWinner.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[50] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Feedback/2010Watermarkfadetesttestm1.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[51] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/3pt/3-ptGirls15UChamp.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[52] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/3pt/3-ptGirls19UChamp.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[53] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/3pt/3-ptBoys15UChamp.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[54] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Feedback/2010Watermarkfadetesttestm2.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[55] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/3pt/3-ptBoys19UChamp.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[56] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/3pt/3-ptAdultChamp.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[57] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/3pt/3-ptFunny.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[58] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Coaches/CoachesPickup.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[59] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Feedback/2010Watermarkfadetesttestm3.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[60] = '<a href="http://www.hspn.net/events/eastcoasttourney2010.asp"><img src="http://www.hspn.net/images/eastcoast/2010/Feedback/2010Watermarkfadetesttestm4.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[61]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/images/EastCoast/2009/Girls4A1st.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[62]='<a href="http://www.hspn.net/#soccernews"><img src="http://www.hspn.net/images/EastCoast/2009/Soccer/SmithRiverAerialAll.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[63]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><IMG src="http://www.hspn.net/Images/EastCoast/Marketing/VinesFloor.jpg"  alt="Home of the East Coast Homeschool Basketball Championships"  title="Home of the East Coast Homeschool Basketball Championships" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[64]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/Marketing/2009Testimonial2.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[65]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/AllStarGirls.jpg"  alt="All-Star Girls Team from the 2009 East Coast Homeschool Basketball Championships" title= "All-Star Girls Team from the 2009 East Coast Homeschool Basketball Championships" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[66]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/AllStarBoys.jpg"  alt="All-Star Boys Team from the 2009 East Coast Homeschool Basketball Championships" title= "All-Star Boys Team from the 2009 East Coast Homeschool Basketball Championships" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[67]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/Marketing/2009Testimonial1.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[68]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/TrophiesTable.jpg"  alt="Customized Trophies feature Tournament Logo" title= "Customized Trophies feature Tournament Logo" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[69]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/CoachesNorthWins.jpg"  alt="Coaches \'North\' team comes from behind to win" title= "Coaches \'North\' team comes from behind to win" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[70]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><IMG src="http://www.hspn.net/Images/EastCoast/2009/Boys5A1st.jpg"  alt="" title="" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[71]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys5A2nd.jpg"  alt="Varsity Boys 5A - 2nd Place" title= "Varsity Boys 5A - 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[72]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/Marketing/2009Testimonial3.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[73]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys5A3rd.jpg"  alt="Varsity Boys 5A - 3rd Place" title= "Varsity Boys 5A - 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[74]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys4A1st.jpg"  alt="Varsity Boys 4A Champs" title= "Varsity Boys 4A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[75]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/Marketing/2009Testimonial4.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[76]='<img src="http://www.hspn.net/images/Investment/PrayerCircleInv.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[77]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys4A2nd.jpg"  alt="Varsity Boys 4A - 2nd Place" title= "Varsity Boys 4A - 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[78]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/Marketing/2009Testimonial5.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
aSlideShow[79]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys4A3rd.jpg"  alt="Varsity Boys 4A - 3rd Place" title= "Varsity Boys 4A - 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[80]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys3A1st.jpg"  alt="Varsity Boys 3A Champs" title= "Varsity Boys 3A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[81]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys3A2nd.jpg"  alt="Varsity Boys 3A - 2nd Place" title= "Varsity Boys 3A - 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[82]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/Marketing/2009Testimonial6.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';
/*
aSlideShow[23]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys3A3rd.jpg"  alt="Varsity Boys 3A - 3rd Place" title= "Varsity Boys 3A - 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[24]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys2A1st.jpg"  alt="Varsity Boys 2A Champs" title= "Varsity Boys 2A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[25]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys2A2nd.jpg"  alt="Varsity Boys 2A - 2nd Place" title= "Varsity Boys 2A - 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';

aSlideShow[26]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/Marketing/2009Testimonial7.jpg"  alt="" title= "" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2"></a>';

aSlideShow[27]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys2A3rd.jpg"  alt="Varsity Boys 2A - 3rd Place" title= "Varsity Boys 2A - 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[28]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysA1st.jpg"  alt="Varsity Boys A Champs" title= "Varsity Boys A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[29]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysA2nd.jpg"  alt="Varsity Boys A - 2nd Place" title= "Varsity Boys A - 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[30]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysA3rd.jpg"  alt="Varsity Boys A - 3rd Place" title= "Varsity Boys A - 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[31]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls4A1st.jpg"  alt="Varsity Girls 4A Champs" title= "Varsity Girls 4A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[32]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls4A2nd.jpg"  alt="Varsity Girls 4A 2nd Place" title= "Varsity Girls 4A 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[33]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls4A3rd.jpg"  alt="Varsity Girls 4A 3rd Place" title= "Varsity Girls 4A 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[34]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls3A1st.jpg"  alt="Varsity Girls 3A Champs" title= "Varsity Girls 3A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[35]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls3A2nd.jpg"  alt="Varsity Girls 3A 2nd Place" title= "Varsity Girls 3A 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[36]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls3A3rd.jpg"  alt="Varsity Girls 3A 3rd Place" title= "Varsity Girls 3A 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[37]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls2A1st.jpg"  alt="Varsity Girls 2A Champs" title= "Varsity Girls 2A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[38]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls2A2nd.jpg"  alt="Varsity Girls 2A 2nd Place" title= "Varsity Girls 2A 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[39]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Girls2A3rd.jpg"  alt="Varsity Girls 2A 3rd Place" title= "Varsity Girls 2A 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[40]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/GirlsA1st.jpg"  alt="Varsity Girls A Champs" title= "Varsity Girls A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[41]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/GirlsA2nd.jpg"  alt="Varsity Girls A 2nd Place" title= "Varsity Girls A 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[42]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys3A1stJV.jpg"  alt="JV Boys 3A Champs" title= "JV Boys 3A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[43]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys3A1stJV.jpg"  alt="JV Boys 3A 2nd Place" title= "JV Boys 3A 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[44]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys3A1stJV.jpg"  alt="JV Boys 3A 3rd Place" title= "JV Boys 3A 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[45]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys2A1stJV.jpg"  alt="JV Boys 2A Champs" title= "JV Boys 2A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[46]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys2A1stJV.jpg"  alt="JV Boys 2A 2nd Place" title= "JV Boys 2A 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[47]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/Boys2A1stJV.jpg"  alt="JV Boys 2A 3rd Place" title= "JV Boys 2A 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[48]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysA1stJV.jpg"  alt="JV Boys A Champs" title= "JV Boys A Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[49]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysA1stJV.jpg"  alt="JV Boys A 2nd Place" title= "JV Boys A 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[50]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysA1stJV.jpg"  alt="JV Boys A 3rd Place" title= "JV Boys A 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[51]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysMS1st.jpg"  alt="MS Boys Champs" title= "MS Boys  Champs" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[52]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysMS2nd.jpg"  alt="MS Boys 2nd Place" title= "MS Boys 2nd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[53]='<a href="http://www.hspn.net/events/eastcoasttourney2009.asp"><img src="http://www.hspn.net/Images/EastCoast/2009/BoysMS3rd.jpg"  alt="MS Boys 3rd Place" title= "MS Boys 3rd Place" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[54]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/15UGirlsWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[55]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/12UBoysWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[56]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/15UBoysWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[57]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/18UBoysWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[58]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/AdultsWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[59]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/Luncheon3.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[60]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/Luncheon.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[61]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/Luncheon2.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[62]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsV3A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[63]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsV3A2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[64]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsV3A2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[65]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsV3A3rd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[66]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsV2A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[67]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsV2A2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[68]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsV1A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[69]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsV1A2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[70]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsJV1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[71]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsJV2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[72]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/GirlsJV3rd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[73]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV5A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[74]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV5A2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[75]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV5A3rd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[76]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV4A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[77]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV4A2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[78]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV4A3rd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[79]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV3A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[80]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV3A2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[81]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV3A3rd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[82]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV2A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[83]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/Boys_V_2A_2nd_CHENWhite 2717.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[84]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysV1A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[85]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysVA2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[86]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysVA3rd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[87]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/BoysJV3A1st.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[88]='<a href="http://www.hspn.net/events/eastcoasttourney2008.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/Boys_JV_3A_2nd.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[89]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/CoachesPickupGameLead.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[90]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/CoachesPickupGame3.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[91]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/15UGirlsWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[92]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/12UBoysWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[93]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/15UBoysWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[94]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/18UBoysWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[95]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/AdultsWinners.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[96]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/Luncheon3.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[97]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/Luncheon.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
aSlideShow[98]='<a href="http://www.hspn.net/events/eastcoasttourney20089.asp"><img src="http://www.hspn.net/Images/EastCoast/PhotoGallery/Luncheon2.jpg" width="' + intLeftAlley + '" height="' + imgHeight + '" align="left" hspace="2">';
*/
var aCaptions = new Array;
var majStyle40 =   ' style= "font-face:Credit Valley, Arial; font-size: 16pt; color:#455342;"'    //#616e65
var minorStyle40 = ' style= "font-face:Bookman OldStyle, Arial;font-size: 12pt; color:#455342;"'   //#4e5543

var majStyle41 =   ' style= "font-face:Credit Valley, Arial; font-size: 16pt; color:#f24a26;"'
var minorStyle41 = ' style= "font-face:Bookman OldStyle, Arial;font-size: 12pt; color:#f24a26;"'  //#515390

var majStyle42 =   ' style= "font-face:Credit Valley, Arial; font-size: 16pt; color:#343932;"'
var minorStyle42 = ' style= "font-face:Bookman OldStyle, Arial;font-size: 12pt; color:#343932;"'

var majStyle43 =   ' style= "font-face:Credit Valley, Arial; font-size: 16pt; color:#3f2f22;"'
var minorStyle43 = ' style= "font-face:Bookman OldStyle, Arial;font-size: 12pt; color:#3f2f22;"'

var majStyle44 =   ' style= "font-face:Credit Valley, Arial; font-size: 16pt; color:#1c1a1f;"'
var minorStyle44 = ' style= "font-face:Bookman OldStyle, Arial;font-size: 12pt; color:#1c1a1f;"'

var majStyle45 =   ' style= "font-face:Credit Valley, Arial; font-size: 16pt; color:#343932;"'
var minorStyle45 = ' style= "font-face:Bookman OldStyle, Arial;font-size: 12pt; color:#343932;"'


// image #40
aCaptions[0] = '<a href="http://www.hspn.net/default2008a.asp" ' + majStyle40 + '><b>Ways to <br>Get Started </b></a>';
aCaptions[0] = aCaptions[0] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle40 + '>Start Your Own <br>Sports Program</a>';
aCaptions[0] = aCaptions[0] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle40 + '>Resource: "Getting <br>Started" Handbook</a>';

// image #41
aCaptions[1] = '<a href="http://www.hspn.net/default2008a.asp" ' + majStyle41 + '><b>Ways to <br>Get Started </b></a>';
aCaptions[1] = aCaptions[1] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle41 + '>Get Your <br> Kids Involved </a>';
aCaptions[1] = aCaptions[1] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle41 + '>Attend a Summer <br>Workshop</a>';

// image #42
aCaptions[2] = '<a href="http://www.hspn.net/default2008a.asp"' + majStyle42 + '><b>Our Team <br>Locator System </b></a> ';
aCaptions[2] = aCaptions[2] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle42 + '>Find Any Team <br>in the USA</a>';
aCaptions[2] = aCaptions[2] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle42 + '>Post a Note to <br>a Coach or <br>Sports Leader</a>';

// image #43 - 40
aCaptions[3] = '<a href="http://www.hspn.net/default2008a.asp" ' + majStyle43 + '><b>Our Team <br>Locator System </b></a> ';
aCaptions[3] = aCaptions[3] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle43 + '>Post Your <br>Team Information</a>';
aCaptions[3] = aCaptions[3] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle43 + '>Post Your <br>Game Schedules</a>';

// image #44 
aCaptions[4] = '<a href="http://www.hspn.net/default2008a.asp" ' + majStyle44 + '><b>Experience <br>the Opportunities </b></a>';
aCaptions[4] = aCaptions[4] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle44 + '>Homeschool Tournaments and <br>Championships</a>';
aCaptions[4] = aCaptions[4] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle44 + '>Sports Camps<br>for Homeschoolers</a>';

//#image #45
aCaptions[5] = '<a href="http://www.hspn.net/default2008a.asp" ' + majStyle45 + '><b>Experience <br>the Opportunities </b></a>';
//aMainCaptions[5] = aMainCaptions[5] + '<br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle3 + '>Tournaments and Sporting Events</a>';
//aMainCaptions[5] = aMainCaptions[5] + '<br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle3 + '>Sports Camps</a>';
aCaptions[5] = aCaptions[5] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle45 + '>HSPN Team <br>Membership</a>';
aCaptions[5] = aCaptions[5] + '<br><br><br><a href="http://www.hspn.net/default2008a.asp" ' + minorStyle45 + '>General Liability-<br>Medical Insurance</a>';


//JavaScript Banner Ad Rotator version 2.1 - last modified 16 November 2000
//Obtained from http://www.brettb.com/js_banner_ad_rotator.asp
//Email comments or suggestions using the form at http://www.brettb.com/Contact.asp
//If you want a version of this script that will open links in a new browser window
//then please visit http://www.winnershtriangle.com/w/Products.JavaScriptBannerAdRotator.asp


function InitializeSlideshow() 
{
	//Determine the browser name and version
	//The script will only work on Netscape 3+ and Internet Explorer 4+
	var BrowserType = navigator.appName;	
	var BrowserVersion = parseInt(navigator.appVersion);

	if (BrowserType == "Netscape" && (BrowserVersion >= 3)) 
	{
		IsValidBrowser = true;
		//alert(IsValidBrowser);
	}

	if (BrowserType == "Microsoft Internet Explorer" && (BrowserVersion >= 4)) 
	{
		IsValidBrowser = true;
	}
	if (IsValidBrowser) 
	{
		document.TimerObject = setTimeout("ChangeImage('',maxMainSlideshowImageNum,startMainSlideshowImageNum, refreshMainSlideShowImage)", 0);
    document.TimerObject = setTimeout("ChangeImagea('',maxAds, startAd)", 0);

	}
}

function ChangeImage(preF, maxImageNum, startImageNum, refresh)
{
	//setMainSlideshow();
	
	if (IsValidBrowser)
		{
			// ----------- call to change slide show image ----
			//alert(MainSlideshowImageNum+','+ctrlMainLooping+','+imageWithinSlideShowPanelCounter+','+selectedCaptionNum);
			showFlash(MainSlideshowImageNum , selectedCaptionNum, refreshMainSlideShowImage);
			selectedCaptionNum++;
			MainSlideshowImageNum++;			
			 if (MainSlideshowImageNum > maxMainSlideshowImageNum)	
				{
					MainSlideshowImageNum = 0;
					selectedCaptionNum = 0;
				}
			if (adToggle > 0)
				{
				document.TimerObject = setTimeout("ChangeImagea('',maxAds, startAd)", 0);
				adToggle = 0;
				}
			else
				{
				adToggle = 1;
				}
			document.TimerObject = setTimeout("ChangeImage('', maxMainSlideshowImageNum, startMainSlideshowImageNum)", DisplayInterval);
		}
}

function ChangeImagea(preF, maxI, initIndex) {

	if (IsValidBrowser)
	 {
		Adcounter = Adcounter + 1;
		if (Adcounter > maxI)
		{
			Adcounter = initIndex;
		}
		showAda(Adcounter);
	}
}

function showAda(d)
{
oLayer = eval('eltAds0');
if (IsValidBrowser)
{
		oLayer.innerHTML = adsF[d];
		oLayer.style.visibility = "visible";
}
}

function showFlash(d,o,refresh)
{

	//alert(d +','+o+','+refresh);
	document.getElementById("MainCaptions").style.visibility="hidden";
	document.getElementById("MainCaptions").style.backgroundColor="transparent";
	document.getElementById("MainCaptions").style.left="5px";
	document.getElementById("MainCaptions").style.top="485px";
	document.getElementById("MainCaptions").style.width="280px";
	document.getElementById("MainCaptions").style.position="absolute";

	//document.getElementById("Slideshow").style.visibility="hidden";
	//document.getElementById("Slideshow").style.backgroundColor="transparent";
	//document.getElementById("Slideshow").style.left="15px";
	//document.getElementById("Slideshow").style.top= "285px";
	//document.getElementById("Slideshow").style.width="280px";
	//document.getElementById("Slideshow").style.position="absolute";

	document.getElementById("Slideshow").style.visibility="hidden";
	document.getElementById("Slideshow").style.backgroundColor="transparent";
	document.getElementById("Slideshow").style.left="15px";
	document.getElementById("Slideshow").style.top= "340px";
	document.getElementById("Slideshow").style.width="350px";
	document.getElementById("Slideshow").style.position="absolute";



	oSlideShow = eval('eltSlideShow');
	oCaptions = eval('eltCaptions');

	if (IsValidBrowser)
	{
		//setMainSlideshow();
		//oCaptions.style.visibility = "visible";
		//oCaptions.innerHTML = '<p>Photo<br><br>is<br><br>Loading.....</p>';

		if (refresh)
		{
			//oSlideShow.innerHTML = '<p>Photo<br><br>is<br><br>Loading.....</p>';
			oSlideShow.style.visibility = "visible";
			oSlideShow.innerHTML = aSlideShow[d];
			oSlideShow.style.visibility = "visible";
		}
		//oCaptions.style.visibility = "visible";
		//oCaptions.innerHTML = aCaptions[o];
    //document.getElementById("MainCaptions").style.visibility="visible";
	}
}


function setMainSlideshow() {
 if (MainSlideshowImageNum = maxMainSlideshowImageNum)	
	{
		MainSlideshowImageNum = 0;
		selectedCaptionNum = 0;
	}
}
function setSlideShowDefaults(val)
{
	ctrlMainLooping = val;
	ctrlMainPanelLooping =0;
	offsetMainSlideShow = 0;
	imageWithinSlideShowPanelCounter =0;
	MainSlideshowImageNum = 40+(6*(val-1));
	startMainSlideshowImageNum = MainSlideshowImageNum;
	selectedCaptionNum = 6*(val-1);
	refreshMainSlideShowImage = true;

}

