var pages = pages || {};
pages["index"] = pages["index"] || {
    init: function() {
        pages["base"].init();
        $("#video-button").prettyPhoto({
            theme: 'dark_square',
            default_width: 853,
            default_height: 510
        });
        
        var data = ([{"name":"","title":"Paid Search Campaigns for Google and Microsoft","_id":"4cd8efc757e57f7ff1000029","order":0,"quote":"Create AdWords and adCenter campaigns that are optimized for relevance and performance. We support all formats and features from geo-targeting to the Product PlusBox."},{"name":"","title":"Launch Upside-Only Campaigns","_id":"4cd8eff457e57f7ff100002a","order":1,"quote":"You've spent years building keyword lists, hand crafting copy and tweaking campaign structures and settings. Our platform tests new keywords, ad creative and landing pages side-by-side with your existing campaign, choosing only the combinations that ultimately perform best."},{"name":"","title":"We Integrate Into Your Workflow","_id":"4cd8f00157e57f7ff100002b","order":2,"quote":"Our flexible system can output any format \u2013 bulksheets, XML, whatever.  Or we can sync directly with the publishers.  And we love to work with any other technology you use, like bid tools and analytics packages."},{"name":"","title":"Easy No-Touch Setup","_id":"4cd8f01a57e57f7ff100002c","order":3,"quote":"Our innovative system automatically imports all of the offers and relevant content on your website, then cleans and makes it easy to use to build perfectly targeted ad campaigns.  And what\u2019s more, we take conversion data any way you can give it to us so you don\u2019t have to re-tag."}]);
        
        
                $("#working-with-datapop").show();
                var s = "";
                for (var i = 0; i < data.length; i++) {
                    s += "<div class='slide'>";
                    s += "<div class='title'>" + data[i].title + "</div>";
                    s += "<div class='name'>" + data[i].name + "</div>";
                    s += "<div class='quote'>" + data[i].quote + "</div>";
                    s += "</div>";
                }
                $("#testimonial-slider > .window > .holder").html(s);
                $("#testimonial-slider").slider({
                    width: 560,
                    interval: 5000
                });
    }
};
