var fadeimages=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages[0]=["brightbutterfly.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //plain image syntax
fadeimages[1]=["bubbles.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //image with link syntax
fadeimages[2]=["dreamteddy.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //image with link and target syntax
fadeimages[3]=["lilhiway.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //plain image syntax
fadeimages[4]=["zoofari.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //image with link syntax
fadeimages[5]=["petals.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //image with link and target syntax 

var fadeimages2=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages2[0]=["amani_bedsitter_thumbth.jpg", "http://www.bubsngrubs.com.au/amani_bedsitter.html", ""] //plain image syntax
fadeimages2[1]=["amanibedsitter2th.jpg", "http://www.bubsngrubs.com.au/amani_bedsitter.html", ""] //image with link syntax

var fadeimages3=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages3[0]=["quicksmart-graffiti-low.jpg", "http://www.bubsngrubs.com.au/stroller.html", ""] //plain image syntax
fadeimages3[1]=["Tuscany-ct-wal.jpg", "http://www.bubsngrubs.com.au/cotsandbeds.html", ""] //image with link syntax
fadeimages3[2]=["Rockstar-01.jpg", "http://www.bubsngrubs.com.au/stroller.html", ""] //plain image syntax
fadeimages3[3]=["Breathe-Eze-Mattres.jpg", "http://www.bubsngrubs.com.au/cotsandbeds.html", ""] //image with link syntax
fadeimages3[4]=["Bubs_Grubs_Pic4b.jpg", "http://www.bubsngrubs.com.au", ""] //image with link syntax
fadeimages3[5]=["Disneyswing1.jpg", "http://www.bubsngrubs.com.au", ""] //image with link syntax
fadeimages3[6]=["Tuscany-Walnut.jpg", "http://www.bubsngrubs.com.au/cotsandbeds.html", ""] //image with link syntax

var fadeimages4=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages4[0]=["brightbutterfly_resize.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //plain image syntax
fadeimages4[1]=["bubbles_resize.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //image with link syntax
fadeimages4[2]=["dreamteddy_resize.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //image with link and target syntax
fadeimages4[3]=["lilhiway_resize.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //plain image syntax
fadeimages4[4]=["zoofari_resize.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //image with link syntax
fadeimages4[5]=["petals_resize.jpg", "http://www.bubsngrubs.com.au/lambs_ivy.html", "Lambs &amp; Ivy"] //image with link and target syntax 

var fadeimages5=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages5[0]=["boys100packth.jpg", "http://www.bubsngrubs.com.au/kidsclothingpacks.html", ""] //plain image syntax
fadeimages5[1]=["girls100packth.jpg", "http://www.bubsngrubs.com.au/kidsclothingpacks.html", ""] //image with link syntax

var fadeimages6=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages6[0]=["quicksmart-easy-fold-stroller-black-small.jpg", "http://www.bubsngrubs.com.au/stroller6.html", ""] //plain image syntax
fadeimages6[1]=["quicksmart-easy-fold-stroller-red-small.jpg", "http://www.bubsngrubs.com.au/stroller6.html", ""] //image with link syntax

var fadeimages7=new Array()
//SET IMAGE PATHS. Extend or contract array as needed  
fadeimages7[0]=["aunger_deluxe_booster_seat_red.jpg", "", ""] //plain image syntax
fadeimages7[1]=["aunger_deluxe_booster_seat_blue.jpg", "", ""] //image with link syntax

var fadeimages8=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages8[0]=["prospect_2_in_1_classic.jpg", "", ""] //plain image syntax
fadeimages8[1]=["prospect_2_in_1_luxury.jpg", "", ""] //image with link syntax
fadeimages8[2]=["prospect_2_in_1_sport.jpg", "", ""] //image with link syntax

var fadeimages9=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages9[0]=["prospect_2_in_1_luxury_toddler.jpg", "", ""] //plain image syntax
fadeimages9[1]=["prospect_2_in_1_luxury_booster.jpg", "", ""] //image with link syntax

var fadeimages10=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages10[0]=["safety1st_small1.jpg", "", ""] //plain image syntax
fadeimages10[1]=["aunger1.jpg", "", ""] //image with link syntax
fadeimages10[2]=["gosafe1.jpg", "", ""] //image with link syntax

var fadeimages11=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages11[0]=["convertible_car_seat_classic_large.jpg", "", ""] //plain image syntax
fadeimages11[1]=["convertible_car_seat_luxury_large.jpg", "", ""] //image with link syntax
fadeimages11[2]=["convertible_car_seat_sport_large.jpg", "", ""] //image with link syntax

var fadeimages12=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages12[0]=["convertible_car_seat_luxury_toddler.jpg", "", ""] //plain image syntax
fadeimages12[1]=["convertible_car_seat_luxury_child.jpg", "", ""] //image with link syntax

var fadeimages13=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages13[0]=["Quinny_Buzz4_09_black.jpg", "", ""] //plain image syntax
fadeimages13[1]=["Quinny_Buzz3_09_black.jpg", "", ""] //image with link syntax

var fadeimages14=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages14[0]=["quinny_zapp_green.jpg", "", ""] //plain image syntax
fadeimages14[1]=["quinny_zap_red.jpg", "", ""] //image with link syntax
fadeimages14[2]=["quinny_zap_blue.jpg", "", ""] //image with link syntax
fadeimages14[3]=["quinny_zap_black.jpg", "", ""] //image with link syntax

var fadeimages15=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages15[0]=["harness-buddy-monkey.jpg", "", ""] //plain image syntax
fadeimages15[1]=["harness-buddy-puppy.jpg", "", ""] //image with link syntax
fadeimages15[2]=["harness-buddy-bear.jpg", "", ""] //image with link 

var fadeimages16=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages16[0]=["scuttle_2.jpg", "", ""] //plain image syntax
fadeimages16[1]=["scuttle_3.jpg", "", ""] //image with link syntax

var fadeimages17=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages17[0]=["quicksmart-my-chair-1.jpg", "", ""] //plain image syntax
fadeimages17[1]=["quicksmart-my-chair-2.jpg", "", ""] //image with link syntax
fadeimages17[2]=["quicksmart-my-chair-3.jpg", "", ""] //image with link syntax
fadeimages17[3]=["quicksmart-my-chair-4.jpg", "", ""] //image with link syntax

var fadeimages18=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages18[0]=["inglesina-zuma-red.jpg", "", ""] //plain image syntax
fadeimages18[1]=["inglesina-zuma-graphite.jpg", "", ""] //image with link syntax
fadeimages18[2]=["inglesina-zuma_aqua.jpg", "", ""] //image with link syntax
fadeimages18[3]=["inglesina-zuma-orange.jpg", "", ""] //image with link syntax

var fadeimages19=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages19[0]=["inglesina-club-high-chair-red.jpg", "", ""] //plain image syntax
fadeimages19[1]=["inglesina-club-high-chair-orange.jpg", "", ""] //image with link syntax
fadeimages19[2]=["inglesina-club-high-chair-graphite.jpg", "", ""] //image with link syntax

var fadeimages20=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages20[0]=["humphreys-corner-cot-collection-white.jpg", "", ""] //plain image syntax
fadeimages20[1]=["humphreys-corner-cot-collection-walnut.jpg", "", ""] //image with link syntax

var fadeimages21=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages21[0]=["Fairy Princess 1.jpg", "", "Fairy Princess Wall Art"] //plain image syntax
fadeimages21[1]=["Fairy Princess 2.jpg", "", "Fairy Princess 2 Wall Art"] //image with link syntax
fadeimages21[2]=["Jungle 1.jpg", "", "Jungle Wall Art"] //plain image syntax
fadeimages21[3]=["Jungle 2.jpg", "", "Jungle 2 Wall Art"] //image with link syntax
fadeimages21[4]=["Car Racers.jpg", "", "Car Racers Wall Art"] //image with link syntax
fadeimages21[5]=["Dinosaur Land 1.jpg", "", "Dinosour Land Wall Art"] //image with link syntax
fadeimages21[6]=["Dinosaur Land 1.jpg", "", "Dinosour Land 2 Wall Art"] //image with link syntax
fadeimages21[7]=["Football Crazy 1.jpg", "", "Football Crazy Wall Art"] //plain image syntax
fadeimages21[8]=["Football Crazy 2.jpg", "", "Football Crazy 2 Wall Art"] //image with link syntax
fadeimages21[9]=["Horse and Pony.jpg", "", "Horse and Pony Wall Art"] //plain image syntax
fadeimages21[10]=["Space.jpg", "", "Space Wall Art"] //image with link syntax
fadeimages21[11]=["Nursery Rhymes.jpg", "", "Nursery Rhymes Wall Art"] //image with link syntax
fadeimages21[12]=["Sea Adventure.jpg", "", "Sea Adventure Wall Art"] //image with link syntax

var fadeimages22=new Array()
//SET IMAGE PATHS. Extend or contract array as needed
fadeimages22[0]=["safety-1st-air-protect-nero-booster-seat.jpg", "", ""] //plain image syntax
fadeimages22[1]=["safety-1st-air-protect-luxury-booster-seat.jpg", "", ""] //image with link syntax
fadeimages22[2]=["safety-1st-air-protect-classic-booster-seat.jpg", "", ""] //image with link syntax
fadeimages22[3]=["safety-1st-air-protect-storm-booster-seat.jpg", "", ""] //image with link syntax

var fadebgcolor="#99CCFF"

////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);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;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);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;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 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<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=this.degree/100
else if (crossobj.style.opacity&&!crossobj.filters)
crossobj.style.opacity=this.degree/101
}
 
 
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() 
}