<!--
var TAG_ATTRIBUTE = new TagAttribute();
function TagAttribute() {
	this.NJ_TYPE = "_njType";
	this.NJ_SELECTED_INDEX = "_njSelectedIndex";
	this.NJ_SWO = "_njSwo";
	this.NJ_OPEN_ACTION = "_njOpenAction";
	this.NJ_CLOSE_ACTION = "_njCloseAction";
	this.NJ_SUBMIT_ACTION = "_njSubmitAction";
	this.NJ_TAB_ORG_IMAGE = "_njTabOrgImage";
 	this.NJ_EXPAND = "_njExpand";
 	this.NJ_SELECTABLE = "_njSelectable";
 	this.NJ_SELECTED = "_njSelected";
 	this.NJ_ICON = "_njIcon";
 	this.NJ_HASH = "_njHash";
 	this.NJ_SELECTED_NODE_COLOR = "_njSelectedNodeColor";
 	this.NJ_EXPAND_ACTION = "_njExpandAction";
 	this.NJ_COLLAPSE_ACTION = "_njCollapseAction";
 	this.NJ_SELECT_ACTION = "_njSelectAction";
 	this.NJ_SELECTED_FOLDER_IMAGE ="_njSelectedFolderImage";
	this.NJ_DEFAULT_FOLDER_IMAGE ="_njDefaultFolderImage";
	this.NJ_DEFAULT_NODE_IMAGE ="_njDefaultNodeImage";
	this.NJ_CAPTION = "_njCaption";
	this.NJ_MINLENGTH = "_njMinLength";
	this.NJ_MAXLENGTH = "_njMaxLength";
	this.NJ_CONSTRAINT = "_njConstraint";
	this.NJ_REGEXP = "_njRegexp";
	this.NJ_ACTION = "_njAction";
	this.NJ_UPDATE_DATA = "_njUpdateData";
	this.NJ_SELECTED_ACTION = "_njSelectedAction";
	this.NJ_MOUSE_DOWN_BG_COLOR = "_njMouseDownBgColor";
	this.NJ_MOUSE_OVER_BG_COLOR = "_njMouseOverBgColor";
	this.NJ_MOUSE_OUT_BG_COLOR = "_njMouseOutBgColor";
	this.getNjType = function(element) {
		return this.getAttribute(element, this.NJ_TYPE);
	}
	this.getNjSwo = function(element) {
		return this.getAttribute(element, this.NJ_SWO);
	}
	this.getAttribute = function(element, attrName) {
		try {
			return element.getAttribute(attrName, 1);
		} catch (e) {
			return null;
		}
	}
	this.getBooleanAttribute = function(element, attrName) {
		try {
			var _val = element.getAttribute(attrName, 0);
			if (_val == 'true' || _val == true) {
				return true;
			}
		} catch (e) {
		}
		return false;
	}
	return this;
}
//-->
