var ImageList = function(){
    var list = [];
    //list.push({img:"http://www.growlforwindows.com/gfw/images/ss/general.png",desc:"GENERAL"});
    list.push({img:"http://www.growlforwindows.com/gfw/images/ss/applications.png",desc:"New options give more choice when managing notifications"});
    list.push({img:"http://www.growlforwindows.com/gfw/images/ss/displays.png",desc:"New and improved displays offer more flexibility and choice"});
    list.push({img:"http://www.growlforwindows.com/gfw/images/ss/network.png",desc:"Subscribe to notifications from the client computer"});
    //list.push({img:"http://www.growlforwindows.com/gfw/images/ss/security.png",desc:"SECURITY"});
    list.push({img:"http://www.growlforwindows.com/gfw/images/ss/history.png",desc:"Notification history can be viewed by date or grouped by application"});
    list.push({img:"http://www.growlforwindows.com/gfw/images/ss/about.png",desc:"Improved UI makes Growl for Windows look much better"});
    list.push({img:"http://www.growlforwindows.com/gfw/images/ss/expanded.png",desc:"All included displays now automatically resize to fit their contents"});
    list.push({img:"http://www.growlforwindows.com/gfw/images/ss/smokestack.png",desc:"New Smokestack display adds more choice to how notifications are displayed"});
    list.push({img:"http://www.growlforwindows.com/gfw/images/ss/missed.png",desc:"Get a summary of notifications you missed while you were away"});
    
    var index = 0;
    
    function update(next){
        document.getElementById("ssdesc").innerHTML = list[next].desc;
        document.getElementById("ssimg").src = list[next].img;
        index = next;
        return false;
    }
    
    document.getElementById("prevarrow").onclick = function(){
        var next = index - 1;
        if(next < 0) next = list.length - 1;
        return update(next);
    }

    document.getElementById("nextarrow").onclick = function(){
        var next = index + 1;
        if(next >= list.length) next = 0;
        return update(next);
    }
}();

