/*********************************************** * 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 fadeimages=new Array() //SET IMAGE PATHS. Extend or contract array as needed fadeimages[0]=["/web/images/brc.JPG", "http://www.brcromania.ro","_new"] //plain image syntax fadeimages[1]=["/web/images/ablon.JPG", "http://www.ablon-group.com", "_new"] //image with link syntax fadeimages[2]=["/web/images/adama.JPG", "http://www.adama.ro", ""] //image with link and target 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]=["/web/images/autoker.JPG", "http://www.autoker.hu", "_new"] //plain image syntax fadeimages2[1]=["/web/images/p_anglosaxon.jpg", "http://www.anglo-saxon.co.il", "_new"] //plain image syntax fadeimages2[2]=["/web/images/elephant.PNG", "http://www.www.elephant.hu", "_new"] //image with link and target syntax var fadeimages3=new Array() //2nd array set example. Remove or add more sets as needed. //SET IMAGE PATHS. Extend or contract array as needed fadeimages3[0]=["/web/images/layetana.JPG", "http://layetana.com", "_new"] //plain image syntax fadeimages3[1]=["/web/images/engel.JPG", "http://engel-ee.com", "_new"] //image with link syntax fadeimages3[2]=["/web/images/asbud.JPG", "http://aasbud.com", "_new"] //image with link and target syntax fadeimages3[3]=["/web/images/onealinc.JPG", "http://www.onealinc.co.il", "_new"] //image with link and target syntax var fadeimages4=new Array() //2nd array set example. Remove or add more sets as needed. //SET IMAGE PATHS. Extend or contract array as needed fadeimages4[0]=["/web/images/ober_haus.JPG", "http://oberhaus.pl", "_new"] //plain image syntax fadeimages4[1]=["/web/images/regatta.JPG", "http://www.regatta.ro","_new"] //image with link syntax fadeimages4[2]=["/web/images/maexpa.JPG", "http://www.maexpa.pl", "_new"] //image with link and target syntax fadeimages4[3]=["/web/images/m-invest.JPG", "www.m-invest.pl ","_new"] //image with link var fadeimages5=new Array() //2nd array set example. Remove or add more sets as needed. //SET IMAGE PATHS. Extend or contract array as needed fadeimages5[0]=["/web/images/conarg.JPG", "http://www.conarg.ro", "_new"] //plain image syntax fadeimages5[1]=["/web/images/p_delek.jpg", "http://www.delek-nadlan.co.il/sites/index.asp?langid=1&id=18","_new"] fadeimages5[2]=["/web/images/p_minrav.jpg", "http://www.minrav.co.il/", "_new"] //image with link and target syntax fadeimages5[3]=["/web/images/OpalProperty.JPG", "http://www.uscheiblera.pl/pl/aktualnosci.asp?ids=36","_new"] //image with link var fadeimages6=new Array() //2nd array set example. Remove or add more sets as needed. //SET IMAGE PATHS. Extend or contract array as needed fadeimages6[0]=["/web/images/p_kbs.gif", "http://www.kbs.org.il", "_new"] //plain image syntax fadeimages6[1]=["/web/images/p_remax.jpg", "http://www.remax-israel.com", "_new"] //image with link syntax fadeimages6[2]=["/web/images/p_azorim.jpg", "http://azorim.co.il", "_new"] //image with link and target syntax fadeimages6[3]=["/web/images/FutureGroup.JPG", "http://future-group.com.ro/Default.aspx","_new"] //image with link var fadeimages7=new Array() //2nd array set example. Remove or add more sets as needed. //SET IMAGE PATHS. Extend or contract array as needed fadeimages7[0]=["/web/images/homecenter.JPG", "http://www.home-center.hu", "_new"] //image with link syntax fadeimages7[1]=["/web/images/p_sweethome.jpg", "http://sweet-home.co.il", "_new"] //image with link syntax fadeimages7[2]=["/web/images/trigranit.JPG", "http://www.trigranit.com ","_new"] //image with link syntax fadeimages7[3]=["/web/images/greenDevelopment.JPG", "http://www.loftydegirarda.eu/index.php?p=2&sp=1&l=en","_new"] //image with link var fadeimages8=new Array() //2nd array set example. Remove or add more sets as needed. //SET IMAGE PATHS. Extend or contract array as needed fadeimages8[0]=["/web/images/marvipol.JPG", "http://www.marvipol.pl/ ","_new"] //image with link syntax fadeimages8[1]=["/web/images/ocif.JPG", "http://www.ocifgroup.com", "_new"] //image with link syntax fadeimages8[2]=["/web/images/mill-yon.JPG", "http://www.mill-yon.pl/", "_new"] //image with link syntax fadeimages8[3]=["/web/images/century.JPG", "http://www.century21-russia.com","_new"] //image with link syntax var fadebgcolor="white" ////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=10 //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' slideHTML+='' if (this.theimages[picindex][1]!="") //if associated link exists for image slideHTML+='' picobj.innerHTML=slideHTML } fadeshow.prototype.rotateimage=function(){ if (this.pausecheck==1) //if pause onMouseover enabled, cache object var cacheobj=this if (this.mouseovercheck==1) setTimeout(function(){cacheobj.rotateimage()}, 100) else if (iebrowser&&dom||dom){ this.resetit() var crossobj=this.tempobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas) crossobj.style.zIndex++ fadeclear[this.slideshowid]=setInterval("fadepic(fadearray["+this.slideshowid+"])",50) this.curcanvas=(this.curcanvas==this.canvasbase+"_0")? this.canvasbase+"_1" : this.canvasbase+"_0" } else{ var ns4imgobj=document.images['defaultslide'+this.slideshowid] ns4imgobj.src=this.postimages[this.curimageindex].src } this.curimageindex=(this.curimageindex