var DmdNTWSettings_9ec2e83af87b4c34a8be7c46af740d1f = { pageItems : [[{"DiamdNo":"SEP242366","StockNo":"STL338747","Title":"A-DO VOLUME 5 GN","Publisher":"KODANSHA COMICS","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"JUN241947","StockNo":"STL324856","Title":"BATTLE ACTION #1","Publisher":"REBELLION / 2000AD","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"AUG240205","StockNo":"STL323275","Title":"DARKWING DUCK TP VOL 02","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"SEP240362","StockNo":"STL340272","Title":"HEAT SEEKER COMBUSTION GUN HONEY SERIES #1","Publisher":"TITAN COMICS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP241390","StockNo":"STL335310","Title":"I DRAGON GN VOL 02","Publisher":"ALIEN BOOKS","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"SEP240227","StockNo":"STL341576","Title":"JONNY QUEST #4","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP242511","StockNo":"STL338804","Title":"ORIGIN VOLUME 7 GN","Publisher":"VERTICAL COMICS","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"SEP240017","StockNo":"STL341610","Title":"POWER RANGERS PRIME #1","Publisher":"BOOM! STUDIOS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP241362","StockNo":"STL340193","Title":"RESURGENCE X-O MANOWAR ONE SHOT CVR A FAJARDO","Publisher":"VALIANT","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP240281","StockNo":"STL341618","Title":"SPACE GHOST #7","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP240197","StockNo":"STL341760","Title":"TERMINATOR #2","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"AUG242523","StockNo":"STL334558","Title":"THE TREE OF DEATH: YOMOTSUHEGUI GN VOL 03","Publisher":"SEVEN SEAS ENTERTAINMENT","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"SEP242245","StockNo":"STL321555","Title":"WANTED EIICHIRO ODA BEFORE ONE PIECE GN","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"SEP241132","StockNo":"STL339673","Title":"WORLD OF ARCHIE JUMBO COMICS DIGEST #145","Publisher":"ARCHIE COMIC PUBLICATIONS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP240033","StockNo":"STL341641","Title":"WYND THE POWER OF THE BLOOD #1","Publisher":"BOOM! STUDIOS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP242237","StockNo":"STL321560","Title":"X-MEN MANGA REMASTERED GN VOL 01","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "}],[{"DiamdNo":"SEP241131","StockNo":"STL339672","Title":"BETTY \u0026 VERONICA JUMBO COMICS DIGEST #329","Publisher":"ARCHIE COMIC PUBLICATIONS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP240383","StockNo":"STL340269","Title":"CONAN BARBARIAN BATTLE BLACKSTONE #3","Publisher":"TITAN COMICS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JUN241627","StockNo":"STL327927","Title":"DF DAREDEVIL WOMAN WITHOUT FEAR #1 SCHULTZ SGN","Publisher":"DYNAMIC FORCES","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JUL241591","StockNo":"STL331308","Title":"DF SPIDER-SOCIETY #1 ARTGERM SPIDER-GWEN VAR SEGURA SGN","Publisher":"DYNAMIC FORCES","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP240138","StockNo":"STL341707","Title":"DUCKTALES #1","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"FEB240249","StockNo":"STL312148","Title":"GARGOYLES QUEST #4","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP241129","StockNo":"STL339688","Title":"JOSIE ANNUAL SPECTACULAR ONESHOT","Publisher":"ARCHIE COMIC PUBLICATIONS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP242244","StockNo":"STL340500","Title":"KAGURABACHI GN","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"JUL240085","StockNo":"STL315377","Title":"KLAUS THE LIFE \u0026 TIMES OF SANTA CLAUS TP","Publisher":"BOOM! STUDIOS","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"APR241605","StockNo":"STL316895","Title":"KNIGHTS OF THE DINNER TABLE #315","Publisher":"KENZER \u0026 COMPANY","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP242241","StockNo":"STL321515","Title":"ONE PUNCH MAN GN VOL 029","Publisher":"VIZ MEDIA LLC","IsAllowed":true,"IsCustom":false,"Category":"3 "},{"DiamdNo":"SEP240270","StockNo":"STL341775","Title":"RED SONJA DEATH AND THE DEVIL #3","Publisher":"DYNAMITE","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"AUG240356","StockNo":"STL337185","Title":"RUNESCAPE UNTOLD TALES GOD WARS #1","Publisher":"TITAN COMICS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"JUL240018","StockNo":"STL330527","Title":"SOMETHING IS KILLING THE CHILDREN #0","Publisher":"BOOM! STUDIOS","IsAllowed":true,"IsCustom":false,"Category":"1 "},{"DiamdNo":"SEP241394","StockNo":"STL339173","Title":"THE OBSCURE CITIES: THE RETURN OF CAPTAIN NEMO HC","Publisher":"ALAXIS PRESS","IsAllowed":true,"IsCustom":false,"Category":"3 "}]], dates : ["Wednesday, November 13, 2024","Wednesday, November 6, 2024"], numOfColumns : 4, primaryColor : '#1F68A5', secondaryColor : '#000000', bgColor : '#FFFFFF', itemWidthPer : 100 / 4, numPrevWeeks : 1, nextWeeksDate : '', curWeekDate : 'Wednesday, November 13, 2024', rowsPerPage: 6, curPage: 0, currentIndex: 0 }; function DmdNTW_9ec2e83af87b4c34a8be7c46af740d1f() { var settings = DmdNTWSettings_9ec2e83af87b4c34a8be7c46af740d1f; document.write('
'); for (var i = 0; i < settings.dates.length; i++) { if (settings.dates[i] == settings.curWeekDate) { DmdNTW_ChangeDate_9ec2e83af87b4c34a8be7c46af740d1f(i); settings.currentIndex = i; } } } function DmdNTW_ChangeDate_9ec2e83af87b4c34a8be7c46af740d1f(index) { var settings = DmdNTWSettings_9ec2e83af87b4c34a8be7c46af740d1f; settings.currentIndex = index; settings.curPage = 0; document.getElementById("dmdNewReleasesWidget_9ec2e83af87b4c34a8be7c46af740d1f").innerHTML = DmdNTW_SetDisplayMarkup_9ec2e83af87b4c34a8be7c46af740d1f(settings.pageItems[index], settings.dates[index]); } function DmdNTW_NextPage_9ec2e83af87b4c34a8be7c46af740d1f() { var settings = DmdNTWSettings_9ec2e83af87b4c34a8be7c46af740d1f; settings.curPage += 1; document.getElementById("dmdNewReleasesWidget_9ec2e83af87b4c34a8be7c46af740d1f").innerHTML = DmdNTW_SetDisplayMarkup_9ec2e83af87b4c34a8be7c46af740d1f(settings.pageItems[settings.currentIndex], settings.dates[settings.currentIndex]); } function DmdNTW_PrevPage_9ec2e83af87b4c34a8be7c46af740d1f() { var settings = DmdNTWSettings_9ec2e83af87b4c34a8be7c46af740d1f; settings.curPage -= 1; document.getElementById("dmdNewReleasesWidget_9ec2e83af87b4c34a8be7c46af740d1f").innerHTML = DmdNTW_SetDisplayMarkup_9ec2e83af87b4c34a8be7c46af740d1f(settings.pageItems[settings.currentIndex], settings.dates[settings.currentIndex]); } function DmdNTW_SetDisplayMarkup_9ec2e83af87b4c34a8be7c46af740d1f(collection, displayDate) { var settings = DmdNTWSettings_9ec2e83af87b4c34a8be7c46af740d1f; 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_9ec2e83af87b4c34a8be7c46af740d1f();