var slidewidth="145px" //set to width of LARGEST image in your slideshow
			var slideheight="140px" //set to height of LARGEST iamge in your slideshow
			var slidecycles="continous" //number of cycles before slideshow stops (ie: "2" or "continous")
			var randomorder="no" //randomize the order in which images are displayed? "yes" or "no"
			var preloadimages="yes" //preload images? "yes" or "no"
			var slidebgcolor=''
			
			
			
			//configure the below variable to determine the delay between image rotations (in miliseconds)
			var slidedelay=5000
			
			////Do not edit pass this line////////////////
			
			var ie=document.all
			var dom=document.getElementById
			var curcycle=0
			/*
				if (preloadimages=="yes"){
				for (i=0;i<myimage.length;i++){
				var cacheimage=new Image()
				cacheimage.src=myimage[i][0]
				}
			for (i=0;i<name.length;i++){
				var cacheimage=new Image()
				cacheimage.src=name[i][0]
				}
				for (i=0;i<quotes.length;i++){
				var cacheimage=new Image()
				cacheimage.src=quotes[i][0]
				}
			
			*/
			if (preloadimages=="yes"){
			for (i=0;i<myimage.length;i++){
			var cacheimage=new Image()
			cacheimage.src=myimage[i][0]
			}
			}
			
			var currentslide=0
			
			function randomize(targetarray){
			myimageCopy=new Array()
			var the_one
			var z=0
			while (z<targetarray.length){
			the_one=Math.floor(Math.random()*targetarray.length)
			if (targetarray[the_one]!="_selected!"){
			myimageCopy[z]=targetarray[the_one]
			targetarray[the_one]="_selected!"
			z++
			}
			}
			}
			
			if (randomorder=="yes")
			randomize(myimage)
			else
			myimageCopy=myimage
			
			function rotateimages(){
			curcycle=(currentslide==0)? curcycle+1 : curcycle
			ultcontainer='<table  width="145"  ><tr><td height="150" valign="top">'
			if (myimageCopy[currentslide][1]!="")
			
			ultcontainer+=myimageCopy[currentslide][0]
			ultcontainer+='</td></tr></table>'
			
			if (ie||dom)
			crossrotateobj.innerHTML=ultcontainer
			if (currentslide==myimage.length-1) currentslide=0
			else currentslide++
			if (curcycle==parseInt(slidecycles) && currentslide==0)
			return
			setTimeout("rotateimages()",slidedelay)
			}
			
			//if (ie||dom)
			//document.write('<div id="slidedom" align="center" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')
			
			function start_slider(){
			crossrotateobj=dom? document.getElementById("newsline") : document.all.newsline
			rotateimages()
			}
			
			if (ie||dom)
window.onload=start_slider


