    
	// Index It Image Slideshow script- By JavaScriptKit.com, and modify by WegeeDesign.com
	// For this and over 400+ free scripts, visit JavaScript Kit- http://www.javascriptkit.com/
	// This notice must stay intact for use
	
	var mylinktarget="" //specify optional link target
	var mylinkcolor="#666666" //specify default color of number links
	var mylinkcolorSelected="red" //specify color of selected links
	
	var imgborderwidth=0 //specify border of image slideshow
	
	/////Stop customizing here////////////////
	
	var preloadit=new Array()
	for (i=0;i<numberslide.length;i++){
	preloadit[i]=new Image()
	preloadit[i].src=numberslide[i][0]
	}
	
	var currentindex=""
	
	function changeslides(which){
	

	currentindex=(which=="initial")? 0 : parseInt(which)
	var mode=(which=="initial")? "initial" : ""
	var which = numberslide[which]
	toggleDiv('imagecontainer','statement')
	if (mode == "")
	{
		document.getElementById("imgplace").src = which[0];
		document.getElementById("caption").innerHTML = which[2]
		changecolors()	
	}
	
	}
	
	
	function createnumbers(){
	document.write('<a href="javascript:changeslides(0)"  style="color:'+mylinkcolorSelected+'"  >1</a> ')      /**/
	for (i=1,j=2; i< numberslide.length; i++,j++)
	document.write('<a href="javascript:changeslides(\''+i+'\')">'+j+'</a> ')
	}
	
	function changecolors(){
	var numberobj=document.getElementById("numberDiv")
	numberlinks=numberobj.getElementsByTagName("A")
	numberlinks[currentindex].style.color=mylinkcolorSelected
	for (i = 0; i <= numberslide.length; i++) {
		if(i != currentindex)
		numberlinks[i].style.color = mylinkcolor
	}
	}
	
	function goforward(){
	if (currentindex<numberslide.length-1)
	changeslides(currentindex+1)
	}
	
	function goback(){
	if (currentindex!=0)
	changeslides(currentindex-1)
	}
	
	function toggleDiv(dividVis,dividNoVis){
		document.getElementById(dividNoVis).style.display = 'none'
		document.getElementById(dividVis).style.display = 'block'
		if (dividVis == 'statement') {
			document.getElementById("imgplace").src = "images/loading.gif";
			document.getElementById("caption").style.visibility = 'hidden'
		}
		else {
			document.getElementById("caption").style.visibility = 'visible'
		}
    }
	

	
	
	