//This function is run on page load
$(document).ready(function(){

    //Create an ajax call w/ the parameters below
    //If successful, it calls buildfeatures to setup
    //and start the slideshow. Otherwise, static.
    $.ajax({
       type: "GET",
       dataType: "xml",
       url: "features.xml",
       success: buildFeatures
    });
});

