// +-----------------------------------------------------------------------+
//
-// $Id: TreeMenu.js,v 1.5 2004/02/02 06:32:18 chriskl Exp $
+// $Id: TreeMenu.js,v 1.6 2005/01/19 10:50:20 mr-russ Exp $
/**
* Function to create copies of objects which are
*/
var gifname = nodes[i].n.length && this.doesMenu() && nodes[i].isDynamic ? (expanded ? 'minus' : 'plus') : 'branch';
var iconName = expanded && nodes[i].expandedIcon ? nodes[i].expandedIcon : nodes[i].icon;
- var iconimg = nodes[i].icon ? this.stringFormat('<img src="{0}/{1}" width="20" height="20" border="0" align="top" id="icon_{2}">', this.iconpath, iconName, layerID) : '';
+ var iconimg = nodes[i].icon ? this.stringFormat('<img src="{0}/{1}" width="20" height="20" border="0" align="middle" id="icon_{2}">', this.iconpath, iconName, layerID) : '';
/**
* Add event handlers