/*
   This document is only needed when page is rendered with MS IE.
   If you wonder why, I'll tell you: MS IE does not support CSS properly.
*/

if (document.all && document.getElementsByTagName && window.attachEvent)
	window.attachEvent("onload", fixMSIE);

var selected;

function fixMSIE() {
	var fs = document.getElementsByTagName("A");
	for (i = 0; i < fs.length; i++) {
		var f = fs[i];
		if (f.className == 'navi')
			f.onmouseover = popupon
	}
	document.all.pageback.onmouseover = popupoff;
	selected = document.all.p0;
}

function popupon() {
	selected.style.display = 'none';
	selected = document.getElementById('p'+window.event.toElement.id.substring(1));
	selected.style.display = 'block';
}

function popupoff() {
	selected.style.display = 'none';
}
