




var speed  = 3000;

var gfxI = 0;



function changeImg() {	


    document.images['changepic'].src = img[gfxI].src;
    
	gfxI = gfxI + 1 >= img.length ? 0 : gfxI + 1;

	setTimeout('changeImg()', speed);
}

function loadCard(layerId) {
	 location.href = '/cardconfig.php?cardload=' + cards[gfxI-1];
}

function changeColor(divId) {

}