// JavaScript Document

function tabSwitch(active, number, divId) {  
   for (var i=1; i < number+1; i++) {  
      document.getElementById(divId+i).style.display = 'none';  
    }  
    document.getElementById(divId+active).style.display = 'block';  
}  

function homeShow(){
var show=new fadeSlideShow({
	wrapperid: "imageSlideShow", //ID of blank DIV on page to house Slideshow
	dimensions: [850, 400], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["Images/GEKitchen7.jpg", "", "", ""],
		["Images/FrigKitchen2.jpg", "", "", ""],
		["Images/GERangeFront2.jpg", "", "", "Free Parts Delivery"],
		["Images/GEKitchen3.jpg", "", "", ""],
		["Images/GeWasherDryer.jpg", "", "", "Free Delivery of High Efficiency Laundry Detergent"] //<--no trailing comma after very last image element!
	],
	displaymode: {type:'auto', pause:5000, cycles:3, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 1000, //transition duration (milliseconds)
	descreveal: "peekaboo",
	togglerid: ""
})
}

/*var mygallery2=new fadeSlideShow({
	wrapperid: "fadeshow2", //ID of blank DIV on page to house Slideshow
	dimensions: [250, 180], //width/height of gallery in pixels. Should reflect dimensions of largest image
	imagearray: [
		["http://i26.tinypic.com/11l7ls0.jpg", "", "", "Nothing beats relaxing next to the pool when the weather is hot."],
		["http://i29.tinypic.com/xp3hns.jpg", "http://en.wikipedia.org/wiki/Cave", "_new", "Some day I'd like to explore these caves!"],
		["http://i30.tinypic.com/531q3n.jpg"],
		["http://i31.tinypic.com/119w28m.jpg", "", "", "What a beautiful scene with everything changing colors."] //<--no trailing comma after very last image element!
	],
	displaymode: {type:'manual', pause:2500, cycles:0, wraparound:false},
	persist: false, //remember last viewed slide and recall within same session?
	fadeduration: 500, //transition duration (milliseconds)
	descreveal: "always",
	togglerid: "fadeshow2toggler"
})
*/
                    
                    
