var step = 1;
var timerMain = setInterval("scroll()", 9000);

var skipstep = [-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
function scroll()
{
    var stop = false;
    while (!stop) 
    {
        step += 1;
        if (step == 14) {
           step = 1;
       }
       if (!skipstep[step]) stop = true;
    }
    document.getElementById('ScreenShot').src = 'images/screen' + step + '.jpg';
  
    var exp = "";

    if (step == 1) {
        exp = "With Nobex Radio you can listen to over 16000 radio stations from around the world!";
    } else if (step == 2) {
        exp = "Choose from AM, FM and Internet stations. Genres include NPR, Sports, Christian, Talk, and of course, music.";
    } else if (step == 3) {
        exp = "Playlist information is available for over 2700 of these stations. You can see what is currently playing on the radio...";
    } else if (step == 4) {
        exp = "...and scroll back and look at previously played songs too.";
    } else if (step == 5) {
        exp = "You can read about your favorite artists and songs.";
    } else if (step == 6) {
        exp = "If you click on 'Email Song Details' you will receive an email...";
    } else if (step == 7) {
        exp = "...with links to buy the song so you can keep your music collection fresh!";
    } else if (step == 8) {
        exp = "You can also fall asleep with Nobex Radio on sleep timer.";
    } else if (step == 9) {
        exp = "And don't forget to post to your favorite station or song to your Facebook Wall...";
    } else if (step == 10) {
        exp = "...with only the a click of a button.";
    } else if (step == 11) {
        exp = "If you feel like watching the video to the song then select the 'YouTube' menu item...";
    } else if (step == 12) {
        exp = "...and you will be taken to the video of that song.";
    } else if (step == 13) {
        exp = "Nobex Radio - Never Miss Your Favorite Radio Programs Again!";
    }    
        
    document.getElementById("screentext").innerHTML = exp;
}
