.tree, .tree ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.tree ul {
	background-color: white;
	margin-top: 4px;
}

.tree .hitarea {
	background: url(../img/treeview/treeview-default.gif) -64px -25px no-repeat;
	height: 16px;
	width: 16px;
	margin-left: -16px;
	float: left;
	cursor: pointer;
}
/* fix for IE6 */
* html .hitarea {
	display: inline;
	float:none;
}

.tree li {
	margin: 0;
	padding: 3px 0pt 3px 16px;
}

.tree li span{
	cursor: pointer;
}

.tree a.selected {
	background-color: #eee;
}

#treecontrol { margin: 1em 0; display: none; }

.tree .hover { color: red; cursor: pointer; }

.tree li { background: url(../img/treeview/treeview-default-line.gif) 0 0 no-repeat; }
.tree li.collapsable, .tree li.expandable { background-position: 0 -176px; }

.tree .expandable-hitarea { background-position: -80px -3px; }

.tree li.last { background-position: 0 -1766px }
.tree li.lastCollapsable, .tree li.lastExpandable { background-image: url(../img/treeview/treeview-default.gif); }
.tree li.lastCollapsable { background-position: 0 -111px }
.tree li.lastExpandable { background-position: -32px -67px }

.tree div.lastCollapsable-hitarea, .tree div.lastExpandable-hitarea { background-position: 0; }

.tree-red li { background-image: url(../img/treeview/treeview-red-line.gif); }
.tree-red .hitarea, .tree-red li.lastCollapsable, .tree-red li.lastExpandable { background-image: url(../img/treeview/treeview-red.gif); }

.tree-black li { background-image: url(../img/treeview/treeview-black-line.gif); }
.tree-black .hitarea, .tree-black li.lastCollapsable, .tree-black li.lastExpandable { background-image: url(../img/treeview/treeview-black.gif); }

.tree-gray li { background-image: url(../img/treeview/treeview-gray-line.gif); }
.tree-gray .hitarea, .tree-gray li.lastCollapsable, .tree-gray li.lastExpandable { background-image: url(../img/treeview/treeview-gray.gif); }

.tree-famfamfam li { background-image: url(../img/treeview/treeview-famfamfam-line.gif); }
.tree-famfamfam .hitarea, .tree-famfamfam li.lastCollapsable, .tree-famfamfam li.lastExpandable { background-image: url(../img/treeview/treeview-famfamfam.gif); }

.tree .placeholder {
	background: url(../img/treeview/ajax-loader.gif) 0 0 no-repeat;
	height: 16px;
	width: 16px;
	display: block;
}

.filetree li { padding: 3px 0 2px 16px; }
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
.filetree span.folder { background: url(../img/treeview/folder.gif) 0 0 no-repeat; }
.filetree li.expandable span.folder { background: url(../img/treeview/folder-closed.gif) 0 0 no-repeat; }
.filetree span.file { background: url(../img/treeview/file.gif) 0 0 no-repeat; }
