// JavaScript Document

function showHide(what,spans) {
	hideAll(spans)
	if(document.getElementById(what).style.display=='none')
	{document.getElementById(what).style.display=''; }
	else
	{document.getElementById(what).style.display='none'; }
}


function hideAll(spans)
{
	sp_array=spans.split(",");
	for(i=0;i < sp_array.length; i++)
	{
		document.getElementById(sp_array[i]).style.display='none';
	}
}


function none()
{}


function popup(what,name,attributes)
{
	window.open(what,name,attributes);
}