function expandRows(id1,id2,id3,id4,id5)
{
	if (id1 != '') expandRow(id1);
	if (id2 != '') expandRow(id2);
	if (id3 != '') expandRow(id3);
	if (id4 != '') expandRow(id4);
	if (id5 != '') expandRow(id5);
}

function expandRow(id)
{
	var elm = null;
	if (document.getElementById)
  {
    // browser implements part of W3C DOM HTML
    // Gecko, Internet Explorer 5+, Opera 5+
    elm = document.getElementById(id);
  }
  else if (document.all)
  {
    // Internet Explorer 4 or Opera with IE user agent
    elm = document.all[id];
  }
  else if (document.layers)
  {
    // Navigator 4
    elm = document.layers[id];
  }

  if (!elm)
  {
    // browser not supported or element not found
  }
  else if (elm.style)
  {
    // browser implements part of W3C DOM Style
    // Gecko, Internet Explorer 4+, Opera 5+
		if (elm.style.display == "none")
			elm.style.display = ""
		else
			elm.style.display = "none"
  }
  else
  {
    // Navigator 4
		elm.visibility = "show"
  }
}
