function high(which2){ theobject=which2 highlighting=setInterval("highlightit(theobject)",30) } function high2(which2){ theobject=which2 highlighting=setInterval("highlightit2(theobject)",30) } function low(which2){ clearInterval(highlighting) which2.filters.alpha.opacity=30 } function highlightit(cur2){ if (cur2.filters.alpha.opacity<100) cur2.filters.alpha.opacity+=10 else if (window.highlighting) clearInterval(highlighting) } function highlightit2(cur2){ if (cur2.filters.alpha.opacity<70) cur2.filters.alpha.opacity+=15 else if (window.highlighting) clearInterval(highlighting) } function reapply(){ setTimeout("slideit()",2500) return true } window.onerror=reapply var playing=1 function setstep(num) { step=num; slide.filters.blendTrans.apply() document.images.slide.src=eval("image"+step+".src") if (document.all) slide.filters.blendTrans.play() whichimage=step playing=0; } var image1=new Image() image1.src="images/slide-1_l.jpg" var image2=new Image() image2.src="images/slide-2_l.jpg" var image3=new Image() image3.src="images/slide-3_l.jpg" var image4=new Image() image4.src="images/slide-4_l.jpg" var image5=new Image() image5.src="images/slide-5_l.jpg" var image6=new Image() image6.src="images/slide-6_l.jpg" var image7=new Image() image7.src="images/slide-7_l.jpg" var number_of_images=7 var speed=2 var step=1 var whichimage=1 var nowspic=small1 function slideit(){ if (!playing) return if (!document.images) return if (document.all) slide.filters.blendTrans.apply() document.images.slide.src=eval("image"+step+".src") nowspic=eval("small"+step) //high(nowspic) if (document.all) slide.filters.blendTrans.play() whichimage=step if (step < number_of_images) step++ else step=1 if (document.all) setTimeout("slideit()",speed*1000+3000) else setTimeout("slideit()",speed*1000) } function slidelink(){ if (whichimage==1) window.location="join.html#gallery" else if (whichimage==2) window.location="join.html#gallery" else if (whichimage==3) window.location="join.html#gallery" else if (whichimage==4) window.location="join.html#gallery" else if (whichimage==5) window.location="join.html#gallery" else if (whichimage==6) window.location="join.html#gallery" else if (whichimage==7) window.location="join.html#gallery" }