American Cancer Society gives new colonoscopy recommendations – WWLP.com

0
21
American Cancer Society gives new colonoscopy recommendations – WWLP.com

“);
alink.addClass(“disabled”);
if (isNaN(pageNum)) {
return;
}
var url = ajaxUrl + “autoflowId=” + autoflowId + “&pageNum=” + pageNum;
if (false) {
var tmpLimit = $(“#filter-mod-infinite-scrolling-media-headline-list-1820769628”).find(“option:selected”).attr(“data-limit-number”);
url = url.replace(url.substring(url.indexOf(“tmpLimit”), url.indexOf(“&”, url.indexOf(“tmpLimit”))), “tmpLimit=” + tmpLimit);
}
$.ajax({
type : “GET”,
url : url
}).done(function(html) {
pageNum++;;
loadMore.attr(“pageNum”, pageNum);
var contentHTML = $(html).filter(“ul”);
var stories = $(‘#content-mod-infinite-scrolling-media-headline-list-1820769628’).children(‘ul’).first();
var isViewList = stories.hasClass(“view-list”);
if (isViewList) {
if (“grid1” == “grid1”) {
contentHTML.addClass(“list media show-inline-ad small-block-grid-1 medium-block-grid-2 large-block-grid-3 view-list”);
} else if (“grid1” == “grid2”) {
contentHTML.addClass(“list media bricks view-list”);
}
} else {
if (“grid1” == “grid1”) {
contentHTML.addClass(“list media show-inline-ad small-block-grid-1 medium-block-grid-2 large-block-grid-3 view-grid”);
} else if (“grid1” == “grid2”) {
contentHTML.addClass(“list media bricks view-grid”);
}
}
$(‘#content-mod-infinite-scrolling-media-headline-list-1820769628 .loader’).remove();
$(“#content-mod-infinite-scrolling-media-headline-list-1820769628”).append(contentHTML);
alink.removeClass(“disabled”);
}).fail(function() {
$(“#content-mod-infinite-scrolling-media-headline-list-1820769628″).append(”

Oops. Something went wrong. Please wait a minute and refresh your browser.

“)
});
});
$(“#filter-mod-infinite-scrolling-media-headline-list-1820769628”).change(function(){
var loadMore = $(‘#load-more-mod-infinite-scrolling-media-headline-list-1820769628’);
loadMore.attr(“pageNum”, 2);
var autoflowId = $(this).children(“option:selected”).val();
loadMore.attr(“autoflowId”, autoflowId);
var ajaxUrl = $(this).attr(“ajaxUrl”);
var tmpLimit = $(this).children(“option:selected”).attr(“data-limit-number”);
var url = ajaxUrl + autoflowId;
url = url.replace(/tmpLimitNum/, tmpLimit);
loadMore.hide();
loadMore.children(‘a’).removeClass(“disabled”);
var content = $(“#content-mod-infinite-scrolling-media-headline-list-1820769628″);
content.empty();
content.append(”

Loading

“);
$.ajax({
type : “GET”,
url : url
}).done(function(html) {
var contentHTML = $(html).filter(“ul”);
var isViewList = content.children(‘ul’).first().hasClass(“view-list”);
content.empty();
if (isViewList) {
if (“grid1” == “grid1”) {
contentHTML.addClass(“list media show-inline-ad small-block-grid-1 medium-block-grid-2 large-block-grid-3 view-list”);
} else if (“grid1” == “grid2”) {
contentHTML.addClass(“list media bricks view-list”);
}
} else {
if (“grid1” == “grid1”) {
contentHTML.addClass(“list media show-inline-ad small-block-grid-1 medium-block-grid-2 large-block-grid-3 view-grid”);
} else if (“grid1” == “grid2”) {
contentHTML.addClass(“list media bricks view-grid”);
}
}
content.append(contentHTML);
loadMore.show();
}).fail(function() {
content.append(”

Oops. Something went wrong. Please wait a minute and refresh your browser.

“)
});
});
})(jQuery, AUI());

LEAVE A REPLY

Please enter your comment!
Please enter your name here