/***********************************************
				* DHTML slideshow script-  © Dynamic Drive DHTML code library (www.dynamicdrive.com)
				* This notice must stay intact for legal use
				* Visit http://www.dynamicdrive.com/ for full source code
				***********************************************/
				
				var photos=new Array()
				var photoslink=new Array()
				var which=0
				
				//define images. You can have as many as you want:
				photos[0]="images/gallery/1.jpg"
				photos[1]="images/gallery/2.jpg"
				photos[2]="images/gallery/3.jpg"
				photos[3]="images/gallery/4.jpg"
				photos[4]="images/gallery/5.jpg"
				photos[5]="images/gallery/6.jpg"
				photos[6]="images/gallery/7.jpg"
				photos[7]="images/gallery/8.jpg"
				photos[8]="images/gallery/9.jpg"
				photos[9]="images/gallery/10.jpg"
				photos[10]="images/gallery/11.jpg"
				photos[11]="images/gallery/12.jpg"
				photos[12]="images/gallery/13.jpg"
				photos[13]="images/gallery/14.jpg"
				photos[14]="images/gallery/15.jpg"
				photos[15]="images/gallery/16.jpg"
				photos[16]="images/gallery/17.jpg"
				photos[17]="images/gallery/18.jpg"
				photos[18]="images/gallery/19.jpg"
				photos[19]="images/gallery/20.jpg"
				photos[20]="images/gallery/21.jpg"
				photos[21]="images/gallery/22.jpg"
				photos[22]="images/gallery/23.jpg"
				photos[23]="images/gallery/24.jpg"
				photos[24]="images/gallery/25.jpg"
				photos[25]="images/gallery/26.jpg"
				photos[26]="images/gallery/27.jpg"
				photos[27]="images/gallery/28.jpg"
				photos[28]="images/gallery/29.jpg"
				photos[29]="images/gallery/30.jpg"
				photos[30]="images/gallery/31.jpg"
				photos[31]="images/gallery/32.jpg"
				photos[32]="images/gallery/33.jpg"
				photos[33]="images/gallery/34.jpg"
			
	
				
				//Specify whether images should be linked or not (1=linked)
				var linkornot=0
				
				//Set corresponding URLs for above images. Define ONLY if variable linkornot equals "1"
							
				
				
				var preloadedimages=new Array()
				for (i=0;i<photos.length;i++){
				preloadedimages[i]=new Image()
				preloadedimages[i].src=photos[i]
				}
				
				
				function applyeffect(){
				if (document.all && photoslider.filters){
				photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
				photoslider.filters.revealTrans.stop()
				photoslider.filters.revealTrans.apply()
				}
				}
				
				
				
				function playeffect(){
				if (document.all && photoslider.filters)
				photoslider.filters.revealTrans.play()
				}
				
				function keeptrack(){
				window.status="Image "+(which+1)+" of "+photos.length
				}
				
				
				function backward(){
				if (which>0){
				which--
				applyeffect()
				document.images.photoslider.src=photos[which]
				playeffect()
				keeptrack()
				}
				}
				
				function forward(){
				if (which<photos.length-1){
				which++
				applyeffect()
				document.images.photoslider.src=photos[which]
				playeffect()
				keeptrack()
				}
				}
				
				function transport(){
				window.open(photoslink[which],"IronJewels","")
				}
				
				
