var DmdNTWSettings_3e1b5187c6f148feaf9c7075c58e30a3 = { pageItems : [[{"DiamdNo":"FEB251084","StockNo":"STL361161","Title":"ARCHIE \u0026 FRIENDS LEVEL UP ONESHOT CVR A LOVALLO \u0026 PARENT","Publisher":"ARCHIE COMIC PUBLICATIONS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"FEB251085","StockNo":"STL361162","Title":"ARCHIE \u0026 FRIENDS LEVEL UP ONESHOT CVR B DAN DECARLO","Publisher":"ARCHIE COMIC PUBLICATIONS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JUN242189","StockNo":"STL327501","Title":"FINAL FANTASY LOST STRANGER GN VOL 010","Publisher":"YEN PRESS","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"SEP242301","StockNo":"STL339819","Title":"FINAL FANTASY LOST STRANGER GN VOL 011","Publisher":"YEN PRESS","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"DEC241963","StockNo":"STL349961","Title":"MY HERO ACADEMIA GN VOL 040","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"JAN252204","StockNo":"STL356808","Title":"THE LONG SUMMER OF AUGUST 31 VOLUME 1 GN","Publisher":"SEVEN SEAS ENTERTAINMENT","IsAllowed":true,"IsCustom":false,"Category":"3 "}],[{"DiamdNo":"JAN252019","StockNo":"STL349892","Title":"BATTLE ROYALE ENFORCERS GN VOL 03","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"JAN252015","StockNo":"STL349969","Title":"ONE PUNCH MAN GN VOL 030","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"JAN251886","StockNo":"STL355158","Title":"PALACE OF THE GOLDEN PRINCESS #1","Publisher":"POCKET JACK COMICS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JAN250173","StockNo":"STL359733","Title":"RED SONJA ATTACKS MARS #1","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JAN252012","StockNo":"STL349990","Title":"SERAPH OF END VAMPIRE REIGN GN VOL 032","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "}],[{"DiamdNo":"JAN251115","StockNo":"STL356890","Title":"ARCHIE IS MR JUSTICE #3","Publisher":"ARCHIE COMIC PUBLICATIONS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP242044","StockNo":"STL338358","Title":"DINOSAURS VS. COWBOYS #1","Publisher":"SCRATCH COMICS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JAN251839","StockNo":"STL357765","Title":"EC EPITAPHS FROM THE ABYSS #9","Publisher":"ONI PRESS INC.","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JAN250198","StockNo":"STL359902","Title":"HERCULOIDS #2","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"DEC240115","StockNo":"STL352740","Title":"LAWFUL #8","Publisher":"BOOM! STUDIOS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JAN252040","StockNo":"STL349967","Title":"ONE PIECE GN VOL 0108","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"JAN250176","StockNo":"STL359736","Title":"RED SONJA ATTACKS MARS #1","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"DEC240184","StockNo":"STL355221","Title":"SILVERHAWKS #2","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"DEC241094","StockNo":"STL353562","Title":"TEENAGE MUTANT NINJA TURTLES: MUTANT NATION #5","Publisher":"IDW-PRH","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JAN250089","StockNo":"STL359763","Title":"THUNDERCATS LOST #1","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JAN252169","StockNo":"STL355949","Title":"YOU TALK TOO MUCH, SO JUST SHUT IT ALREADY! VOLUME 1 GN","Publisher":"ONE PEACE BOOKS","IsAllowed":true,"IsCustom":false,"Category":"3 "}],[{"DiamdNo":"DEC240997","StockNo":"STL317828","Title":"ASSASSIN`S CREED MIRAGE: A SOAR OF EAGLES #1","Publisher":"DARK HORSE PRH","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"DEC241187","StockNo":"STL351639","Title":"PRODIGAL SON #1","Publisher":"AMP COMICS LLC","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JAN250315","StockNo":"STL360003","Title":"SPACE GHOST #11","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "}]], dates : ["Wednesday, April 2, 2025","Wednesday, March 26, 2025","Wednesday, March 19, 2025","Wednesday, March 12, 2025"], numOfColumns : 4, primaryColor : '#1F68A5', secondaryColor : '#1FA548', bgColor : '#FFFFFF', itemWidthPer : 100 / 4, numPrevWeeks : 3, nextWeeksDate : '', curWeekDate : 'Wednesday, April 2, 2025', rowsPerPage: 0, curPage: 0, currentIndex: 0 }; function DmdNTW_3e1b5187c6f148feaf9c7075c58e30a3() { var settings = DmdNTWSettings_3e1b5187c6f148feaf9c7075c58e30a3; document.write('
'); for (var i = 0; i < settings.dates.length; i++) { if (settings.dates[i] == settings.curWeekDate) { DmdNTW_ChangeDate_3e1b5187c6f148feaf9c7075c58e30a3(i); settings.currentIndex = i; } } } function DmdNTW_ChangeDate_3e1b5187c6f148feaf9c7075c58e30a3(index) { var settings = DmdNTWSettings_3e1b5187c6f148feaf9c7075c58e30a3; settings.currentIndex = index; settings.curPage = 0; document.getElementById("dmdNewReleasesWidget_3e1b5187c6f148feaf9c7075c58e30a3").innerHTML = DmdNTW_SetDisplayMarkup_3e1b5187c6f148feaf9c7075c58e30a3(settings.pageItems[index], settings.dates[index]); } function DmdNTW_NextPage_3e1b5187c6f148feaf9c7075c58e30a3() { var settings = DmdNTWSettings_3e1b5187c6f148feaf9c7075c58e30a3; settings.curPage += 1; document.getElementById("dmdNewReleasesWidget_3e1b5187c6f148feaf9c7075c58e30a3").innerHTML = DmdNTW_SetDisplayMarkup_3e1b5187c6f148feaf9c7075c58e30a3(settings.pageItems[settings.currentIndex], settings.dates[settings.currentIndex]); } function DmdNTW_PrevPage_3e1b5187c6f148feaf9c7075c58e30a3() { var settings = DmdNTWSettings_3e1b5187c6f148feaf9c7075c58e30a3; settings.curPage -= 1; document.getElementById("dmdNewReleasesWidget_3e1b5187c6f148feaf9c7075c58e30a3").innerHTML = DmdNTW_SetDisplayMarkup_3e1b5187c6f148feaf9c7075c58e30a3(settings.pageItems[settings.currentIndex], settings.dates[settings.currentIndex]); } function DmdNTW_SetDisplayMarkup_3e1b5187c6f148feaf9c7075c58e30a3(collection, displayDate) { var settings = DmdNTWSettings_3e1b5187c6f148feaf9c7075c58e30a3; 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_3e1b5187c6f148feaf9c7075c58e30a3();