var URL="";

//alert("included");
function AddUrls(value) {
    URL = URL + value + ",";
 }

function LoadHomePageNews(itemsToDisplay,descriptionWords) {
    //alert(itemsToDisplay);
    if (URL != '') {
        //URL.substring(0, URL.length - 1);
        URL= URL.substring(0, URL.length - 1);
        $.post("/security/RssFeedGenerator.aspx?URLs=" + URL + "&itemToDisplay=" + itemsToDisplay + "&words=" + descriptionWords,
            function (data) {
                // alert("inside function " + data);
                document.getElementById("rssData0").innerHTML = data;
                if (!(document.getElementById("rssData0").innerHTML.match("##Error Code:NBR##"))) {

                }
            }
        );
    }
    else {
        document.getElementById("rssData0").style.display = 'none';
    }

}



