// will expand or collapse nex <div></div> paragraph with specified ID
// in:  a_strID - id fields of <div></div> paragraph
/*function OnExpand(a_strID)
{
  window.event.returnValue=0; // prevent jump to document begin
  // get current tag index
  var nCurPos=window.event.srcElement.sourceIndex;
  for (; nCurPos<document.all.length; nCurPos++)
  { //S cycle through tag and find first <div id="expandable">
    if(document.all(nCurPos).tagName!="DIV") continue;
    if(document.all(nCurPos).id!=a_strID) continue;
    if(document.all(nCurPos).style.display=="none")
    { // if tag is collapsed - exapnd it
      document.all(nCurPos).style.display="";
    }
    else
    { // if not collapsed - collapse it
      document.all(nCurPos).style.display="none";
    }
    break;  // after tag is done, leave search cycle
  }
}*/
function OnExpand(a_strID)
{
	var style = document.getElementById(a_strID).style;
	if(style.display!="none") style.display = "none";
	else style.display = "block";
	return (style.display != "none");
}
