/* Ultimate Fade-In Slideshow 1.5 dynamicdrive.com */var Sfi=new Array();Sfi[0]="1";Sfi[1]="2";Sfi[2]="3";Sfi[3]="4";Sfi[4]="5";Sfi[5]="6";/*Sfi[3]="4";*/var Sfa=new Array();var Sfc=new Array();var Sdo=(document.getElementById);var Sie=document.all;function Sfs(Sti){this.delay=2000;this.degr=10;this.cimg=0;this.nimg=1;Sfa[Sfa.length]=this;this.ssi=Sfa.length-1;this.cbas="can"+this.ssi;this.ccan=this.cbas+"_0";this.Sti=Sti;this.pimg=new Array();for(p=0;p<Sti.length;p++){this.pimg[p]=new Image();this.pimg[p].src="images/ph"+Sti[p]+".jpg";}if(Sie&&Sdo||Sdo)document.write('<div id="Sms'+this.ssi+'" style="font-size:1px;line-height:1px;width:776px;height:470px;position:relative;overflow:hidden;float:right;"><div id="'+this.cbas+'_0" style="position:absolute;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;"></div><div id="'+this.cbas+'_1" style="position:absolute;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;"></div></div>');else document.write('<div><img name="Sds'+this.ssi+'" src="'+this.pimg[0].src+'" width="776" height="470" /></div>');if(Sie&&Sdo||Sdo)this.strt();else{this.cimg++;setInterval("Sfa["+this.ssi+"].rimg()",this.delay);}}function Sfp(obj){if(obj.degr<100){obj.degr+=3;if(obj.tobj.filters&&obj.tobj.filters[0]){if(typeof obj.tobj.filters[0].opacity=="number")obj.tobj.filters[0].opacity=obj.degr;else obj.tobj.style.filter="alpha(opacity="+obj.degr+")";}else if(obj.tobj.style.MozOpacity)obj.tobj.style.MozOpacity=obj.degr/101;else if(obj.tobj.style.KhtmlOpacity)obj.tobj.style.KhtmlOpacity=obj.degr/100;}else{clearInterval(Sfc[obj.ssi]);obj.ncan=(obj.ccan==obj.cbas+"_0")?obj.cbas+"_0":obj.cbas+"_1";obj.tobj=Sie?Sie[obj.ncan]:document.getElementById(obj.ncan);obj.psli(obj.tobj,obj.nimg);obj.nimg=(obj.nimg<obj.pimg.length-1)?obj.nimg+1:0;setTimeout("Sfa["+obj.ssi+"].rimg()",obj.delay);}}Sfs.prototype.psli=function(pobj,pind){pobj.innerHTML='<img src="'+this.pimg[pind].src+'" width="776" height="470" />';};Sfs.prototype.rimg=function(){if(Sie&&Sdo||Sdo){this.rset();var cobj=this.tobj=Sie? Sie[this.ccan] : document.getElementById(this.ccan);cobj.style.zIndex++;Sfc[this.ssi]=setInterval("Sfp(Sfa["+this.ssi+"])",50);this.ccan=(this.ccan==this.cbas+"_0")? this.cbas+"_1" : this.cbas+"_0";}else{var n4i=document.images['Sds'+this.ssi];n4i.src=this.pimg[this.cimg].src;}this.cimg=(this.cimg<this.pimg.length-1)?this.cimg+1:0;};Sfs.prototype.rset=function(){this.degr=10;var cobj=Sie?Sie[this.ccan]:document.getElementById(this.ccan);if(cobj.filters&&cobj.filters[0]){if(typeof cobj.filters[0].opacity=="number")cobj.filters(0).opacity=this.degr;else cobj.style.filter="alpha(opacity="+this.degr+")";}else if(cobj.style.MozOpacity)cobj.style.MozOpacity=this.degr/101;else if(cobj.style.KhtmlOpacity)cobj.style.KhtmlOpacity=obj.degr/100;};Sfs.prototype.strt=function(){var cobj=Sie?Sie[this.ccan]:document.getElementById(this.ccan);this.psli(cobj,this.cimg);this.rimg();};