// Basic "current date page" loader...

var currentDate = new Date();
var cday = currentDate.getDate()
var cmonth = currentDate.getMonth() + 1
var cyear = currentDate.getFullYear()
<!-- var currentdatecomplete = 

var cmax = 0
var displayimageidcode = 0
var thisPic = 0
var displayimageidcode = "000"


var myPix = new Array(
"http://www.billydemonslayer.com/images/webcomics/vsred/000.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/001.jpg", 
"http://www.billydemonslayer.com/images/webcomics/vsred/002.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/003.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/004.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/005.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/006.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/007.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/008.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/009.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/010.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/011.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/012.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/013.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/014.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/015.jpg",
"http://www.billydemonslayer.com/images/webcomics/vsred/016.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/017.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/018.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/019.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/020.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/021.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/022.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/023.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/024.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/025.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/026.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/027.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/028.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/029.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/030.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/031.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/032.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/033.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/034.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/035.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/036.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/037.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/038.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/039.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch0/040.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/041.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/042.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/043.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/044.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/045.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/046.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/047.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/048.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/049.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/050.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/051.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/052.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/053.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/054.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/055.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/056.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/057.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/058.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/059.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/060.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/061.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/062.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/063.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/064.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/065.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/066.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/067.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/068.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/069.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/070.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/071.jpg",
"http://www.billydemonslayer.com/images/webcomics/ch1/072.jpg"
)


if ((cday == 10) && (cmonth == 12) && (cyear == 2009)) {var cmax = 2;}
if ((cday == 11) && (cmonth == 12) && (cyear == 2009)) {var cmax = 3;}
if ((cday == 12) && (cmonth == 12) && (cyear == 2009)) {var cmax = 4;}
if ((cday == 13) && (cmonth == 12) && (cyear == 2009)) {var cmax = 5;}
if ((cday == 14) && (cmonth == 12) && (cyear == 2009)) {var cmax = 6;}
if ((cday == 15) && (cmonth == 12) && (cyear == 2009)) {var cmax = 7;}
if ((cday == 16) && (cmonth == 12) && (cyear == 2009)) {var cmax = 8;}
if ((cday == 17) && (cmonth == 12) && (cyear == 2009)) {var cmax = 9;}
if ((cday == 18) && (cmonth == 12) && (cyear == 2009)) {var cmax = 10;}
if ((cday == 19) && (cmonth == 12) && (cyear == 2009)) {var cmax = 11;}
if ((cday == 20) && (cmonth == 12) && (cyear == 2009)) {var cmax = 12;}
if ((cday == 21) && (cmonth == 12) && (cyear == 2009)) {var cmax = 13;}
if ((cday == 22) && (cmonth == 12) && (cyear == 2009)) {var cmax = 14;}
if ((cday == 23) && (cmonth == 12) && (cyear == 2009)) {var cmax = 15;}
if ((cday >= 24) && (cmonth == 12) && (cyear == 2009)) {var cmax = 16;}
if ((cday >= 25) && (cmonth == 12) && (cyear == 2009)) {var cmax = 17;}
//S2E0 Start
if ((cday >= 28) && (cmonth == 12) && (cyear == 2009)) {var cmax = 18;}
if ((cday >= 31) && (cmonth == 12) && (cyear == 2009)) {var cmax = 19;}
if ((cday >= 1) && (cmonth == 1) && (cyear == 2010)) {var cmax = 19;}
if ((cday >= 4) && (cmonth == 1) && (cyear == 2010)) {var cmax = 20;}
if ((cday >= 7) && (cmonth == 1) && (cyear == 2010)) {var cmax = 21;}
if ((cday >= 11) && (cmonth == 1) && (cyear == 2010)) {var cmax = 22;}
if ((cday >= 14) && (cmonth == 1) && (cyear == 2010)) {var cmax = 23;}
if ((cday >= 17) && (cmonth == 1) && (cyear == 2010)) {var cmax = 24;}
if ((cday >= 20) && (cmonth == 1) && (cyear == 2010)) {var cmax = 25;}
if ((cday >= 23) && (cmonth == 1) && (cyear == 2010)) {var cmax = 26;}
if ((cday >= 26) && (cmonth == 1) && (cyear == 2010)) {var cmax = 27;}
if ((cday >= 29) && (cmonth == 1) && (cyear == 2010)) {var cmax = 28;}
if ((cday >= 1) && (cmonth == 2) && (cyear == 2010)) {var cmax = 29;}
if ((cday >= 4) && (cmonth == 2) && (cyear == 2010)) {var cmax = 30;}
if ((cday >= 8) && (cmonth == 2) && (cyear == 2010)) {var cmax = 31;}
if ((cday >= 11) && (cmonth == 2) && (cyear == 2010)) {var cmax = 32;}
if ((cday >= 15) && (cmonth == 2) && (cyear == 2010)) {var cmax = 33;}
if ((cday >= 18) && (cmonth == 2) && (cyear == 2010)) {var cmax = 34;}
if ((cday >= 22) && (cmonth == 2) && (cyear == 2010)) {var cmax = 35;}
if ((cday >= 25) && (cmonth == 2) && (cyear == 2010)) {var cmax = 36;}
if ((cday >= 1) && (cmonth == 3) && (cyear == 2010)) {var cmax = 37;}
if ((cday >= 4) && (cmonth == 3) && (cyear == 2010)) {var cmax = 38;}
if ((cday >= 8) && (cmonth == 3) && (cyear == 2010)) {var cmax = 39;}
if ((cday >= 11) && (cmonth == 3) && (cyear == 2010)) {var cmax = 40;}
//S2E1 Start
if ((cday >= 15) && (cmonth == 3) && (cyear == 2010)) {var cmax = 41;}
if ((cday >= 18) && (cmonth == 3) && (cyear == 2010)) {var cmax = 42;}
if ((cday >= 22) && (cmonth == 3) && (cyear == 2010)) {var cmax = 43;}
if ((cday >= 25) && (cmonth == 3) && (cyear == 2010)) {var cmax = 44;}
if ((cday >= 29) && (cmonth == 3) && (cyear == 2010)) {var cmax = 45;}
if ((cday >= 1) && (cmonth == 4) && (cyear == 2010)) {var cmax = 46;}
if ((cday >= 5) && (cmonth == 4) && (cyear == 2010)) {var cmax = 47;}
if ((cday >= 8) && (cmonth == 4) && (cyear == 2010)) {var cmax = 48;}
if ((cday >= 12) && (cmonth == 4) && (cyear == 2010)) {var cmax = 49;}
if ((cday >= 15) && (cmonth == 4) && (cyear == 2010)) {var cmax = 50;}
if ((cday >= 19) && (cmonth == 4) && (cyear == 2010)) {var cmax = 51;}
if ((cday >= 22) && (cmonth == 4) && (cyear == 2010)) {var cmax = 52;}
if ((cday >= 26) && (cmonth == 4) && (cyear == 2010)) {var cmax = 53;}
if ((cday >= 29) && (cmonth == 4) && (cyear == 2010)) {var cmax = 54;}
if ((cday >= 3) && (cmonth == 5) && (cyear == 2010)) {var cmax = 55;}
if ((cday >= 6) && (cmonth == 5) && (cyear == 2010)) {var cmax = 56;}
if ((cday >= 10) && (cmonth == 5) && (cyear == 2010)) {var cmax = 57;}
if ((cday >= 13) && (cmonth == 5) && (cyear == 2010)) {var cmax = 58;}
if ((cday >= 17) && (cmonth == 5) && (cyear == 2010)) {var cmax = 59;}
if ((cday >= 20) && (cmonth == 5) && (cyear == 2010)) {var cmax = 60;}
if ((cday >= 24) && (cmonth == 5) && (cyear == 2010)) {var cmax = 61;}
if ((cday >= 27) && (cmonth == 5) && (cyear == 2010)) {var cmax = 62;}
if ((cday >= 31) && (cmonth == 5) && (cyear == 2010)) {var cmax = 63;}
if ((cday >= 3) && (cmonth == 6) && (cyear == 2010)) {var cmax = 64;}
if ((cday >= 7) && (cmonth == 6) && (cyear == 2010)) {var cmax = 65;}
if ((cday >= 10) && (cmonth == 6) && (cyear == 2010)) {var cmax = 66;}
if ((cday >= 14) && (cmonth == 6) && (cyear == 2010)) {var cmax = 67;}
if ((cday >= 17) && (cmonth == 6) && (cyear == 2010)) {var cmax = 68;}
if ((cday >= 21) && (cmonth == 6) && (cyear == 2010)) {var cmax = 69;}
if ((cday >= 24) && (cmonth == 6) && (cyear == 2010)) {var cmax = 70;}
if ((cday >= 27) && (cmonth == 6) && (cyear == 2010)) {var cmax = 71;}
if ((cday >= 1) && (cmonth == 7) && (cyear == 2010)) {var cmax = 72;}




document.write ('<!-- Last Update: '+cday+'/'+cmonth+'/'+cyear+'-->');


<!-- End of Special -->

thisPic = cmax
document.comicimage.src=myPix[thisPic]

if (cmax > 15){
document.wbcomiccht0.src = "http://www.billydemonslayer.com/images/wbc_ch0.jpg"; 
}

if (cmax > 39) {
	document.wbcomiccht1.src = "http://www.billydemonslayer.com/images/wbc_ch1.jpg"; 
}

if (cmax > Chapter2variable) <!-- Starting Page for Chapter 2 --> 
	{
	document.wbcomiccht2.src = "http://www.billydemonslayer.com/images/wbc_ch2.jpg"; 
}

if (cmax > Chapter3Variable) <!-- Starting Page for Chapter 3 --> 
{
	document.wbcomiccht3.src = "http://www.billydemonslayer.com/images/wbc_ch3.jpg"; 
}

if (cmax > Chapter4Variable) <!-- Starting Page for Chapter 4 --> 
{
	document.wbcomiccht4.src = "http://www.billydemonslayer.com/images/wbc_ch4.jpg"; 
}

if (cmax > Chapter5Variable) <!-- Starting Page for Chapter 5 --> 
{
	document.wbcomiccht5.src = "http://www.billydemonslayer.com/images/wbc_ch5.jpg"; 
}

if (cmax > Chapter6Variable) <!-- Starting Page for Chapter 6 --> 
{
	document.wbcomiccht6.src = "http://www.billydemonslayer.com/images/wbc_ch6.jpg"; 
}

if (cmax > Chapter7Variable) <!-- Starting Page for Chapter 7 --> 
{
	document.wbcomiccht7.src = "http://www.billydemonslayer.com/images/wbc_ch7.jpg"; 
}




function doDirectpage(jumpnumber) 
{
		if (jumpnumber < cmax)
		{
		thisPic = jumpnumber
		document.comicimage.src=myPix[thisPic]
		doWhatisCurrentPage(thisPic);
		}
		
}

<!--
//Slide Show script (this notice must stay intact)
//For this and more scripts
//visit java-scripts.net or http://wsabstract.com


function doPrevious() {
    if (document.images && thisPic > 0) {
        thisPic--
        document.comicimage.src=myPix[thisPic]
		doWhatisCurrentPage(thisPic);
    }
}

function doNext() {
    if (document.images && thisPic < cmax) {
        thisPic++
        document.comicimage.src=myPix[thisPic]
		doWhatisCurrentPage(thisPic);
    }
}

function doCurrent() {
	if (document.images && thisPic < cmax) {
		thisPic = cmax
		document.comicimage.src=myPix[thisPic]
		doWhatisCurrentPage(thisPic);
	}
}

function doFirst() {
	if (document.images && thisPic > 0) {
		thisPic = 0
		document.comicimage.src=myPix[thisPic]
		doWhatisCurrentPage(thisPic);
	}
}

function doWhatisMaxPages() 
{
document.write (cmax);	
}

function doGetCurrentPage()
{
document.write (thisPic);
}

function doWhatisCurrentPage(updatedPicID) 
{
document.getElementById('pgjump').innerHTML = (updatedPicID);	
}
// -->

