var DmdNTWSettings_6aa4584f032849d7a995f05ab61ccb17 = { pageItems : [[{"DiamdNo":"DEC240045","StockNo":"STL353505","Title":"FCBD 2025 DEF LEPPARD`S HYSTERIA #0 FCBD SPECIAL","Publisher":"VAULT COMICS","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240010","StockNo":"STL354232","Title":"FCBD 2025 DR SEUSS EXC (BUNDLES OF 20)","Publisher":"RANDOM HOUSE CHILDRENS BOOKS","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240017","StockNo":"STL354193","Title":"FCBD 2025 GARGOYLES DEMONA #0","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240004","StockNo":"STL354200","Title":"FCBD 2025 THUNDERCATS POWERPUFF GIRLS #0","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"13 "}],[{"DiamdNo":"JAN250682","StockNo":"STL359114","Title":"FANTASTIC FOUR #30","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"DEC240003","StockNo":"STL354221","Title":"FCBD 2025 CRITICAL ROLE BLACK HAMMER (BUNDLES OF 20)","Publisher":"DARK HORSE PRH","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240007","StockNo":"STL354001","Title":"FCBD 2025 FANTASTIC FOUR X-MEN #1 (BUNDLES OF 20)","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240022","StockNo":"STL354227","Title":"FCBD 2025 GODZILLA NEW HEROES (BUNDLES OF 20)","Publisher":"IDW-PRH","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240024","StockNo":"STL353447","Title":"FCBD 2025 KEENSPOT MARK SPEARS MONSTERS #0","Publisher":"KEENSPOT ENTERTAINMENT","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240008","StockNo":"STL353995","Title":"FCBD 2025 SPIDER-MAN ULTIMATE UNIVERSE #1 (BUNDLES OF 20)","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240029","StockNo":"STL354008","Title":"FCBD 2025 STAR WARS #1 (BUNDLES OF 20)","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"JAN250934","StockNo":"STL359129","Title":"INCREDIBLE HULK #23","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"1 "}],[{"DiamdNo":"JAN250908","StockNo":"STL359092","Title":"AVENGERS #24","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"DEC240027","StockNo":"STL354002","Title":"FCBD 2025 IRON MAN \u0026 FRIENDS SPIDEY \u0026 FRIENDS(BUNDLES OF 20)","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"DEC240028","StockNo":"STL354005","Title":"FCBD 2025 IRONHEART MARVELS VOICES #1 (BUNDLES OF 20)","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"13 "},{"DiamdNo":"JAN250914","StockNo":"STL359146","Title":"MILES MORALES SPIDER-MAN #31","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"MAY249035","StockNo":"STL337613","Title":"POP COMICS TMNT LAST RONIN DONATELLO FIG","Publisher":"FUNKO","IsAllowed":true,"IsCustom":false,"Category":"10 "},{"DiamdNo":"MAY249036","StockNo":"STL337614","Title":"POP COMICS TMNT LAST RONIN LEONARDO FIG","Publisher":"FUNKO","IsAllowed":true,"IsCustom":false,"Category":"10 "},{"DiamdNo":"MAY249037","StockNo":"STL337615","Title":"POP COMICS TMNT LAST RONIN RAPHAEL FIG","Publisher":"FUNKO","IsAllowed":true,"IsCustom":false,"Category":"10 "},{"DiamdNo":"NOV241102","StockNo":"STL348608","Title":"SONIC THE HEDGEHOG #77","Publisher":"IDW-PRH","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"DEC240897","StockNo":"STL353740","Title":"ULTIMATE X-MEN #13","Publisher":"MARVEL PRH","IsAllowed":true,"IsCustom":false,"Category":"1 "}]], dates : ["Wednesday, April 2, 2025","Wednesday, March 26, 2025","Wednesday, March 19, 2025"], numOfColumns : 3, primaryColor : '#1F68A5', secondaryColor : '#1FA548', bgColor : '#FFFFFF', itemWidthPer : 100 / 3, numPrevWeeks : 2, nextWeeksDate : '', curWeekDate : 'Wednesday, April 2, 2025', rowsPerPage: 5, curPage: 0, currentIndex: 0 }; function DmdNTW_6aa4584f032849d7a995f05ab61ccb17() { var settings = DmdNTWSettings_6aa4584f032849d7a995f05ab61ccb17; document.write('
'); for (var i = 0; i < settings.dates.length; i++) { if (settings.dates[i] == settings.curWeekDate) { DmdNTW_ChangeDate_6aa4584f032849d7a995f05ab61ccb17(i); settings.currentIndex = i; } } } function DmdNTW_ChangeDate_6aa4584f032849d7a995f05ab61ccb17(index) { var settings = DmdNTWSettings_6aa4584f032849d7a995f05ab61ccb17; settings.currentIndex = index; settings.curPage = 0; document.getElementById("dmdNewReleasesWidget_6aa4584f032849d7a995f05ab61ccb17").innerHTML = DmdNTW_SetDisplayMarkup_6aa4584f032849d7a995f05ab61ccb17(settings.pageItems[index], settings.dates[index]); } function DmdNTW_NextPage_6aa4584f032849d7a995f05ab61ccb17() { var settings = DmdNTWSettings_6aa4584f032849d7a995f05ab61ccb17; settings.curPage += 1; document.getElementById("dmdNewReleasesWidget_6aa4584f032849d7a995f05ab61ccb17").innerHTML = DmdNTW_SetDisplayMarkup_6aa4584f032849d7a995f05ab61ccb17(settings.pageItems[settings.currentIndex], settings.dates[settings.currentIndex]); } function DmdNTW_PrevPage_6aa4584f032849d7a995f05ab61ccb17() { var settings = DmdNTWSettings_6aa4584f032849d7a995f05ab61ccb17; settings.curPage -= 1; document.getElementById("dmdNewReleasesWidget_6aa4584f032849d7a995f05ab61ccb17").innerHTML = DmdNTW_SetDisplayMarkup_6aa4584f032849d7a995f05ab61ccb17(settings.pageItems[settings.currentIndex], settings.dates[settings.currentIndex]); } function DmdNTW_SetDisplayMarkup_6aa4584f032849d7a995f05ab61ccb17(collection, displayDate) { var settings = DmdNTWSettings_6aa4584f032849d7a995f05ab61ccb17; var markup = ''; markup += '

New Releases - ' + displayDate + '

'; markup += '
'; var curWeekIndex = 0; markup += '
'; markup += 'Upcoming Releases'; if (settings.dates.length > 1) { markup += ' - '; for(var j = 0; j < settings.dates.length; j++) { var dateText = '' if (settings.dates[j] == settings.curWeekDate) { dateText = "This Week"; curWeekIndex = j; } else if (settings.dates[j] == settings.nextWeeksDate) { dateText = "Next Week"; } else { if (j - curWeekIndex == 1) { dateText = "Last Week"; } else { dateText = (j - curWeekIndex) + " Weeks Previous"; } } markup += '' + dateText + ''; if (j != settings.dates.length -1) { markup += ' - '; } } } markup += '
'; var startingIndex = settings.curPage * (settings.rowsPerPage) * settings.numOfColumns; var endingIndex = (settings.curPage + 1) * (settings.rowsPerPage) * settings.numOfColumns; var hasMore = true; var isFirstPage = settings.curPage == 0; if (endingIndex >= collection.length || settings.rowsPerPage == 0) { endingIndex = collection.length; hasMore = false; } if (settings.rowsPerPage != 0) { markup += '
'; if (!isFirstPage) { markup += '<< PREV PAGE'; } if (!isFirstPage && hasMore) { markup += ' '; } if (hasMore) { markup += 'NEXT PAGE >>'; } markup += '
'; } for(var i = startingIndex; i < endingIndex; i++) { markup += '
'; markup += ''; markup += '
' + collection[i].Title + '
'; markup += '
' + collection[i].Publisher + '
'; markup += '
'; } if (settings.rowsPerPage != 0) { markup += '
'; markup += '
'; if (!isFirstPage) { markup += '<< PREV PAGE'; } if (!isFirstPage && hasMore) { markup += ' '; } if (hasMore) { markup += 'NEXT PAGE >>'; } markup += '
'; } markup += '
'; return markup; } DmdNTW_6aa4584f032849d7a995f05ab61ccb17();