var Pic = new Array();
var Link = new Array();
   Pic[0] = 'images/main_banner1.jpg'
   Link[0] = 'http://www.lovetogive.net/index.php?cPath=1_32'
   Pic[1] = 'images/register_your_cause_banner.jpg'
   Link[1] = 'cause_agreement.php'


<!-- Begin
// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 6000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files

// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var currentPic = j;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() 
{
	if(document.images.SlideShow)
	{
		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();
		}
		currentPic = j;
		j = j + 1;
		if (j > (p - 1)) j = 0;
		t = setTimeout('runSlideShow()', slideShowSpeed);
	}
}
//  End -->

function GoToPicLink()
{
	window.location = Link[currentPic];
}
