﻿function getBillboardTimeout(currElement, nextElement, opts, isForward) {
	
	var index = opts.currSlide; 
	return billboardTimeouts[index];
}

function GetFeed(url, controlId) {

    $.ajax({
        url: url,
        dataType: "html",
        type: "get",
		success: function (data) { $("#" + controlId).html(data); },
        error: function (data) {
            $("#" + controlId + "_message").text("Feed data unavailable.");
        }
    });
}
