// list : array of objects to create a list of links for // start : index to start at, if null then 0 // end : index to end at, if null then all // sidParam : what sid to add into url params function buildNewsList(headlineList, start, end, sidParam) { if (!start) { start = 0; } if (!end) { end = headlineList.length; } var html = "