var dash = "<h1 style=\"font-size:18px;margin-top:0px;\">Understand the 30,000 ft. view at a glance with the Dashboard</h1><ul><li>See all your relevant information in one place</li><li>Review your Late Deliverables</li><li>See all of the latest activity across your projects</li><li>Use the Global Calendar to understand your organization's commitments</li></ul><span style=\"cursor: pointer;\" onclick=\"javascript:window.open('http://www.pelotonics.com/videos/dash_overview/dash_overview.html','pres','width=990,height=670,left=0,top=0');\"><br /><img alt=\"PeloCast\" src=\"http://nocookie.pelotonics.com/images/flash.png\" style=\"vertical-align: middle\" /><span class=\"link_arial\">Watch The Dashboard PeloCast</span></span>";
var messages = "<h1 style=\"font-size:18px;margin-top:0px;\">Communicate with more transparency with Pelotonics Messaging</h1><ul><li>Keep track of project communications</li><li>Reply directly to system messages from your email</li><li>Use robust search to peruse your organizational knowledge</li><li>Foster transparency through open communications</li></ul><span style=\"cursor: pointer;\" onclick=\"javascript:window.open('http://www.pelotonics.com/videos/messages_overview/messages_overview.html','pres','width=990,height=670,left=0,top=0');\")><br /><img alt=\"PeloCast\" src=\"http://nocookie.pelotonics.com/images/flash.png\" style=\"vertical-align: middle\" /><span class=\"link_arial\">Watch The Messages PeloCast</span></span>";
var milestones = "<h1 style=\"font-size:18px;margin-top:0px;\">Manage your high level deliverables with Milestones</h1><ul><li>Follow your high-level deliverables with certainty</li><li>Assign dates and responsible people for accountability</li><li>Easily see Late, Upcoming and Completed Milestones</li><li>Each Milestone appears on the Calendar for easy scheduling</li></ul><span style=\"cursor: pointer;\" onclick=\"javascript:window.open('http://www.pelotonics.com/videos/milestone_overview/milestone_overview.html','pres','width=990,height=670,left=0,top=0');\"><br /><img alt=\"PeloCast\" src=\"http://nocookie.pelotonics.com/images/flash.png\" style=\"vertical-align: middle\" /><span class=\"link_arial\">Watch The Milestones PeloCast</span></span>";
var tasks = "<h1 style=\"font-size:18px;margin-top:0px;\">Organize your detailed deliverables with the Task section</h1><ul><li>Get a handle on the details with Tasks</li><li>Create as many Task Lists as you need</li><li>Assign due dates and establish reminders for ultimate reliability</li><li>The Task Report will show you all your tasks across all your projects</li></ul><span style=\"cursor: pointer;\" onclick=\"javascript:window.open('http://www.pelotonics.com/videos/tasks_overview/tasks_overview.html','pres','width=990,height=670,left=0,top=0');\"><br /><img alt=\"PeloCast\" src=\"http://nocookie.pelotonics.com/images/flash.png\" style=\"vertical-align: middle\" /><span class=\"link_arial\">Watch The Tasks PeloCast</span></span>";
var calendar = "<h1 style=\"font-size:18px;margin-top:0px;\">Know where everything is at with the Calendar view</h1><ul><li>See all your Milestones, Tasks and Appointments in one place</li><li>Use the iCalendar feed to view the calendar in your Outlook, iCal or mobile phone</li><li>See your heavy and light weeks for planning purposes</li><li>Powerful filtering to provide you with the right management information</li></ul>";
var files = "<h1 style=\"font-size:18px;margin-top:0px;\">Organize your files and gain back lost time</h1><ul><li>Save up to 20% of your team's time through file organization</li><li>Sort by date, name and file type</li><li>Every file entered into the system is automatically organized in the Files section</li><li>Use our servers or configure it to use your FTP site!</li></ul><span style=\"cursor: pointer;\" onclick=\"javascript:window.open('http://www.pelotonics.com/videos/files_overview/files_overview.html','pres','width=990,height=670,left=0,top=0');\"><br /><img alt=\"PeloCast\" src=\"http://nocookie.pelotonics.com/images/flash.png\" style=\"vertical-align: middle\" /><span class=\"link_arial\">Watch The Files PeloCast</span></span>";

function Swap(type)
{
    if(type == 'Dashboard')
    {
        $("#tourImage").attr("src", "http://nocookie.pelotonics.com/images/dash_large.png");
        $("#tourImage").attr("alt", "Dashboard");
        $("#diddy").html(dash);
    }
    else if(type == 'Messages')
    {
        $("#tourImage").attr("src", "http://nocookie.pelotonics.com/images/msg_large.png");
        $("#tourImage").attr("alt", "Messages");
        $("#diddy").html(messages);
    }
    else if(type == 'Milestones')
    {
        $("#tourImage").attr("src", "http://nocookie.pelotonics.com/images/miles_large.png");
        $("#tourImage").attr("alt", "Milestones");
        $("#diddy").html(milestones);
    }
    else if(type == 'Tasks')
    {
        text = tasks;
        $("#tourImage").attr("src", "http://nocookie.pelotonics.com/images/tasks_large.png");
        $("#tourImage").attr("alt", "Tasks");
        $("#diddy").html(tasks);
    }
    else if(type == 'Calendar')
    {
        text = calendar;
        $("#tourImage").attr("src", "http://nocookie.pelotonics.com/images/cal_large.png");
        $("#tourImage").attr("alt", "Calendar");
        $("#diddy").html(calendar);
    }
    else if(type == 'Files')
    {
        $("#tourImage").attr("src", "http://nocookie.pelotonics.com/images/files_large.png");
        $("#tourImage").attr("alt", "Files");
        $("#diddy").html(files);
    }
}