/*** Zen Module: ZEN_Component__core ***/
js_zen_core = 14;

self._zenClassIdx['object'] = '_ZEN_Component_object';
self._ZEN_Component_object = function(index,id) {
	if (index>=0) {_ZEN_Component_object__init(this,index,id);}
}

self._ZEN_Component_object__init = function(o,index,id) {
	o.index = index;
	o.id = id;
	o.name = '';
	o.parent = null;
	o.composite = null;
	o.aux = '';
	o.onupdate = '';
	o.renderFlag = '0';
	o.tuple = '';
	o.visible = false;
	o.window = null;
}
function _ZEN_Component_object_serialize(set,s)
{
	var o = this;s[0]='3874650476';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.aux;s[7]=o.onupdate;s[8]=o.renderFlag;s[9]=o.tuple;s[10]=(o.visible?1:0);
}
function _ZEN_Component_object_getSettings(s)
{
	s['id'] = 'string';
	s['name'] = 'string';
	s['aux'] = 'string';
	s['onupdate'] = 'eventHandler';
}

self._ZEN_Component_object_findElement = function(subid) {
return this.window.document.getElementById(subid + '_' + this.index + (null==this.tuple||''==this.tuple?'':'.'+this.tuple));
}

self._ZEN_Component_object_fireOnUpdateEvent = function() {
if (this.onupdateHandler) {
this.onupdateHandler();
}
if ('' != this.onupdate) {
zenInvokeCallbackMethod(this.onupdate,this,'onupdate');
}
}

self._ZEN_Component_object_getProperty = function(property,key) {
if ('' != property) {
return this[property];
}
return null;
}

self._ZEN_Component_object_getSettings = function(settings) {
}

self._ZEN_Component_object_getType = function() {
return this._type;
}

self._ZEN_Component_object_invokeSuper = function(method,args) {
var val = null;
try {
var oldMethod = this._methodContext;
var oldContext = this._superContext;
this._superContext = (this._superContext&&(method==this._methodContext)) ? this._superContext.superClass : this.superClass;
this._methodContext = method;
val = this._superContext[method].apply(this,args);
this._superContext = oldContext;
this._methodContext = oldMethod;
}
catch(ex) {
zenExceptionHandler(ex,arguments,'Error in invokeSuper.\nMethod: ' + method);
}
return val;
}

self._ZEN_Component_object_isOfType = function(type) {
var obj = this;
while (obj) {
if (obj._type == type) {
return true;
}
obj = obj.superClass;
}
return false;
}

self._ZEN_Component_object_makeId = function(subid) {
return subid + '_' + this.index + (null!=this.tuple&&''!=this.tuple ? ('.'+this.tuple) : '');
}

self._ZEN_Component_object_render = function() {
if (this.renderContents) {
try {
this.renderContents();
}
catch(ex) {
var src = 'Source: (' + this._type + ' id="' + this.id + '")\n';
zenExceptionHandler(ex,arguments,'Error invoking renderContents method.\n' + src);
}
}
}

self._ZEN_Component_object_renderSVG = function(document,parent) {
alert('ZEN ERROR\nHTML Components cannot be used within an svgFrame:\nType: '+ this._type + '; index: ' + this.index + '; id: \'' + this.id + '\'');
}

self._ZEN_Component_object_setProperty = function(property,value,value2) {
switch(property) {
case 'id':
if (zenPage) {
zenPage.setComponentId(this,value);
}
else {
this.id = value;
}
break;
case 'name':
this.name = value;
break;
case 'aux':
this.aux = value;
break;
default:
if ('' != property && ('object'!=typeof(this[property]))) {
this[property] = value;
}
return false;
}
return true;
}
self._ZEN_Component_object__Loader = function() {
	var p = _ZEN_Component_object.prototype;
	if (null==p) {return;}
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.object';
	p._type = 'object';
	p.serialize = _ZEN_Component_object_serialize;
	p.getSettings = _ZEN_Component_object_getSettings;
	p.findElement = _ZEN_Component_object_findElement;
	p.fireOnUpdateEvent = _ZEN_Component_object_fireOnUpdateEvent;
	p.getProperty = _ZEN_Component_object_getProperty;
	p.getSettings = _ZEN_Component_object_getSettings;
	p.getType = _ZEN_Component_object_getType;
	p.invokeSuper = _ZEN_Component_object_invokeSuper;
	p.isOfType = _ZEN_Component_object_isOfType;
	p.makeId = _ZEN_Component_object_makeId;
	p.render = _ZEN_Component_object_render;
	p.renderSVG = _ZEN_Component_object_renderSVG;
	p.setProperty = _ZEN_Component_object_setProperty;
}

self._zenClassIdx['component'] = '_ZEN_Component_component';
self._ZEN_Component_component = function(index,id) {
	if (index>=0) {_ZEN_Component_component__init(this,index,id);}
}

self._ZEN_Component_component__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_object__init) ?zenMaster._ZEN_Component_object__init(o,index,id):_ZEN_Component_object__init(o,index,id);
	o.align = '';
	o.containerStyle = '';
	o.dragEnabled = false;
	o.dropEnabled = false;
	o.dynamic = false;
	o.enclosingClass = 'zendiv';
	o.enclosingStyle = '';
	o.error = '';
	o.height = '';
	o.hidden = false;
	o.hint = '';
	o.hintClass = 'zenHint';
	o.hintStyle = '';
	o.label = '';
	o.labelClass = 'zenLabel';
	o.labelStyle = '';
	o.onafterdrag = '';
	o.onbeforedrag = '';
	o.ondrag = '';
	o.ondrop = '';
	o.onhide = '';
	o.onrefresh = '';
	o.onshow = '';
	o.overlayMode = '0';
	o.showLabel = true;
	o.slice = '';
	o.title = '';
	o.valign = '';
	o.visible = true;
	o.width = '';
}
function _ZEN_Component_component_serialize(set,s)
{
	var o = this;s[0]='1038571008';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.containerStyle;s[9]=(o.dragEnabled?1:0);s[10]=(o.dropEnabled?1:0);s[11]=(o.dynamic?1:0);s[12]=o.enclosingClass;s[13]=o.enclosingStyle;s[14]=o.error;s[15]=o.height;s[16]=(o.hidden?1:0);s[17]=o.hint;s[18]=o.hintClass;s[19]=o.hintStyle;s[20]=o.label;s[21]=o.labelClass;s[22]=o.labelStyle;s[23]=o.onafterdrag;s[24]=o.onbeforedrag;s[25]=o.ondrag;s[26]=o.ondrop;s[27]=o.onhide;s[28]=o.onrefresh;s[29]=o.onshow;s[30]=o.onupdate;s[31]=o.overlayMode;s[32]=o.renderFlag;s[33]=(o.showLabel?1:0);s[34]=o.slice;s[35]=o.title;s[36]=o.tuple;s[37]=o.valign;s[38]=(o.visible?1:0);s[39]=o.width;
}
function _ZEN_Component_component_getSettings(s)
{
	s['name'] = 'string';
	s['align'] = 'enum:left,right,center';
	s['containerStyle'] = 'style';
	s['dragEnabled'] = 'boolean';
	s['dropEnabled'] = 'boolean';
	s['enclosingClass'] = 'cssClass';
	s['enclosingStyle'] = 'style';
	s['height'] = 'length';
	s['hidden'] = 'boolean';
	s['hint'] = 'caption';
	s['hintClass'] = 'cssClass';
	s['hintStyle'] = 'style';
	s['label'] = 'caption';
	s['labelClass'] = 'cssClass';
	s['labelStyle'] = 'style';
	s['onafterdrag'] = 'eventHandler';
	s['onbeforedrag'] = 'eventHandler';
	s['ondrag'] = 'eventHandler';
	s['ondrop'] = 'eventHandler';
	s['onhide'] = 'eventHandler';
	s['onrefresh'] = 'eventHandler';
	s['onshow'] = 'eventHandler';
	s['showLabel'] = 'boolean';
	s['slice'] = 'integer';
	s['title'] = 'caption';
	s['valign'] = 'enum:top,bottom,middle';
	s['width'] = 'length';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_component_dragHandler = function() {
try {
var dragData = new zenDragData();
dragData.sourceComponent = this;
if ('' != this.onbeforedrag) {
if (!zenInvokeCallbackMethod(this.onbeforedrag,this,'onbeforedrag','dragData',dragData)) {
if (null == dragData.value) {
dragData = null;
}
return dragData;
}
}
if (!this.dragStartHandler ||
!this.dragStartHandler(dragData) ||
(null == dragData.value)) {
return null;
}
if ('' != this.ondrag) {
if (!zenInvokeCallbackMethod(this.ondrag,this,'ondrag','dragData',dragData)) {
return null;
}
}
}
catch(ex) {
zenExceptionHandler(ex,arguments,'Error in dragHandler.');
}
return dragData;
}

self._ZEN_Component_component_dragNotifyHandler = function(dragData) {
try {
if (this.dragFinishHandler) {
this.dragFinishHandler(dragData);
}
zenInvokeCallbackMethod(this.onafterdrag,this,'onafterdrag','dragData',dragData);
}
catch(ex) {
zenExceptionHandler(ex,arguments,'Error in dragNotifyHandler.');
}
}

self._ZEN_Component_component_dropHandler = function() {
try {
var dragData = ZLM.getDragData();
dragData.targetComponent = this;
if ('' != this.ondrop) {
if (!zenInvokeCallbackMethod(this.ondrop,this,'ondrop','dragData',dragData)) {
return;
}
}
if (this.dropStartHandler && !this.dropStartHandler(dragData)) {
return;
}
if (dragData.sourceComponent) {
dragData.sourceComponent.dragNotifyHandler(dragData);
}
}
catch(ex) {
zenExceptionHandler(ex,arguments,'Error in dropHandler.');
}
}

self._ZEN_Component_component_exposeComponent = function() {
try {
var div = this.getEnclosingDiv();
if (!div) return;
if (div.offsetWidth == 0 || div.offsetHeight == 0) return;
if (this.onDisplayHandler) {
this.onDisplayHandler();
}
}
catch(ex) {
zenExceptionHandler(ex,arguments,'Error in exposeComponent.');
}
}

self._ZEN_Component_component_getEnclosingDiv = function() {
return this.window.document.getElementById(('' == this.id) ? 'zen'+this.index : this.id);
}

self._ZEN_Component_component_getHidden = function() {
return this.hidden;
}

self._ZEN_Component_component_getHintElement = function() {
return this.window.document.getElementById('zenhint_'+this.index);
}

self._ZEN_Component_component_getLabelElement = function() {
return this.window.document.getElementById('zenlbl_'+this.index);
}

self._ZEN_Component_component_progressBarHandler = function() {
this.progressBarTimerId = null;
this._progressBarCount++;
if (this._progressBarDiv) {
var style = '';
if (null != this._progressBarDivWid) {
style += 'width: ' + this._progressBarDivWid + 'px;';
}
if (null != this._progressBarDivHgt) {
style += 'height: ' + this._progressBarDivHgt + 'px;';
}
if ('' == style) {
style = 'width: 100%';
}
this._progressBarDiv.innerHTML = '<div align="center" style="'+style+'"><table class="zenProgressBar" border="0" cellpadding="0" cellspacing="0" width="200px"><tr><td width="'+((this._progressBarCount%20)*10)+'px">&#160;</td><td class="zenProgressBarThumb" width="10px">&#160;</td><td width="99%">&#160;</td></tr></table></div>';
}
this.progressBarTimerId = self.setTimeout("zenPage.getComponent("+this.index+").progressBarHandler()",75);
}

self._ZEN_Component_component_refreshContents = function(sync) {
if (!this.visible) { return; }
switch (zenRefreshMode) {
case 0:
if (sync) {
var old = zenSynchronousMode;
zenSynchronousMode = true;
}
this.ReallyRefreshContents();
if (sync) {
zenSynchronousMode = old;
}
break;
case 1:
zenASSERT(zenThreadId!=null,'thread id should not be null',arguments);
zenASSERT(zenRefreshList,'refresh list should not be null',arguments);
zenRefreshList[zenThreadId][this.index] = this;
break;
}
}

self._ZEN_Component_component_setHidden = function(flag) {
var enc = this.getEnclosingDiv();
zenASSERT(enc,"Unable to find enclosing element.",arguments);
if (flag) {
zenInvokeCallbackMethod(this.onhide,this,'onhide');
}
else {
zenInvokeCallbackMethod(this.onshow,this,'onshow');
}
this.hidden = flag;
enc.style.display = this.hidden ? 'none' : '';
var label = this.getLabelElement();
if (label) {
label.style.display = this.hidden ? 'none' : '';
}
var hint = this.getHintElement();
if (hint) {
hint.style.display = this.hidden ? 'none' : '';
}
if (!flag) {
if (this.exposeComponent) {
setTimeout('zenPage.getComponent('+this.index+').exposeComponent();',0);
}
}
}

self._ZEN_Component_component_setOverlayMode = function(mode) {
var enc = this.getEnclosingDiv();
if (!enc) return;
var overlay = this.window.document.getElementById('overlay_'+this.index);
if (overlay) {
enc.removeChild(overlay);
delete overlay;
}
this.overlayMode = mode;
if (mode > 0) {
var overlay = this.window.document.createElement('div');
overlay.id = 'overlay_' + this.index;
enc.appendChild(overlay);
overlay.className = (2==mode) ? 'zenOverlaySelected' : 'zenOverlay';
overlay.style.top = zenGetTop(enc) - 1 - zenGetTopScroll(enc);
overlay.style.left = zenGetLeft(enc) - 1 - zenGetLeftScroll(enc);
overlay.style.width = enc.offsetWidth;
overlay.style.height = enc.offsetHeight;
if (2==mode) {
if (overlay.style.opacity != null) {
overlay.style.background = 'yellow';
overlay.style.opacity = '0.5';
}
else if (overlay.style.filter != null) {
overlay.style.background = 'yellow';
overlay.style.filter = 'alpha(opacity=50)';
}
}
overlay.onclick = new Function("zenPage.onoverlayHandler("+this.index+");");
}
}

self._ZEN_Component_component_setProperty = function(property,value,value2) {
switch(property) {
case 'hidden':
this.setHidden(value);
break;
case 'hint':
case 'hintClass':
case 'hintStyle':
this[property] = value;
var hint = this.getHintElement();
if (hint) {
switch(property) {
case 'hint':
hint.innerHTML = value;
break;
case 'hintClass':
hint.className = value;
break;
case 'hintStyle':
hint.style.cssText = value;
break;
}
}
else if (this.parent) {
this.parent.refreshContents();
}
break;
case 'label':
case 'labelClass':
case 'labelStyle':
this[property] = value;
var label = this.getLabelElement();
if (label) {
switch(property) {
case 'label':
label.innerHTML = value;
break;
case 'labelClass':
label.className = value;
break;
case 'labelStyle':
label.style.cssText = value;
break;
}
}
else if (this.parent) {
this.parent.refreshContents();
}
break;
case 'containerStyle':
case 'align':
case 'valign':
case 'width':
case 'height':
case 'slice':
this[property] = value;
if (this.parent) {
this.parent.refreshContents();
}
break;
case 'enclosingClass':
this.enclosingClass = value;
var enc = this.getEnclosingDiv();
enc.className = value;
break;
case 'enclosingStyle':
this.enclosingStyle = value;
var enc = this.getEnclosingDiv();
enc.style.cssText = value;
break;
case 'dragEnabled':
case 'dropEnabled':
this[property] = value;
break;
default:
return this.invokeSuper('setProperty',arguments);
break;
}
return true;
}

self._ZEN_Component_component_startProgressBar = function(div) {
this.stopProgressBar();
if (!zenSynchronousMode) {
this._progressBarCount = 0;
if (div) {
this._progressBarDiv = div;
delete this._progressBarDivWid;
delete this._progressBarDivHgt;
}
else {
this._progressBarDiv = this.getEnclosingDiv();
this._progressBarDivWid = this._progressBarDiv.offsetWidth;
this._progressBarDivHgt = this._progressBarDiv.offsetHeight;
}
this.progressBarTimerId = self.setTimeout("zenPage.getComponent("+this.index+").progressBarHandler()",zenProgressBarTimeout);
}
}

self._ZEN_Component_component_stopProgressBar = function() {
if (this.progressBarTimerId) {
self.clearTimeout(this.progressBarTimerId);
this.progressBarTimerId = null;
}
}

self._ZEN_Component_component_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_component__Loader = function() {
	zenLoadClass('_ZEN_Component_object');
	_ZEN_Component_component.prototype = zenCreate('_ZEN_Component_object',-1);
	var p = _ZEN_Component_component.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_component;
	p.superClass = ('undefined' == typeof _ZEN_Component_object) ? zenMaster._ZEN_Component_object.prototype:_ZEN_Component_object.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.component';
	p._type = 'component';
	p.serialize = _ZEN_Component_component_serialize;
	p.getSettings = _ZEN_Component_component_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_component_ReallyRefreshContents;
	p.dragHandler = _ZEN_Component_component_dragHandler;
	p.dragNotifyHandler = _ZEN_Component_component_dragNotifyHandler;
	p.dropHandler = _ZEN_Component_component_dropHandler;
	p.exposeComponent = _ZEN_Component_component_exposeComponent;
	p.getEnclosingDiv = _ZEN_Component_component_getEnclosingDiv;
	p.getHidden = _ZEN_Component_component_getHidden;
	p.getHintElement = _ZEN_Component_component_getHintElement;
	p.getLabelElement = _ZEN_Component_component_getLabelElement;
	p.progressBarHandler = _ZEN_Component_component_progressBarHandler;
	p.refreshContents = _ZEN_Component_component_refreshContents;
	p.setHidden = _ZEN_Component_component_setHidden;
	p.setOverlayMode = _ZEN_Component_component_setOverlayMode;
	p.setProperty = _ZEN_Component_component_setProperty;
	p.startProgressBar = _ZEN_Component_component_startProgressBar;
	p.stopProgressBar = _ZEN_Component_component_stopProgressBar;
}

self._zenClassIdx['abstractGroup'] = '_ZEN_Component_abstractGroup';
self._ZEN_Component_abstractGroup = function(index,id) {
	if (index>=0) {_ZEN_Component_abstractGroup__init(this,index,id);}
}

self._ZEN_Component_abstractGroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_component__init) ?zenMaster._ZEN_Component_component__init(o,index,id):_ZEN_Component_component__init(o,index,id);
	o.children = new Array();
	o.disabled = false;
}
function _ZEN_Component_abstractGroup_serialize(set,s)
{
	var o = this;s[0]='1107266678';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=set.serializeList(o,o.children,true,'children');s[9]=o.containerStyle;s[10]=(o.disabled?1:0);s[11]=(o.dragEnabled?1:0);s[12]=(o.dropEnabled?1:0);s[13]=(o.dynamic?1:0);s[14]=o.enclosingClass;s[15]=o.enclosingStyle;s[16]=o.error;s[17]=o.height;s[18]=(o.hidden?1:0);s[19]=o.hint;s[20]=o.hintClass;s[21]=o.hintStyle;s[22]=o.label;s[23]=o.labelClass;s[24]=o.labelStyle;s[25]=o.onafterdrag;s[26]=o.onbeforedrag;s[27]=o.ondrag;s[28]=o.ondrop;s[29]=o.onhide;s[30]=o.onrefresh;s[31]=o.onshow;s[32]=o.onupdate;s[33]=o.overlayMode;s[34]=o.renderFlag;s[35]=(o.showLabel?1:0);s[36]=o.slice;s[37]=o.title;s[38]=o.tuple;s[39]=o.valign;s[40]=(o.visible?1:0);s[41]=o.width;
}
function _ZEN_Component_abstractGroup_getSettings(s)
{
	s['name'] = 'string';
	s['disabled'] = 'boolean';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_abstractGroup_addChild = function(component,refresh) {
zenASSERT(component && zenIsComponent(component),'Invalid component',arguments);
if (!component.isOfType('component')) {
alert('Only HTML components can be added to groups');
return;
}
this.children[this.children.length] = component;
component.parent = this;
if (this.childrenMutated) {
this.childrenMutated();
}
if (refresh) {
this.refreshContents();
}
}

self._ZEN_Component_abstractGroup_addChildAfter = function(component,sibling,refresh) {
zenASSERT(component && zenIsComponent(component),'Invalid component',arguments);
if (!component.isOfType('component')) {
alert('Only HTML components can be added to groups');
return;
}
var index = this.getChildIndex(sibling);
if (index < 0) {
alert('addChildAfter: sibling is not in this group');
return;
}
this.children.splice(index+1,0,component);
component.parent = this;
if (this.childrenMutated) {
this.childrenMutated();
}
if (refresh) {
this.refreshContents();
}
}

self._ZEN_Component_abstractGroup_addChildBefore = function(component,sibling,refresh) {
zenASSERT(component && zenIsComponent(component),'Invalid component',arguments);
if (!component.isOfType('component')) {
alert('Only HTML components can be added to groups');
return;
}
var index = this.getChildIndex(sibling);
if (index < 0) {
alert('addChildBefore: sibling is not in this group');
return;
}
this.children.splice(index,0,component);
component.parent = this;
if (this.childrenMutated) {
this.childrenMutated();
}
if (refresh) {
this.refreshContents();
}
}

self._ZEN_Component_abstractGroup_exposeComponent = function() {
try {
var div = this.getEnclosingDiv();
if (!div) return;
if (div.offsetWidth == 0 || div.offsetHeight == 0) return;
if (this.onDisplayHandler) {
this.onDisplayHandler();
}
for (var n = 0; n < this.children.length; n++) {
this.children[n].exposeComponent();
}
}
catch(ex) {
zenExceptionHandler(ex,arguments,'Error in exposeComponent.');
}
}

self._ZEN_Component_abstractGroup_getChildIndex = function(child) {
for (var n = 0; n < this.children.length; n++) {
if (this.children[n] == child) {
return n;
}
}
return -1;
}

self._ZEN_Component_abstractGroup_onRefreshContents = function() {
for (var n = 0; n < this.children.length; n++) {
var child = this.children[n];
if (child.onRefreshContents) child.onRefreshContents();
zenInvokeCallbackMethod(child.onrefresh,child,'onrefresh');
}
}

self._ZEN_Component_abstractGroup_onloadHandler = function() {
if (this.disabled && this.parent && !this.parent.disabled) {
this.setProperty('disabled',true);
}
}

self._ZEN_Component_abstractGroup_removeChild = function(component) {
zenPage.deleteComponent(component);
if (this.childrenMutated) {
this.childrenMutated();
}
}

self._ZEN_Component_abstractGroup_setOverlayMode = function(mode) {
this.overlayMode = mode;
for (var n = 0; n < this.children.length; n++) {
this.children[n].setOverlayMode(mode);
}
}

self._ZEN_Component_abstractGroup_setProperty = function(property,value,value2) {
switch(property) {
case 'disabled':
value = (value) ? true : false;
this.disabled = value;
for (var n = 0; n < this.children.length; n++) {
var child = this.children[n];
child.setProperty(property,value);
}
if (this.ondisabledHandler) {
this.ondisabledHandler();
}
break;
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_abstractGroup_setPropertyAll = function(property,value,value2) {
if ('disabled' == property) return;
this.setProperty(property, value, value2);
for (var n = 0; n < this.children.length; n++) {
var child = this.children[n];
if (child.setPropertyAll) {
child.setPropertyAll(property,value,value2);
}
else {
child.setProperty(property,value,value2);
}
}
}

self._ZEN_Component_abstractGroup_updateControlsInGroup = function() {
for (var n = 0; n < this.children.length; n++) {
var child = this.children[n];
if (child.updateControlsInGroup) {
child.updateControlsInGroup();
}
else if (child.setValue) {
child.setValue(child.value);
}
}
}

self._ZEN_Component_abstractGroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_abstractGroup__Loader = function() {
	zenLoadClass('_ZEN_Component_component');
	_ZEN_Component_abstractGroup.prototype = zenCreate('_ZEN_Component_component',-1);
	var p = _ZEN_Component_abstractGroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_abstractGroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_component) ? zenMaster._ZEN_Component_component.prototype:_ZEN_Component_component.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.abstractGroup';
	p._type = 'abstractGroup';
	p.serialize = _ZEN_Component_abstractGroup_serialize;
	p.getSettings = _ZEN_Component_abstractGroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_abstractGroup_ReallyRefreshContents;
	p.addChild = _ZEN_Component_abstractGroup_addChild;
	p.addChildAfter = _ZEN_Component_abstractGroup_addChildAfter;
	p.addChildBefore = _ZEN_Component_abstractGroup_addChildBefore;
	p.exposeComponent = _ZEN_Component_abstractGroup_exposeComponent;
	p.getChildIndex = _ZEN_Component_abstractGroup_getChildIndex;
	p.onRefreshContents = _ZEN_Component_abstractGroup_onRefreshContents;
	p.onloadHandler = _ZEN_Component_abstractGroup_onloadHandler;
	p.removeChild = _ZEN_Component_abstractGroup_removeChild;
	p.setOverlayMode = _ZEN_Component_abstractGroup_setOverlayMode;
	p.setProperty = _ZEN_Component_abstractGroup_setProperty;
	p.setPropertyAll = _ZEN_Component_abstractGroup_setPropertyAll;
	p.updateControlsInGroup = _ZEN_Component_abstractGroup_updateControlsInGroup;
}

self._zenClassIdx['html'] = '_ZEN_Component_html';
self._ZEN_Component_html = function(index,id) {
	if (index>=0) {_ZEN_Component_html__init(this,index,id);}
}

self._ZEN_Component_html__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_component__init) ?zenMaster._ZEN_Component_component__init(o,index,id):_ZEN_Component_component__init(o,index,id);
	o.OnDrawContent = '';
	o.content = '';
	o.seed = '';
}
function _ZEN_Component_html_serialize(set,s)
{
	var o = this;s[0]='2123968296';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.OnDrawContent;s[7]=o.align;s[8]=o.aux;s[9]=o.containerStyle;s[10]=o.content;s[11]=(o.dragEnabled?1:0);s[12]=(o.dropEnabled?1:0);s[13]=(o.dynamic?1:0);s[14]=o.enclosingClass;s[15]=o.enclosingStyle;s[16]=o.error;s[17]=o.height;s[18]=(o.hidden?1:0);s[19]=o.hint;s[20]=o.hintClass;s[21]=o.hintStyle;s[22]=o.label;s[23]=o.labelClass;s[24]=o.labelStyle;s[25]=o.onafterdrag;s[26]=o.onbeforedrag;s[27]=o.ondrag;s[28]=o.ondrop;s[29]=o.onhide;s[30]=o.onrefresh;s[31]=o.onshow;s[32]=o.onupdate;s[33]=o.overlayMode;s[34]=o.renderFlag;s[35]=o.seed;s[36]=(o.showLabel?1:0);s[37]=o.slice;s[38]=o.title;s[39]=o.tuple;s[40]=o.valign;s[41]=(o.visible?1:0);s[42]=o.width;
}
function _ZEN_Component_html_getSettings(s)
{
	s['name'] = 'string';
	s['content'] = 'html';
	s['seed'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_html_getContent = function(content) {
return this.content;
}

self._ZEN_Component_html_setContent = function(content) {
this.setProperty('content',content);
}

self._ZEN_Component_html_setProperty = function(property,value,value2) {
switch(property) {
case 'content':
var div = this.getEnclosingDiv();
zenASSERT(div!=null,'Unable to find html div element.',arguments);
value = value ? value : '';
this.content = value.toString();
if (-1 == this.content.search(/#\(/)) {
div.innerHTML = value;
}
else {
this.refreshContents();
}
break;
case 'seed':
if (this.seed != value) {
this.seed = value;
this.refreshContents();
}
break;
default:
return this.invokeSuper('setProperty',arguments);
break;
}
return true;
}

self._ZEN_Component_html_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_html__Loader = function() {
	zenLoadClass('_ZEN_Component_component');
	_ZEN_Component_html.prototype = zenCreate('_ZEN_Component_component',-1);
	var p = _ZEN_Component_html.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_html;
	p.superClass = ('undefined' == typeof _ZEN_Component_component) ? zenMaster._ZEN_Component_component.prototype:_ZEN_Component_component.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.html';
	p._type = 'html';
	p.serialize = _ZEN_Component_html_serialize;
	p.getSettings = _ZEN_Component_html_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_html_ReallyRefreshContents;
	p.getContent = _ZEN_Component_html_getContent;
	p.setContent = _ZEN_Component_html_setContent;
	p.setProperty = _ZEN_Component_html_setProperty;
}

self._zenClassIdx['spacer'] = '_ZEN_Component_spacer';
self._ZEN_Component_spacer = function(index,id) {
	if (index>=0) {_ZEN_Component_spacer__init(this,index,id);}
}

self._ZEN_Component_spacer__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_component__init) ?zenMaster._ZEN_Component_component__init(o,index,id):_ZEN_Component_component__init(o,index,id);
}
function _ZEN_Component_spacer_serialize(set,s)
{
	var o = this;s[0]='1038571008';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.containerStyle;s[9]=(o.dragEnabled?1:0);s[10]=(o.dropEnabled?1:0);s[11]=(o.dynamic?1:0);s[12]=o.enclosingClass;s[13]=o.enclosingStyle;s[14]=o.error;s[15]=o.height;s[16]=(o.hidden?1:0);s[17]=o.hint;s[18]=o.hintClass;s[19]=o.hintStyle;s[20]=o.label;s[21]=o.labelClass;s[22]=o.labelStyle;s[23]=o.onafterdrag;s[24]=o.onbeforedrag;s[25]=o.ondrag;s[26]=o.ondrop;s[27]=o.onhide;s[28]=o.onrefresh;s[29]=o.onshow;s[30]=o.onupdate;s[31]=o.overlayMode;s[32]=o.renderFlag;s[33]=(o.showLabel?1:0);s[34]=o.slice;s[35]=o.title;s[36]=o.tuple;s[37]=o.valign;s[38]=(o.visible?1:0);s[39]=o.width;
}
function _ZEN_Component_spacer_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_spacer_setProperty = function(property,value,value2) {
switch(property) {
case 'height':
case 'width':
var el = this.findElement('spacer');
this[property] = value;
if (el) {
value = ('*' == value) ? '100%' : value;
if ('height'==property) {
el.style.height = value;
}
else {
el.style.width = value;
}
}
else {
if (this.getEnclosingDiv()) {
this.refreshContents();
}
}
break;
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_spacer_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_spacer__Loader = function() {
	zenLoadClass('_ZEN_Component_component');
	_ZEN_Component_spacer.prototype = zenCreate('_ZEN_Component_component',-1);
	var p = _ZEN_Component_spacer.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_spacer;
	p.superClass = ('undefined' == typeof _ZEN_Component_component) ? zenMaster._ZEN_Component_component.prototype:_ZEN_Component_component.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.spacer';
	p._type = 'spacer';
	p.serialize = _ZEN_Component_spacer_serialize;
	p.getSettings = _ZEN_Component_spacer_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_spacer_ReallyRefreshContents;
	p.setProperty = _ZEN_Component_spacer_setProperty;
}

self._zenClassIdx['activeGroup'] = '_ZEN_Component_activeGroup';
self._ZEN_Component_activeGroup = function(index,id) {
	if (index>=0) {_ZEN_Component_activeGroup__init(this,index,id);}
}

self._ZEN_Component_activeGroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_abstractGroup__init) ?zenMaster._ZEN_Component_abstractGroup__init(o,index,id):_ZEN_Component_abstractGroup__init(o,index,id);
	o.enclosingClass = 'activeGroup';
}
function _ZEN_Component_activeGroup_serialize(set,s)
{
	var o = this;s[0]='1107266678';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=set.serializeList(o,o.children,true,'children');s[9]=o.containerStyle;s[10]=(o.disabled?1:0);s[11]=(o.dragEnabled?1:0);s[12]=(o.dropEnabled?1:0);s[13]=(o.dynamic?1:0);s[14]=o.enclosingClass;s[15]=o.enclosingStyle;s[16]=o.error;s[17]=o.height;s[18]=(o.hidden?1:0);s[19]=o.hint;s[20]=o.hintClass;s[21]=o.hintStyle;s[22]=o.label;s[23]=o.labelClass;s[24]=o.labelStyle;s[25]=o.onafterdrag;s[26]=o.onbeforedrag;s[27]=o.ondrag;s[28]=o.ondrop;s[29]=o.onhide;s[30]=o.onrefresh;s[31]=o.onshow;s[32]=o.onupdate;s[33]=o.overlayMode;s[34]=o.renderFlag;s[35]=(o.showLabel?1:0);s[36]=o.slice;s[37]=o.title;s[38]=o.tuple;s[39]=o.valign;s[40]=(o.visible?1:0);s[41]=o.width;
}
function _ZEN_Component_activeGroup_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_activeGroup_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
}

self._ZEN_Component_activeGroup_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_activeGroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_activeGroup__Loader = function() {
	zenLoadClass('_ZEN_Component_abstractGroup');
	_ZEN_Component_activeGroup.prototype = zenCreate('_ZEN_Component_abstractGroup',-1);
	var p = _ZEN_Component_activeGroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_activeGroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_abstractGroup) ? zenMaster._ZEN_Component_abstractGroup.prototype:_ZEN_Component_abstractGroup.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.activeGroup';
	p._type = 'activeGroup';
	p.serialize = _ZEN_Component_activeGroup_serialize;
	p.getSettings = _ZEN_Component_activeGroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_activeGroup_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_activeGroup_onloadHandler;
	p.setProperty = _ZEN_Component_activeGroup_setProperty;
}

self._zenClassIdx['group'] = '_ZEN_Component_group';
self._ZEN_Component_group = function(index,id) {
	if (index>=0) {_ZEN_Component_group__init(this,index,id);}
}

self._ZEN_Component_group__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_abstractGroup__init) ?zenMaster._ZEN_Component_abstractGroup__init(o,index,id):_ZEN_Component_abstractGroup__init(o,index,id);
	o.cellAlign = '';
	o.cellSize = '';
	o.cellStyle = '';
	o.cellVAlign = '';
	o.groupClass = 'group';
	o.groupStyle = '';
	o.labelPosition = 'top';
	o.layout = 'vertical';
	o.onclick = '';
}
function _ZEN_Component_group_serialize(set,s)
{
	var o = this;s[0]='4052196350';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.onafterdrag;s[34]=o.onbeforedrag;s[35]=o.onclick;s[36]=o.ondrag;s[37]=o.ondrop;s[38]=o.onhide;s[39]=o.onrefresh;s[40]=o.onshow;s[41]=o.onupdate;s[42]=o.overlayMode;s[43]=o.renderFlag;s[44]=(o.showLabel?1:0);s[45]=o.slice;s[46]=o.title;s[47]=o.tuple;s[48]=o.valign;s[49]=(o.visible?1:0);s[50]=o.width;
}
function _ZEN_Component_group_getSettings(s)
{
	s['name'] = 'string';
	s['cellAlign'] = 'enum:left,right,center,even';
	s['cellSize'] = 'enum:same,stretch';
	s['cellStyle'] = 'style';
	s['cellVAlign'] = 'enum:top,bottom,middle,even';
	s['groupClass'] = 'cssClass';
	s['groupStyle'] = 'style';
	s['labelPosition'] = 'enum:left,top';
	s['layout'] = 'string';
	s['onclick'] = 'eventHandler';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_group_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_group_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_group__Loader = function() {
	zenLoadClass('_ZEN_Component_abstractGroup');
	_ZEN_Component_group.prototype = zenCreate('_ZEN_Component_abstractGroup',-1);
	var p = _ZEN_Component_group.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_group;
	p.superClass = ('undefined' == typeof _ZEN_Component_abstractGroup) ? zenMaster._ZEN_Component_abstractGroup.prototype:_ZEN_Component_abstractGroup.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.group';
	p._type = 'group';
	p.serialize = _ZEN_Component_group_serialize;
	p.getSettings = _ZEN_Component_group_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_group_ReallyRefreshContents;
	p.setProperty = _ZEN_Component_group_setProperty;
}

self._zenClassIdx['abstractPage'] = '_ZEN_Component_abstractPage';
self._ZEN_Component_abstractPage = function(index,id) {
	if (index>=0) {_ZEN_Component_abstractPage__init(this,index,id);}
}

self._ZEN_Component_abstractPage__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.SVGClassList = '';
	o.UserSVGPackageList = '';
	o.backgroundTimerInterval = '1000';
	o.cellVAlign = 'top';
	o.designMode = false;
	o.dragAndDrop = false;
	o.groupClass = 'page';
	o.height = '100%';
	o.inlineSVG = false;
	o.isPopup = false;
	o.lastModalIndex = '0';
	o.nextIndex = '0';
	o.onoverlay = '';
	o.popupParent = '';
	o.title = '';
	o.useSVG = false;
	o.width = '100%';
}
function _ZEN_Component_abstractPage_serialize(set,s)
{
	var o = this;s[0]='1296453351';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.SVGClassList;s[7]=o.UserSVGPackageList;s[8]=o.align;s[9]=o.aux;s[10]=o.backgroundTimerInterval;s[11]=o.cellAlign;s[12]=o.cellSize;s[13]=o.cellStyle;s[14]=o.cellVAlign;s[15]=set.serializeList(o,o.children,true,'children');s[16]=o.containerStyle;s[17]=(o.designMode?1:0);s[18]=(o.disabled?1:0);s[19]=(o.dragAndDrop?1:0);s[20]=(o.dragEnabled?1:0);s[21]=(o.dropEnabled?1:0);s[22]=(o.dynamic?1:0);s[23]=o.enclosingClass;s[24]=o.enclosingStyle;s[25]=o.error;s[26]=o.groupClass;s[27]=o.groupStyle;s[28]=o.height;s[29]=(o.hidden?1:0);s[30]=o.hint;s[31]=o.hintClass;s[32]=o.hintStyle;s[33]=(o.inlineSVG?1:0);s[34]=(o.isPopup?1:0);s[35]=o.label;s[36]=o.labelClass;s[37]=o.labelPosition;s[38]=o.labelStyle;s[39]=o.lastModalIndex;s[40]=o.layout;s[41]=o.nextIndex;s[42]=o.onafterdrag;s[43]=o.onbeforedrag;s[44]=o.onclick;s[45]=o.ondrag;s[46]=o.ondrop;s[47]=o.onhide;s[48]=o.onoverlay;s[49]=o.onrefresh;s[50]=o.onshow;s[51]=o.onupdate;s[52]=o.overlayMode;s[53]=o.popupParent;s[54]=o.renderFlag;s[55]=(o.showLabel?1:0);s[56]=o.slice;s[57]=o.title;s[58]=o.tuple;s[59]=(o.useSVG?1:0);s[60]=o.valign;s[61]=(o.visible?1:0);s[62]=o.width;
}
function _ZEN_Component_abstractPage_getSettings(s)
{
	s['name'] = 'string';
	s['SVGClassList'] = 'string';
	s['UserSVGPackageList'] = 'string';
	s['backgroundTimerInterval'] = 'integer';
	s['dragAndDrop'] = 'boolean';
	s['inlineSVG'] = 'boolean';
	s['isPopup'] = 'boolean';
	s['lastModalIndex'] = 'integer';
	s['nextIndex'] = 'integer';
	s['onoverlay'] = 'eventHandler';
	s['popupParent'] = 'integer';
	s['title'] = 'caption';
	s['useSVG'] = 'boolean';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_abstractPage_backgroundTimerHandler = function() {
if (this._bgTaskID) {
this.MonitorBackgroundTask(this._bgTaskID);
}
}

self._ZEN_Component_abstractPage_cancelPopup = function() {
if (zenASSERT(this.isPopup,"cancelPopup called on non-popup window.",arguments)) { return; }
window.close();
}

self._ZEN_Component_abstractPage_clearBackgroundTask = function() {
if (null != this._bgTimerID) {
self.clearTimeout(this._bgTimerID);
delete this._bgTimerID;
}
delete this._bgTaskID;
}

self._ZEN_Component_abstractPage_createComponent = function(name) {
return this.createComponentNS('',name);
}

self._ZEN_Component_abstractPage_createComponentNS = function(ns,name,parent,div) {
var component = null;
try {
if (div && div.zen) {
alert('ZEN ERROR:\ncreateComponentNS: Attempt to create a component within a div element already in use:\n=============\n'+ div.zen);
return null;
}
var component = zenCreateComponent(ns,name);
if (component && parent) {
parent.addChild(component);
if (div) {
div.id = 'zen' + component.index;
div.zen = component.index;
component.refreshContents(true);
}
}
}
catch(ex) {
zenExceptionHandler(ex,arguments,'Error in createComponentNS.');
}
return component;
}

self._ZEN_Component_abstractPage_deleteComponent = function(comp,refresh,sync) {
zenASSERT(comp,"Attempt to delete invalid object",arguments);
refresh = ('undefined' == typeof refresh) ? true : sync;
sync = ('undefined' == typeof sync) ? false : sync;
if (comp.onDelete) {
comp.onDelete();
}
var group = comp.parent;
if (null != group) {
for (var n = 0; n < group.children.length; n++) {
if (comp == group.children[n]) {
group.children.splice(n,1);
comp.parent = '';
if (refresh && comp.visible && ('undefined' == typeof comp.svgComponent)) {
group.refreshContents(sync);
}
break;
}
}
}
if ('' != comp.index) {
_zenIndex[comp.index] = null;
}
if ('' != comp.id) {
delete _zenIds[comp.id];
}
}

self._ZEN_Component_abstractPage_endModal = function() {
if (zenASSERT(this.modalStack && (this.modalStack.length>0),"endModal should not be called while there is no current modal component.",arguments)) { return; }
var trap = self.document.getElementById("zenMouseTrap");
if (zenASSERT(trap,"Unable to find zenMouseTrap div.",arguments)) { return; }
var component = this.modalStack[this.modalStack.length - 1];
this.modalStack.length = this.modalStack.length - 1;
if (0 == this.modalStack.length) {
trap.style.display = "none";
trap.onmouseup = null;
trap.onmousedown = null;
trap.onmousemove = null;
if (this._hideEmbeds && self.document.embeds) {
this._hideEmbeds = false;
for (var n = 0; n < self.document.embeds.length; n++) {
self.document.embeds[n].style.display = '';
}
}
}
else {
trap.style.zIndex = 100 + (this.modalStack.length*10);
}
var zindex = (this.modalStack.length>0) ? (100 + (this.modalStack.length*10)) : 0;
if (component.onEndModalHandler) {
component.onEndModalHandler(zindex);
}
else {
component.setHidden(true);
}
}

self._ZEN_Component_abstractPage_fireOnLoadEvent = function() {
if (this.dragAndDrop && ZLM) {
ZLM.initDataDragDrop();
}
for (var n = _zenIndex.length - 1; n >= 0; n--) {
if (_zenIndex[n] && _zenIndex[n].onloadHandler) {
_zenIndex[n].onloadHandler();
}
}
return true;
}

self._ZEN_Component_abstractPage_fireOnResizeEvent = function() {
if (zenPage.onresizeHandler) {
zenPage.onresizeHandler();
}
return true;
}

self._ZEN_Component_abstractPage_fireOnUnloadEvent = function() {
var hasRet = false;
var msg = '';
for (var n = _zenIndex.length - 1; n >= 0; n--) {
if (_zenIndex[n] && _zenIndex[n].onunloadHandler) {
var val = _zenIndex[n].onunloadHandler();
if (!hasRet) {
val = (null == val) ? true : ((typeof val == 'string') ? val : true);
if (typeof val == 'string') {
hasRet = true;
msg = val;
}
}
}
}
if (hasRet) {
return msg;
}
return true;
}

self._ZEN_Component_abstractPage_firePopupAction = function(action,value,close) {
if (zenASSERT(this.isPopup,"firePopupAction called on non-popup window.",arguments)) { return; }
action = zenGet(action,'ok');
value = zenGet(value);
close = zenGet(close,true);
if ('string' == typeof action) {
action = decodeURIComponent(action);
}
if ('string' == typeof value) {
value = decodeURIComponent(value);
}
if (window.dialogArguments && window.dialogArguments.popupActionHandler) {
window.dialogArguments.popupActionHandler(this.popupParent,window.dialogArguments._popupName,action,value);
}
else if (window.opener && window.opener.zenPage.popupActionHandler) {
var mode = window.opener.zenSynchronousMode;
window.opener.zenSynchronousMode = true;
window.opener.zenPage.popupActionHandler(this.popupParent,window.opener.zenPage._popupName,action,value);
window.opener.zenPopupWindow = null;
window.opener.zenSynchronousMode = mode;
}
if (close) {
window.close();
}
delete this._popupName;
}

self._ZEN_Component_abstractPage_getComponent = function(index) {
if ('string'==typeof(index)) {
var p = index.split('.');
if (p.length>1) {
var comp = _zenIndex[p[0]];
if (comp) {
comp.tuple = p[1];
}
return comp;
}
}
return _zenIndex[index];
}

self._ZEN_Component_abstractPage_getComponentById = function(id,tuple) {
var comp = _zenIds[id];
if (comp && 'undefined' != tuple) {
comp.tuple = tuple;
}
return comp;
}

self._ZEN_Component_abstractPage_gotoPage = function(url) {
if (null!=url && ''!=url) {
self.document.location = zenLink(url);
}
}

self._ZEN_Component_abstractPage_launchPopupWindow = function(url,pageName,features,parms,parent) {
zenLaunchPopupWindow(url, pageName, features,parms,parent);
}

self._ZEN_Component_abstractPage_onloadHandler = function() {
}

self._ZEN_Component_abstractPage_onoverlayHandler = function(index) {
zenInvokeCallbackMethod(this.onoverlay,this,'onoverlay','index',index);
}

self._ZEN_Component_abstractPage_popupActionHandler = function(parent,name,action,value) {
if ('' == parent || null == parent) {
if (this.onPopupAction) {
this.onPopupAction(name,action,value);
}
}
else {
var comp = this.getComponent(parent);
if (comp && comp.onPopupAction) {
comp.onPopupAction(name,action,value);
}
}
}

self._ZEN_Component_abstractPage_setBackgroundTask = function(taskid) {
this.clearBackgroundTask();
this._bgTaskID = taskid;
this._bgTimerID = self.setTimeout("zenPage.backgroundTimerHandler()",this.backgroundTimerInterval);
}

self._ZEN_Component_abstractPage_setComponentId = function(obj,id) {
var div = null;
if (obj.getEnclosingDiv) {
div = obj.getEnclosingDiv();
}
if ('' != obj.id) {
delete _zenIds[obj.id];
}
obj.id = id;
if ('' != obj.id) {
_zenIds[obj.id] = obj;
}
if (div) {
div.id = (''==obj.id) ? 'zen' + obj.index : obj.id;
}
}

self._ZEN_Component_abstractPage_setTraceOption = function(name,flag) {
switch(name) {
case 'serialize':
zenDEBUGSerialize = flag;
break;
case 'js':
cspRunServerDebugWindow	= flag;
break;
case 'events':
zenDEBUGTraceEvents = flag;
if (flag) {
zenTRACE("TRACE started",this.title,'');
}
break;
}
}

self._ZEN_Component_abstractPage_startModal = function(component) {
if (zenASSERT(component&&zenIsComponent(component),"startModal called with an invalid component.",arguments)) { return; }
var trap = self.document.getElementById("zenMouseTrap");
if (zenASSERT(trap,"Unable to find zenMouseTrap div.",arguments)) { return; }
if (null == this.modalStack) {
this.modalStack = new Array();
}
this.modalStack[this.modalStack.length] = component;
trap.style.display = "";
trap.style.zIndex = 100 + (this.modalStack.length*10);
trap.onmouseup = function() {zenPage.endModal();}
trap.onmousedown = null;
trap.onmousemove = null;
trap.style.background = (zenModalBackground ? zenModalBackground : 'gray');
if (trap.style.opacity != null) {
trap.style.opacity = '0.1';
}
else if (trap.style.filter != null) {
trap.style.filter = 'alpha(opacity=10)';
}
var page = zenPage.getEnclosingDiv();
zenASSERT(page,"Unable to find enclosing div for page.",arguments);
trap.style.top="0px";
trap.style.left="0px";
if (zenIsIE) {
trap.style.position = "absolute";
trap.style.height=document.body.scrollHeight;
trap.style.width=document.body.scrollWidth;
}
else {
trap.style.position="fixed";
trap.style.width=document.body.clientWidth;
trap.style.height=document.body.clientHeight;
}
var zindex = 101 + (this.modalStack.length*10);
if (component.onStartModalHandler) {
component.onStartModalHandler(zindex);
}
else {
var enc  = component.getEnclosingDiv();
enc.style.position = "absolute";
enc.style.zIndex = zindex;
component.setHidden(false);
}
}

self._ZEN_Component_abstractPage_LoadZenComponent = function(pNamespace,pName,pClassName) {
	return zenClassMethod(this,'LoadZenComponent','L,L,L','BOOLEAN',arguments);
}

self._ZEN_Component_abstractPage_MonitorBackgroundTask = function(pTaskID) {
	zenClassMethod(this,'MonitorBackgroundTask','L','',arguments);
}

self._ZEN_Component_abstractPage_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_abstractPage__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_abstractPage.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_abstractPage.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_abstractPage;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.abstractPage';
	p._type = 'abstractPage';
	p.serialize = _ZEN_Component_abstractPage_serialize;
	p.getSettings = _ZEN_Component_abstractPage_getSettings;
	p.LoadZenComponent = _ZEN_Component_abstractPage_LoadZenComponent;
	p.MonitorBackgroundTask = _ZEN_Component_abstractPage_MonitorBackgroundTask;
	p.ReallyRefreshContents = _ZEN_Component_abstractPage_ReallyRefreshContents;
	p.backgroundTimerHandler = _ZEN_Component_abstractPage_backgroundTimerHandler;
	p.cancelPopup = _ZEN_Component_abstractPage_cancelPopup;
	p.clearBackgroundTask = _ZEN_Component_abstractPage_clearBackgroundTask;
	p.createComponent = _ZEN_Component_abstractPage_createComponent;
	p.createComponentNS = _ZEN_Component_abstractPage_createComponentNS;
	p.deleteComponent = _ZEN_Component_abstractPage_deleteComponent;
	p.endModal = _ZEN_Component_abstractPage_endModal;
	p.fireOnLoadEvent = _ZEN_Component_abstractPage_fireOnLoadEvent;
	p.fireOnResizeEvent = _ZEN_Component_abstractPage_fireOnResizeEvent;
	p.fireOnUnloadEvent = _ZEN_Component_abstractPage_fireOnUnloadEvent;
	p.firePopupAction = _ZEN_Component_abstractPage_firePopupAction;
	p.getComponent = _ZEN_Component_abstractPage_getComponent;
	p.getComponentById = _ZEN_Component_abstractPage_getComponentById;
	p.gotoPage = _ZEN_Component_abstractPage_gotoPage;
	p.launchPopupWindow = _ZEN_Component_abstractPage_launchPopupWindow;
	p.onloadHandler = _ZEN_Component_abstractPage_onloadHandler;
	p.onoverlayHandler = _ZEN_Component_abstractPage_onoverlayHandler;
	p.popupActionHandler = _ZEN_Component_abstractPage_popupActionHandler;
	p.setBackgroundTask = _ZEN_Component_abstractPage_setBackgroundTask;
	p.setComponentId = _ZEN_Component_abstractPage_setComponentId;
	p.setTraceOption = _ZEN_Component_abstractPage_setTraceOption;
	p.startModal = _ZEN_Component_abstractPage_startModal;
}

self._zenClassIdx['activeHGroup'] = '_ZEN_Component_activeHGroup';
self._ZEN_Component_activeHGroup = function(index,id) {
	if (index>=0) {_ZEN_Component_activeHGroup__init(this,index,id);}
}

self._ZEN_Component_activeHGroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_activeGroup__init) ?zenMaster._ZEN_Component_activeGroup__init(o,index,id):_ZEN_Component_activeGroup__init(o,index,id);
	o.autoExpand = '';
	o.handlePattern = '';
	o.handleThickness = '';
	o.noResize = '';
	o.soundFX = '';
	o.split = '';
}
function _ZEN_Component_activeHGroup_serialize(set,s)
{
	var o = this;s[0]='1459445051';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.autoExpand;s[8]=o.aux;s[9]=set.serializeList(o,o.children,true,'children');s[10]=o.containerStyle;s[11]=(o.disabled?1:0);s[12]=(o.dragEnabled?1:0);s[13]=(o.dropEnabled?1:0);s[14]=(o.dynamic?1:0);s[15]=o.enclosingClass;s[16]=o.enclosingStyle;s[17]=o.error;s[18]=o.handlePattern;s[19]=o.handleThickness;s[20]=o.height;s[21]=(o.hidden?1:0);s[22]=o.hint;s[23]=o.hintClass;s[24]=o.hintStyle;s[25]=o.label;s[26]=o.labelClass;s[27]=o.labelStyle;s[28]=o.noResize;s[29]=o.onafterdrag;s[30]=o.onbeforedrag;s[31]=o.ondrag;s[32]=o.ondrop;s[33]=o.onhide;s[34]=o.onrefresh;s[35]=o.onshow;s[36]=o.onupdate;s[37]=o.overlayMode;s[38]=o.renderFlag;s[39]=(o.showLabel?1:0);s[40]=o.slice;s[41]=o.soundFX;s[42]=o.split;s[43]=o.title;s[44]=o.tuple;s[45]=o.valign;s[46]=(o.visible?1:0);s[47]=o.width;
}
function _ZEN_Component_activeHGroup_getSettings(s)
{
	s['name'] = 'string';
	s['autoExpand'] = 'string';
	s['handlePattern'] = 'string';
	s['handleThickness'] = 'string';
	s['noResize'] = 'string';
	s['soundFX'] = 'string';
	s['split'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_activeHGroup_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZLM.registerManagerClass("activeHGroup",ZLM_AHG.initActiveHGroup);
ZLM.initLayout();
}

self._ZEN_Component_activeHGroup_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_activeHGroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_activeHGroup__Loader = function() {
	zenLoadClass('_ZEN_Component_activeGroup');
	_ZEN_Component_activeHGroup.prototype = zenCreate('_ZEN_Component_activeGroup',-1);
	var p = _ZEN_Component_activeHGroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_activeHGroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_activeGroup) ? zenMaster._ZEN_Component_activeGroup.prototype:_ZEN_Component_activeGroup.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.activeHGroup';
	p._type = 'activeHGroup';
	p.serialize = _ZEN_Component_activeHGroup_serialize;
	p.getSettings = _ZEN_Component_activeHGroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_activeHGroup_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_activeHGroup_onloadHandler;
	p.setProperty = _ZEN_Component_activeHGroup_setProperty;
}

self._zenClassIdx['activeVGroup'] = '_ZEN_Component_activeVGroup';
self._ZEN_Component_activeVGroup = function(index,id) {
	if (index>=0) {_ZEN_Component_activeVGroup__init(this,index,id);}
}

self._ZEN_Component_activeVGroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_activeGroup__init) ?zenMaster._ZEN_Component_activeGroup__init(o,index,id):_ZEN_Component_activeGroup__init(o,index,id);
	o.autoExpand = '';
	o.handlePattern = '';
	o.handleThickness = '';
	o.noResize = '';
	o.soundFX = '';
	o.split = '';
}
function _ZEN_Component_activeVGroup_serialize(set,s)
{
	var o = this;s[0]='1459445051';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.autoExpand;s[8]=o.aux;s[9]=set.serializeList(o,o.children,true,'children');s[10]=o.containerStyle;s[11]=(o.disabled?1:0);s[12]=(o.dragEnabled?1:0);s[13]=(o.dropEnabled?1:0);s[14]=(o.dynamic?1:0);s[15]=o.enclosingClass;s[16]=o.enclosingStyle;s[17]=o.error;s[18]=o.handlePattern;s[19]=o.handleThickness;s[20]=o.height;s[21]=(o.hidden?1:0);s[22]=o.hint;s[23]=o.hintClass;s[24]=o.hintStyle;s[25]=o.label;s[26]=o.labelClass;s[27]=o.labelStyle;s[28]=o.noResize;s[29]=o.onafterdrag;s[30]=o.onbeforedrag;s[31]=o.ondrag;s[32]=o.ondrop;s[33]=o.onhide;s[34]=o.onrefresh;s[35]=o.onshow;s[36]=o.onupdate;s[37]=o.overlayMode;s[38]=o.renderFlag;s[39]=(o.showLabel?1:0);s[40]=o.slice;s[41]=o.soundFX;s[42]=o.split;s[43]=o.title;s[44]=o.tuple;s[45]=o.valign;s[46]=(o.visible?1:0);s[47]=o.width;
}
function _ZEN_Component_activeVGroup_getSettings(s)
{
	s['name'] = 'string';
	s['autoExpand'] = 'string';
	s['handlePattern'] = 'string';
	s['handleThickness'] = 'string';
	s['noResize'] = 'string';
	s['soundFX'] = 'string';
	s['split'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_activeVGroup_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZLM.registerManagerClass("activeVGroup",ZLM_AVG.initActiveVGroup);
ZLM.initLayout();
}

self._ZEN_Component_activeVGroup_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_activeVGroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_activeVGroup__Loader = function() {
	zenLoadClass('_ZEN_Component_activeGroup');
	_ZEN_Component_activeVGroup.prototype = zenCreate('_ZEN_Component_activeGroup',-1);
	var p = _ZEN_Component_activeVGroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_activeVGroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_activeGroup) ? zenMaster._ZEN_Component_activeGroup.prototype:_ZEN_Component_activeGroup.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.activeVGroup';
	p._type = 'activeVGroup';
	p.serialize = _ZEN_Component_activeVGroup_serialize;
	p.getSettings = _ZEN_Component_activeVGroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_activeVGroup_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_activeVGroup_onloadHandler;
	p.setProperty = _ZEN_Component_activeVGroup_setProperty;
}

self._zenClassIdx['buttonBar'] = '_ZEN_Component_buttonBar';
self._ZEN_Component_buttonBar = function(index,id) {
	if (index>=0) {_ZEN_Component_buttonBar__init(this,index,id);}
}

self._ZEN_Component_buttonBar__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
}
function _ZEN_Component_buttonBar_serialize(set,s)
{
	var o = this;s[0]='4052196350';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.onafterdrag;s[34]=o.onbeforedrag;s[35]=o.onclick;s[36]=o.ondrag;s[37]=o.ondrop;s[38]=o.onhide;s[39]=o.onrefresh;s[40]=o.onshow;s[41]=o.onupdate;s[42]=o.overlayMode;s[43]=o.renderFlag;s[44]=(o.showLabel?1:0);s[45]=o.slice;s[46]=o.title;s[47]=o.tuple;s[48]=o.valign;s[49]=(o.visible?1:0);s[50]=o.width;
}
function _ZEN_Component_buttonBar_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_buttonBar_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZMS.initialize();
var div =this.getEnclosingDiv();
for(var k=div.firstChild;k!=null;k=k.nextSibling) {
if (k.nodeType==1 && k.className=="buttonBar") {
div.buttonBar=k;
ZMS.sizeButtonBar(k);
ZLM.notifyResize(document.body);
return;
}
}
}

self._ZEN_Component_buttonBar_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_buttonBar_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_buttonBar__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_buttonBar.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_buttonBar.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_buttonBar;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.buttonBar';
	p._type = 'buttonBar';
	p.serialize = _ZEN_Component_buttonBar_serialize;
	p.getSettings = _ZEN_Component_buttonBar_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_buttonBar_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_buttonBar_onloadHandler;
	p.setProperty = _ZEN_Component_buttonBar_setProperty;
}

self._zenClassIdx['composite'] = '_ZEN_Component_composite';
self._ZEN_Component_composite = function(index,id) {
	if (index>=0) {_ZEN_Component_composite__init(this,index,id);}
}

self._ZEN_Component_composite__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.childrenCreated = false;
}
function _ZEN_Component_composite_serialize(set,s)
{
	var o = this;s[0]='4157585797';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=(o.childrenCreated?1:0);s[14]=o.containerStyle;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=o.groupClass;s[23]=o.groupStyle;s[24]=o.height;s[25]=(o.hidden?1:0);s[26]=o.hint;s[27]=o.hintClass;s[28]=o.hintStyle;s[29]=o.label;s[30]=o.labelClass;s[31]=o.labelPosition;s[32]=o.labelStyle;s[33]=o.layout;s[34]=o.onafterdrag;s[35]=o.onbeforedrag;s[36]=o.onclick;s[37]=o.ondrag;s[38]=o.ondrop;s[39]=o.onhide;s[40]=o.onrefresh;s[41]=o.onshow;s[42]=o.onupdate;s[43]=o.overlayMode;s[44]=o.renderFlag;s[45]=(o.showLabel?1:0);s[46]=o.slice;s[47]=o.title;s[48]=o.tuple;s[49]=o.valign;s[50]=(o.visible?1:0);s[51]=o.width;
}
function _ZEN_Component_composite_getSettings(s)
{
	s['name'] = 'string';
	s['childrenCreated'] = 'boolean';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_composite_getChildById = function(id) {
var cid = (''==this.id) ? 'id'+this.index : this.id;
return zenPage.getComponentById(cid+'.'+id);
}

self._ZEN_Component_composite_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_composite__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_composite.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_composite.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_composite;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.composite';
	p._type = 'composite';
	p.serialize = _ZEN_Component_composite_serialize;
	p.getSettings = _ZEN_Component_composite_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_composite_ReallyRefreshContents;
	p.getChildById = _ZEN_Component_composite_getChildById;
}

self._zenClassIdx['contextMenu'] = '_ZEN_Component_contextMenu';
self._ZEN_Component_contextMenu = function(index,id) {
	if (index>=0) {_ZEN_Component_contextMenu__init(this,index,id);}
}

self._ZEN_Component_contextMenu__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
}
function _ZEN_Component_contextMenu_serialize(set,s)
{
	var o = this;s[0]='4052196350';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.onafterdrag;s[34]=o.onbeforedrag;s[35]=o.onclick;s[36]=o.ondrag;s[37]=o.ondrop;s[38]=o.onhide;s[39]=o.onrefresh;s[40]=o.onshow;s[41]=o.onupdate;s[42]=o.overlayMode;s[43]=o.renderFlag;s[44]=(o.showLabel?1:0);s[45]=o.slice;s[46]=o.title;s[47]=o.tuple;s[48]=o.valign;s[49]=(o.visible?1:0);s[50]=o.width;
}
function _ZEN_Component_contextMenu_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_contextMenu_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZMS.initialize();
var div = this.getEnclosingDiv();
for (var k=div.firstChild;k!=null;k=k.nextSibling) {
if (k.nodeType==1 && k.className=="contextMenu") {
ZMS.estimateContextMenuSize(k);
ZMS.setContextMenuSize(k);
div.item=k;
return;
}
}
}

self._ZEN_Component_contextMenu_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_contextMenu_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_contextMenu__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_contextMenu.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_contextMenu.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_contextMenu;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.contextMenu';
	p._type = 'contextMenu';
	p.serialize = _ZEN_Component_contextMenu_serialize;
	p.getSettings = _ZEN_Component_contextMenu_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_contextMenu_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_contextMenu_onloadHandler;
	p.setProperty = _ZEN_Component_contextMenu_setProperty;
}

self._zenClassIdx['corkboard'] = '_ZEN_Component_corkboard';
self._ZEN_Component_corkboard = function(index,id) {
	if (index>=0) {_ZEN_Component_corkboard__init(this,index,id);}
}

self._ZEN_Component_corkboard__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_activeGroup__init) ?zenMaster._ZEN_Component_activeGroup__init(o,index,id):_ZEN_Component_activeGroup__init(o,index,id);
}
function _ZEN_Component_corkboard_serialize(set,s)
{
	var o = this;s[0]='1107266678';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=set.serializeList(o,o.children,true,'children');s[9]=o.containerStyle;s[10]=(o.disabled?1:0);s[11]=(o.dragEnabled?1:0);s[12]=(o.dropEnabled?1:0);s[13]=(o.dynamic?1:0);s[14]=o.enclosingClass;s[15]=o.enclosingStyle;s[16]=o.error;s[17]=o.height;s[18]=(o.hidden?1:0);s[19]=o.hint;s[20]=o.hintClass;s[21]=o.hintStyle;s[22]=o.label;s[23]=o.labelClass;s[24]=o.labelStyle;s[25]=o.onafterdrag;s[26]=o.onbeforedrag;s[27]=o.ondrag;s[28]=o.ondrop;s[29]=o.onhide;s[30]=o.onrefresh;s[31]=o.onshow;s[32]=o.onupdate;s[33]=o.overlayMode;s[34]=o.renderFlag;s[35]=(o.showLabel?1:0);s[36]=o.slice;s[37]=o.title;s[38]=o.tuple;s[39]=o.valign;s[40]=(o.visible?1:0);s[41]=o.width;
}
function _ZEN_Component_corkboard_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_corkboard_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZLM.registerManagerClass("corkboardGroup",ZLM_VCB.initCorkboard);
ZLM.initLayout();
}

self._ZEN_Component_corkboard_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_corkboard_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_corkboard__Loader = function() {
	zenLoadClass('_ZEN_Component_activeGroup');
	_ZEN_Component_corkboard.prototype = zenCreate('_ZEN_Component_activeGroup',-1);
	var p = _ZEN_Component_corkboard.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_corkboard;
	p.superClass = ('undefined' == typeof _ZEN_Component_activeGroup) ? zenMaster._ZEN_Component_activeGroup.prototype:_ZEN_Component_activeGroup.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.corkboard';
	p._type = 'corkboard';
	p.serialize = _ZEN_Component_corkboard_serialize;
	p.getSettings = _ZEN_Component_corkboard_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_corkboard_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_corkboard_onloadHandler;
	p.setProperty = _ZEN_Component_corkboard_setProperty;
}

self._zenClassIdx['csComboBox'] = '_ZEN_Component_csComboBox';
self._ZEN_Component_csComboBox = function(index,id) {
	if (index>=0) {_ZEN_Component_csComboBox__init(this,index,id);}
}

self._ZEN_Component_csComboBox__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.defaultCaption = 'Select...';
	o.icon = 'images/SmDownArrow.png';
	o.onchange = '';
	o.value = '';
}
function _ZEN_Component_csComboBox_serialize(set,s)
{
	var o = this;s[0]='2727825242';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=o.defaultCaption;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=o.groupClass;s[23]=o.groupStyle;s[24]=o.height;s[25]=(o.hidden?1:0);s[26]=o.hint;s[27]=o.hintClass;s[28]=o.hintStyle;s[29]=o.icon;s[30]=o.label;s[31]=o.labelClass;s[32]=o.labelPosition;s[33]=o.labelStyle;s[34]=o.layout;s[35]=o.onafterdrag;s[36]=o.onbeforedrag;s[37]=o.onchange;s[38]=o.onclick;s[39]=o.ondrag;s[40]=o.ondrop;s[41]=o.onhide;s[42]=o.onrefresh;s[43]=o.onshow;s[44]=o.onupdate;s[45]=o.overlayMode;s[46]=o.renderFlag;s[47]=(o.showLabel?1:0);s[48]=o.slice;s[49]=o.title;s[50]=o.tuple;s[51]=o.valign;s[52]=('boolean'==typeof o.value?(o.value?1:0):o.value);s[53]=(o.visible?1:0);s[54]=o.width;
}
function _ZEN_Component_csComboBox_getSettings(s)
{
	s['name'] = 'string';
	s['defaultCaption'] = 'string';
	s['icon'] = 'uri';
	s['onchange'] = 'eventHandler';
	s['value'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_csComboBox_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZMS.initialize();
var div=this.getEnclosingDiv();
for (var k=div.firstChild;k!=null;k=k.nextSibling) {
if (k.nodeType==1 && k.className=="csComboBox") {
ZMS.organizeComboBox(k);
div.item=k;
return;
}
}
}

self._ZEN_Component_csComboBox_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_csComboBox_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_csComboBox__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_csComboBox.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_csComboBox.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_csComboBox;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.csComboBox';
	p._type = 'csComboBox';
	p.serialize = _ZEN_Component_csComboBox_serialize;
	p.getSettings = _ZEN_Component_csComboBox_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_csComboBox_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_csComboBox_onloadHandler;
	p.setProperty = _ZEN_Component_csComboBox_setProperty;
}

self._zenClassIdx['csMenuBar'] = '_ZEN_Component_csMenuBar';
self._ZEN_Component_csMenuBar = function(index,id) {
	if (index>=0) {_ZEN_Component_csMenuBar__init(this,index,id);}
}

self._ZEN_Component_csMenuBar__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
}
function _ZEN_Component_csMenuBar_serialize(set,s)
{
	var o = this;s[0]='4052196350';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.onafterdrag;s[34]=o.onbeforedrag;s[35]=o.onclick;s[36]=o.ondrag;s[37]=o.ondrop;s[38]=o.onhide;s[39]=o.onrefresh;s[40]=o.onshow;s[41]=o.onupdate;s[42]=o.overlayMode;s[43]=o.renderFlag;s[44]=(o.showLabel?1:0);s[45]=o.slice;s[46]=o.title;s[47]=o.tuple;s[48]=o.valign;s[49]=(o.visible?1:0);s[50]=o.width;
}
function _ZEN_Component_csMenuBar_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_csMenuBar_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZMS.initialize();
var div=this.getEnclosingDiv();
for (var k=div.firstChild;k!=null;k=k.nextSibling) {
if (k.nodeType==1 && k.className=="csMenuBar") {
div.item=k;
ZMS.sizeMenuBar(k);
ZMS.organizeMenuBar(k);
return;
}
}
}

self._ZEN_Component_csMenuBar_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_csMenuBar_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_csMenuBar__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_csMenuBar.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_csMenuBar.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_csMenuBar;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.csMenuBar';
	p._type = 'csMenuBar';
	p.serialize = _ZEN_Component_csMenuBar_serialize;
	p.getSettings = _ZEN_Component_csMenuBar_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_csMenuBar_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_csMenuBar_onloadHandler;
	p.setProperty = _ZEN_Component_csMenuBar_setProperty;
}

self._zenClassIdx['csMenuBarItem'] = '_ZEN_Component_csMenuBarItem';
self._ZEN_Component_csMenuBarItem = function(index,id) {
	if (index>=0) {_ZEN_Component_csMenuBarItem__init(this,index,id);}
}

self._ZEN_Component_csMenuBarItem__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.caption = '';
	o.contextKey = '';
}
function _ZEN_Component_csMenuBarItem_serialize(set,s)
{
	var o = this;s[0]='531681263';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.caption;s[9]=o.cellAlign;s[10]=o.cellSize;s[11]=o.cellStyle;s[12]=o.cellVAlign;s[13]=set.serializeList(o,o.children,true,'children');s[14]=o.containerStyle;s[15]=o.contextKey;s[16]=(o.disabled?1:0);s[17]=(o.dragEnabled?1:0);s[18]=(o.dropEnabled?1:0);s[19]=(o.dynamic?1:0);s[20]=o.enclosingClass;s[21]=o.enclosingStyle;s[22]=o.error;s[23]=o.groupClass;s[24]=o.groupStyle;s[25]=o.height;s[26]=(o.hidden?1:0);s[27]=o.hint;s[28]=o.hintClass;s[29]=o.hintStyle;s[30]=o.label;s[31]=o.labelClass;s[32]=o.labelPosition;s[33]=o.labelStyle;s[34]=o.layout;s[35]=o.onafterdrag;s[36]=o.onbeforedrag;s[37]=o.onclick;s[38]=o.ondrag;s[39]=o.ondrop;s[40]=o.onhide;s[41]=o.onrefresh;s[42]=o.onshow;s[43]=o.onupdate;s[44]=o.overlayMode;s[45]=o.renderFlag;s[46]=(o.showLabel?1:0);s[47]=o.slice;s[48]=o.title;s[49]=o.tuple;s[50]=o.valign;s[51]=(o.visible?1:0);s[52]=o.width;
}
function _ZEN_Component_csMenuBarItem_getSettings(s)
{
	s['name'] = 'string';
	s['caption'] = 'string';
	s['contextKey'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_csMenuBarItem_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZMS.initialize();
var div=this.getEnclosingDiv();
for (var k=div.firstChild;k!=null;k=k.nextSibling) {
if (k.nodeType==1 && k.className=="csMenuBarItem") {
ZMS.createMenuBarItemSubtree(k,20);
div.item=k;
}
}
}

self._ZEN_Component_csMenuBarItem_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_csMenuBarItem_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_csMenuBarItem__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_csMenuBarItem.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_csMenuBarItem.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_csMenuBarItem;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.csMenuBarItem';
	p._type = 'csMenuBarItem';
	p.serialize = _ZEN_Component_csMenuBarItem_serialize;
	p.getSettings = _ZEN_Component_csMenuBarItem_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_csMenuBarItem_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_csMenuBarItem_onloadHandler;
	p.setProperty = _ZEN_Component_csMenuBarItem_setProperty;
}

self._zenClassIdx['csMenuItem'] = '_ZEN_Component_csMenuItem';
self._ZEN_Component_csMenuItem = function(index,id) {
	if (index>=0) {_ZEN_Component_csMenuItem__init(this,index,id);}
}

self._ZEN_Component_csMenuItem__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.altCaption = '';
	o.altIcon = '';
	o.altKey = '';
	o.caption = '';
	o.contextKey = '';
	o.icon = '';
	o.iconDisabled = '';
	o.key = '';
	o.onclick = '';
	o.toggleMode = false;
}
function _ZEN_Component_csMenuItem_serialize(set,s)
{
	var o = this;s[0]='159267113';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.altCaption;s[8]=o.altIcon;s[9]=o.altKey;s[10]=o.aux;s[11]=o.caption;s[12]=o.cellAlign;s[13]=o.cellSize;s[14]=o.cellStyle;s[15]=o.cellVAlign;s[16]=set.serializeList(o,o.children,true,'children');s[17]=o.containerStyle;s[18]=o.contextKey;s[19]=(o.disabled?1:0);s[20]=(o.dragEnabled?1:0);s[21]=(o.dropEnabled?1:0);s[22]=(o.dynamic?1:0);s[23]=o.enclosingClass;s[24]=o.enclosingStyle;s[25]=o.error;s[26]=o.groupClass;s[27]=o.groupStyle;s[28]=o.height;s[29]=(o.hidden?1:0);s[30]=o.hint;s[31]=o.hintClass;s[32]=o.hintStyle;s[33]=o.icon;s[34]=o.iconDisabled;s[35]=o.key;s[36]=o.label;s[37]=o.labelClass;s[38]=o.labelPosition;s[39]=o.labelStyle;s[40]=o.layout;s[41]=o.onafterdrag;s[42]=o.onbeforedrag;s[43]=o.onclick;s[44]=o.ondrag;s[45]=o.ondrop;s[46]=o.onhide;s[47]=o.onrefresh;s[48]=o.onshow;s[49]=o.onupdate;s[50]=o.overlayMode;s[51]=o.renderFlag;s[52]=(o.showLabel?1:0);s[53]=o.slice;s[54]=o.title;s[55]=(o.toggleMode?1:0);s[56]=o.tuple;s[57]=o.valign;s[58]=(o.visible?1:0);s[59]=o.width;
}
function _ZEN_Component_csMenuItem_getSettings(s)
{
	s['name'] = 'string';
	s['altCaption'] = 'string';
	s['altIcon'] = 'uri';
	s['altKey'] = 'string';
	s['caption'] = 'string';
	s['contextKey'] = 'string';
	s['icon'] = 'uri';
	s['iconDisabled'] = 'uri';
	s['key'] = 'string';
	s['onclick'] = 'eventHandler';
	s['toggleMode'] = 'boolean';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_csMenuItem_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZMS.initialize();
var div=this.getEnclosingDiv();
for (var k=div.firstChild;k!=null;k=k.nextSibling) {
if (k.nodeType==1 && k.className=="csMenuItem") {
ZMS.createMenuItemSubtree(k,20);
div.item=k;
return;
}
}
}

self._ZEN_Component_csMenuItem_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_csMenuItem_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_csMenuItem__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_csMenuItem.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_csMenuItem.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_csMenuItem;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.csMenuItem';
	p._type = 'csMenuItem';
	p.serialize = _ZEN_Component_csMenuItem_serialize;
	p.getSettings = _ZEN_Component_csMenuItem_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_csMenuItem_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_csMenuItem_onloadHandler;
	p.setProperty = _ZEN_Component_csMenuItem_setProperty;
}

self._zenClassIdx['desktop'] = '_ZEN_Component_desktop';
self._ZEN_Component_desktop = function(index,id) {
	if (index>=0) {_ZEN_Component_desktop__init(this,index,id);}
}

self._ZEN_Component_desktop__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_activeGroup__init) ?zenMaster._ZEN_Component_activeGroup__init(o,index,id):_ZEN_Component_activeGroup__init(o,index,id);
	o.colStyle = '';
	o.rowStyle = 'ALIGN_ROW_TOP';
}
function _ZEN_Component_desktop_serialize(set,s)
{
	var o = this;s[0]='243468980';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=set.serializeList(o,o.children,true,'children');s[9]=o.colStyle;s[10]=o.containerStyle;s[11]=(o.disabled?1:0);s[12]=(o.dragEnabled?1:0);s[13]=(o.dropEnabled?1:0);s[14]=(o.dynamic?1:0);s[15]=o.enclosingClass;s[16]=o.enclosingStyle;s[17]=o.error;s[18]=o.height;s[19]=(o.hidden?1:0);s[20]=o.hint;s[21]=o.hintClass;s[22]=o.hintStyle;s[23]=o.label;s[24]=o.labelClass;s[25]=o.labelStyle;s[26]=o.onafterdrag;s[27]=o.onbeforedrag;s[28]=o.ondrag;s[29]=o.ondrop;s[30]=o.onhide;s[31]=o.onrefresh;s[32]=o.onshow;s[33]=o.onupdate;s[34]=o.overlayMode;s[35]=o.renderFlag;s[36]=o.rowStyle;s[37]=(o.showLabel?1:0);s[38]=o.slice;s[39]=o.title;s[40]=o.tuple;s[41]=o.valign;s[42]=(o.visible?1:0);s[43]=o.width;
}
function _ZEN_Component_desktop_getSettings(s)
{
	s['name'] = 'string';
	s['colStyle'] = 'enum:,FILL_COLUMN,ALIGN_COLUMN_LEFT,ALIGN_COLUMN_CENTER,ALIGN_COLUMN_RIGHT,FILL_WIDTH,ALIGN_WIDTH_LEFT,ALIGN_WIDTH_CENTER,ALIGN_WIDTH_RIGHT,FILL_UNIFORM,ALIGN_UNIFORM_LEFT,ALIGN_UNIFORM_CENTER,ALIGN_UNIFORM_RIGHT';
	s['rowStyle'] = 'enum:FILL_ROW,ALIGN_ROW_TOP,ALIGN_ROW_CENTER,ALIGN_ROW_BOTTOM,FILL_UNIFORM,ALIGN_UNIFORM_TOP,ALIGN_UNIFORM_CENTER,ALIGN_UNIFORM_BOTTOM';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_desktop_getState = function() {
var manager = ZLM.getGroupManager("desktop_"+this.index);
if (manager) {
return(manager.getState(manager.engine));
}
return(null);
}

self._ZEN_Component_desktop_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZLM.registerManagerClass("desktopGroup",ZLM_VDP.initDesktop);
ZLM.initLayout();
}

self._ZEN_Component_desktop_restoreState = function(layout) {
var manager = ZLM.getGroupManager("desktop_"+this.index);
if (manager) {
manager.restoreState(manager.engine,layout);
}
}

self._ZEN_Component_desktop_setColumnStyle = function(style) {
var manager = ZLM.getGroupManager("desktop_"+this.index);
if (manager) {
manager.setColumnStyle(manager.engine,style);
}
}

self._ZEN_Component_desktop_setProperty = function(property,value,value2) {
switch(property) {
case 'rowStyle':
var desk = this.getEnclosingDiv();
desk.setRowStyle(value);
break;
case 'colStyle' :
var desk = this.getEnclosingDiv();
desk.setColStyle(value);
break;
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_desktop_setRowStyle = function(style) {
var manager = ZLM.getGroupManager("desktop_"+this.index);
if (manager) {
manager.setRowStyle(manager.engine,style);
}
}

self._ZEN_Component_desktop_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_desktop__Loader = function() {
	zenLoadClass('_ZEN_Component_activeGroup');
	_ZEN_Component_desktop.prototype = zenCreate('_ZEN_Component_activeGroup',-1);
	var p = _ZEN_Component_desktop.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_desktop;
	p.superClass = ('undefined' == typeof _ZEN_Component_activeGroup) ? zenMaster._ZEN_Component_activeGroup.prototype:_ZEN_Component_activeGroup.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.desktop';
	p._type = 'desktop';
	p.serialize = _ZEN_Component_desktop_serialize;
	p.getSettings = _ZEN_Component_desktop_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_desktop_ReallyRefreshContents;
	p.getState = _ZEN_Component_desktop_getState;
	p.onloadHandler = _ZEN_Component_desktop_onloadHandler;
	p.restoreState = _ZEN_Component_desktop_restoreState;
	p.setColumnStyle = _ZEN_Component_desktop_setColumnStyle;
	p.setProperty = _ZEN_Component_desktop_setProperty;
	p.setRowStyle = _ZEN_Component_desktop_setRowStyle;
}

self._zenClassIdx['dragGroup'] = '_ZEN_Component_dragGroup';
self._ZEN_Component_dragGroup = function(index,id) {
	if (index>=0) {_ZEN_Component_dragGroup__init(this,index,id);}
}

self._ZEN_Component_dragGroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.centerHeader = false;
	o.enclosingClass = 'dragGroup';
	o.header = 'Untitled Group';
	o.headerLayout = 'ITFC';
	o.imageAppLogo = '';
	o.imageAppLogoWidth = '0';
	o.imageClose = 'images/grayDragClose.png';
	o.imageCloseWidth = '16';
	o.imageContract = 'images/grayDragContract.png';
	o.imageContractWidth = '16';
	o.imageExpand = 'images/grayDragExpand.png';
	o.imageExpandWidth = '16';
	o.imageMaximize = 'images/grayDragMax.png';
	o.imageMaximizeWidth = '16';
	o.imageMinimize = 'images/grayDragMin.png';
	o.imageMinimizeWidth = '16';
	o.imageResize = 'images/grayDragResize.png';
	o.imageResizeSize = '16';
	o.layout = 'none';
	o.onresize = '';
}
function _ZEN_Component_dragGroup_serialize(set,s)
{
	var o = this;s[0]='1528840947';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=(o.centerHeader?1:0);s[13]=set.serializeList(o,o.children,true,'children');s[14]=o.containerStyle;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=o.groupClass;s[23]=o.groupStyle;s[24]=o.header;s[25]=o.headerLayout;s[26]=o.height;s[27]=(o.hidden?1:0);s[28]=o.hint;s[29]=o.hintClass;s[30]=o.hintStyle;s[31]=o.imageAppLogo;s[32]=o.imageAppLogoWidth;s[33]=o.imageClose;s[34]=o.imageCloseWidth;s[35]=o.imageContract;s[36]=o.imageContractWidth;s[37]=o.imageExpand;s[38]=o.imageExpandWidth;s[39]=o.imageMaximize;s[40]=o.imageMaximizeWidth;s[41]=o.imageMinimize;s[42]=o.imageMinimizeWidth;s[43]=o.imageResize;s[44]=o.imageResizeSize;s[45]=o.label;s[46]=o.labelClass;s[47]=o.labelPosition;s[48]=o.labelStyle;s[49]=o.layout;s[50]=o.onafterdrag;s[51]=o.onbeforedrag;s[52]=o.onclick;s[53]=o.ondrag;s[54]=o.ondrop;s[55]=o.onhide;s[56]=o.onrefresh;s[57]=o.onresize;s[58]=o.onshow;s[59]=o.onupdate;s[60]=o.overlayMode;s[61]=o.renderFlag;s[62]=(o.showLabel?1:0);s[63]=o.slice;s[64]=o.title;s[65]=o.tuple;s[66]=o.valign;s[67]=(o.visible?1:0);s[68]=o.width;
}
function _ZEN_Component_dragGroup_getSettings(s)
{
	s['name'] = 'string';
	s['centerHeader'] = 'string';
	s['header'] = 'caption';
	s['headerLayout'] = 'string';
	s['imageAppLogo'] = 'uri';
	s['imageAppLogoWidth'] = 'integer';
	s['imageClose'] = 'uri';
	s['imageCloseWidth'] = 'integer';
	s['imageContract'] = 'uri';
	s['imageContractWidth'] = 'integer';
	s['imageExpand'] = 'uri';
	s['imageExpandWidth'] = 'integer';
	s['imageMaximize'] = 'uri';
	s['imageMaximizeWidth'] = 'integer';
	s['imageMinimize'] = 'uri';
	s['imageMinimizeWidth'] = 'integer';
	s['imageResize'] = 'uri';
	s['imageResizeSize'] = 'string';
	s['onresize'] = 'eventHandler';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_dragGroup_adjustChildArea = function() {
var thisDiv = this.getEnclosingDiv();
var headerDiv = this.getHeaderDiv();
var childDiv = this.getChildDiv();
childDiv.style.height=thisDiv.clientHeight-headerDiv.offsetHeight;
}

self._ZEN_Component_dragGroup_adjustHandleWidth = function() {
if (this.centerLayout) this.verifyHeaderGeometry();
}

self._ZEN_Component_dragGroup_adjustResizeBox = function() {
var thisDiv = this.getEnclosingDiv();
var box = thisDiv.resize;
box.style.bottom="0px";
box.style.right="0px"
}

self._ZEN_Component_dragGroup_close = function(event) {
var thisDiv = this.getEnclosingDiv();
ZLM.killEvent(event);
thisDiv.layoutMgr.closePane(thisDiv);
ZLM.killEvent(event);
}

self._ZEN_Component_dragGroup_compress = function(event) {
var thisDiv = this.getEnclosingDiv();
ZLM.killEvent(event);
thisDiv.oldPrefHeight = thisDiv.prefHeight;
thisDiv.dragItem.style.display="none";
thisDiv.resize.style.display="none";
thisDiv.dragHandle.expander.style.display="block";
thisDiv.dragHandle.iconifier.style.display="none";
thisDiv.compressed=1;
thisDiv.prefHeight=thisDiv.iconHeight;
thisDiv.layoutMgr.layoutBlock(thisDiv.layoutEngine);
}

self._ZEN_Component_dragGroup_constrainDragX = function(engine,wrapper,intendedX) {
var thisDiv=this.getEnclosingDiv();
var pad = parseInt(this.imageResizeSize)+1;
var x = parseInt(intendedX)+ pad;
if (x<thisDiv.minWidth) x = thisDiv.minWidth;
thisDiv.prefWidth=x;
return(x-pad);
}

self._ZEN_Component_dragGroup_constrainDragY = function(engine,wrapper,intendedY) {
var thisDiv=this.getEnclosingDiv();
var pad = parseInt(this.imageResizeSize)+1;
var y = parseInt(intendedY)+pad;
if (y<thisDiv.minHeight) y = thisDiv.minHeight;
thisDiv.prefHeight=y;
this.resize(thisDiv.prefWidth,thisDiv.prefHeight);
thisDiv.layoutMgr.layoutBlock(thisDiv.layoutEngine);
return(y-pad);
}

self._ZEN_Component_dragGroup_endDrag = function(engine,wrapper) {
if (this.coverplate) this.coverplate.style.display="none";
this.resizeDragActive=false;
var thisDiv=this.getEnclosingDiv();
thisDiv.layoutMgr.layoutBlock(thisDiv.layoutEngine);
ZLM.notifyResize(thisDiv);
this.onresizeHandler();
}

self._ZEN_Component_dragGroup_expand = function(event) {
var thisDiv = this.getEnclosingDiv();
ZLM.killEvent(event);
thisDiv.compressed=0;
thisDiv.prefHeight = thisDiv.oldPrefHeight;
thisDiv.dragItem.style.display="block";
thisDiv.resize.style.display="block";
thisDiv.dragHandle.expander.style.display="none";
thisDiv.dragHandle.iconifier.style.display="block";
thisDiv.layoutMgr.layoutBlock(thisDiv.layoutEngine);
}

self._ZEN_Component_dragGroup_getChildDiv = function() {
return this.findElement('children');
}

self._ZEN_Component_dragGroup_getHeaderDiv = function() {
return this.findElement('header');
}

self._ZEN_Component_dragGroup_getState = function() {
var r = this.getEnclosingDiv();
var str=r.id+":"+encodeURIComponent(this.header)+":";
str=str+r.prefWidth+":"+r.prefHeight+":"+r.minWidth+":"+r.minHeight+":"+r.compressed+":"+r.maximized+":";
str=str+r.oldTop+":"+r.oldLeft+":"+r.oldWidth+":"+r.oldHeight+":"+r.oldPrefHeight;
return(str);
}

self._ZEN_Component_dragGroup_getWindowHeight = function() {
var e = this.getEnclosingDiv();
var d = this.findElement('header');
if (!d) return(0);
return(e.clientHeight-d.offsetHeight);
}

self._ZEN_Component_dragGroup_getWindowWidth = function() {
var div =this.getEnclosingDiv();
return(div.clientWidth);
}

self._ZEN_Component_dragGroup_isResizeInProgress = function() {
if (this.resizeDragActive==true) return(true);
return(false);
}

self._ZEN_Component_dragGroup_maximize = function(event) {
var thisDiv = this.getEnclosingDiv();
ZLM.killEvent(event);
thisDiv.maximized = 1;
thisDiv.layoutEngine.setKidsDisplay("none");
thisDiv.style.display="block";
thisDiv.dragHandle.expander.style.display="none";
thisDiv.dragHandle.iconifier.style.display="none";
thisDiv.dragHandle.maxxer.style.display="none";
thisDiv.dragHandle.minner.style.display="block";
thisDiv.dragItem.style.display="block";
thisDiv.resize.style.display="none";
this.saveGeometry();
var dskW = thisDiv.parentNode.parentNode.clientWidth-2;
var dskH = thisDiv.parentNode.parentNode.clientHeight-2;
this.resize(dskW,dskH);
ZLM.setLocalAttribute(thisDiv.dragHandle,"onmousedown","");
thisDiv.dragHandle.style.cursor="auto";
thisDiv.parentNode.style.overflow="hidden";
thisDiv.style.top="0px";
thisDiv.style.left="0px";
thisDiv.style.zIndex="100";
ZLM.notifyResize(thisDiv);
this.onresizeHandler();
}

self._ZEN_Component_dragGroup_normalize = function(event) {
var thisDiv = this.getEnclosingDiv();
ZLM.killEvent(event);
thisDiv.layoutEngine.setKidsDisplay("block");
thisDiv.maximized = 0;
thisDiv.dragHandle.minner.style.display="none";
thisDiv.dragHandle.maxxer.style.display="block";
if (thisDiv.compressed==1) {
thisDiv.dragHandle.expander.style.display="block";
thisDiv.dragItem.style.display="none";
}
else {
thisDiv.dragHandle.iconifier.style.display="block";
thisDiv.resize.style.display="block";
}
this.restoreGeometry();
ZLM.setLocalAttribute(thisDiv.dragHandle,"onmousedown","ZLM.drag(this.parentNode,event);");
thisDiv.dragHandle.style.cursor="move";
thisDiv.parentNode.style.overflow="auto";
thisDiv.style.zIndex="0";
thisDiv.layoutMgr.layoutBlock(thisDiv.layoutEngine);
this.onresizeHandler();
}

self._ZEN_Component_dragGroup_onRefreshContents = function() {
this.renderContents();
}

self._ZEN_Component_dragGroup_onresizeHandler = function() {
if (this.onresize) zenInvokeCallbackMethod(this.onresize,this,'onresize');
}

self._ZEN_Component_dragGroup_renderContents = function() {
var header = this.getHeaderDiv();
if (header.textCell) return;
this.renderCoverplate();
this.renderResize();
this.renderHeader();
var thisDiv = this.getEnclosingDiv();
thisDiv.compressed = 0;
thisDiv.maximized = 0;
if (!thisDiv.prefWidth) thisDiv.prefWidth = thisDiv.offsetWidth;
if (!thisDiv.prefHeight) thisDiv.prefHeight = thisDiv.offsetHeight;
if (!thisDiv.minWidth) thisDiv.minWidth = thisDiv.prefWidth;
if (!thisDiv.minHeight) thisDiv.minHeight = thisDiv.iconHeight+thisDiv.resize.size+1;
thisDiv.oldTop = 0;
thisDiv.oldLeft = 0;
thisDiv.oldWidth = 0;
thisDiv.oldHeight = 0;
thisDiv.oldPrefHeight = 0;
this.adjustChildArea();
}

self._ZEN_Component_dragGroup_renderCoverplate = function() {
var g = this.getChildDiv();
var plate=ZLM.simulateTag("div class='dragCoverplate'");
ZLM.setLocalAttribute(plate,"onmousemove","ZLM.killEvent(event);");
g.appendChild(plate);
var div = this.getEnclosingDiv();
div.coverplate=plate;
this.coverplate=plate;
}

self._ZEN_Component_dragGroup_renderHeader = function() {
var header = this.getHeaderDiv();
var group = this.getEnclosingDiv();
if (ZLM.isIE) {
group.iFrame = ZLM.simulateTag("iframe src='' frameBorder='0' style='filter:alpha(opacity=0); z-index:0; position:absolute; top:0px; left:0px; width:100%; height:100%; border: 0px solid black; background:transparent;'");
group.insertBefore(group.iFrame,group.firstChild);
header.style.position='relative';
header.style.zIndex="1";
}
if (header) {
this.headerLeft = ZLM.simulateTag("div class='dragHeaderLeft'");
this.headerMiddle = ZLM.simulateTag("div class='dragHeaderMiddle'");
this.headerRight = ZLM.simulateTag("div class='dragHeaderRight'");
header.appendChild(this.headerLeft);
header.appendChild(this.headerMiddle);
header.appendChild(this.headerRight);
this.iconify = ZLM.simulateTag("div class='dragIconifyDiv' onmousedown='this.pane.zenObject.compress(event);'");
this.expander = ZLM.simulateTag("div class='dragExpandDiv' onmousedown='this.pane.zenObject.expand(event);'");
this.maxxer = ZLM.simulateTag("div class='dragFullScreenDiv'  onmousedown='this.pane.zenObject.maximize(event);'");
this.minner = ZLM.simulateTag("div class='dragShareScreenDiv'  onmousedown='this.pane.zenObject.normalize(event);'");
this.closer = ZLM.simulateTag("div class='dragCloseDiv' onclick='this.pane.zenObject.close(event);' onmousedown='ZLM.killEvent(event);'");
this.appLogo = ZLM.simulateTag("div class='dragLogoDiv'");
this.headerMiddle.appendChild(this.appLogo);
this.headerMiddleVDiv = ZLM.simulateTag("div style='position:relative; top:50%; height:100%;'");
this.headerMiddle.appendChild(this.headerMiddleVDiv);
this.titleDiv = ZLM.makeElement("div",null,this.header);
this.titleDiv.className = "dragHeaderText";
this.headerMiddleVDiv.appendChild(this.titleDiv);
this.setAppLogo(this.imageAppLogo,this.imageAppLogoWidth);
this.setCenterLayout(this.centerLayout);
this.setContractIcon(this.imageContract,this.imageContractWidth);
this.setExpandIcon(this.imageExpand,this.imageExpandWidth);
this.setMaximizeIcon(this.imageMaximize,this.imageMaximizeWidth);
this.setMinimizeIcon(this.imageMinimize,this.imageMinimizeWidth);
this.setCloseIcon(this.imageClose,this.imageCloseWidth);
this.setHeaderLayout(this.headerLayout);
ZLM.setLocalAttribute(header,"onmousedown","ZLM.drag(this.parentNode,event);");
header.maxxer = this.maxxer;
header.minner = this.minner;
header.closer = this.closer;
header.iconifier = this.iconify;
header.expander = this.expander;
header.textCell=this.titleDiv;
this.maxxer.pane = group;
this.minner.pane = group;
this.closer.pane = group;
this.expander.pane = group;
this.iconify.pane = group;
group.dragHandle=header;
group.dragItem=this.getChildDiv();
group.zenObject=this;
this.adjustHandleWidth();
this.adjustResizeBox();
this.headerDiv=header;
}
}

self._ZEN_Component_dragGroup_renderResize = function() {
var group = this.getEnclosingDiv();
var sz = parseInt(this.imageResizeSize);
if (group) {
var resize = ZLM.simulateTag("img src='"+this.imageResize+"' style='cursor:nw-resize; position:absolute; z-index:65535; width:"+sz+"; height:"+sz+";' onmousedown='ZLM.drag(this,event);'");
resize.pane = group;
resize.size = sz;
group.appendChild(resize);
group.resize=resize;
ZLM.registerDragItem(resize,this);
}
}

self._ZEN_Component_dragGroup_resize = function(width,height) {
var thisDiv = this.getEnclosingDiv();
thisDiv.style.width=width;
thisDiv.style.height=height;
this.adjustHandleWidth();
this.adjustChildArea();
}

self._ZEN_Component_dragGroup_restoreGeometry = function() {
var thisDiv = this.getEnclosingDiv();
thisDiv.style.top=this.oldTop;
thisDiv.style.left=this.oldLeft;
ZLM.setOffsetWidth(thisDiv,this.oldWidth);
ZLM.setOffsetHeight(thisDiv,this.oldHeight);
this.adjustHandleWidth();
this.adjustChildArea();
}

self._ZEN_Component_dragGroup_restoreState = function(str) {
var n = this.getEnclosingDiv();
var d = str.split(':');
n.prefWidth=parseInt(d[2]);
n.prefHeight=parseInt(d[3]);
n.minWidth=parseInt(d[4]);
n.minHeight=parseInt(d[5]);
n.oldTop=parseInt(d[8]);
n.oldLeft=parseInt(d[9]);
n.oldWidth=parseInt(d[10]);
n.oldHeight=parseInt(d[11]);
n.oldPrefHeight=parseInt(d[12]);
if (d[7]=="1"){
if (d[6]==1) n.compressed=1;
else n.compressed=0;
n.maximized = 1;
n.dragHandle.expander.style.display="none";
n.dragHandle.iconifier.style.display="none";
n.dragHandle.maxxer.style.display="none";
n.dragHandle.minner.style.display="block";
n.dragItem.style.display="block";
n.resize.style.display="none";
this.resize(n.parentNode.clientWidth-2,n.parentNode.clientHeight-2);
ZLM.setLocalAttribute(n.dragHandle,"onmousedown","");
n.dragHandle.style.cursor="auto";
n.parentNode.style.overflow="hidden";
n.style.top="0px";
n.style.left="0px";
n.style.zIndex="100";
ZLM.notifyResize(n);
this.onresizeHandler();
}
else {
n.maximized = 0;
n.dragHandle.minner.style.display="none";
n.dragHandle.maxxer.style.display="block";
if (d[6]=="1") {
n.compressed=1;
n.dragHandle.expander.style.display="block";
n.dragHandle.iconifier.style.display="none";
n.dragItem.style.display="none";
n.resize.style.display="none";
}
else {
n.compressed=0;
n.dragHandle.expander.style.display="none";
n.dragHandle.iconifier.style.display="block";
n.resize.style.display="block";
n.dragItem.style.display="block";
}
ZLM.setLocalAttribute(n.dragHandle,"onmousedown","ZLM.drag(this.parentNode,event);");
n.dragHandle.style.cursor="move";
n.parentNode.style.overflow="auto";
n.style.zIndex="0";
}
}

self._ZEN_Component_dragGroup_saveGeometry = function() {
var thisDiv = this.getEnclosingDiv();
this.oldTop = thisDiv.offsetTop;
this.oldLeft = thisDiv.offsetLeft;
this.oldWidth = thisDiv.offsetWidth;
this.oldHeight = thisDiv.offsetHeight;
}

self._ZEN_Component_dragGroup_setAppLogo = function(iconURL,width) {
var w=parseInt(width,10);
if (iconURL && iconURL.length>0) {
this.appLogo.style.display = 'inline';
this.appLogo.style.backgroundImage = "url("+iconURL+")";
this.appLogo.style.width = w+"px";
this.appLogo.nativeWidth = w;
}
else this.appLogo.style.display="none";
this.imageAppLogo = iconURL;
this.imageAppLogoWidth = w;
if (this.centerLayout) this.setCenterLayout(true);
}

self._ZEN_Component_dragGroup_setCenterLayout = function(flag) {
var m=this.headerMiddle.style;
var v=this.headerMiddleVDiv.style;
v.position = "absolute";
v.left = (this.imageAppLogoWidth+4)+"px";
this.centerLayout=flag;
this.verifyHeaderGeometry();
}

self._ZEN_Component_dragGroup_setCloseIcon = function(iconURL,width) {
this.imageCloseWidth=this.setIcon(this.closer,iconURL,width);
this.imageClose=iconURL;
}

self._ZEN_Component_dragGroup_setContractIcon = function(iconURL,width) {
this.imageContractWidth=this.setIcon(this.iconify,iconURL,width);
this.imageContract=iconURL;
}

self._ZEN_Component_dragGroup_setExpandIcon = function(iconURL,width) {
this.imageExpandWidth=this.setIcon(this.expander,iconURL,width);
this.imageExpand=iconURL;
}

self._ZEN_Component_dragGroup_setHeaderLayout = function(layout) {
if (this.iconify.parentNode) this.iconify.parentNode.removeChild(this.iconify);
if (this.expander.parentNode) this.expander.parentNode.removeChild(this.expander);
if (this.maxxer.parentNode) this.maxxer.parentNode.removeChild(this.maxxer);
if (this.minner.parentNode) this.minner.parentNode.removeChild(this.minner);
if (this.closer.parentNode) this.closer.parentNode.removeChild(this.closer);
var section = this.headerLeft;
for (var i=0;i<layout.length;i++) {
var c=layout.charAt(i).toUpperCase();
if (c=='I') {
section.appendChild(this.iconify);
section.appendChild(this.expander);
}
else if (c=='F') {
section.appendChild(this.maxxer);
section.appendChild(this.minner);
}
else if (c=='C') {
section.appendChild(this.closer);
}
else if (c=='T') {
section=this.headerRight;
}
}
this.headerLayout=layout;
this.verifyHeaderGeometry();
}

self._ZEN_Component_dragGroup_setIcon = function(iconDiv,iconURL,width) {
if (!width) var w=16;
else var w=parseInt(width,10);
if (iconURL && iconURL.length>0) {
iconDiv.style.backgroundImage = "url("+iconURL+")";
iconDiv.style.width = w+"px";
iconDiv.nativeWidth = w;
}
this.verifyHeaderGeometry();
return(w);
}

self._ZEN_Component_dragGroup_setMaximizeIcon = function(iconURL,width) {
this.imageMaximizeWidth=this.setIcon(this.maxxer,iconURL,width);
this.imageMaximize=iconURL;
}

self._ZEN_Component_dragGroup_setMinimizeIcon = function(iconURL,width) {
this.imageMinimizeWidth=this.setIcon(this.minner,iconURL,width);
this.imageMinimize=iconURL;
}

self._ZEN_Component_dragGroup_setProperty = function(property,value,value2) {
switch(property) {
case 'header':
this.header = value;
break;
case 'appLogo':
this.setAppLogo(value,value2);
break;
case 'imageClose':
this.setCloseIcon(value,value2);
break;
case 'imageMinimize':
this.setMinimizeIcon(value,value2);
break;
case 'imageMaximize':
this.setMaximizeIcon(value,value2);
break;
case 'imageExpand':
this.setExpandIcon(value,value2);
break;
case 'imageContract':
this.setContractIcon(value,value2);
break;
case 'centerLayout':
this.setCenterLayout(value);
break;
case 'headerLayout':
this.setHeaderLayout(value);
break;
case 'onresize':
this.onresize = value;
break;
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_dragGroup_startDrag = function(engine,wrapper) {
if (this.coverplate) this.coverplate.style.display="block";
this.resizeDragActive=true;
}

self._ZEN_Component_dragGroup_verifyHeaderGeometry = function() {
var ofsX=0;
if (this.headerLeft.hasChildNodes()==false) this.headerLeft.style.display='none';
else {
this.headerLeft.style.display='block';
var k = this.headerLeft.childNodes;
for (var i=0;i<k.length;i++) {
if (k[i]==this.iconify) {
k[i].style.left=ofsX+"px";
this.expander.style.left=ofsX+"px";
ofsX+=k[i].nativeWidth+2;
}
else if (k[i]==this.maxxer) {
k[i].style.left=ofsX+"px";
this.minner.style.left=ofsX+"px";
ofsX+=k[i].nativeWidth+2;
}
else if (k[i]==this.closer) {
k[i].style.left=ofsX+"px";
ofsX+=k[i].nativeWidth+2;
}
}
this.headerLeft.style.width=ofsX+"px";
}
if (this.centerLayout) {
var cOfsX = (this.headerDiv.offsetWidth-this.appLogo.nativeWidth-this.titleDiv.offsetWidth)/2;
if (cOfsX<ofsX)cOfsX=ofsX;
this.headerMiddle.style.left=cOfsX+"px";
}
else this.headerMiddle.style.left=(ofsX+4)+"px";
var k = this.headerRight.childNodes;
var ofsX=0;
for (var i=0;i<k.length;i++) {
if (k[i]==this.iconify) {
k[i].style.left=ofsX+"px";
this.expander.style.left=ofsX+"px";
ofsX+=k[i].nativeWidth+2;
}
else if (k[i]==this.maxxer) {
k[i].style.left=ofsX+"px";
this.minner.style.left=ofsX+"px";
ofsX+=k[i].nativeWidth+2;
}
else if (k[i]==this.closer) {
k[i].style.left=ofsX+"px";
ofsX+=k[i].nativeWidth+2;
}
}
this.headerRight.style.width=ofsX+"px";
}

self._ZEN_Component_dragGroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_dragGroup__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_dragGroup.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_dragGroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_dragGroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.dragGroup';
	p._type = 'dragGroup';
	p.serialize = _ZEN_Component_dragGroup_serialize;
	p.getSettings = _ZEN_Component_dragGroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_dragGroup_ReallyRefreshContents;
	p.adjustChildArea = _ZEN_Component_dragGroup_adjustChildArea;
	p.adjustHandleWidth = _ZEN_Component_dragGroup_adjustHandleWidth;
	p.adjustResizeBox = _ZEN_Component_dragGroup_adjustResizeBox;
	p.close = _ZEN_Component_dragGroup_close;
	p.compress = _ZEN_Component_dragGroup_compress;
	p.constrainDragX = _ZEN_Component_dragGroup_constrainDragX;
	p.constrainDragY = _ZEN_Component_dragGroup_constrainDragY;
	p.endDrag = _ZEN_Component_dragGroup_endDrag;
	p.expand = _ZEN_Component_dragGroup_expand;
	p.getChildDiv = _ZEN_Component_dragGroup_getChildDiv;
	p.getHeaderDiv = _ZEN_Component_dragGroup_getHeaderDiv;
	p.getState = _ZEN_Component_dragGroup_getState;
	p.getWindowHeight = _ZEN_Component_dragGroup_getWindowHeight;
	p.getWindowWidth = _ZEN_Component_dragGroup_getWindowWidth;
	p.isResizeInProgress = _ZEN_Component_dragGroup_isResizeInProgress;
	p.maximize = _ZEN_Component_dragGroup_maximize;
	p.normalize = _ZEN_Component_dragGroup_normalize;
	p.onRefreshContents = _ZEN_Component_dragGroup_onRefreshContents;
	p.onresizeHandler = _ZEN_Component_dragGroup_onresizeHandler;
	p.renderContents = _ZEN_Component_dragGroup_renderContents;
	p.renderCoverplate = _ZEN_Component_dragGroup_renderCoverplate;
	p.renderHeader = _ZEN_Component_dragGroup_renderHeader;
	p.renderResize = _ZEN_Component_dragGroup_renderResize;
	p.resize = _ZEN_Component_dragGroup_resize;
	p.restoreGeometry = _ZEN_Component_dragGroup_restoreGeometry;
	p.restoreState = _ZEN_Component_dragGroup_restoreState;
	p.saveGeometry = _ZEN_Component_dragGroup_saveGeometry;
	p.setAppLogo = _ZEN_Component_dragGroup_setAppLogo;
	p.setCenterLayout = _ZEN_Component_dragGroup_setCenterLayout;
	p.setCloseIcon = _ZEN_Component_dragGroup_setCloseIcon;
	p.setContractIcon = _ZEN_Component_dragGroup_setContractIcon;
	p.setExpandIcon = _ZEN_Component_dragGroup_setExpandIcon;
	p.setHeaderLayout = _ZEN_Component_dragGroup_setHeaderLayout;
	p.setIcon = _ZEN_Component_dragGroup_setIcon;
	p.setMaximizeIcon = _ZEN_Component_dragGroup_setMaximizeIcon;
	p.setMinimizeIcon = _ZEN_Component_dragGroup_setMinimizeIcon;
	p.setProperty = _ZEN_Component_dragGroup_setProperty;
	p.startDrag = _ZEN_Component_dragGroup_startDrag;
	p.verifyHeaderGeometry = _ZEN_Component_dragGroup_verifyHeaderGeometry;
}

self._zenClassIdx['expando'] = '_ZEN_Component_expando';
self._ZEN_Component_expando = function(index,id) {
	if (index>=0) {_ZEN_Component_expando__init(this,index,id);}
}

self._ZEN_Component_expando__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.OnDrawContent = '';
	o.animate = false;
	o.caption = '';
	o.childIndent = '';
	o.expanded = true;
	o.framed = false;
	o.groupClass = 'expandoTable';
	o.imageContracted = 'images/disclosure-contracted.gif';
	o.imageExpanded = 'images/disclosure-expanded.gif';
	o.oncontract = '';
	o.onexpand = '';
	o.remember = false;
}
function _ZEN_Component_expando_serialize(set,s)
{
	var o = this;s[0]='395421197';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.OnDrawContent;s[7]=o.align;s[8]=(o.animate?1:0);s[9]=o.aux;s[10]=o.caption;s[11]=o.cellAlign;s[12]=o.cellSize;s[13]=o.cellStyle;s[14]=o.cellVAlign;s[15]=o.childIndent;s[16]=set.serializeList(o,o.children,true,'children');s[17]=o.containerStyle;s[18]=(o.disabled?1:0);s[19]=(o.dragEnabled?1:0);s[20]=(o.dropEnabled?1:0);s[21]=(o.dynamic?1:0);s[22]=o.enclosingClass;s[23]=o.enclosingStyle;s[24]=o.error;s[25]=(o.expanded?1:0);s[26]=(o.framed?1:0);s[27]=o.groupClass;s[28]=o.groupStyle;s[29]=o.height;s[30]=(o.hidden?1:0);s[31]=o.hint;s[32]=o.hintClass;s[33]=o.hintStyle;s[34]=o.imageContracted;s[35]=o.imageExpanded;s[36]=o.label;s[37]=o.labelClass;s[38]=o.labelPosition;s[39]=o.labelStyle;s[40]=o.layout;s[41]=o.onafterdrag;s[42]=o.onbeforedrag;s[43]=o.onclick;s[44]=o.oncontract;s[45]=o.ondrag;s[46]=o.ondrop;s[47]=o.onexpand;s[48]=o.onhide;s[49]=o.onrefresh;s[50]=o.onshow;s[51]=o.onupdate;s[52]=o.overlayMode;s[53]=(o.remember?1:0);s[54]=o.renderFlag;s[55]=(o.showLabel?1:0);s[56]=o.slice;s[57]=o.title;s[58]=o.tuple;s[59]=o.valign;s[60]=(o.visible?1:0);s[61]=o.width;
}
function _ZEN_Component_expando_getSettings(s)
{
	s['name'] = 'string';
	s['animate'] = 'boolean';
	s['caption'] = 'caption';
	s['childIndent'] = 'length';
	s['expanded'] = 'boolean';
	s['framed'] = 'boolean';
	s['imageContracted'] = 'uri';
	s['imageExpanded'] = 'uri';
	s['oncontract'] = 'eventHandler';
	s['onexpand'] = 'eventHandler';
	s['remember'] = 'boolean';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_expando_animateExpand = function(delta,divid) {
delta = parseInt(delta);
delete this._exTimerId;
this._progress = parseInt(this._progress) + parseInt(delta);
div = this.findElement(divid);
if (this._progress > 0 && this._progress < 100) {
var h = parseInt(((this._progress / 100) * this._height));
h = (h <= 1) ? 1 : h;
div.style.height = h + 'px';
if (div.style.opacity != null) {
div.style.opacity = this._progress / 100;
}
else if (div.style.filter != null) {
div.style.filter = 'alpha(opacity=' + this._progress + ')';
}
div.scrollIntoView();
this._exTimerId = self.setTimeout("zenPage.getComponent("+this.index+").animateExpand("+(delta*1.3)+",'"+divid+"')",20);
}
else {
div.style.height = 	this._cssHeight;
if (null != div.style.opacity) {
div.style.opacity = this._cssOpacity;
}
else if (div.style.filter != null) {
div.style.filter = '';
}
div.style.overflow = this._cssOverflow;
div.style.display = this.expanded ? '' : 'none';
div.scrollIntoView();
}
}

self._ZEN_Component_expando_getExpanded = function(tuple) {
if ('undefined' != typeof tuple) {
var div = this.window.document.getElementById('expandoChildren_' + this.index + '.' + tuple);
return div ? (div.style.display=='none' ? false : true) : false;
}
return this.expanded;
}

self._ZEN_Component_expando_onloadHandler = function() {
if (this.remember) {
var exp = parseInt(zenLoadCookie(this,'expando'),10);
if (exp > 0) {
this.setExpanded(exp == 2);
}
}
}

self._ZEN_Component_expando_setExpanded = function(flag,tuple) {
this.expanded = flag;
var divid = '';
var div = null;
var img = null;
if ('undefined' == typeof tuple) {
divid = 'expandoChildren';
div = this.findElement(divid);
img = this.findElement('image');
}
else {
divid = 'expandoChildren_' + this.index + '.' + tuple;
div = this.window.document.getElementById(divid);
img = this.window.document.getElementById('image_' + this.index + '.' + tuple);
}
zenASSERT(div,'Unable to find div element for children',arguments);
if (this.expanded) {
zenInvokeCallbackMethod(this.onexpand,this,'onexpand','tuple',tuple);
}
else {
zenInvokeCallbackMethod(this.oncontract,this,'oncontract','tuple',tuple);
}
if (this.animate) {
this._cssHeight = div.style.height;
this._cssOverflow = div.style.overflow;
if (div.style.opacity != null) {
this._cssOpacity = div.style.opacity;
}
if (this.expanded) {
var h = div.clientHeight;
if (h > 0) {
this._height = h;
}
else if (div.style.height!='') {
this._height = div.style.height;
}
else if (null == this._height) {
this._height = 100; // guess
}
if (div.style.opacity != null) {
div.style.opacity = 0.0;
}
div.style.height = '1px';
div.style.overflow = 'hidden';
div.style.display = '';
}
else {
this._height = div.clientHeight;
div.style.overflow = 'hidden';
if (div.style.opacity != null) {
div.style.opacity = 1.0;
}
}
if (this._exTimerId) {
window.clearTimeout(this._exTimerId);
}
this._progress = this.expanded ? 0 : 100;
var delta = this.expanded ? 10 : -10;
this._exTimerId = self.setTimeout("zenPage.getComponent("+this.index+").animateExpand("+delta+",'"+divid+"')",20);
}
else {
div.style.display = this.expanded ? '' : 'none';
}
if (img) {
img.src = this.expanded ? this.imageExpanded : this.imageContracted;
}
if (this.remember && ('undefined' == typeof tuple)) {
zenStoreCookie(this,'expando',this.expanded ? '2' : '1');
}
}

self._ZEN_Component_expando_setProperty = function(property,value,value2) {
switch(property) {
case 'animate':
this.animate = value ? true : false;
break;
case 'expanded':
value = value ? true : false;
this.setExpanded(value);
break;
case 'childIndent':
this[property] = value;
this.refreshContents();
break;
case 'caption':
this.caption = value;
var span = this.findElement('caption');
if (span) {
span.innerHTML = this.caption;
}
break;
default:
return this.invokeSuper('setProperty',arguments);
break;
}
return true;
}

self._ZEN_Component_expando_toggleExpanded = function(tuple) {
if ('undefined' == typeof tuple) {
this.setExpanded(!this.getExpanded());
}
else {
this.setExpanded(!this.getExpanded(), tuple);
}
}

self._ZEN_Component_expando_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_expando__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_expando.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_expando.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_expando;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.expando';
	p._type = 'expando';
	p.serialize = _ZEN_Component_expando_serialize;
	p.getSettings = _ZEN_Component_expando_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_expando_ReallyRefreshContents;
	p.animateExpand = _ZEN_Component_expando_animateExpand;
	p.getExpanded = _ZEN_Component_expando_getExpanded;
	p.onloadHandler = _ZEN_Component_expando_onloadHandler;
	p.setExpanded = _ZEN_Component_expando_setExpanded;
	p.setProperty = _ZEN_Component_expando_setProperty;
	p.toggleExpanded = _ZEN_Component_expando_toggleExpanded;
}

self._zenClassIdx['fieldSet'] = '_ZEN_Component_fieldSet';
self._ZEN_Component_fieldSet = function(index,id) {
	if (index>=0) {_ZEN_Component_fieldSet__init(this,index,id);}
}

self._ZEN_Component_fieldSet__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.groupClass = 'fieldset';
	o.legend = '';
	o.title = '';
}
function _ZEN_Component_fieldSet_serialize(set,s)
{
	var o = this;s[0]='3911643586';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.legend;s[34]=o.onafterdrag;s[35]=o.onbeforedrag;s[36]=o.onclick;s[37]=o.ondrag;s[38]=o.ondrop;s[39]=o.onhide;s[40]=o.onrefresh;s[41]=o.onshow;s[42]=o.onupdate;s[43]=o.overlayMode;s[44]=o.renderFlag;s[45]=(o.showLabel?1:0);s[46]=o.slice;s[47]=o.title;s[48]=o.tuple;s[49]=o.valign;s[50]=(o.visible?1:0);s[51]=o.width;
}
function _ZEN_Component_fieldSet_getSettings(s)
{
	s['name'] = 'string';
	s['legend'] = 'caption';
	s['title'] = 'caption';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_fieldSet_ondisabledHandler = function() {
var fs = this.findElement('fieldset');
fs.disabled = this.disabled;
fs.className = this.disabled ? 'fieldSetDisabled' : 'fieldSet';
}

self._ZEN_Component_fieldSet_setProperty = function(property,value,value2) {
switch(property) {
case 'legend':
var lgd = this.findElement('legend');
this.legend = value;
if (lgd) {
lgd.innerHTML = value;
}
break;
case 'title':
var lgd = this.findElement('legend');
this.title = value;
if (lgd) {
lgd.title = value;
}
break;
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_fieldSet_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_fieldSet__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_fieldSet.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_fieldSet.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_fieldSet;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.fieldSet';
	p._type = 'fieldSet';
	p.serialize = _ZEN_Component_fieldSet_serialize;
	p.getSettings = _ZEN_Component_fieldSet_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_fieldSet_ReallyRefreshContents;
	p.ondisabledHandler = _ZEN_Component_fieldSet_ondisabledHandler;
	p.setProperty = _ZEN_Component_fieldSet_setProperty;
}

self._zenClassIdx['hgroup'] = '_ZEN_Component_hgroup';
self._ZEN_Component_hgroup = function(index,id) {
	if (index>=0) {_ZEN_Component_hgroup__init(this,index,id);}
}

self._ZEN_Component_hgroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.layout = 'horizontal';
}
function _ZEN_Component_hgroup_serialize(set,s)
{
	var o = this;s[0]='4052196350';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.onafterdrag;s[34]=o.onbeforedrag;s[35]=o.onclick;s[36]=o.ondrag;s[37]=o.ondrop;s[38]=o.onhide;s[39]=o.onrefresh;s[40]=o.onshow;s[41]=o.onupdate;s[42]=o.overlayMode;s[43]=o.renderFlag;s[44]=(o.showLabel?1:0);s[45]=o.slice;s[46]=o.title;s[47]=o.tuple;s[48]=o.valign;s[49]=(o.visible?1:0);s[50]=o.width;
}
function _ZEN_Component_hgroup_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_hgroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_hgroup__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_hgroup.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_hgroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_hgroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.hgroup';
	p._type = 'hgroup';
	p.serialize = _ZEN_Component_hgroup_serialize;
	p.getSettings = _ZEN_Component_hgroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_hgroup_ReallyRefreshContents;
}

self._zenClassIdx['menu'] = '_ZEN_Component_menu';
self._ZEN_Component_menu = function(index,id) {
	if (index>=0) {_ZEN_Component_menu__init(this,index,id);}
}

self._ZEN_Component_menu__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.caption = '';
	o.disabled = false;
	o.groupClass = 'menuTable';
	o.help = '';
	o.image = '';
	o.imageHeight = '16';
	o.imageWidth = '16';
	o.layout = 'horizontal';
	o.link = '';
	o.linkResource = '';
	o.onactivate = '';
	o.onclick = '';
	o.onshowHelp = '';
	o.subMenuActive = false;
	o.subMenuLevel = '0';
	o.target = '';
}
function _ZEN_Component_menu_serialize(set,s)
{
	var o = this;s[0]='3598656517';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.caption;s[9]=o.cellAlign;s[10]=o.cellSize;s[11]=o.cellStyle;s[12]=o.cellVAlign;s[13]=set.serializeList(o,o.children,true,'children');s[14]=o.containerStyle;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=o.groupClass;s[23]=o.groupStyle;s[24]=o.height;s[25]=o.help;s[26]=(o.hidden?1:0);s[27]=o.hint;s[28]=o.hintClass;s[29]=o.hintStyle;s[30]=o.image;s[31]=o.imageHeight;s[32]=o.imageWidth;s[33]=o.label;s[34]=o.labelClass;s[35]=o.labelPosition;s[36]=o.labelStyle;s[37]=o.layout;s[38]=o.link;s[39]=o.linkResource;s[40]=o.onactivate;s[41]=o.onafterdrag;s[42]=o.onbeforedrag;s[43]=o.onclick;s[44]=o.ondrag;s[45]=o.ondrop;s[46]=o.onhide;s[47]=o.onrefresh;s[48]=o.onshow;s[49]=o.onshowHelp;s[50]=o.onupdate;s[51]=o.overlayMode;s[52]=o.renderFlag;s[53]=(o.showLabel?1:0);s[54]=o.slice;s[55]=(o.subMenuActive?1:0);s[56]=o.subMenuLevel;s[57]=o.target;s[58]=o.title;s[59]=o.tuple;s[60]=o.valign;s[61]=(o.visible?1:0);s[62]=o.width;
}
function _ZEN_Component_menu_getSettings(s)
{
	s['name'] = 'string';
	s['caption'] = 'caption';
	s['disabled'] = 'boolean';
	s['help'] = 'caption';
	s['image'] = 'uri';
	s['imageHeight'] = 'length';
	s['imageWidth'] = 'length';
	s['link'] = 'uri';
	s['linkResource'] = 'resource';
	s['onactivate'] = 'eventHandler';
	s['onclick'] = 'eventHandler';
	s['onshowHelp'] = 'eventHandler';
	s['subMenuActive'] = 'boolean';
	s['target'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_menu_onActionHandler = function() {
}

self._ZEN_Component_menu_onEndModalHandler = function(zindex) {
var hdr = this.findElement('a');
zenASSERT(hdr,"Unable to find anchor div.",arguments);
if (2 == this.subMenuLevel) {
var submenu = self.document.getElementById('zenModalDiv');
}
else {
var submenu = this.findElement('submenu');
}
zenASSERT(submenu,"Unable to find submenu div.",arguments);
hdr.className = 'menuItem';
submenu.style.display = 'none';
this.activeSubmenu=null;
this.subMenuActive = false;
}

self._ZEN_Component_menu_onItemActionHandler = function(depth) {
if (depth > 1) {
zenPage.endModal();
}
if (this.parent.onItemActionHandler) {
this.parent.onItemActionHandler(depth+1);
}
}

self._ZEN_Component_menu_onItemShowHelpHandler = function(mode,item) {
if (this.parent.onItemShowHelpHandler) {
this.parent.onItemShowHelpHandler(mode,item);
}
else {
if (mode) {
zenInvokeCallbackMethod(this.onshowHelp, this, 'onshowHelp', 'help',item.help);
}
else {
zenInvokeCallbackMethod(this.onshowHelp, this, 'onshowHelp', 'help','');
}
}
}

self._ZEN_Component_menu_onShowHelpHandler = function(mode) {
}

self._ZEN_Component_menu_onStartModalHandler = function(zindex) {
var trap = self.document.getElementById("zenMouseTrap");
if (zenASSERT(trap,"Unable to find zenMouseTrap div.",arguments)) { return; }
var hdr = this.findElement('a');
zenASSERT(hdr,"Unable to find anchor div.",arguments);
var submenuDiv = this.findElement('submenu');
zenASSERT(submenuDiv,"Unable to find submenu div.",arguments);
var vertical = true;
if (1==this.subMenuLevel && this.parent.layout && this.parent.layout == 'horizontal') {
vertical = false;
}
var top,right;
if (vertical) {
var top = zenGetTop(hdr);
var right = zenGetLeft(hdr) + hdr.offsetWidth;
}
else {
var top = zenGetTop(hdr) + hdr.offsetHeight;
var right = zenGetLeft(hdr);
}
var submenu = submenuDiv;
if (2 == this.subMenuLevel) {
var div = self.document.getElementById('zenModalDiv');
div.innerHTML = submenuDiv.innerHTML;
submenu = div;
}
submenu.style.position = 'absolute';
submenu.style.top = top;
submenu.style.left = right;
submenu.style.display = '';
this.getEnclosingDiv().style.zIndex = zindex;
hdr.style.zIndex = zindex+1;
submenu.style.zIndex = zindex+1;
document.body.appendChild(submenu);
this.activeSubmenu=submenu;
}

self._ZEN_Component_menu_showSubMenu = function() {
var hdr = this.findElement('a');
if (null == hdr) {
return;
}
zenASSERT(hdr,"Unable to find anchor div.",arguments);
if (this.subMenuActive) {
return;
}
zenInvokeCallbackMethod(this.onactivate,this,'onactivate');
this.subMenuActive = true;
hdr.className = 'menuItemActive';
zenPage.startModal(this);
}

self._ZEN_Component_menu_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_menu__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_menu.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_menu.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_menu;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.menu';
	p._type = 'menu';
	p.serialize = _ZEN_Component_menu_serialize;
	p.getSettings = _ZEN_Component_menu_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_menu_ReallyRefreshContents;
	p.onActionHandler = _ZEN_Component_menu_onActionHandler;
	p.onEndModalHandler = _ZEN_Component_menu_onEndModalHandler;
	p.onItemActionHandler = _ZEN_Component_menu_onItemActionHandler;
	p.onItemShowHelpHandler = _ZEN_Component_menu_onItemShowHelpHandler;
	p.onShowHelpHandler = _ZEN_Component_menu_onShowHelpHandler;
	p.onStartModalHandler = _ZEN_Component_menu_onStartModalHandler;
	p.showSubMenu = _ZEN_Component_menu_showSubMenu;
}

self._zenClassIdx['modalGroup'] = '_ZEN_Component_modalGroup';
self._ZEN_Component_modalGroup = function(index,id) {
	if (index>=0) {_ZEN_Component_modalGroup__init(this,index,id);}
}

self._ZEN_Component_modalGroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.groupTitle = '';
	o.groupType = '';
	o.hidden = true;
	o.okCaption = 'OK';
	o.onaction = '';
	o.onhideGroup = '';
	o.onshowGroup = '';
	o.seed = '';
	o.value = '';
}
function _ZEN_Component_modalGroup_serialize(set,s)
{
	var o = this;s[0]='577476537';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.groupTitle;s[24]=o.groupType;s[25]=o.height;s[26]=(o.hidden?1:0);s[27]=o.hint;s[28]=o.hintClass;s[29]=o.hintStyle;s[30]=o.label;s[31]=o.labelClass;s[32]=o.labelPosition;s[33]=o.labelStyle;s[34]=o.layout;s[35]=o.okCaption;s[36]=o.onaction;s[37]=o.onafterdrag;s[38]=o.onbeforedrag;s[39]=o.onclick;s[40]=o.ondrag;s[41]=o.ondrop;s[42]=o.onhide;s[43]=o.onhideGroup;s[44]=o.onrefresh;s[45]=o.onshow;s[46]=o.onshowGroup;s[47]=o.onupdate;s[48]=o.overlayMode;s[49]=o.renderFlag;s[50]=o.seed;s[51]=(o.showLabel?1:0);s[52]=o.slice;s[53]=o.title;s[54]=o.tuple;s[55]=o.valign;s[56]=('boolean'==typeof o.value?(o.value?1:0):o.value);s[57]=(o.visible?1:0);s[58]=o.width;
}
function _ZEN_Component_modalGroup_getSettings(s)
{
	s['name'] = 'string';
	s['groupTitle'] = 'caption';
	s['okCaption'] = 'caption';
	s['onaction'] = 'eventHandler';
	s['onhideGroup'] = 'eventHandler';
	s['onshowGroup'] = 'eventHandler';
	s['seed'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_modalGroup_actionHandler = function() {
switch(this.groupType) {
case 'calendar':
var ctrl = zenPage.getComponent(this.controlIndex);
this.value = ctrl.getValue();
zenInvokeCallbackMethod(this.onaction,this,'onaction','group',this);
break;
}
zenPage.endModal();
}

self._ZEN_Component_modalGroup_getFloatingDiv = function() {
var divId='zenFloatingDiv_'+this.index;
var div = self.document.getElementById(divId);
return(div);
}

self._ZEN_Component_modalGroup_getValue = function() {
return this.getProperty('value');
}

self._ZEN_Component_modalGroup_mousedownHandler = function(evt) {
var div = this.getFloatingDiv();
evt = evt ? evt : window.event;
var x = parseInt(div.style.left,10);
var y = parseInt(div.style.top,10);
this.deltaX = evt.clientX - x;
this.deltaY = evt.clientY - y;
div.onmousemove = this.wrapMethod('mousemoveHandler');
div.onmouseup = this.wrapMethod('mouseupHandler');
if (evt.stopPropagation) { evt.stopPropagation(); }
if (evt.preventDefault) { evt.preventDefault(); }
}

self._ZEN_Component_modalGroup_mousemoveHandler = function(evt) {
var div = this.getFloatingDiv();
evt = evt ? evt : window.event;
div.style.left = (evt.clientX - this.deltaX) + 'px';
div.style.top = (evt.clientY - this.deltaY) + 'px';
if (evt.stopPropagation) { evt.stopPropagation(); }
}

self._ZEN_Component_modalGroup_mouseupHandler = function(evt) {
var div = this.getFloatingDiv();
evt = evt ? evt : window.event;
div.onmousemove = null;
div.onmouseup = null;
if (evt.stopPropagation) { evt.stopPropagation(); }
}

self._ZEN_Component_modalGroup_onEndModalHandler = function(zindex) {
var div = this.getFloatingDiv();
div.style.display = "none";
zenTrapTAB = (null == this._oldTrapTAB) ? false : this._oldTrapTAB;
if (zenPage && 'dynamic' == this.groupType) {
this.visible = false;
zenPage.removeChild(this);
}
div.onmousedown = null;
div.onmouseup = null;
div.onmousemove = null;
zenInvokeCallbackMethod(this.onhideGroup,this,'onhideGroup','group',this);
}

self._ZEN_Component_modalGroup_onStartModalHandler = function(zindex) {
var div = this.getFloatingDiv();
if (!div) {
var div = document.createElement('DIV');
div.id='zenFloatingDiv_'+this.index;
div.style.display="none";
document.body.appendChild(div);
if (zenIsIE) { //SAM055
var iFrame = document.createElement("iframe");
iFrame.src = '';
iFrame.frameBorder = '0';
var s = iFrame.style;
s.filter = 'alpha(opacity=0)';
s.zIndex = '0';
s.position = 'absolute';
s.top = '0px';
s.left = '0px';
s.width = '100%';
s.height = '100%';
s.border = '0px solid black';
s.background = 'transparent';
div._iFrame = iFrame;
}
}
var update = false;
div.className = 'modalGroup';
div.onmousedown = null;
div.onmouseup = null;
div.onmousemove = null;
div.style.width = (this._width == null) ? 'auto' : this._width;
div.style.height = (this._height == null) ? 'auto' : this._height;
this._width = null;
this._height = null;
var contents = '';
switch (this.groupType) {
case 'calendar':
var cal = zenPage.createComponent('calendar');
this.addChild(cal);
cal.setProperty('startYear',1900);
cal.setProperty('onchange','zenPage.getComponent('+this.index+').actionHandler();');
if (this._parms) {
for (var p in this._parms) {
cal.setProperty(p,this._parms[p]);
}
}
cal.setProperty('value',this.value);
this.controlIndex = cal.index;
break;
case 'msgBox':
contents = this.value;
break;
default:
break;
}
var html = new Array();
if ('' != this.groupTitle) {
html[html.length] = '<div class="modalGroupTitle" onselectstart="return false;" onmousedown="zenPage.getComponent('+this.index+').mousedownHandler(event);">';
html[html.length] = '<table border="1" cellpadding="0" cellspacing="0"><tr><td width="90%" align="left">' + this.groupTitle + '</td>';
html[html.length] = '</tr></table> <input class="modalGroupCloseButton" type="button" value="X" onclick="zenPage.endModal();">';
html[html.length] = '</div>';
}
if ('static' != this.groupType) {
if ('' != contents) {
html[html.length] = '<div class="modalGroupBody">';
html[html.length] = contents;
html[html.length] = '</div>';
html[html.length] = '<div class="modalGroupFooter">';
html[html.length] = '<input type="button" value="'+this.okCaption+'" onclick="zenPage.endModal();" />';
html[html.length] = '</div>';
}
}
if ('static' == this.groupType) {
var staticHTML = this._htmlStash;
if (null == staticHTML) {
var enc = this.getEnclosingDiv();
staticHTML = enc.innerHTML;
this._htmlStash = staticHTML;
enc.innerHTML = "";
}
html[html.length] = '<div class="modalGroupBody">';
html[html.length] = staticHTML;
html[html.length] = '</div>';
update = true;
}
else {
for (var n = 0; n < this.children.length; n++) {
var child = this.children[n];
var divid = ('' == child.id) ? 'zen'+child.index : child.id;
html[html.length] = '<div id="'+divid+'" class="modalGroupBody"></div>';
}
}
div.innerHTML = html.join('');
if (div._iFrame) div.insertBefore(div._iFrame,div.firstChild); //SAM055
if ('static' != this.groupType) {
for (var n = 0; n < this.children.length; n++) {
var child = this.children[n];
if (child.renderContents) {
child.renderContents();
}
else {
child.refreshContents();
}
}
}
else if (update) {
this.updateControlsInGroup();
}
var page = zenPage.getEnclosingDiv();
var top,left;
if (this._top==null) {
top = 200;
top += document.body.scrollTop;
}
else {
top = this._top;
this._top = null;
}
if (this._left==null) {
left = (page.offsetWidth - div.offsetWidth)/2;
left += document.body.scrollLeft;
}
else {
left = this._left;
this._left = null;
}
div.style.top = top + 'px';
div.style.left = left + 'px';
zenInvokeCallbackMethod(this.onshowGroup,this,'onshowGroup','group',this);
this._oldTrapTAB = zenTrapTAB;
zenTrapTAB = true;
div.style.zIndex = zindex;
div.style.display = "";
if (div._iFrame) {
div._iFrame.style.zIndex= -1;
if (div._iFrame.offsetHeight<div.offsetHeight) div._iFrame.style.height=div.offsetHeight+'px'; //SAM055
}
div.focus();
}

self._ZEN_Component_modalGroup_show = function(title,type,value,top,left,wid,hgt,parms) {
var enc = this.getEnclosingDiv();
if (enc) {
this.groupType = 'static'
this.groupTitle = (null==title||''==title) ? this.groupTitle : title;
}
else {
this.groupType = type==null ? 'dynamic' : type;
this.value = value==null ? '' : value;
this.groupTitle = title==null ? '' : title;
if (zenPage && 'dynamic' == this.groupType) {
zenPage.addChild(this);
}
}
this._top = top;
this._left = left;
this._width = wid;
this._height = hgt;
this._parms = parms;
zenPage.startModal(this);
}

self._ZEN_Component_modalGroup_wrapMethod = function(methodName) {
return new Function('evt','return zenPage.getComponent('+this.index+').'+methodName+'(evt);');
}

self._ZEN_Component_modalGroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_modalGroup__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_modalGroup.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_modalGroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_modalGroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.modalGroup';
	p._type = 'modalGroup';
	p.serialize = _ZEN_Component_modalGroup_serialize;
	p.getSettings = _ZEN_Component_modalGroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_modalGroup_ReallyRefreshContents;
	p.actionHandler = _ZEN_Component_modalGroup_actionHandler;
	p.getFloatingDiv = _ZEN_Component_modalGroup_getFloatingDiv;
	p.getValue = _ZEN_Component_modalGroup_getValue;
	p.mousedownHandler = _ZEN_Component_modalGroup_mousedownHandler;
	p.mousemoveHandler = _ZEN_Component_modalGroup_mousemoveHandler;
	p.mouseupHandler = _ZEN_Component_modalGroup_mouseupHandler;
	p.onEndModalHandler = _ZEN_Component_modalGroup_onEndModalHandler;
	p.onStartModalHandler = _ZEN_Component_modalGroup_onStartModalHandler;
	p.show = _ZEN_Component_modalGroup_show;
	p.wrapMethod = _ZEN_Component_modalGroup_wrapMethod;
}

self._zenClassIdx['pane'] = '_ZEN_Component_pane';
self._ZEN_Component_pane = function(index,id) {
	if (index>=0) {_ZEN_Component_pane__init(this,index,id);}
}

self._ZEN_Component_pane__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.paneName = '';
}
function _ZEN_Component_pane_serialize(set,s)
{
	var o = this;s[0]='3486075863';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.onafterdrag;s[34]=o.onbeforedrag;s[35]=o.onclick;s[36]=o.ondrag;s[37]=o.ondrop;s[38]=o.onhide;s[39]=o.onrefresh;s[40]=o.onshow;s[41]=o.onupdate;s[42]=o.overlayMode;s[43]=o.paneName;s[44]=o.renderFlag;s[45]=(o.showLabel?1:0);s[46]=o.slice;s[47]=o.title;s[48]=o.tuple;s[49]=o.valign;s[50]=(o.visible?1:0);s[51]=o.width;
}
function _ZEN_Component_pane_getSettings(s)
{
	s['name'] = 'string';
	s['paneName'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_pane_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_pane__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_pane.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_pane.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_pane;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.pane';
	p._type = 'pane';
	p.serialize = _ZEN_Component_pane_serialize;
	p.getSettings = _ZEN_Component_pane_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_pane_ReallyRefreshContents;
}

self._zenClassIdx['repeatingGroup'] = '_ZEN_Component_repeatingGroup';
self._ZEN_Component_repeatingGroup = function(index,id) {
	if (index>=0) {_ZEN_Component_repeatingGroup__init(this,index,id);}
}

self._ZEN_Component_repeatingGroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.OnCreateResultSet = '';
	o.OnExecuteResultSet = '';
	o.columnName = '';
	o.countRows = '0';
	o.groupByClause = '';
	o.maxRows = '100';
	o.onclickitem = '';
	o.orderByClause = '';
	o.parameters = new Array();
	o.queryClass = '';
	o.queryName = '';
	o.selectedIndex = '-1';
	o.sql = ''; // encrypted
	o.tableName = '';
	o.whereClause = '';
}
function _ZEN_Component_repeatingGroup_serialize(set,s)
{
	var o = this;s[0]='3365962241';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.OnCreateResultSet;s[7]=o.OnExecuteResultSet;s[8]=o.align;s[9]=o.aux;s[10]=o.cellAlign;s[11]=o.cellSize;s[12]=o.cellStyle;s[13]=o.cellVAlign;s[14]=set.serializeList(o,o.children,true,'children');s[15]=o.columnName;s[16]=o.containerStyle;s[17]=o.countRows;s[18]=(o.disabled?1:0);s[19]=(o.dragEnabled?1:0);s[20]=(o.dropEnabled?1:0);s[21]=(o.dynamic?1:0);s[22]=o.enclosingClass;s[23]=o.enclosingStyle;s[24]=o.error;s[25]=o.groupByClause;s[26]=o.groupClass;s[27]=o.groupStyle;s[28]=o.height;s[29]=(o.hidden?1:0);s[30]=o.hint;s[31]=o.hintClass;s[32]=o.hintStyle;s[33]=o.label;s[34]=o.labelClass;s[35]=o.labelPosition;s[36]=o.labelStyle;s[37]=o.layout;s[38]=o.maxRows;s[39]=o.onafterdrag;s[40]=o.onbeforedrag;s[41]=o.onclick;s[42]=o.onclickitem;s[43]=o.ondrag;s[44]=o.ondrop;s[45]=o.onhide;s[46]=o.onrefresh;s[47]=o.onshow;s[48]=o.onupdate;s[49]=o.orderByClause;s[50]=o.overlayMode;s[51]=set.serializeList(o,o.parameters,true,'parameters');s[52]=o.queryClass;s[53]=o.queryName;s[54]=o.renderFlag;s[55]=o.selectedIndex;s[56]=(o.showLabel?1:0);s[57]=o.slice;s[58]=o.sql;s[59]=o.tableName;s[60]=o.title;s[61]=o.tuple;s[62]=o.valign;s[63]=(o.visible?1:0);s[64]=o.whereClause;s[65]=o.width;
}
function _ZEN_Component_repeatingGroup_getSettings(s)
{
	s['name'] = 'string';
	s['columnName'] = 'string';
	s['countRows'] = 'integer';
	s['groupByClause'] = 'string';
	s['maxRows'] = 'integer';
	s['onclickitem'] = 'eventHandler';
	s['orderByClause'] = 'string';
	s['parameters'] = 'string';
	s['queryClass'] = 'className';
	s['queryName'] = 'classMember:QUERY';
	s['selectedIndex'] = 'integer';
	s['sql'] = 'sql';
	s['tableName'] = 'string';
	s['whereClause'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_repeatingGroup_itemClickHandler = function(tuple) {
this.selectItem(tuple);
}

self._ZEN_Component_repeatingGroup_selectItem = function(tuple) {
if (this.selectedIndex >= 0) {
var div = this.findElement('div' + (parseInt(this.selectedIndex)+1));
if (div) {
div.className = 'repeatingGroup';
}
}
this.selectedIndex = tuple;
if (this.selectedIndex >= 0) {
var div = this.findElement('div' + (parseInt(this.selectedIndex)+1));
if (div) {
div.className = 'repeatingGroupSelected';
}
}
zenInvokeCallbackMethod(this.onclickitem,this,'onclickitem','item',tuple);
}

self._ZEN_Component_repeatingGroup_setProperty = function(property,value,value2) {
switch(property) {
case 'selectedIndex':
this.selectItem(parseInt(value,10));
break;
case 'parameters':
if ('' != value) {
value = value - 1;
if (this.parameters[value]) {
if (this.parameters[value].value != value2) {
this.parameters[value].value = value2;
}
}
}
break;
default:
return this.invokeSuper('setProperty',arguments);
break;
}
return true;
}

self._ZEN_Component_repeatingGroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_repeatingGroup__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_repeatingGroup.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_repeatingGroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_repeatingGroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.repeatingGroup';
	p._type = 'repeatingGroup';
	p.serialize = _ZEN_Component_repeatingGroup_serialize;
	p.getSettings = _ZEN_Component_repeatingGroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_repeatingGroup_ReallyRefreshContents;
	p.itemClickHandler = _ZEN_Component_repeatingGroup_itemClickHandler;
	p.selectItem = _ZEN_Component_repeatingGroup_selectItem;
	p.setProperty = _ZEN_Component_repeatingGroup_setProperty;
}

self._zenClassIdx['tab'] = '_ZEN_Component_tab';
self._ZEN_Component_tab = function(index,id) {
	if (index>=0) {_ZEN_Component_tab__init(this,index,id);}
}

self._ZEN_Component_tab__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.caption = '';
	o.link = '';
	o.tabResource = '';
}
function _ZEN_Component_tab_serialize(set,s)
{
	var o = this;s[0]='1064911741';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.caption;s[9]=o.cellAlign;s[10]=o.cellSize;s[11]=o.cellStyle;s[12]=o.cellVAlign;s[13]=set.serializeList(o,o.children,true,'children');s[14]=o.containerStyle;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=o.groupClass;s[23]=o.groupStyle;s[24]=o.height;s[25]=(o.hidden?1:0);s[26]=o.hint;s[27]=o.hintClass;s[28]=o.hintStyle;s[29]=o.label;s[30]=o.labelClass;s[31]=o.labelPosition;s[32]=o.labelStyle;s[33]=o.layout;s[34]=o.link;s[35]=o.onafterdrag;s[36]=o.onbeforedrag;s[37]=o.onclick;s[38]=o.ondrag;s[39]=o.ondrop;s[40]=o.onhide;s[41]=o.onrefresh;s[42]=o.onshow;s[43]=o.onupdate;s[44]=o.overlayMode;s[45]=o.renderFlag;s[46]=(o.showLabel?1:0);s[47]=o.slice;s[48]=o.tabResource;s[49]=o.title;s[50]=o.tuple;s[51]=o.valign;s[52]=(o.visible?1:0);s[53]=o.width;
}
function _ZEN_Component_tab_getSettings(s)
{
	s['name'] = 'string';
	s['caption'] = 'caption';
	s['link'] = 'uri';
	s['tabResource'] = 'resource';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_tab_activate = function() {
if (this.parent.getTabIndex) {
this.parent.showTab(this.parent.getTabIndex(this));
return true;
}
return false;
}

self._ZEN_Component_tab_ondisabledHandler = function() {
if (this.parent.tabDisabledHandler) {
this.parent.tabDisabledHandler(this);
}
}

self._ZEN_Component_tab_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_tab__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_tab.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_tab.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_tab;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.tab';
	p._type = 'tab';
	p.serialize = _ZEN_Component_tab_serialize;
	p.getSettings = _ZEN_Component_tab_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_tab_ReallyRefreshContents;
	p.activate = _ZEN_Component_tab_activate;
	p.ondisabledHandler = _ZEN_Component_tab_ondisabledHandler;
}

self._zenClassIdx['tabFrame'] = '_ZEN_Component_tabFrame';
self._ZEN_Component_tabFrame = function(index,id) {
	if (index>=0) {_ZEN_Component_tabFrame__init(this,index,id);}
}

self._ZEN_Component_tabFrame__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
}
function _ZEN_Component_tabFrame_serialize(set,s)
{
	var o = this;s[0]='4052196350';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.onafterdrag;s[34]=o.onbeforedrag;s[35]=o.onclick;s[36]=o.ondrag;s[37]=o.ondrop;s[38]=o.onhide;s[39]=o.onrefresh;s[40]=o.onshow;s[41]=o.onupdate;s[42]=o.overlayMode;s[43]=o.renderFlag;s[44]=(o.showLabel?1:0);s[45]=o.slice;s[46]=o.title;s[47]=o.tuple;s[48]=o.valign;s[49]=(o.visible?1:0);s[50]=o.width;
}
function _ZEN_Component_tabFrame_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_tabFrame_onloadHandler = function() {
this.invokeSuper('onloadHandler',arguments);
ZWL.initTabFrame();
}

self._ZEN_Component_tabFrame_setProperty = function(property,value,value2) {
switch(property) {
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_tabFrame_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_tabFrame__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_tabFrame.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_tabFrame.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_tabFrame;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.tabFrame';
	p._type = 'tabFrame';
	p.serialize = _ZEN_Component_tabFrame_serialize;
	p.getSettings = _ZEN_Component_tabFrame_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_tabFrame_ReallyRefreshContents;
	p.onloadHandler = _ZEN_Component_tabFrame_onloadHandler;
	p.setProperty = _ZEN_Component_tabFrame_setProperty;
}

self._zenClassIdx['tabGroup'] = '_ZEN_Component_tabGroup';
self._ZEN_Component_tabGroup = function(index,id) {
	if (index>=0) {_ZEN_Component_tabGroup__init(this,index,id);}
}

self._ZEN_Component_tabGroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
	o.currTab = '1';
	o.onhideTab = '';
	o.onshowTab = '';
	o.remember = false;
	o.showBody = true;
	o.showTabBar = false;
}
function _ZEN_Component_tabGroup_serialize(set,s)
{
	var o = this;s[0]='2303258771';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=o.currTab;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=o.groupClass;s[23]=o.groupStyle;s[24]=o.height;s[25]=(o.hidden?1:0);s[26]=o.hint;s[27]=o.hintClass;s[28]=o.hintStyle;s[29]=o.label;s[30]=o.labelClass;s[31]=o.labelPosition;s[32]=o.labelStyle;s[33]=o.layout;s[34]=o.onafterdrag;s[35]=o.onbeforedrag;s[36]=o.onclick;s[37]=o.ondrag;s[38]=o.ondrop;s[39]=o.onhide;s[40]=o.onhideTab;s[41]=o.onrefresh;s[42]=o.onshow;s[43]=o.onshowTab;s[44]=o.onupdate;s[45]=o.overlayMode;s[46]=(o.remember?1:0);s[47]=o.renderFlag;s[48]=(o.showBody?1:0);s[49]=(o.showLabel?1:0);s[50]=(o.showTabBar?1:0);s[51]=o.slice;s[52]=o.title;s[53]=o.tuple;s[54]=o.valign;s[55]=(o.visible?1:0);s[56]=o.width;
}
function _ZEN_Component_tabGroup_getSettings(s)
{
	s['name'] = 'string';
	s['currTab'] = 'integer';
	s['onhideTab'] = 'eventHandler';
	s['onshowTab'] = 'eventHandler';
	s['remember'] = 'boolean';
	s['showBody'] = 'boolean';
	s['showTabBar'] = 'boolean';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_tabGroup_childrenMutated = function() {
if (this.currTab > this.children.length) {
this.currTab = 0;
}
}

self._ZEN_Component_tabGroup_getCurrTabNo = function() {
return parseInt(this.currTab,10);
}

self._ZEN_Component_tabGroup_getTabBodyElement = function() {
return this.findElement('body');
}

self._ZEN_Component_tabGroup_getTabCount = function() {
return this.children.length;
}

self._ZEN_Component_tabGroup_getTabIndex = function(tab) {
return this.getChildIndex(tab) + 1;
}

self._ZEN_Component_tabGroup_ieResizeBody = function() {
var tabBody = this.findElement("body");
if (!tabBody) return;
if (this.children.length<=0) return;
if (this.height) {
this.cssHeight=parseInt(this.height,10)+'px';
tabBody.style.height=this.cssHeight;
return;
}
else {
if (this.autoSizeH) var cssH = 'auto';
else var cssH = tabBody.currentStyle.height;
if (cssH == 'auto' || cssH == '') {
var minH=parseInt(tabBody.currentStyle.minHeight,10);
var ofsH = tabBody.offsetHeight;
var scrH = tabBody.scrollHeight;
if (ofsH>=scrH) {
if (ofsH==minH) return; // good enough
this.autoSizeH = true;
tabBody.style.height=minH+"px";
var style = tabBody.currentStyle; // Force display refresh
if (tabBody.scrollHeight>minH) {
tabBody.style.height=tabBody.scrollheight;
}
}
else { // need to grow to hide scrollbars
this.autoSizeH = true;
tabBody.style.height = scrH+"px";
}
}
else {
tabBody.style.height=cssH;
}
}
}

self._ZEN_Component_tabGroup_onRefreshContents = function() {
this.invokeSuper('onRefreshContents',[]);
if (zenIsIE==1) this.ieResizeBody();
}

self._ZEN_Component_tabGroup_onloadHandler = function() {
if (this.remember) {
var tab = parseInt(zenLoadCookie(this,'currTab'),10);
if (tab > 0) {
this.showTab(tab);
}
}
if (zenIsIE==1) this.ieResizeBody();
}

self._ZEN_Component_tabGroup_setBodySize = function(height,width) {
var body = this.findElement('body');
if (body) {
if (width) {
body.style.width = width + 'px';
}
if (height) {
body.style.height = height + 'px';
}
/*
for (var n = 0; n < this.children.length; n++) {
var div = this.children[n].getEnclosingDiv();
if (div) {
if (width) {
div.style.width = width + 'px';
}
if (height) {
div.style.height = height + 'px';
}
}
}
*/
}
}

self._ZEN_Component_tabGroup_setProperty = function(property,value,value2) {
switch(property) {
case 'remember':
this.remember = value ? true : false;
break;
case 'currTab':
this.showTab(parseInt(value,10));
break;
default:
return this.invokeSuper('setProperty',arguments);
}
return true;
}

self._ZEN_Component_tabGroup_showNextTab = function(skipDisabled) {
if (skipDisabled==true) {
var idx= -1;
var i=parseInt(this.currTab,10);
while (i<this.children.length && idx==-1) {
if (!this.children[i].disabled) idx=i;
i++;
}
if (idx!=-1) this.showTab(idx+1);
}
else this.showTab(parseInt(this.currTab,10)+1);
}

self._ZEN_Component_tabGroup_showPreviousTab = function(skipDisabled) {
if (skipDisabled==true) {
var idx= -2;
var i=parseInt(this.currTab,10)-2;
while (i>=0 && idx==-2) {
if (!this.children[i].disabled) idx=i;
i--;
}
if (idx!=-2) this.showTab(idx+1);
}
else this.showTab(parseInt(this.currTab,10)-1);
}

self._ZEN_Component_tabGroup_showTab = function(tabno) {
if (this.currTab == tabno) return true;
if (this.currTab > 0 && this.children.length > 0) {
var ret = zenInvokeCallbackMethod(this.onhideTab,this,'onhideTab');
if (this.onhideTab != '' && ret!=null && ret==false) {
return false;
}
this.children[this.currTab-1].setHidden(true);
if (this.showTabBar) {
var btn = this.findElement('btn_' + (this.currTab));
zenASSERT(btn,"Unable to find tab bar button element (1)",arguments);
btn.className = 'tabGroupButtonOff';
}
if (this.onhideTabHandler) {
this.onhideTabHandler(this.currTab);
}
}
if (tabno <= 0 || tabno > this.children.length) {
this.currTab = 0;
return true;
}
if (this.children[tabno-1].disabled) return true;
this.currTab = tabno;
if (this.currTab > 0) {
this.children[this.currTab-1].setHidden(false);
if (this.showTabBar) {
var btn = this.findElement('btn_' + (this.currTab));
zenASSERT(btn,"Unable to find tab bar button element (2)",arguments);
btn.className = 'tabGroupButtonOn';
}
if (this.onshowTabHandler) {
this.onshowTabHandler(tabno);
}
zenInvokeCallbackMethod(this.onshowTab,this,'onshowTab');
if (zenIsIE==1) this.ieResizeBody();
}
if (this.remember) {
zenStoreCookie(this,'currTab',this.currTab);
}
return true;
}

self._ZEN_Component_tabGroup_tabDisabledHandler = function(tab) {
var tabno = this.getTabIndex(tab);
if (tabno > 0) {
var btn = this.findElement('btn_' + tabno);
if (btn) {
if (tab.disabled) {
btn.className = 'tabGroupButtonDisabled';
}
else {
btn.className = (tabno==this.currTab) ? 'tabGroupButtonOn' : 'tabGroupButtonOff';
}
}
}
}

self._ZEN_Component_tabGroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_tabGroup__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_tabGroup.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_tabGroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_tabGroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.tabGroup';
	p._type = 'tabGroup';
	p.serialize = _ZEN_Component_tabGroup_serialize;
	p.getSettings = _ZEN_Component_tabGroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_tabGroup_ReallyRefreshContents;
	p.childrenMutated = _ZEN_Component_tabGroup_childrenMutated;
	p.getCurrTabNo = _ZEN_Component_tabGroup_getCurrTabNo;
	p.getTabBodyElement = _ZEN_Component_tabGroup_getTabBodyElement;
	p.getTabCount = _ZEN_Component_tabGroup_getTabCount;
	p.getTabIndex = _ZEN_Component_tabGroup_getTabIndex;
	p.ieResizeBody = _ZEN_Component_tabGroup_ieResizeBody;
	p.onRefreshContents = _ZEN_Component_tabGroup_onRefreshContents;
	p.onloadHandler = _ZEN_Component_tabGroup_onloadHandler;
	p.setBodySize = _ZEN_Component_tabGroup_setBodySize;
	p.setProperty = _ZEN_Component_tabGroup_setProperty;
	p.showNextTab = _ZEN_Component_tabGroup_showNextTab;
	p.showPreviousTab = _ZEN_Component_tabGroup_showPreviousTab;
	p.showTab = _ZEN_Component_tabGroup_showTab;
	p.tabDisabledHandler = _ZEN_Component_tabGroup_tabDisabledHandler;
}

self._zenClassIdx['vgroup'] = '_ZEN_Component_vgroup';
self._ZEN_Component_vgroup = function(index,id) {
	if (index>=0) {_ZEN_Component_vgroup__init(this,index,id);}
}

self._ZEN_Component_vgroup__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_group__init) ?zenMaster._ZEN_Component_group__init(o,index,id):_ZEN_Component_group__init(o,index,id);
}
function _ZEN_Component_vgroup_serialize(set,s)
{
	var o = this;s[0]='4052196350';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=(o.disabled?1:0);s[15]=(o.dragEnabled?1:0);s[16]=(o.dropEnabled?1:0);s[17]=(o.dynamic?1:0);s[18]=o.enclosingClass;s[19]=o.enclosingStyle;s[20]=o.error;s[21]=o.groupClass;s[22]=o.groupStyle;s[23]=o.height;s[24]=(o.hidden?1:0);s[25]=o.hint;s[26]=o.hintClass;s[27]=o.hintStyle;s[28]=o.label;s[29]=o.labelClass;s[30]=o.labelPosition;s[31]=o.labelStyle;s[32]=o.layout;s[33]=o.onafterdrag;s[34]=o.onbeforedrag;s[35]=o.onclick;s[36]=o.ondrag;s[37]=o.ondrop;s[38]=o.onhide;s[39]=o.onrefresh;s[40]=o.onshow;s[41]=o.onupdate;s[42]=o.overlayMode;s[43]=o.renderFlag;s[44]=(o.showLabel?1:0);s[45]=o.slice;s[46]=o.title;s[47]=o.tuple;s[48]=o.valign;s[49]=(o.visible?1:0);s[50]=o.width;
}
function _ZEN_Component_vgroup_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_vgroup_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_vgroup__Loader = function() {
	zenLoadClass('_ZEN_Component_group');
	_ZEN_Component_vgroup.prototype = zenCreate('_ZEN_Component_group',-1);
	var p = _ZEN_Component_vgroup.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_vgroup;
	p.superClass = ('undefined' == typeof _ZEN_Component_group) ? zenMaster._ZEN_Component_group.prototype:_ZEN_Component_group.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.vgroup';
	p._type = 'vgroup';
	p.serialize = _ZEN_Component_vgroup_serialize;
	p.getSettings = _ZEN_Component_vgroup_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_vgroup_ReallyRefreshContents;
}

self._zenClassIdx['hmenu'] = '_ZEN_Component_hmenu';
self._ZEN_Component_hmenu = function(index,id) {
	if (index>=0) {_ZEN_Component_hmenu__init(this,index,id);}
}

self._ZEN_Component_hmenu__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_menu__init) ?zenMaster._ZEN_Component_menu__init(o,index,id):_ZEN_Component_menu__init(o,index,id);
	o.caption = '';
	o.cellAlign = 'left';
	o.disabled = false;
	o.groupClass = 'hmenuTable';
	o.help = '';
	o.image = '';
	o.imageHeight = '16';
	o.imageWidth = '16';
	o.link = '';
	o.linkResource = '';
	o.onclick = '';
	o.target = '';
	o.width = '100%';
}
function _ZEN_Component_hmenu_serialize(set,s)
{
	var o = this;s[0]='3598656517';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.caption;s[9]=o.cellAlign;s[10]=o.cellSize;s[11]=o.cellStyle;s[12]=o.cellVAlign;s[13]=set.serializeList(o,o.children,true,'children');s[14]=o.containerStyle;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=o.groupClass;s[23]=o.groupStyle;s[24]=o.height;s[25]=o.help;s[26]=(o.hidden?1:0);s[27]=o.hint;s[28]=o.hintClass;s[29]=o.hintStyle;s[30]=o.image;s[31]=o.imageHeight;s[32]=o.imageWidth;s[33]=o.label;s[34]=o.labelClass;s[35]=o.labelPosition;s[36]=o.labelStyle;s[37]=o.layout;s[38]=o.link;s[39]=o.linkResource;s[40]=o.onactivate;s[41]=o.onafterdrag;s[42]=o.onbeforedrag;s[43]=o.onclick;s[44]=o.ondrag;s[45]=o.ondrop;s[46]=o.onhide;s[47]=o.onrefresh;s[48]=o.onshow;s[49]=o.onshowHelp;s[50]=o.onupdate;s[51]=o.overlayMode;s[52]=o.renderFlag;s[53]=(o.showLabel?1:0);s[54]=o.slice;s[55]=(o.subMenuActive?1:0);s[56]=o.subMenuLevel;s[57]=o.target;s[58]=o.title;s[59]=o.tuple;s[60]=o.valign;s[61]=(o.visible?1:0);s[62]=o.width;
}
function _ZEN_Component_hmenu_getSettings(s)
{
	s['name'] = 'string';
	s['caption'] = 'caption';
	s['disabled'] = 'boolean';
	s['help'] = 'caption';
	s['image'] = 'uri';
	s['imageHeight'] = 'length';
	s['imageWidth'] = 'length';
	s['link'] = 'uri';
	s['linkResource'] = 'resource';
	s['onclick'] = 'eventHandler';
	s['target'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_hmenu_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_hmenu__Loader = function() {
	zenLoadClass('_ZEN_Component_menu');
	_ZEN_Component_hmenu.prototype = zenCreate('_ZEN_Component_menu',-1);
	var p = _ZEN_Component_hmenu.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_hmenu;
	p.superClass = ('undefined' == typeof _ZEN_Component_menu) ? zenMaster._ZEN_Component_menu.prototype:_ZEN_Component_menu.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.hmenu';
	p._type = 'hmenu';
	p.serialize = _ZEN_Component_hmenu_serialize;
	p.getSettings = _ZEN_Component_hmenu_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_hmenu_ReallyRefreshContents;
}

self._zenClassIdx['lookoutMenu'] = '_ZEN_Component_lookoutMenu';
self._ZEN_Component_lookoutMenu = function(index,id) {
	if (index>=0) {_ZEN_Component_lookoutMenu__init(this,index,id);}
}

self._ZEN_Component_lookoutMenu__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_tabGroup__init) ?zenMaster._ZEN_Component_tabGroup__init(o,index,id):_ZEN_Component_tabGroup__init(o,index,id);
	o.cellVAlign = 'top';
	o.enclosingClass = 'lookoutMenu';
	o.expandable = false;
	o.expanded = true;
	o.oncontract = '';
	o.onexpand = '';
}
function _ZEN_Component_lookoutMenu_serialize(set,s)
{
	var o = this;s[0]='3799701102';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.cellAlign;s[9]=o.cellSize;s[10]=o.cellStyle;s[11]=o.cellVAlign;s[12]=set.serializeList(o,o.children,true,'children');s[13]=o.containerStyle;s[14]=o.currTab;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=(o.expandable?1:0);s[23]=(o.expanded?1:0);s[24]=o.groupClass;s[25]=o.groupStyle;s[26]=o.height;s[27]=(o.hidden?1:0);s[28]=o.hint;s[29]=o.hintClass;s[30]=o.hintStyle;s[31]=o.label;s[32]=o.labelClass;s[33]=o.labelPosition;s[34]=o.labelStyle;s[35]=o.layout;s[36]=o.onafterdrag;s[37]=o.onbeforedrag;s[38]=o.onclick;s[39]=o.oncontract;s[40]=o.ondrag;s[41]=o.ondrop;s[42]=o.onexpand;s[43]=o.onhide;s[44]=o.onhideTab;s[45]=o.onrefresh;s[46]=o.onshow;s[47]=o.onshowTab;s[48]=o.onupdate;s[49]=o.overlayMode;s[50]=(o.remember?1:0);s[51]=o.renderFlag;s[52]=(o.showBody?1:0);s[53]=(o.showLabel?1:0);s[54]=(o.showTabBar?1:0);s[55]=o.slice;s[56]=o.title;s[57]=o.tuple;s[58]=o.valign;s[59]=(o.visible?1:0);s[60]=o.width;
}
function _ZEN_Component_lookoutMenu_getSettings(s)
{
	s['name'] = 'string';
	s['expandable'] = 'boolean';
	s['expanded'] = 'boolean';
	s['oncontract'] = 'eventHandler';
	s['onexpand'] = 'eventHandler';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_lookoutMenu_adjustTabs = function() {
var enc = this.getEnclosingDiv();
var encWid = (enc.offsetWidth<2) ? 2 : enc.offsetWidth;
if (enc.offsetWidth==0 && enc.offsetHeight==0) {
this.adjustTabsOffscreen();
return;
}
this.reallyAdjustTabs();
}

self._ZEN_Component_lookoutMenu_adjustTabsOffscreen = function() {
var enc = this.getEnclosingDiv();
if (enc.style.height=="") {
if (this.height) enc.style.height=this.height;
}
if (enc.style.width=="") {
if (this.width) enc.style.width=this.width;
}
var oldP = enc.parentNode;
document.body.appendChild(enc);
this.reallyAdjustTabs();
document.body.removeChild(enc);
oldP.appendChild(enc);
}

self._ZEN_Component_lookoutMenu_getExpanded = function() {
return this.expanded;
}

self._ZEN_Component_lookoutMenu_gripClickHandler = function() {
this.setExpanded(!this.getExpanded());
}

self._ZEN_Component_lookoutMenu_onRefreshContents = function() {
this.invokeSuper('onRefreshContents',[]);
this.adjustTabs();
}

self._ZEN_Component_lookoutMenu_onloadHandler = function() {
this.adjustTabs();
if (this.disabled && this.parent && !this.parent.disabled) {
this.setProperty('disabled',true);
}
this.invokeSuper('onloadHandler',arguments);
}

self._ZEN_Component_lookoutMenu_onshowTabHandler = function(tabno) {
this.adjustTabs();
}

self._ZEN_Component_lookoutMenu_reallyAdjustTabs = function() {
var enc = this.getEnclosingDiv();
var encWid = (enc.offsetWidth<2) ? 2 : enc.offsetWidth;
var grip = this.findElement("grip");
var gripHeight = grip ? grip.offsetHeight : 0;
if (('' == enc.style.height) && enc.offsetHeight < 50) {
var btn = this.findElement("btn_1");
if (btn) {
enc.style.height = (btn.offsetHeight*(this.children.length+2)) + 'px';
}
else {
enc.style.height = '100px';
}
}
if (0 == this.children.length) return;
var currTab = this.currTab > 0 ? this.currTab : this.children.length;
var top = 0;
var y1 = top + gripHeight;
for (var n = 1; n <= currTab; n++) {
var btn = this.findElement("btn_" + n);
btn.style.top = y1;
btn.style.width = encWid - 2;
y1 += btn.offsetHeight;
}
var adj = 0;
var y2 = top + enc.offsetHeight - 2;
var test = y2 - ((this.children.length + 1 - currTab)*btn.offsetHeight);
if (test < y1) {
adj = y1 - test;
}
for (var n = this.children.length; n > currTab; n--) {
var btn = this.findElement("btn_" + n);
y2 -= btn.offsetHeight;
btn.style.top = y2 + adj;
btn.style.width = encWid - 2;
}
if (this.currTab > 0 && this.children.length > 0) {
var tab = this.children[this.currTab-1];
if (tab) {
var div = tab.getEnclosingDiv();
div.className = 'lookoutTab';
div.style.width = encWid - (zenIsIE ? 2 : 4);
div.style.top = y1;
div.style.height = (y2 - y1) > 0 ? (y2 - y1 - 2) : 0;
}
}
}

self._ZEN_Component_lookoutMenu_setExpanded = function(flag) {
this.expanded = flag;
if (!this.expandable) return;
var div = this.findElement('menuChildren');
zenASSERT(div,'Unable to find div element for children',arguments);
var img = this.findElement('image');
if (this.expanded) {
zenInvokeCallbackMethod(this.onexpand,this,'onexpand');
}
else {
zenInvokeCallbackMethod(this.oncontract,this,'oncontract');
}
div.style.display = this.expanded ? '' : 'none';
if (img) {
img.src = this.expanded ? this.imageExpanded : this.imageContracted;
}
}

self._ZEN_Component_lookoutMenu_setProperty = function(property,value,value2) {
switch(property) {
case 'expanded':
value = value ? true : false;
this.setExpanded(value);
this
break;
case 'expandable':
value = value ? true : false;
this.expandable = value;
this.refreshContents();
break;
default:
return this.invokeSuper('setProperty',arguments);
break;
}
return true;
}

self._ZEN_Component_lookoutMenu_setSize = function(width,height) {
width = parseInt(width,10);
height = parseInt(height,10);
var enc = this.getEnclosingDiv();
if (this.expandable && !this.expanded) {
var grip = this.findElement("grip");
enc.style.height = (grip ? grip.offsetHeight : '0px');
enc.style.width = '12px';
}
else {
if (!isNaN(height)) {
enc.style.height = height + 'px';
}
if (!isNaN(width)) {
enc.style.width = width + 'px';
}
}
this.height = height;
this.width = width;
this.adjustTabs();
}

self._ZEN_Component_lookoutMenu_tabDisabledHandler = function(tab) {
for (var n = 0; n < this.children.length; n++) {
var child = this.children[n];
if (tab == child) {
var btn = this.findElement("btn_" + (n+1));
btn.disabled = tab.disabled;
if (this.currTab == (n+1)) {
this.showTab(0);
this.adjustTabs();
}
break;
}
}
}

self._ZEN_Component_lookoutMenu_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_lookoutMenu__Loader = function() {
	zenLoadClass('_ZEN_Component_tabGroup');
	_ZEN_Component_lookoutMenu.prototype = zenCreate('_ZEN_Component_tabGroup',-1);
	var p = _ZEN_Component_lookoutMenu.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_lookoutMenu;
	p.superClass = ('undefined' == typeof _ZEN_Component_tabGroup) ? zenMaster._ZEN_Component_tabGroup.prototype:_ZEN_Component_tabGroup.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.lookoutMenu';
	p._type = 'lookoutMenu';
	p.serialize = _ZEN_Component_lookoutMenu_serialize;
	p.getSettings = _ZEN_Component_lookoutMenu_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_lookoutMenu_ReallyRefreshContents;
	p.adjustTabs = _ZEN_Component_lookoutMenu_adjustTabs;
	p.adjustTabsOffscreen = _ZEN_Component_lookoutMenu_adjustTabsOffscreen;
	p.getExpanded = _ZEN_Component_lookoutMenu_getExpanded;
	p.gripClickHandler = _ZEN_Component_lookoutMenu_gripClickHandler;
	p.onRefreshContents = _ZEN_Component_lookoutMenu_onRefreshContents;
	p.onloadHandler = _ZEN_Component_lookoutMenu_onloadHandler;
	p.onshowTabHandler = _ZEN_Component_lookoutMenu_onshowTabHandler;
	p.reallyAdjustTabs = _ZEN_Component_lookoutMenu_reallyAdjustTabs;
	p.setExpanded = _ZEN_Component_lookoutMenu_setExpanded;
	p.setProperty = _ZEN_Component_lookoutMenu_setProperty;
	p.setSize = _ZEN_Component_lookoutMenu_setSize;
	p.tabDisabledHandler = _ZEN_Component_lookoutMenu_tabDisabledHandler;
}

self._zenClassIdx['page'] = '_ZEN_Component_page';
self._ZEN_Component_page = function(index,id) {
	if (index>=0) {_ZEN_Component_page__init(this,index,id);}
}

self._ZEN_Component_page__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_abstractPage__init) ?zenMaster._ZEN_Component_abstractPage__init(o,index,id):_ZEN_Component_abstractPage__init(o,index,id);
}
function _ZEN_Component_page_serialize(set,s)
{
	var o = this;s[0]='1296453351';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.SVGClassList;s[7]=o.UserSVGPackageList;s[8]=o.align;s[9]=o.aux;s[10]=o.backgroundTimerInterval;s[11]=o.cellAlign;s[12]=o.cellSize;s[13]=o.cellStyle;s[14]=o.cellVAlign;s[15]=set.serializeList(o,o.children,true,'children');s[16]=o.containerStyle;s[17]=(o.designMode?1:0);s[18]=(o.disabled?1:0);s[19]=(o.dragAndDrop?1:0);s[20]=(o.dragEnabled?1:0);s[21]=(o.dropEnabled?1:0);s[22]=(o.dynamic?1:0);s[23]=o.enclosingClass;s[24]=o.enclosingStyle;s[25]=o.error;s[26]=o.groupClass;s[27]=o.groupStyle;s[28]=o.height;s[29]=(o.hidden?1:0);s[30]=o.hint;s[31]=o.hintClass;s[32]=o.hintStyle;s[33]=(o.inlineSVG?1:0);s[34]=(o.isPopup?1:0);s[35]=o.label;s[36]=o.labelClass;s[37]=o.labelPosition;s[38]=o.labelStyle;s[39]=o.lastModalIndex;s[40]=o.layout;s[41]=o.nextIndex;s[42]=o.onafterdrag;s[43]=o.onbeforedrag;s[44]=o.onclick;s[45]=o.ondrag;s[46]=o.ondrop;s[47]=o.onhide;s[48]=o.onoverlay;s[49]=o.onrefresh;s[50]=o.onshow;s[51]=o.onupdate;s[52]=o.overlayMode;s[53]=o.popupParent;s[54]=o.renderFlag;s[55]=(o.showLabel?1:0);s[56]=o.slice;s[57]=o.title;s[58]=o.tuple;s[59]=(o.useSVG?1:0);s[60]=o.valign;s[61]=(o.visible?1:0);s[62]=o.width;
}
function _ZEN_Component_page_getSettings(s)
{
	s['name'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_page_LoadZenComponent = function(pNamespace,pName,pClassName) {
	return zenClassMethod(this,'LoadZenComponent','L,L,L','BOOLEAN',arguments);
}

self._ZEN_Component_page_MonitorBackgroundTask = function(pTaskID) {
	zenClassMethod(this,'MonitorBackgroundTask','L','',arguments);
}

self._ZEN_Component_page_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_page__Loader = function() {
	zenLoadClass('_ZEN_Component_abstractPage');
	_ZEN_Component_page.prototype = zenCreate('_ZEN_Component_abstractPage',-1);
	var p = _ZEN_Component_page.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_page;
	p.superClass = ('undefined' == typeof _ZEN_Component_abstractPage) ? zenMaster._ZEN_Component_abstractPage.prototype:_ZEN_Component_abstractPage.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.page';
	p._type = 'page';
	p.serialize = _ZEN_Component_page_serialize;
	p.getSettings = _ZEN_Component_page_getSettings;
	p.LoadZenComponent = _ZEN_Component_page_LoadZenComponent;
	p.MonitorBackgroundTask = _ZEN_Component_page_MonitorBackgroundTask;
	p.ReallyRefreshContents = _ZEN_Component_page_ReallyRefreshContents;
}

self._zenClassIdx['vmenu'] = '_ZEN_Component_vmenu';
self._ZEN_Component_vmenu = function(index,id) {
	if (index>=0) {_ZEN_Component_vmenu__init(this,index,id);}
}

self._ZEN_Component_vmenu__init = function(o,index,id) {
	('undefined' == typeof _ZEN_Component_menu__init) ?zenMaster._ZEN_Component_menu__init(o,index,id):_ZEN_Component_menu__init(o,index,id);
	o.caption = '';
	o.cellVAlign = 'top';
	o.disabled = false;
	o.enclosingClass = 'vmenu';
	o.groupClass = 'vmenuTable';
	o.help = '';
	o.image = '';
	o.imageHeight = '16';
	o.imageWidth = '16';
	o.layout = 'vertical';
	o.link = '';
	o.linkResource = '';
	o.onclick = '';
	o.target = '';
}
function _ZEN_Component_vmenu_serialize(set,s)
{
	var o = this;s[0]='3598656517';s[1]=o.index;s[2]=o.id;s[3]=o.name;s[4]=set.addObject(o.parent,'parent');s[5]=set.addObject(o.composite,'composite');s[6]=o.align;s[7]=o.aux;s[8]=o.caption;s[9]=o.cellAlign;s[10]=o.cellSize;s[11]=o.cellStyle;s[12]=o.cellVAlign;s[13]=set.serializeList(o,o.children,true,'children');s[14]=o.containerStyle;s[15]=(o.disabled?1:0);s[16]=(o.dragEnabled?1:0);s[17]=(o.dropEnabled?1:0);s[18]=(o.dynamic?1:0);s[19]=o.enclosingClass;s[20]=o.enclosingStyle;s[21]=o.error;s[22]=o.groupClass;s[23]=o.groupStyle;s[24]=o.height;s[25]=o.help;s[26]=(o.hidden?1:0);s[27]=o.hint;s[28]=o.hintClass;s[29]=o.hintStyle;s[30]=o.image;s[31]=o.imageHeight;s[32]=o.imageWidth;s[33]=o.label;s[34]=o.labelClass;s[35]=o.labelPosition;s[36]=o.labelStyle;s[37]=o.layout;s[38]=o.link;s[39]=o.linkResource;s[40]=o.onactivate;s[41]=o.onafterdrag;s[42]=o.onbeforedrag;s[43]=o.onclick;s[44]=o.ondrag;s[45]=o.ondrop;s[46]=o.onhide;s[47]=o.onrefresh;s[48]=o.onshow;s[49]=o.onshowHelp;s[50]=o.onupdate;s[51]=o.overlayMode;s[52]=o.renderFlag;s[53]=(o.showLabel?1:0);s[54]=o.slice;s[55]=(o.subMenuActive?1:0);s[56]=o.subMenuLevel;s[57]=o.target;s[58]=o.title;s[59]=o.tuple;s[60]=o.valign;s[61]=(o.visible?1:0);s[62]=o.width;
}
function _ZEN_Component_vmenu_getSettings(s)
{
	s['name'] = 'string';
	s['caption'] = 'caption';
	s['disabled'] = 'boolean';
	s['help'] = 'caption';
	s['image'] = 'uri';
	s['imageHeight'] = 'length';
	s['imageWidth'] = 'length';
	s['link'] = 'uri';
	s['linkResource'] = 'resource';
	s['onclick'] = 'eventHandler';
	s['target'] = 'string';
	this.invokeSuper('getSettings',arguments);
}

self._ZEN_Component_vmenu_ReallyRefreshContents = function() {
	zenInstanceMethod(this,'ReallyRefreshContents','','',arguments);
}
self._ZEN_Component_vmenu__Loader = function() {
	zenLoadClass('_ZEN_Component_menu');
	_ZEN_Component_vmenu.prototype = zenCreate('_ZEN_Component_menu',-1);
	var p = _ZEN_Component_vmenu.prototype;
	if (null==p) {return;}
	p.constructor = _ZEN_Component_vmenu;
	p.superClass = ('undefined' == typeof _ZEN_Component_menu) ? zenMaster._ZEN_Component_menu.prototype:_ZEN_Component_menu.prototype;
	p.__ZENcomponent = true;
	p._serverClass = '%ZEN.Component.vmenu';
	p._type = 'vmenu';
	p.serialize = _ZEN_Component_vmenu_serialize;
	p.getSettings = _ZEN_Component_vmenu_getSettings;
	p.ReallyRefreshContents = _ZEN_Component_vmenu_ReallyRefreshContents;
}
/* EOF */
