﻿switch (window.location.pathname) {
    case "/Online-Shop.html":
        var mygallery2 = new fadeSlideShow({
            wrapperid: "ABRightMiddle", // 
            dimensions: [125, 600], //width/height of gallery in pixels. Should reflect dimensions of largest image
            imagearray: [
["http://www.awin1.com/cshow.php?s=85847&v=1613&q=68317&r=98450", "http://www.awin1.com/cread.php?s=85847&v=1613&q=68317&r=98450", "_new", "Green People"],
["http://www.awin1.com/cshow.php?s=72529&v=1613&q=59636&r=98450", "http://www.awin1.com/cread.php?s=72529&v=1613&q=59636&r=98450", "_new", "Green People"],
["http://www.awin1.com/cshow.php?s=170193&v=1613&q=95432&r=98450", "http://www.awin1.com/cread.php?s=170193&v=1613&q=95432&r=98450", "_new", "Green People"]
],
            displaymode: { type: 'auto', pause: 10000, cycles: 0, wraparound: false },
            persist: false, //remember last viewed slide and recall within same session?
            fadeduration: 500, //transition duration (milliseconds)
            descreveal: "ondemand",
            togglerid: ""
        })
        break;
    case "/Contact.html":
        var mygallery11 = new fadeSlideShow({
            wrapperid: "ABFooter5", // 
            dimensions: [500, 60], //width/height of gallery in pixels. Should reflect dimensions of largest image
            imagearray: [
["http://www.awin1.com/cshow.php?s=72542&v=1613&q=59648&r=98450", "http://www.awin1.com/cread.php?s=72542&v=1613&q=59648&r=98450", "_new", "Green People"],
["http://www.awin1.com/cshow.php?s=104348&v=1613&q=74285&r=98450", "http://www.awin1.com/cread.php?s=104348&v=1613&q=74285&r=98450", "_new", "Green People"]
],
            displaymode: { type: 'auto', pause: 8000, cycles: 0, wraparound: false },
            persist: false, //remember last viewed slide and recall within same session?
            fadeduration: 500, //transition duration (milliseconds)
            descreveal: "ondemand",
            togglerid: ""
        })
        var mygallery12 = new fadeSlideShow({
            wrapperid: "ABFooter6", // 
            dimensions: [500, 60], //width/height of gallery in pixels. Should reflect dimensions of largest image
            imagearray: [
["http://www.detoxity.co.uk/Images/solostar2-juicer-banner.jpg", "http://ww6.aitsafe.com/go.htm?go=www.naturalwayhealth.co.uk/solostar-II-juicer.php&afid=19673", "_new", "Natural Way Health"],
["http://www.detoxity.co.uk/Images/chi-machine-banner.jpg","http://ww6.aitsafe.com/go.htm?go=www.naturalwayhealth.co.uk/chi-machine-sun-ancon.php&afid=19673", "_new", "Natural Way Health"],
["http://www.detoxity.co.uk/Images/supergreens-banner.jpg","http://ww6.aitsafe.com/go.htm?go=www.naturalwayhealth.co.uk/supergreens.php&afid=19673", "_new", "Natural Way Health"]
],
            displaymode: { type: 'auto', pause: 8000, cycles: 0, wraparound: false },
            persist: false, //remember last viewed slide and recall within same session?
            fadeduration: 500, //transition duration (milliseconds)
            descreveal: "ondemand",
            togglerid: ""
        })
        
        break;
        
    default:
        var mygallery2 = new fadeSlideShow({
            wrapperid: "ABRightMiddle", // 
            dimensions: [125, 600], //width/height of gallery in pixels. Should reflect dimensions of largest image
            imagearray: [
["http://www.awin1.com/cshow.php?s=85847&v=1613&q=68317&r=98450", "http://www.awin1.com/cread.php?s=85847&v=1613&q=68317&r=98450", "_new", "Green People"],
["http://www.awin1.com/cshow.php?s=72529&v=1613&q=59636&r=98450", "http://www.awin1.com/cread.php?s=72529&v=1613&q=59636&r=98450", "_new", "Green People"],
["http://www.awin1.com/cshow.php?s=170193&v=1613&q=95432&r=98450", "http://www.awin1.com/cread.php?s=170193&v=1613&q=95432&r=98450", "_new", "Green People"]
],
            displaymode: { type: 'auto', pause: 8000, cycles: 0, wraparound: false },
            persist: false, //remember last viewed slide and recall within same session?
            fadeduration: 500, //transition duration (milliseconds)
            descreveal: "ondemand",
            togglerid: ""
        })
}