var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); /*********************************************** * Ultimate Fade-In Slideshow (v1.51): © Dynamic Drive (http://www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for this script and 100s more. ***********************************************/ var silchester=new Array() //SET IMAGE PATHS. Extend or contract array as needed silchester[0]=["img/slideshow/1.jpg", "", ""] //plain image syntax silchester[1]=["img/slideshow/2.jpg", "", ""] //plain image syntax silchester[2]=["img/slideshow/3.jpg", "", ""] //plain image syntax silchester[3]=["img/slideshow/4.jpg", "", ""] //plain image syntax silchester[4]=["img/slideshow/5.jpg", "", ""] //plain image syntax silchester[5]=["img/slideshow/6.jpg", "", ""] //plain image syntax silchester[6]=["img/slideshow/7.jpg", "", ""] //plain image syntax silchester[7]=["img/slideshow/8.jpg", "", ""] //plain image syntax silchester[8]=["img/slideshow/9.jpg", "", ""] //plain image syntax silchester[9]=["img/slideshow/10.jpg", "", ""] //plain image syntax silchester[10]=["img/slideshow/11.jpg", "", ""] //plain image syntax silchester[11]=["img/slideshow/12.jpg", "", ""] //plain image syntax var silchester1=new Array() //SET IMAGE PATHS. Extend or contract array as needed silchester1[0]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-1.jpg", "", ""] //plain image syntax silchester1[1]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-2.jpg", "", ""] //plain image syntax silchester1[2]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-3.jpg", "", ""] //plain image syntax silchester1[3]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-4.jpg", "", ""] //plain image syntax silchester1[4]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-5.jpg", "", ""] //plain image syntax silchester1[5]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-6.jpg", "", ""] //plain image syntax silchester1[6]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-7.jpg", "", ""] //plain image syntax silchester1[7]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-8.jpg", "", ""] //plain image syntax silchester1[8]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-9.jpg", "", ""] //plain image syntax silchester1[9]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-10.jpg", "", ""] //plain image syntax silchester1[10]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-11.jpg", "", ""] //plain image syntax silchester1[11]=["http://www.bijouweddingvenues.co.uk/img/botleys-mansion/botleys-mansion-12.jpg", "", ""] //plain image syntax var foodandwine=new Array() //SET IMAGE PATHS. Extend or contract array as needed foodandwine[0]=["img/food-and-wine/fig-and-serrano-ham.jpg", "", "Dutch Apple Tart"] //plain image syntax foodandwine[1]=["img/food-and-wine/filo-parcel-bacon-and-brie.jpg", "", "Figs wrapped in Serrano ham"] //plain image syntax foodandwine[2]=["img/food-and-wine/scallops-black-pudding-pea-puree.jpg", "", "Moneybag filo parcels with bacon and brie"] //plain image syntax foodandwine[3]=["img/food-and-wine/fillet-of-beef-and-potato-rosti.jpg", "", "Scallops, black pudding and pea puree"] //plain image syntax foodandwine[4]=["img/food-and-wine/smoked-chicken-and-mango-salad.jpg", "", "Fillet of beef on potato rosti"] //plain image syntax foodandwine[5]=["img/food-and-wine/pannacotta.jpg", "", "Smoked chicken and mango salad"] //plain image syntax foodandwine[6]=["img/food-and-wine/dutch-apple-tart.jpg", "", "Pannacotta"] //plain image syntax var fadeimages2=new Array() //2nd array set example. Remove or add more sets as needed. //SET IMAGE PATHS. Extend or contract array as needed fadeimages2[0]=["photo1.jpg", "", ""] //plain image syntax fadeimages2[1]=["photo2.jpg", "http://www.cssdrive.com", ""] //image with link syntax fadeimages2[2]=["photo3.jpg", "http://www.javascriptkit.com", "_new"] //image with link and target syntax var fadebgcolor="#fff" ////NO need to edit beyond here///////////// var fadearray=new Array() //array to cache fadeshow instances var fadeclear=new Array() //array to cache corresponding clearinterval pointers var dom=(document.getElementById) //modern dom browsers var iebrowser=document.all function fadeshow(theimages, fadewidth, fadeheight, borderwidth, delay, pause, displayorder){ this.pausecheck=pause this.mouseovercheck=0 this.delay=delay this.degree=1 //initial opacity degree (10%) this.curimageindex=0 this.nextimageindex=1 fadearray[fadearray.length]=this this.slideshowid=fadearray.length-1 this.canvasbase="canvas"+this.slideshowid this.curcanvas=this.canvasbase+"_0" if (typeof displayorder!="undefined") theimages.sort(function() {return 0.5 - Math.random();}) //thanks to Mike (aka Mwinter) :) this.theimages=theimages this.imageborder=parseInt(borderwidth) this.postimages=new Array() //preload images for (p=0;p
') else document.write('
') if (iebrowser&&dom||dom) //if IE5+ or modern browsers such as Firefox this.startit() else{ this.curimageindex++ setInterval("fadearray["+this.slideshowid+"].rotateimage()", this.delay) } } function fadepic(obj){ if (obj.degree<100){ obj.degree+=10 if (obj.tempobj.filters&&obj.tempobj.filters[0]){ if (typeof obj.tempobj.filters[0].opacity=="number") //if IE6+ obj.tempobj.filters[0].opacity=obj.degree else //else if IE5.5- obj.tempobj.style.filter="alpha(opacity="+obj.degree+")" } else if (obj.tempobj.style.MozOpacity) obj.tempobj.style.MozOpacity=obj.degree/101 else if (obj.tempobj.style.KhtmlOpacity) obj.tempobj.style.KhtmlOpacity=obj.degree/100 else if (obj.tempobj.style.opacity&&!obj.tempobj.filters) obj.tempobj.style.opacity=obj.degree/101 } else{ clearInterval(fadeclear[obj.slideshowid]) obj.nextcanvas=(obj.curcanvas==obj.canvasbase+"_0")? obj.canvasbase+"_0" : obj.canvasbase+"_1" obj.tempobj=iebrowser? iebrowser[obj.nextcanvas] : document.getElementById(obj.nextcanvas) obj.populateslide(obj.tempobj, obj.nextimageindex) obj.nextimageindex=(obj.nextimageindex