'#' onclick='return doNextSearchPage()'>Next</a>");
    return html.join("");
}

    // go to the next page (used by next page link)
    function doNextSearchPage() {

        var bing = document.forms.bing;
        var query = bing.query.value;
        var offset = parseInt(bing.offset.value, 10);
        var count = parseInt(bing.count.value, 10);
        offset += count;
        bing.offset.value = offset;
        return bingNewsSearch(query, bingSearchOptions(bing), getSubscriptionKey());
    }

    // 