var sequence = 0;
var image = new Array(
"images/japan1.jpg",
"images/japan2.jpg",
"images/hnc1.jpg",
"images/hnc2.jpg",
"images/haruhi1.jpg",
"images/haruhi2.jpg",
"images/haruhi3.jpg",
"images/ouran1.jpg",
"images/ouran2.jpg",
"images/ouran3.jpg",
"images/ouran4.jpg",
"images/higurashi1.jpg",
"images/deathnote1.jpg"
);

function randomImage( )
{
	var index = Math.round((image.length-1)*Math.random());
	sequence = index + 1;
	document.body.style.backgroundImage = 'url(' + image[index] + ')';
}

function sequentialImage( )
{
	document.body.style.backgroundImage = 'url(' + image[sequence] + ')';
	sequence = (sequence + 1) % image.length;
}

