//// KISÁGYAK /////////////

var fadeimageskitti=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimageskitti[0]=["images/kiskepek/kisagy-korberacs-kitti1.jpg", "images/nagykepek/kisagy-korberacs-kitti1.jpg", "_blank"]
fadeimageskitti[1]=["images/kiskepek/kisagy-korberacs-kitti2.jpg", "images/nagykepek/kisagy-korberacs-kitti2.jpg", "_blank"]

var fadeimagesgergo=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesgergo[0]=["images/kiskepek/kisagy-korberacs-gergo1.jpg", "images/nagykepek/kisagy-korberacs-gergo1.jpg", "_blank"]
fadeimagesgergo[1]=["images/kiskepek/kisagy-korberacs-gergo2.jpg", "images/nagykepek/kisagy-korberacs-gergo2.jpg", "_blank"]


var fadeimageseszter=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimageseszter[0]=["images/kiskepek/kisagy-korberacs-eszter1.jpg", "images/nagykepek/kisagy-korberacs-eszter1.jpg", "_blank"]
fadeimageseszter[1]=["images/kiskepek/kisagy-korberacs-eszter2.jpg", "images/nagykepek/kisagy-korberacs-eszter2.jpg", "_blank"]


var fadeimagesdavid=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesdavid[0]=["images/kiskepek/kisagy-korberacs-david1.jpg", "images/nagykepek/kisagy-korberacs-david1.jpg", "_blank"]
fadeimagesdavid[1]=["images/kiskepek/kisagy-korberacs-david2.jpg", "images/nagykepek/kisagy-korberacs-david2.jpg", "_blank"]
fadeimagesdavid[2]=["images/kiskepek/kisagy-korberacs-david3.jpg", "images/nagykepek/kisagy-korberacs-david3.jpg", "_blank"]
fadeimagesdavid[3]=["images/kiskepek/kisagy-korberacs-david4.jpg", "images/nagykepek/kisagy-korberacs-david4.jpg", "_blank"]

var fadeimagesvivien=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesvivien[0]=["images/kiskepek/kisagy-korberacs-vivien1.jpg", "images/nagykepek/kisagy-korberacs-vivien1.jpg", "_blank"]
fadeimagesvivien[1]=["images/kiskepek/kisagy-korberacs-vivien2.jpg", "images/nagykepek/kisagy-korberacs-vivien2.jpg", "_blank"]
fadeimagesvivien[2]=["images/kiskepek/kisagy-korberacs-vivien3.jpg", "images/nagykepek/kisagy-korberacs-vivien3.jpg", "_blank"]

var fadeimagesmartin=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesmartin[0]=["images/kiskepek/kisagy-zartvegu-martin1.jpg", "images/nagykepek/kisagy-zartvegu-martin1.jpg", "_blank"]
fadeimagesmartin[1]=["images/kiskepek/kisagy-zartvegu-martin2.jpg", "images/nagykepek/kisagy-zartvegu-martin2.jpg", "_blank"]


var fadeimagesclaudia=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesclaudia[0]=["images/kiskepek/kisagy-zartvegu-claudia1.jpg", "images/nagykepek/kisagy-zartvegu-claudia1.jpg", "_blank"]
fadeimagesclaudia[1]=["images/kiskepek/kisagy-zartvegu-claudia2.jpg", "images/nagykepek/kisagy-zartvegu-claudia2.jpg", "_blank"]

var fadeimagesati=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesati[0]=["images/kiskepek/kisagy-kombi-ati1.jpg", "images/nagykepek/kisagy-kombi-ati1.jpg", "_blank"]
fadeimagesati[1]=["images/kiskepek/kisagy-kombi-ati2.jpg", "images/nagykepek/kisagy-kombi-ati2.jpg", "_blank"]


var fadeimagesbogi=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesbogi[0]=["images/kiskepek/kisagy-kombi-bogi1.jpg", "images/nagykepek/kisagy-kombi-bogi1.jpg", "_blank"]
fadeimagesbogi[1]=["images/kiskepek/kisagy-kombi-bogi2.jpg", "images/nagykepek/kisagy-kombi-bogi2.jpg", "_blank"]

var fadeimagesdori=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesdori[0]=["images/kiskepek/kisagy-kombi-dori1.jpg", "images/nagykepek/kisagy-kombi-dori1.jpg", "_blank"]
fadeimagesdori[1]=["images/kiskepek/kisagy-kombi-dori2.jpg", "images/nagykepek/kisagy-kombi-dori2.jpg", "_blank"]

var fadeimagesreni=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesreni[0]=["images/kiskepek/kisagy-kombi-reni1.jpg", "images/nagykepek/kisagy-kombi-reni1.jpg", "_blank"]
fadeimagesreni[1]=["images/kiskepek/kisagy-kombi-reni2.jpg", "images/nagykepek/kisagy-kombi-reni2.jpg", "_blank"]


var fadeimageserik=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimageserik[0]=["images/kiskepek/kisagy-korberacs-erik1.jpg", "images/nagykepek/kisagy-korberacs-erik1.jpg", "_blank"]
fadeimageserik[1]=["images/kiskepek/kisagy-korberacs-erik2.jpg", "images/nagykepek/kisagy-korberacs-erik2.jpg", "_blank"]

var fadeimageslevente=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimageslevente[0]=["images/kiskepek/kisagy-korberacs-levente1.jpg", "images/nagykepek/kisagy-korberacs-levente1.jpg", "_blank"]
fadeimageslevente[1]=["images/kiskepek/kisagy-korberacs-levente2.jpg", "images/nagykepek/kisagy-korberacs-levente2.jpg", "_blank"]

var fadeimagesanna=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesanna[0]=["images/kiskepek/kisagy-korberacs-anna1.jpg", "images/nagykepek/kisagy-korberacs-anna1.jpg", "_blank"]
fadeimagesanna[1]=["images/kiskepek/kisagy-korberacs-anna2.jpg", "images/nagykepek/kisagy-korberacs-anna2.jpg", "_blank"]
  
var fadeimagessara=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagessara[0]=["images/kiskepek/kisagy-korberacs-sara1.jpg", "images/nagykepek/kisagy-korberacs-sara1.jpg", "_blank"]
fadeimagessara[1]=["images/kiskepek/kisagy-korberacs-sara2.jpg", "images/nagykepek/kisagy-korberacs-sara2.jpg", "_blank"]
  
var fadeimagesnora=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesnora[0]=["images/kiskepek/kisagy-korberacs-nora1.jpg", "images/nagykepek/kisagy-korberacs-nora1.jpg", "_blank"]
fadeimagesnora[1]=["images/kiskepek/kisagy-korberacs-nora2.jpg", "images/nagykepek/kisagy-korberacs-nora2.jpg", "_blank"]
  
var fadeimagesjazmin=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesjazmin[0]=["images/kiskepek/kisagy-korberacs-jazmin1.jpg", "images/nagykepek/kisagy-korberacs-jazmin1.jpg", "_blank"]
fadeimagesjazmin[1]=["images/kiskepek/kisagy-korberacs-jazmin2.jpg", "images/nagykepek/kisagy-korberacs-jazmin2.jpg", "_blank"]
  
var fadeimagesdorina=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesdorina[0]=["images/kiskepek/kisagy-korberacs-dorina1.jpg", "images/nagykepek/kisagy-korberacs-dorina.jpg", "_blank"]
fadeimagesdorina[1]=["images/kiskepek/kisagy-korberacs-dorina2.jpg", "images/nagykepek/kisagy-korberacs-dorina.jpg", "_blank"]
  
var fadeimagestunde=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagestunde[0]=["images/kiskepek/kisagy-zartvegu-tunde1.jpg", "images/nagykepek/kisagy-zartvegu-tunde1.jpg", "_blank"]
fadeimagestunde[1]=["images/kiskepek/kisagy-zartvegu-tunde2.jpg", "images/nagykepek/kisagy-zartvegu-tunde2.jpg", "_blank"]

var fadeimagesakos=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesakos[0]=["images/kiskepek/kisagy-atalakithato-akos1.jpg", "images/nagykepek/kisagy-atalakithato-akos1.jpg", "_blank"]
fadeimagesakos[1]=["images/kiskepek/kisagy-atalakithato-akos2.jpg", "images/nagykepek/kisagy-atalakithato-akos2.jpg", "_blank"]

var fadeimagesaniko=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesaniko[0]=["images/kiskepek/kisagy-atalakithato-aniko1.jpg", "images/nagykepek/kisagy-atalakithato-aniko1.jpg", "_blank"]
fadeimagesaniko[1]=["images/kiskepek/kisagy-atalakithato-aniko2.jpg", "images/nagykepek/kisagy-atalakithato-aniko2.jpg", "_blank"]

var fadeimagesivett=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesivett[0]=["images/kiskepek/kisagy-atalakithato-ivett1.jpg", "images/nagykepek/kisagy-atalakithato-ivett1.jpg", "_blank"]
fadeimagesivett[1]=["images/kiskepek/kisagy-atalakithato-ivett2.jpg", "images/nagykepek/kisagy-atalakithato-ivett2.jpg", "_blank"]
fadeimagesivett[2]=["images/kiskepek/kisagy-atalakithato-ivett3.jpg", "images/nagykepek/kisagy-atalakithato-ivett3.jpg", "_blank"]




//// JÁRÓKÁK /////////////

var fadeimagesaronka=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesaronka[0]=["images/kiskepek/jaroka-100-aronka1.jpg", "images/nagykepek/jaroka-100-aronka1.jpg", "_blank"]
fadeimagesaronka[1]=["images/kiskepek/jaroka-100-aronka2.jpg", "images/nagykepek/jaroka-100-aronka2.jpg", "_blank"]

var fadeimagesbianka=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesbianka[0]=["images/kiskepek/jaroka-100g-bianka1.jpg", "images/nagykepek/jaroka-100g-bianka1.jpg", "_blank"]
fadeimagesbianka[1]=["images/kiskepek/jaroka-100g-bianka2.jpg", "images/nagykepek/jaroka-100g-bianka2.jpg", "_blank"]

var fadeimagesgabriella=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesgabriella[0]=["images/kiskepek/jaroka-100ge-gabriella1.jpg", "images/nagykepek/jaroka-100ge-gabriella1.jpg", "_blank"]
fadeimagesgabriella[1]=["images/kiskepek/jaroka-100ge-gabriella2.jpg", "images/nagykepek/jaroka-100ge-gabriella2.jpg", "_blank"]

var fadeimagesalexandra=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesalexandra[0]=["images/kiskepek/jaroka-120-alexandra1.jpg", "images/nagykepek/jaroka-120-alexandra1.jpg", "_blank"]
fadeimagesalexandra[1]=["images/kiskepek/jaroka-120-alexandra2.jpg", "images/nagykepek/jaroka-120-alexandra2.jpg", "_blank"]

var fadeimagesemese=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesemese[0]=["images/kiskepek/jaroka-100geo-emese1.jpg", "images/nagykepek/jaroka-100geo-emese1.jpg", "_blank"]
fadeimagesemese[1]=["images/kiskepek/jaroka-100geo-emese2.jpg", "images/nagykepek/jaroka-100geo-emese2.jpg", "_blank"]

var fadeimagescsilla=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagescsilla[0]=["images/kiskepek/jaroka-120ges-csilla1.jpg", "images/nagykepek/jaroka-120ges-csilla1.jpg", "_blank"]

var fadeimagesimola=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesimola[0]=["images/kiskepek/jaroka-hatszog-imola.jpg", "images/nagykepek/jaroka-hatszog-imola.jpg", "_blank"]

var fadeimagesbence=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesbence[0]=["images/kiskepek/jaroka-nyolcszog-bence1.jpg", "images/nagykepek/jaroka-nyolcszog-bence1.jpg", "_blank"]



//// PELENKÁZÓK /////////////

var fadeimagesmonika=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesmonika[0]=["images/kiskepek/pelenkazo-monika1.jpg", "images/nagykepek/pelenkazo-monika1.jpg", "_blank"]
fadeimagesmonika[1]=["images/kiskepek/pelenkazo-monika2.jpg", "images/nagykepek/pelenkazo-monika2.jpg", "_blank"]

var fadeimagesgyongyi=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesgyongyi[0]=["images/kiskepek/pelenkazo-gyongyi1.jpg", "images/nagykepek/pelenkazo-70-gyongyi1.jpg", "_blank"]
fadeimagesgyongyi[1]=["images/kiskepek/pelenkazo-gyongyi2.jpg", "images/nagykepek/pelenkazo-70-gyongyi2.jpg", "_blank"]

var fadeimagessabinka=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagessabinka[0]=["images/kiskepek/pelenkazo-sabinka1.jpg", "images/nagykepek/pelenkazo-sabinka1.jpg", "_blank"]
fadeimagessabinka[1]=["images/kiskepek/pelenkazo-sabinka2.jpg", "images/nagykepek/pelenkazo-sabinka2.jpg", "_blank"]
fadeimagessabinka[2]=["images/kiskepek/pelenkazo-sabinka3.jpg", "images/nagykepek/pelenkazo-sabinka3.jpg", "_blank"]

var fadeimagesjanka=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesjanka[0]=["images/kiskepek/pelenkazo-90-janka1.jpg", "images/nagykepek/pelenkazo-90-janka1.jpg", "_blank"]
fadeimagesjanka[1]=["images/kiskepek/pelenkazo-90-janka2.jpg", "images/nagykepek/pelenkazo-90-janka2.jpg", "_blank"]

var fadeimagespetra=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagespetra[0]=["images/kiskepek/pelenkazo-90-petra1.jpg", "images/nagykepek/pelenkazo-90-petra1.jpg", "_blank"]

var fadeimagesreka=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesreka[0]=["images/kiskepek/pelenkazo-90-reka1.jpg", "images/nagykepek/pelenkazo-90-reka1.jpg", "_blank"]



//// ETETŐSZÉKEK /////////////
 
var fadeimageseniko=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimageseniko[0]=["images/kiskepek/etetoszek-eniko1.jpg", "images/nagykepek/etetoszek-eniko1.jpg", "_blank"]
fadeimageseniko[1]=["images/kiskepek/etetoszek-eniko2.jpg", "images/nagykepek/etetoszek-eniko2.jpg", "_blank"]
fadeimageseniko[2]=["images/kiskepek/etetoszek-eniko3.jpg", "images/nagykepek/etetoszek-eniko3.jpg", "_blank"]
fadeimageseniko[3]=["images/kiskepek/etetoszek-eniko4.jpg", "images/nagykepek/etetoszek-eniko4.jpg", "_blank"]




//// BÚTOROK /////////////

var fadeimagesrobi=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesrobi[0]=["images/kiskepek/butor-robi1.jpg", "images/nagykepek/butor-robi.jpg", "_blank"]
fadeimagesrobi[1]=["images/kiskepek/butor-robi2.jpg", "images/nagykepek/butor-robi.jpg", "_blank"]
fadeimagesrobi[2]=["images/kiskepek/butor-alex3.jpg", "images/nagykepek/butor-robi.jpg", "_blank"]

var fadeimagesalex=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesalex[0]=["images/kiskepek/butor-alex1.jpg", "images/nagykepek/butor-alex.jpg", "_blank"]
fadeimagesalex[1]=["images/kiskepek/butor-alex2.jpg", "images/nagykepek/butor-alex.jpg", "_blank"]
fadeimagesalex[2]=["images/kiskepek/butor-alex3.jpg", "images/nagykepek/butor-alex.jpg", "_blank"]

var fadeimagesrita=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesrita[0]=["images/kiskepek/butor-rita1.jpg", "images/nagykepek/butor-rita.jpg", "_blank"]
fadeimagesrita[1]=["images/kiskepek/butor-rita2.jpg", "images/nagykepek/butor-rita.jpg", "_blank"]
fadeimagesrita[2]=["images/kiskepek/butor-alex3.jpg", "images/nagykepek/butor-rita.jpg", "_blank"]

var fadeimagesbarni=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesbarni[0]=["images/kiskepek/butor-barni1.jpg", "images/nagykepek/butor-barni.jpg", "_blank"]
fadeimagesbarni[1]=["images/kiskepek/butor-barni2.jpg", "images/nagykepek/butor-barni.jpg", "_blank"]


var fadeimageszsuzsi=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimageszsuzsi[0]=["images/kiskepek/butor-zsuzsi1.jpg", "images/nagykepek/butor-zsuzsi.jpg", "_blank"]
fadeimageszsuzsi[1]=["images/kiskepek/butor-zsuzsi2.jpg", "images/nagykepek/butor-zsuzsi.jpg", "_blank"]
fadeimageszsuzsi[2]=["images/kiskepek/butor-alex3.jpg", "images/nagykepek/butor-zsuzsi.jpg", "_blank"]

var fadeimageszita=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimageszita[0]=["images/kiskepek/butor_zita1.jpg", "images/nagykepek/butor_zita1.jpg", "_blank"]

var fadeimagesdani=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesdani[0]=["images/kiskepek/butor_dani1.jpg", "images/nagykepek/butor_dani1.jpg", "_blank"]



//// KIEGÉSZÍTŐK /////////////

var fadeimageskicsi=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimageskicsi[0]=["images/kiskepek/pelenkazo-kicsi.jpg", "images/nagykepek/pelenkazo-kicsi.jpg", "_blank"]
fadeimageskicsi[1]=["images/kiskepek/pelenkazo-nagy.jpg", "images/nagykepek/pelenkazo-nagy.jpg", "_blank"]

var fadeimagesnagy=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesnagy[0]=["images/kiskepek/pelenkazo-kicsi.jpg", "images/nagykepek/pelenkazo-kicsi.jpg", "_blank"]
fadeimagesnagy[1]=["images/kiskepek/pelenkazo-nagy.jpg", "images/nagykepek/pelenkazo-nagy.jpg", "_blank"]


var fadeimagesgreti=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimagesgreti[0]=["images/kiskepek/kiegeszito-polc-greti1.jpg", "images/nagykepek/kiegeszito-polc-greti1.jpg", "_blank"]



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<theimages.length;p++){
this.postimages[p]=new Image()
this.postimages[p].src=theimages[p][0]
}
 
var fadewidth=fadewidth+this.imageborder*2
var fadeheight=fadeheight+this.imageborder*2
 
if (iebrowser&&dom||dom) //if IE5+ or modern browsers (ie: Firefox)
document.write('<div id="master'+this.slideshowid+'" style="position:relative;width:'+fadewidth+'px;height:'+fadeheight+'px;overflow:hidden;"><div id="'+this.canvasbase+'_0" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;-khtml-opacity:10;background-color:'+fadebgcolor+'"></div><div id="'+this.canvasbase+'_1" style="position:absolute;width:'+fadewidth+'px;height:'+fadeheight+'px;top:0;left:0;filter:progid:DXImageTransform.Microsoft.alpha(opacity=10);-moz-opacity:10;background-color:'+fadebgcolor+'"></div></div>')
else
document.write('<div><img name="defaultslide'+this.slideshowid+'" src="'+this.postimages[0].src+'"></div>')
 
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{
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<obj.postimages.length-1)? obj.nextimageindex+1 : 0
setTimeout("fadearray["+obj.slideshowid+"].rotateimage()", obj.delay)
}
}
 
fadeshow.prototype.populateslide=function(picobj, picindex){
var slideHTML=""
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML='<a href="'+this.theimages[picindex][1]+'" target="'+this.theimages[picindex][2]+'">'
slideHTML+='<img src="'+this.postimages[picindex].src+'" border="'+this.imageborder+'px">'
if (this.theimages[picindex][1]!="") //if associated link exists for image
slideHTML+='</a>'
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<this.postimages.length-1)? this.curimageindex+1 : 0
}
 
fadeshow.prototype.resetit=function(){
this.degree=10
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
if (crossobj.filters&&crossobj.filters[0]){
if (typeof crossobj.filters[0].opacity=="number") //if IE6+
crossobj.filters(0).opacity=this.degree
else //else if IE5.5-
crossobj.style.filter="alpha(opacity="+this.degree+")"
}
else if (crossobj.style.MozOpacity)
crossobj.style.MozOpacity=this.degree/101
else if (crossobj.style.KhtmlOpacity)
crossobj.style.KhtmlOpacity=obj.degree/100
}
 
 
fadeshow.prototype.startit=function(){
var crossobj=iebrowser? iebrowser[this.curcanvas] : document.getElementById(this.curcanvas)
this.populateslide(crossobj, this.curimageindex)
if (this.pausecheck==1){ //IF SLIDESHOW SHOULD PAUSE ONMOUSEOVER
var cacheobj=this
var crossobjcontainer=iebrowser? iebrowser["master"+this.slideshowid] : document.getElementById("master"+this.slideshowid)
crossobjcontainer.onmouseover=function(){cacheobj.mouseovercheck=1}
crossobjcontainer.onmouseout=function(){cacheobj.mouseovercheck=0}
}
this.rotateimage()
}

