/**
 * 设置图片资源
 */
 
var iconPath = "../js/treeicons/"; //图片路径
var baseIconName ="empty1.gif"; //树根图片
var emptyIconName = "empty.gif"; //空图片名
var folderIconName = "empty.gif"; //文件夹图片名
var folderOpenIconName = "empty.gif"; //打开后的文件夹图片名
var joinIconName = "empty.gif"; //尾部子节点连接图片名 L
var joinBottomIconName = "empty.gif"; //中间子节点连接图片名
var lineIconName = "empty.gif"; //同级节点连线图片名
var minusIconName = "empty.gif"; //尾部打开节点连接图片名
var minusBottomIconName = "inco_2b.jpg"; //中间打开节点连接图片名
var pageIconName = "empty.gif"; //末级节点图片名
var plusIconName = "inco_2a.jpg"; //尾部关闭节点连接图片名
var plusBottomIconName = "inco_2a.jpg"; //中间关闭节点连接图片名
var tableWidth = "200"; //树宽度
var headStyle = "background-color:#F5E5E5;height:11;"; //树根样式
//var firstStyle = "height:25;background-image:url(../images/left_bg.jpg);"; //一级树样式
var firstStyle = "background-color:#F5E5E5;height:25;"; //一级树样式
var otherStyle = "background-color:#F68F47;height:25;"; //其它级样式
var isChangeJoinIcon = true; //用户点击 ＋ － 节点后是否改变其图表 比如点击后将＋改为－
var headFontStyle = "font-size: 2px;color: #F9F9F9;font-weight: normal;font-family: '宋体';"; //树根字体样式
var firstFontStyle = "font-size: 12px;color: #333333;font-weight: normal;font-family: '宋体';"; //一级树字体样式
var otherFontStyle = "font-size: 12px;color: #333333;font-weight: normal;font-family: '宋体';"; //其它级字体样式

var TREE_TPL = {
	
	'table_width' : tableWidth, //树表宽度
	'head_style' : headStyle, //树头样式
	'first_style' : firstStyle, //一级树样式
	'other_style' : otherStyle, //其它级样式
	'head_font_style' : headFontStyle, //树根字体样式
	'first_font_style' : firstFontStyle, //一级树字体样式
	'other_font_style' : otherFontStyle, //其它级字体样式
	'isChangeJoinIcon' : isChangeJoinIcon, //用户点击 ＋ － 节点后是否改变其图表 比如点击后将＋改为－
	'target'  : "",	// name of the frame links will be opened in
							// other possible values are: _blank, _parent, _search, _self and _top
	'icon_e'  : iconPath+emptyIconName, // empty image
	'icon_l'  : iconPath+lineIconName,  // vertical line

        'icon_32' : iconPath+baseIconName,   // root leaf icon normal
        'icon_36' : iconPath+baseIconName,   // root leaf icon selected
	
	'icon_48' : iconPath+baseIconName,   // root icon normal
	'icon_52' : iconPath+baseIconName,   // root icon selected
	'icon_56' : iconPath+baseIconName,   // root icon opened
	'icon_60' : iconPath+baseIconName,   // root icon selected
	
	'icon_16' : iconPath+folderIconName, // node icon normal
	'icon_20' : iconPath+folderOpenIconName, // node icon selected
	'icon_24' : iconPath+folderOpenIconName, // node icon opened
	'icon_28' : iconPath+folderOpenIconName, // node icon selected opened

	'icon_0'  : iconPath+pageIconName, // leaf icon normal
	'icon_4'  : iconPath+pageIconName, // leaf icon selected
	
	'icon_2'  : iconPath+joinBottomIconName, // junction for leaf
	'icon_3'  : iconPath+joinIconName,       // junction for last leaf
	'icon_18' : iconPath+plusBottomIconName, // junction for closed node
	'icon_19' : iconPath+plusIconName,       // junctioin for last closed node
	'icon_26' : iconPath+minusBottomIconName,// junction for opened node
	'icon_27' : iconPath+minusIconName       // junctioin for last opended node
};

