var theIndex = new Array(0,1,2,3,4,5,6);

function shuffleImages(){
    var daddy = document.getElementById("footer");
	var oldKids = daddy.getElementsByTagName("a");
	var newKids = new Array();

	while (oldKids.length) newKids.push(daddy.removeChild(oldKids[0]));
	
	for (var p = theIndex.length; p > 0; p--)
	{
		var whichImage = Math.round(Math.random()*(p-1));
		daddy.appendChild(newKids[theIndex[whichImage]]);
		theIndex.splice(whichImage, 1);
	}
}

// In a perfect world...
// window.addEventListener("load", shuffleImages, false);
