/* JavaScript mini API */
function getObj(name) {
	if (document.all)
	{
		this.obj = document.all[name];
		this.style = document.all[name].style;
	}
	else if (document.getElementById)
	{
		this.obj = document.getElementById(name);
		this.style = document.getElementById(name).style;
	}
	else if (document.layers)
	{
		this.obj = getObjNN4(document,name);
		this.style = this.obj;
	}
}

function displayObj(objName) {
	var theObj = new getObj(objName);
	if (theObj.style.display == 'none') {
		theObj.style.display = '';
	} else {
		theObj.style.display = 'none';
	}
}

function showObj() {
	argv = showObj.arguments;
	for (i = 0; i < argv.length; i ++)
	{
		thisObj = new getObj(argv[i]);
		thisObj.style.display = '';
	}
}

function hideObj() {
	argv = hideObj.arguments;
	for (i = 0; i < argv.length; i ++)
	{
		thisObj = new getObj(argv[i]);
		thisObj.style.display = 'none';
	}
}