function changeImage(i) {
	document.getElementById ('image').src = document.getElementById ('image' + i).src;
	// FIXME Konqueror pushes the image to the right when switching from a
	// horizontal to a vertical image and to the left when switching from a
	// vertical one to a horizontal, respectively.
	// alert (document.getElementById ('image').offsetLeft);
	// Only occurs when the heights of the swapped images differ.
	document.getElementById ('image').parentNode.href = document.getElementById ('image').src;
	c = i;
}

window.onload = init;