			var i=0;
			var ImgList=new Array();
			ImgList[0]="1";
			ImgList[1]="2";
			ImgList[2]="3";
			ImgList[3]="4";
			ImgList[4]="5";
			ImgList[5]="6";
			ImgList[6]="7";
			ImgList[7]="8";
			ImgList[8]="9";
			ImgList[9]="10";
			
			var TransImg=new Array();
			TransImg[0]="blendTrans(duration=1)";
		    TransImg[1]="revealTrans(duration=1, transition=0)";
		    TransImg[2]="revealTrans( transition=1, duration=1)";
		    TransImg[3]="revealTrans(duration=1, transition=4)";
		    TransImg[4]="progid:DXImageTransform.Microsoft.Pixelate(duration=3)";
		    TransImg[5]="revealTrans(duration=1, transition=2)";
		    TransImg[6]="revealTrans(duration=1, transition=3)";
		    TransImg[7]="revealTrans(duration=1, transition=10)";
		    TransImg[8]="revealTrans(duration=1, transition=11)";
		    TransImg[9]="revealTrans(duration=1, transition=12)";
		    TransImg[10]="revealTrans(duration=3, transition=14)";
		    TransImg[11]="progid:DXImageTransform.Microsoft.gradientWipe(duration=1)";
		    TransImg[12]="progid:DXImageTransform.Microsoft.Spiral(duration=3, GridSizeX=205, GridSizeY=205)";
		    TransImg[13]="progid:DXImageTransform.Microsoft.Wheel((duration=3, spokes=10)";
		    TransImg[14]="progid:DXImageTransform.Microsoft.RadialWipe(duration=3)";
		    TransImg[15]="progid:DXImageTransform.Microsoft.Iris((duration=3)";
		    TransImg[16]="revealTrans(duration=3, transition=20)";
			
/*		function timedCount(j,y)
		{
			if (j==10){j=0;}
			if (y=17){y=0;}
			var fishURL="Images/Thumbs/"+ImgList[j]+".jpg";
			document.getElementById("imgSlide").style.filter=value[y];
			document.getElementById('imgSlide').src=fishURL;
			//alert(j+" "+fishURL);
			i=j+1;
			z=y+1;
			t=setTimeout("timedCount(i,z)",3000);
		}
*/

//---------------------------------------------------------------------------------//

var dimages=new Array();
var curImage=0;
var numImages=10;

/*		function timedCount(y)
		{
			if (y=17){y=0;}
			alert(y);
			transformPicture(TransImg[y]);
			z=y+1;
			t=setTimeout("timedCount(z)",3000);
		}
*/

function timedCount(y)
{
//	if (y==17) {y=0;}
	transformPicture(TransImg[11]);
//	z=y+1;
	t=setTimeout("timedCount(11)", 3000);
}

function preload()
{
   	for (x=0; x<numImages; x++)
   	{
		dimages[x]=new Image();
		dimages[x].src="Images/Thumbs/"+(x+1)+".jpg";
	}
}

function transformPicture(filterFunctionName)
{
 	if (document.images)
	{
		curImage++;
		if (curImage>=numImages)
			curImage=0;
	
		if (filterFunctionName==null)
			filterFunctionName="blendTrans(duration=1)"

		var message=filterFunctionName+": ";

		var canBeFiltered=false;
		if (document.images.imgSlide && document.images.imgSlide.style && document.images.imgSlide.style.filters)
		{
			canBeFiltered=true;
			target=document.images.imgSlide;
		}
		if (document.all && document.getElementById("imgSlide"))
		{
			target= document.getElementById("imgSlide");
			canBeFiltered=true;
		}
			
		if (dimages[curImage].complete)
		{
			if (canBeFiltered)
			{
	       	target.style.filter=filterFunctionName;
	       	if (target.filters && target.filters[0])
	  	       	target.filters[0].Apply();
	  	       else
		  	       message+=":Filter not available";
 	       }
		    document.images.imgSlide.src=dimages[curImage].src;
			if (canBeFiltered)
			{
	       	if (target.filters  && target.filters[0])
	  	       	target.filters[0].Play();
			}
			else
	  	       message+=":Filter not supported";
		}	
		else
			setTimeout("transformPicture()", 600);
	}
	else
       message+="Image not ready.  Please wait a while...";	
//	document.transForm.message.value=message;
}


//-------------------------For Advertisement-----------------//
		function gofishingtrip()
		{
			window.location.href="fishingtrip.asp";
		}
//-----------------------------------------------------------//

//-------------------------For Announsment-------------------//

		var TIMEOUTID = null;

		function ticker_start() 
		{
			var tickerSupported = false;
			TICKER_WIDTH = document.getElementById("TICKER").style.width;
			var img = "<img src=../Images/ticker_space.gif width="+TICKER_WIDTH+" height=0>";
	
			// Firefox
			if (navigator.userAgent.indexOf("Firefox")!=-1) {
				document.getElementById("TICKER").innerHTML = "<TABLE  cellspacing='0' cellpadding='0' width='100%'><TR><TD nowrap='nowrap'>"+img+"<SPAN style='"+TICKER_STYLE+"' ID='TICKER_BODY' width='100%'>&nbsp;</SPAN>"+img+"</TD></TR></TABLE>";
				tickerSupported = true;
			}
			// IE
			if (navigator.userAgent.indexOf("MSIE")!=-1 && navigator.userAgent.indexOf("Opera")==-1) {
				document.getElementById("TICKER").innerHTML = "<DIV nowrap='nowrap' style='width:100%;'>"+img+"<SPAN style='"+TICKER_STYLE+"' ID='TICKER_BODY' width='100%'></SPAN>"+img+"</DIV>";
				tickerSupported = true;
			}
			if(!tickerSupported) document.getElementById("TICKER").outerHTML = ""; else {
				document.getElementById("TICKER").scrollLeft = TICKER_RIGHTTOLEFT ? document.getElementById("TICKER").scrollWidth - document.getElementById("TICKER").offsetWidth : 0;
				document.getElementById("TICKER_BODY").innerHTML = TICKER_CONTENT;
				document.getElementById("TICKER").style.display="block";
				TICKER_tick();
			}
		}

		function TICKER_tick() 
		{
			if(!TICKER_PAUSED) document.getElementById("TICKER").scrollLeft += TICKER_SPEED * (TICKER_RIGHTTOLEFT ? -1 : 1);
			if(TICKER_RIGHTTOLEFT && document.getElementById("TICKER").scrollLeft <= 0) document.getElementById("TICKER").scrollLeft = document.getElementById("TICKER").scrollWidth - document.getElementById("TICKER").offsetWidth;
			if(!TICKER_RIGHTTOLEFT && document.getElementById("TICKER").scrollLeft >= document.getElementById("TICKER").scrollWidth - document.getElementById("TICKER").offsetWidth) document.getElementById("TICKER").scrollLeft = 0;
			if (TIMEOUTID != null)
			{
				window.clearTimeout(TIMEOUTID);
			}
			TIMEOUTID = window.setTimeout("TICKER_tick()", 30);
		}
	
		function LoadTickers()
		{
			//var tickerContent = document.mainTicker.tickerContent.value;
			var tickerContent = document.getElementById('tickerContent').value;
			arrayContent = tickerContent.split("~");
			colorCode = arrayContent[0];
			titleText = arrayContent[1];
			contentText1 = arrayContent[2];
			contentText2 = arrayContent[3];
			contentText3 = arrayContent[4];
			contentText4 = arrayContent[5];
			contentText5 = arrayContent[6];
			colorCodesub="BEDCFF";
			//var sTickerText = "<span style=\"background-color:" + colorCode + ";\"><font color=\"#FFFFFF\">&nbsp;<B>" + titleText + "</B>&nbsp;</font></span>&nbsp;&nbsp;" + contentText1 +" &nbsp;<span style=\"background-color:" + colorCodesub + ";\"><font color=\"#000000\">&nbsp;" + contentText2 + "&nbsp;</font></span>&nbsp;" + contentText3 +" &nbsp;<font color=\"RED\"><b>" + contentText4 + "</b></font>";
			var sTickerText = "<span style=\"background-color:" + colorCode + ";\"><font color=\"#FFFFFF\">&nbsp;<b>" + titleText + "</b>&nbsp;</font></span>&nbsp;&nbsp;" + contentText1 + "&nbsp;<span style=\"background-color:" + colorCodesub + ";\"><font color=\"#000000\">&nbsp;" + contentText2 + "&nbsp;</font><a href=\"" + contentText3 + "\" target=\"_blank\"><font style=\"font-size:20px;\" color=\"Green\">" + contentText3 + "</font></a>&nbsp;</span>&nbsp;" + contentText4 + "&nbsp;<a href=\"mailto:" + contentText5 + "\"><font style=\"font-size:20px;\" color=\"RED\"><b>" + contentText5 + "</b></font></a>"
			TICKER_PAUSED=true;
			document.getElementById("TICKER").innerHTML = sTickerText;				
			TICKER_CONTENT = sTickerText;
			TICKER_RIGHTTOLEFT = false;
			TICKER_SPEED = 2;
			TICKER_STYLE = "font-family:Tahoma; font-size:20px; color:#444444";
			TICKER_PAUSED = false;
			ticker_start();		
		}	

//-----------------------------------------------------------//


//-----------------------Menu---------------------------------//

		function topmenuMouseOver(menuID)
		{
			document.getElementById(menuID).className ="topmenuMO";
		}
		function topmenuMouseOut(menuID)
		{
			document.getElementById(menuID).className ="topmenu";
		}
		function topmenuClick(PageURL)
		{
			window.location.href = PageURL;
		}

//---------------------------Menu Ends---------------------------------//