// AI2 JavaScript Document
function pointercursor(){document.body.style.cursor = "move";}
function unpointercursor(){document.body.style.cursor="";}

function onLoadFunction() {
	if (document.getElementById) {  // DOM3 = IE5, NS6
		document.getElementById('loadingLayer').style.visibility = 'hidden';
	}
	else {
		if (document.layers) {  // Netscape 4
			document.loadingLayer.visibility = 'hidden';
		}
		else {  // IE 4
			document.all.loadingLayer.style.visibility = 'hidden';
		}
	}
}

function display(action, id)
{
	if (action == 'show')
	{
		document.getElementById("explanation"+id).style.display = "block";
		document.getElementById("link"+id).href= "javascript:display('hide', "+id+")";
	}

	if (action == 'hide')
	{
		document.getElementById("explanation"+id).style.display = "none";
		document.getElementById("link"+id).href= "javascript:display('show', "+id+")";
	}
}
