<%
    use ui::cmn;
    my ($s,$prj,$toc,$bodies) = @_;
%>
<script  language="JavaScript">
<!--
function show_tree_leaf_props(n)
{
    var e;
    var i=0;
    while(i<=max_leaves)
    {
	if (++i==n) ++i; 
	e = ge_by_id('propstree_leaf_body_' + i);
	if (!e) continue;
	e.style.display = 'none';
	ge_by_id('propstree_leaf_' + i).className = 'tree-leaf';
    }
    e = ge_by_id('propstree_leaf_body_' + n);
    if (e) {
	e.style.display = 'block';
	ge_by_id('propstree_leaf_' + n).className = 'tree-leaf-active';
    }
    setFooterBottom(1);
}

function xSetCookie(name, value, expire, path)
{
  document.cookie = name + "=" + escape(value) +
                    ((!expire) ? "" : ("; expires=" + expire.toGMTString())) +
                    "; path=" + ((!path) ? "/" : path);
}

function xGetCookie(name)
{
  var value=null, search=name+"=";
  if (document.cookie.length > 0) {
    var offset = document.cookie.indexOf(search);
    if (offset != -1) {
      offset += search.length;
      var end = document.cookie.indexOf(";", offset);
      if (end == -1) end = document.cookie.length;
      value = unescape(document.cookie.substring(offset, end));
    }
  }
  return value;
}

var xVersion='3.15.4',xNN4,xOp7,xOp5or6,xIE4Up,xIE4,xIE5,xUA=navigator.userAgent.toLowerCase();
if (window.opera){
  xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
  if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
}
else if (document.all && xUA.indexOf('msie')!=-1) {
  xIE4Up=parseInt(navigator.appVersion)>=4;
  xIE4=xUA.indexOf('msie 4')!=-1;
  xIE5=xUA.indexOf('msie 5')!=-1;
}
else if (document.layers) {xNN4=true;}
xMoz=xUA.indexOf('gecko')!=-1;
xMac=xUA.indexOf('mac')!=-1;

if (xGetCookie('msiebroken_warned')!='yes')
{
    xSetCookie('msiebroken_warned','yes','','');
    if (xIE4Up)
	alert('Please note! MSIE has severe rendering bugs that cause some labels near dropdown lists to be invisible until you select text of the label. We greatly recommend using other browsers with this dialog!');
}
-->
</script>

<form method=post>
<input type=hidden name=havevals value=1>

<div class=stretchformfields>
<table id=settings><tr><td  valign=top align=left>

<table><tr><td><%$ $toc %></td></table>

</td><td valign=top align=left>


<table style='width:100%'><tr><td>
<div id=setting-bodies  style='width:100%;text-align: left;'>
<%$ $bodies %>
</div>
</td></table>


</td>
</table>
<% $forge->include('wgt-btns-ok-cancel') %>
</div>
</form>

