var _v1 = new TBrowser(); var _v2 = new Array(); var _v3 = - 1; var _v4 = new Array(); var _v5 = new Array(); var _v6 = new Array(); var _v7 = new Array(); var _v8 = new Array(); var _arMMClick = new Array(); function Initialize()
{ var byk = _v3; for (var i = 0; i <= byk; i++)
_v2[i].Init();}
function InitResize()
{ var byk = _v3; for (var i = 0; i <= byk; i++)
_v2[i].Resize();}
function TBrowser()
{ this._v9 = ''; this._version = ''; this._os = '';}
var detect = navigator.userAgent.toLowerCase(); var total, thestring; if (checkIt('konqueror'))
{ _v1._v9 = "Konqueror"; _v1._os = "Linux";}
else if (checkIt('safari'))
_v1._v9 = "Safari"; else if (checkIt('omniweb'))
_v1._v9 = "OmniWeb"; else if (checkIt('opera'))
_v1._v9 = "Opera"; else if (checkIt('webtv'))
_v1._v9 = "WebTV"; else if (checkIt('icab'))
_v1._v9 = "iCab"; else if (checkIt('msie'))
_v1._v9 = "IE"; else if (! checkIt('compatible'))
{ _v1._v9 = "Netscape"; _v1._version = detect.charAt(8);}
else
_v1._v9 = "none"; if (_v1._version == '')
_v1._version = detect.charAt(place + thestring.length); if (_v1._os == '')
{ if (checkIt('linux'))
_v1._os = "Linux"; else if (checkIt('x11'))
_v1._os = "Unix"; else if (checkIt('mac'))
_v1._os = "Mac"; else if (checkIt('win'))
_v1._os = "Windows"; else
_v1._os = "none";}
function checkIt(string)
{ place = detect.indexOf(string) + 1; thestring = string; return place;}
function TMainMenu(name, direction, mEtype)
{ _v3++; _v2[_v3] = this; _v5[_v3] = new Array(); _v6[_v3] = - 1; _v7[_v3] = new Array(); _v8[_v3] = - 1; _arMMClick[_v3] = true; this._popOnClick = false; this._va = new TExpandIcon(); this._va._create = false; this._registerMenuIndex = _v3; this._uniqueID = 0; this._v9 = name; this._mouseEventType=mEtype; this._id = '_' + name + 'ID'; this._index = _v3; this._correction = new TCorrection(); this._parent = null; this._width = 'auto'; this._direction = direction; if (this._direction == 'horizontal')
{ this._va._symbol = '&#9660;';}
else
{ this._va._symbol = '&#9658;';}
this._vb = 'relative'; this._top = 0; this._vw = 0; this._vc = 0; this._itemHeight = 'auto'; this._vd = 'auto'; this._vm = new TBackground(); this._vm._vn = 'buttonface'; this._pop = new TPopParameter(); this._pop._mmName = this._v9; this._pop._index = this._index; this._shadow = new TShadow(); this._vx = new TFont(); this._vx._family = 'tahoma,verdana,sans-serif,arial'; this._vx._vt = '8pt'; this._itemIndex = - 1; this._vj = new Array(); this._vp = new TText(); this._vp._vn = 'black'; this._vl = new TBackground(); this._vpHL = new TText(); this._vpHL._vn = 'white'; this._vlHL = new TBackground(); this._vlHL._vn = '#B6BDD2'; this._z2 = new TBorder(); this._vk = new TBorder(); this._ve = new TBorder(); this._ve._top = '1px navy solid'; this._ve._vv = '1px navy solid'; this._ve._z1 = '1px navy solid'; this._ve._vw = '1px navy solid'; this._vh = new TText(); this._vh._vn = 'white'; this._vf = new TBackground(); this._vf._vn = '#B6BDD2'; this._vg = new TBorder(); this._vg._top = '1px navy solid'; this._vg._vv = '1px navy solid'; this._vg._z1 = '1px navy solid'; this._vg._vw = '1px navy solid'; this._hideObject = new THiddenObject(); this._pop._vo = new TPopHeader(); this._vo = new TPopHeader(); this._vo._vx._vt = '6pt'; this._type = ''; this._initialTop = 0; this._vi = 0; this._voClickState = false; this._voText = 'Click Here'; this.SetHeaderText = SetMMHeaderText; this.Add = AddItem; this.Build = BuildMenu; this.BuildStyle = BuildStyle; this.Draw = DrawMenu; this.Init = InitMenu; this.SetExpandIcon = SetExpandIcon; this.SetParent = SetParent; this.SetType = SetMenuType; this.SetPopOnClick = SetPopOnClick; this.SetWidth = SetWidth; this.SetBorder = SetBorder; this.SetBorderTop = SetBorderTop; this.SetBorderRight = SetBorderRight; this.SetBorderBottom = SetBorderBottom; this.SetBorderLeft = SetBorderLeft; this.SetItemDimension = SetItemDimension; this.SetItemBorder = SetItemBorder; this.SetItemBorderTop = SetItemBorderTop; this.SetItemBorderRight = SetItemBorderRight; this.SetItemBorderBottom = SetItemBorderBottom; this.SetItemBorderLeft = SetItemBorderLeft; this.SetItemBorderHL = SetItemBorderHL; this.SetItemBorderTopHL = SetItemBorderTopHL; this.SetItemBorderRightHL = SetItemBorderRightHL; this.SetItemBorderBottomHL = SetItemBorderBottomHL; this.SetItemBorderLeftHL = SetItemBorderLeftHL; this.SetItemBorderClick = SetItemBorderClick; this.SetItemBorderTopClick = SetItemBorderTopClick; this.SetItemBorderRightClick = SetItemBorderRightClick; this.SetItemBorderBottomClick = SetItemBorderBottomClick; this.SetItemBorderLeftClick = SetItemBorderLeftClick; this.SetShadow = SetShadow; this.SetFont = SetFont; this.SetBackground = SetBackground; this.SetDirection = SetDirection; this.SetPosition = SetPosition; this.SetCorrection = SetCorrection; this.SetCellSpacing = SetCellSpacing; this.SetItemText = SetItemText; this.SetItemTextHL = SetItemTextHL; this.SetItemTextClick = SetItemTextClick; this.SetItemBackground = SetItemBackground; this.SetItemBackgroundHL = SetItemBackgroundHL; this.SetItemBackgroundClick = SetItemBackgroundClick; this.Resize = ResizeMenu;}
function ResizeMenu()
{ if (this._shadow._create)
{ if (document.all)
{ var elm = document.all(this._id); var shadowElm = document.all('sh_' + this._id);}
else if (document.getElementById)
{ var elm = document.getElementById(this._id); var shadowElm = document.getElementById('sh_' + this._id);}
var posY = findPosY(elm); var posX = findPosX(elm); if (_v1._v9 == 'IE')
{ shadowElm.style.width = elm.offsetWidth + 10; shadowElm.childNodes[0].style.width = elm.offsetWidth; shadowElm.style.top = posY; shadowElm.style.left = posX;}
else
{ shadowElm.style.width = elm.offsetWidth; shadowElm.style.top = posY + this._shadow._distance; shadowElm.style.left = posX + this._shadow._distance;}
}
}
function SetDirection(dDirection)
{ dDirection = dDirection.toLowerCase(); switch (dDirection)
{ case 'vertical':
this._direction = 'vertical'; break; default: this._direction = 'horizontal';}
}
function SetMMHeaderText(dText)
{ this._voText = dText;}
function SetMenuType(dType)
{ dType = dType.toLowerCase(); switch (dType)
{ case 'float':
this._type = 'float'; break; case 'free':
this._type = 'free'; break; default: this._type = '';}
}
function TPopHeader()
{ this._vm = new TBackground(); this._vm._vn = 'black'; this._vp = new TText(); this._vp._vs = 'bold'; this._vp._vn = 'white'; this._vx = new TFont(); this._vx._family = 'tahoma,verdana,sans-serif,arial'; this._vx._vt = '8pt'; this.SetBackground = SetBackground; this.SetFont = SetFont; this.SetText = SetItemText;}
function THiddenObject()
{ this._itemIndex = - 1; this._vj = new Array(); this._isHide = false; this._isShow = true; this.Add = AddItem; this.Hide = HideObject; this.Show = ShowObject; this.Clear = ClearObject;}
function ClearObject()
{ if (this._itemIndex > - 1)
{ var iMax = this._itemIndex + 1; for (var i = 0; i < iMax; i++)
{ delete this._vj[i];}
this._isHide = false; this._itemIndex = - 1;}
}
function HideObject()
{ if (this._itemIndex > - 1)
{ var iMax = this._itemIndex + 1; for (var i = 0; i < iMax; i++)
{ if (document.all)
document.all(this._vj[i]).style.visibility = "hidden"; else if (document.getElementById)
document.getElementById(this._vj[i]).style.visibility = "hidden";}
this._isHide = true;}
}
function ShowObject()
{ if (this._isHide)
{ var iMax = this._itemIndex + 1; for (var i = 0; i < iMax; i++)
{ if (document.all)
document.all(this._vj[i]).style.visibility = "visible"; else if (document.getElementById)
document.getElementById(this._vj[i]).style.visibility = "visible";}
}
}
function SetPopOnClick(dBool)
{ if (dBool)
{ this._popOnClick = true; _arMMClick[this._registerMenuIndex] = false;}
else
{ this._popOnClick = false; _arMMClick[this._registerMenuIndex] = true;}
}
function TPopMenu(label, icon, clickType, clickParam, status)
{ this._id = ''; this._parent = null; this._parentPop = null; this._label = label; this._top = 0; this._vw = 0; this._status = status; this._tmpIcon = icon; this._icon = ""; this._itemIndex = - 1; this._vj = new Array(); switch (clickType)
{ case 'function':
this._eClick = clickParam; break; case 'f':
this._eClick = clickParam; break; case 'address':
this._eClick = "_openURL('" + clickParam + "')"; break; case 'a':
this._eClick = "_openURL('" + clickParam + "')"; break; default: this._eClick = "_emptyURL();";}
this._type = ''; this.Add = AddItem; this.Draw = DrawPopMenu; this.Init = InitPopMenu; this.SetType = SetPopType; this.SetParent = SetParent;}
function _emptyURL(){}
function SetPopType(dType)
{ dType = dType.toLowerCase(); switch (dType)
{ case 'header':
this._type = 'h'; break; case 'h':
this._type = 'h'; break; default: this._type = '';}
}
function TPopParameter()
{ this._index = - 1; this._mmName = ''; this._padding = '1px 1px 1px 1px'; this._separator = new TSeparator(); this._va = new TExpandIcon(); this._correction = new TCorrection(); this._vx = new TFont(); this._vx._family = 'tahoma,verdana,sans-serif,arial'; this._vx._vt = '8pt'; this._alpha = 100; this._vd = 200; this._itemHeight = 'auto'; this._vk = new TBorder(); this._vk._top = '0px none solid'; this._vk._vv = '0px none solid'; this._vk._z1 = '0px none solid'; this._vk._vw = '0px none solid'; this._itemPadding = '1px 1px 1px 1px'; this._vp = new TText(); this._vl = new TBackground(); this._ve = new TBorder(); this._ve._top = '1px navy solid'; this._ve._vv = '1px navy solid'; this._ve._z1 = '1px navy solid'; this._ve._vw = '1px navy solid'; this._itemPaddingHL = '0px 0px 0px 0px'; this._vpHL = new TText(); this._vpHL._vn = 'white'; this._vlHL = new TBackground(); this._vlHL._vn = '#B6BDD2'; this._vm = new TBackground(); this._vm._vn = 'whitesmoke'; this._z2 = new TBorder(); this._z2._top = '1px black solid'; this._z2._vv = '1px black solid'; this._z2._z1 = '1px black solid'; this._z2._vw = '1px black solid'; this._shadow = new TShadow(); this._vo = new TPopHeader(); this._timeOut = 750; this.SetAlpha = SetAlpha; this.SetBorder = SetBorder; this.SetPadding = SetPadding; this.SetPaddings = SetPaddings; this.SetBorderTop = SetBorderTop; this.SetBorderRight = SetBorderRight; this.SetBorderBottom = SetBorderBottom; this.SetBorderLeft = SetBorderLeft; this.SetItemDimension = SetItemDimension; this.SetItemBorder = SetItemBorder; this.SetItemPadding = SetItemPadding; this.SetItemPaddingHL = SetItemPaddingHL; this.SetItemPaddings = SetItemPaddings; this.SetItemPaddingsHL = SetItemPaddingsHL; this.SetItemBorderTop = SetItemBorderTop; this.SetItemBorderRight = SetItemBorderRight; this.SetItemBorderBottom = SetItemBorderBottom; this.SetItemBorderLeft = SetItemBorderLeft; this.SetItemBorderHL = SetItemBorderHL; this.SetItemBorderTopHL = SetItemBorderTopHL; this.SetItemBorderRightHL = SetItemBorderRightHL; this.SetItemBorderBottomHL = SetItemBorderBottomHL; this.SetItemBorderLeftHL = SetItemBorderLeftHL; this.SetShadow = SetShadow; this.SetFont = SetFont; this.SetBackground = SetBackground; this.SetCorrection = SetCorrection; this.SetExpandIcon = SetExpandIcon; this.SetSeparator = SetSeparator; this.SetDelay = SetDelay; this.SetItemText = SetItemText; this.SetItemTextHL = SetItemTextHL; this.SetItemBackground = SetItemBackground; this.SetItemBackgroundHL = SetItemBackgroundHL;}
function SetAlpha(dAlpha)
{ dAlpha = parseInt(dAlpha); this._alpha = dAlpha;}
function TCorrection()
{ this._top = 0; this._vw = 0;}
function TText()
{ this._vn = 'black'; this._vr = 'left'; this._vu = 'none'; this._vq = 'normal'; this._vs = 'normal';}
function TShadow()
{ this._create = false; this._vn = 'black'; this._distance = 3;}
function TSeparator()
{ this._vr = 'center'
this._width = 200; this._margin = "0px 0px 0px 0px"; this._z2 = new TBorder(); this._z2._top = '1px black solid'; this._z2._z1 = '1px white solid';}
function TFont()
{ this._family = 'arial,times,sans-serif'; this._vt = '8pt';}
function TBackground()
{ this._vz = 'none'; this._vy = 'no-repeat'; this._vn = ''; this._vb = 'top left';}
function TExpandIcon()
{ this._create = true; this._symbol = '&#9658;'; this._vx = new TFont(); this._vx._vt = '6pt';}
function TBorder()
{ this._top = '1px gray solid'; this._vv = '1px gray solid'; this._z1 = '1px gray solid'; this._vw = '1px gray solid';}
function BuildMenu(pStyle)
{ var result = ""; var level = - 1; this.SetParent(this); if (pStyle)
result += this.BuildStyle(); result += this.Draw(level++); level++; for (var i = 0; i <= this._itemIndex; i++)
{ result += this._vj[i].Draw(level); result += BuildPopUpMenu(this._vj[i], level);}
document.write(result);}
function InitMenu()
{ if (document.all)
var el_menu = document.all(this._id); else if (document.getElementById)
var el_menu = document.getElementById(this._id); this._vb = this._vb.toLowerCase(); if (this._vb == 'absolute')
{ el_menu.style.top = this._top; el_menu.style.left = this._vw;}
else
{ this._top = findPosY(el_menu); this._vw = findPosX(el_menu);}
el_menu.style.zIndex = 100; if ((this._type == 'free') && (this._vb == 'absolute'))
{ if (document.all)
var fr_el = document.all('fr_' + this._id); else if (document.getElementById)
var fr_el = document.getElementById('fr_' + this._id); fr_el.style.top = this._top + 'px'; fr_el.style.left = this._vw + 'px'; fr_el.style.width = el_menu.offsetWidth; fr_el.style.height = el_menu.offsetHeight; fr_el.style.zIndex = 100;}
if (this._shadow._create)
{ if (document.all)
var sh_el = document.all('sh_' + this._id); else if (document.getElementById)
var sh_el = document.getElementById('sh_' + this._id); if (_v1._v9 == 'IE')
{ sh_el.style.top = this._top + 'px'; sh_el.style.left = this._vw + 'px'; sh_el.style.width = el_menu.offsetWidth + 10 + 'px'; sh_el.style.height = el_menu.offsetHeight + 10 + 'px'; sh_el.childNodes[0].style.width = el_menu.offsetWidth + 'px'; sh_el.childNodes[0].style.height = el_menu.offsetHeight + 'px'; sh_el.childNodes[0].style.backgroundColor = this._shadow._vn; sh_el.style.visibility = 'visible';}
else
{ if (_v1._v9 == 'Konqueror' && this._vb == 'relative')
sh_el.style.visibility = 'hidden'; else
{ sh_el.style.top = this._top + this._shadow._distance + 'px'; sh_el.style.left = this._vw + this._shadow._distance + 'px'; sh_el.style.width = el_menu.offsetWidth + 'px'; sh_el.style.height = el_menu.offsetHeight + 'px'; sh_el.style.backgroundColor = this._shadow._vn; sh_el.style.visibility = 'visible';}
}
sh_el.style.zIndex = 0;}
for (var i = 0; i <= this._itemIndex; i++)
{ if (document.all)
var el_menuitem = document.all('pr_' + this._vj[i]._id); else if (document.getElementById)
var el_menuitem = document.getElementById('pr_' + this._vj[i]._id); if (this._vj[i]._itemIndex > - 1)
{ if (document.all)
var el_pop = document.all(this._vj[i]._id); else if (document.getElementById)
var el_pop = document.getElementById(this._vj[i]._id); el_pop.style.zIndex = 102; if (this._vj[i]._parent._pop._shadow._create)
{ if (document.all)
var sh_el_pop = document.all('sh_' + this._vj[i]._id); else if (document.getElementById)
var sh_el_pop = document.getElementById('sh_' + this._vj[i]._id); if (_v1._v9 == 'IE')
{ sh_el_pop.style.width = el_pop.offsetWidth + 10 + 'px'; sh_el_pop.style.height = el_pop.offsetHeight + 10 + 'px'; sh_el_pop.childNodes[0].style.width = el_pop.offsetWidth + 'px'; sh_el_pop.childNodes[0].style.height = el_pop.offsetHeight + 'px'; sh_el_pop.childNodes[0].style.backgroundColor = this._vj[i]._parent._pop._shadow._vn;}
else
{ sh_el_pop.style.width = el_pop.offsetWidth + 'px'; sh_el_pop.style.height = el_pop.offsetHeight + 'px'; sh_el_pop.style.backgroundColor = this._vj[i]._parent._pop._shadow._vn;}
sh_el_pop.style.zIndex = 101;}
this._vj[i].Init(102);}
}
el_menu.style.visibility = "visible"; if ((this._type == 'float') && (this._vb == 'absolute'))
{ this._initialTop = this._top; this._vi = this._vw; _floatingMMEffect(this);}
}
function SetParent(parent)
{ for (var i = 0; i <= this._itemIndex; i++)
{ this._vj[i]._parent = parent; this._vj[i]._parentPop = this; this._vj[i]._id = '_' + parent._v9 + '-' + parent._uniqueID + "ID"; var iIcon = parseInt(this._vj[i]._tmpIcon); if ((iIcon > 0))
{ this._vj[i]._icon = '<td style="padding-left:'+iIcon+'px;">';}
else
{ switch (this._vj[i]._tmpIcon)
{ case "":
this._vj[i]._icon = '<td style="padding-left:8px;">'; break; case '0':
this._vj[i]._icon = '<td style="padding-left:20px;">'; break; default: this._vj[i]._icon = '<td class="TIcon'+this._vj[i]._parent._index+'"><img class="TIcon'+this._vj[i]._parent._index+'" src="'+this._vj[i]._tmpIcon+'" width="16px" /></td><td>';}
}
parent._uniqueID++; this._vj[i].SetParent(parent);}
}function DrawMenu(level)
{ var result=""; if(this._shadow._create)
{ if(_v1._v9=='IE')
result+='<div style="position:absolute;visibility:hidden;filter: blur( direction=135, strength='+this._shadow._distance+', add=1);" id="sh_'+this._id+'" align="left"><div></div></div>'; else
result+='<div style="position:absolute;visibility:hidden;" id="sh_'+this._id+'"></div>';}
if((this._type=='free') && (this._vb=='absolute'))
{ result+='<table class="TMenu'+this._index+'" id="fr_'+this._id+'"'; result+=' cellpadding="0" cellspacing="'+this._vc+'" style="position:absolute;visibility:hidden;">'; result+='<tr><td class="TMMHeader'+this._index+'"'; result+=' onclick="onMMHeaderClick(event,'+this._v9+')"'; result+='>'+this._voText+'</td></tr>'; result+='<tr><td> </td></tr>';result+='</table>';}
result+='<table style="height:100%;" class="TMenu'+this._index+'" id="'+this._id+'"'; result+=' cellpadding="0"  cellspacing="'+this._vc+'">'; if(this._direction=='horizontal')
{ if(this._itemIndex >-1)
{ if((this._type=='free') && (this._vb=='absolute'))
{ var colSpan=this._itemIndex+1; result+='<tr><td colspan="'+colSpan+'" class="TMMHeader'+this._index+'"'; result+=' onclick="onMMHeaderClick(event,'+this._v9+')">'+this._voText+'</td></tr>';}
}
result+='<tr>';}
else
{ if((this._type=='free') && (this._vb=='absolute'))
{ result+='<td class="TMMHeader'+this._index+'"'; result+=' onclick="onMMHeaderClick(event,'+this._v9+')">'+this._voText+'</td>';}
}
if(this._itemIndex >-1)
{ var isExpandIcon=false; for(var i=0;i<=this._itemIndex;i++)
{ var result1='';var expandHTML=''; result1+='<td nowrap class="TMenuItem'+this._index+'" id="pr_'+this._vj[i]._id+'"'; if(this._vj[i]._itemIndex >-1)
{ if ((this._mouseEventType)>0)
result1+=' onmousedown='; else
result1+=' onmouseover='; result1+=' "onMainMOver(event,this,\''+this._vj[i]._id+'\','+level+','+this._v9+',\''+escape(this._vj[i]._status)+'\')" '; result1+=' onclick="'+this._vj[i]._eClick+'"'; result1+=' onmouseout="onMainMOut(event,this,\''+this._vj[i]._id+'\','+this._v9+')"'; if(this._vj[i]._parent._va._create)
{ expandHTML='<td class="TMMExpand'+this._vj[i]._parent._index+'">'+this._vj[i]._parent._va._symbol+'</td>';isExpandIcon=true;}
}
else
{ if ((this._mouseEventType)>0)
result1+=' onmousedown='; else
result1+=' onmouseover='; result1+=' "onMainMOver(event,this,\'\','+level+','+this._v9+',\''+escape(this._vj[i]._status)+'\')"'; result1+=' onmouseout="onMainMOut(event,this,\'\','+this._v9+')"'; result1+=' onclick="'+this._vj[i]._eClick+'"';}
var iIcon=parseInt(this._vj[i]._tmpIcon); if((iIcon > 0))
{ this._vj[i]._icon='<td style="padding-left:'+iIcon+'px;">';}
else
{ switch(this._vj[i]._tmpIcon)
{ case "":
if(isExpandIcon && expandHTML=='')
this._vj[i]._icon='<td style="padding-left:30px;padding-right:16px">'; else
this._vj[i]._icon='<td style="padding-left:30px">'; break; case '0':
if(isExpandIcon && expandHTML=='')
this._vj[i]._icon='<td  style="padding-right:16px">'; else
this._vj[i]._icon='<td>'; break; default:
if(isExpandIcon && expandHTML=='')
this._vj[i]._icon='<td class="TIcon'+this._vj[i]._parent._index+'"><img class="TIcon'+this._vj[i]._parent._index+'" src="'+this._vj[i]._tmpIcon+'" width="16px" /></td><td  style="padding-right:16px">'; else
this._vj[i]._icon='<td class="TIcon'+this._vj[i]._parent._index+'"><img class="TIcon'+this._vj[i]._parent._index+'" src="'+this._vj[i]._tmpIcon+'" width="16px" /></td><td>';}
}
result1+='><table class="TMenuItemChild' +this._index+'" cellspacing="0" cellpadding="0" border="0"><tr>' +this._vj[i]._icon +this._vj[i]._label+'</td>'; result1+=expandHTML+'</tr></table></td>'; if(this._direction=='horizontal')
result+=result1; else
result+='<tr>'+result1+'</tr>';}
}
else
{ var result1='';result1+='<td>&nbsp;</td>'; if(this._direction=='horizontal')
result+=result1;else
result+='<tr>'+result1+'</tr>';}
if(this._direction=='horizontal')
result+='</tr>';result+='</table>';return result;}
function DrawPopMenu(level)
{ var result="";if(this._itemIndex >-1)
{ if(this._parent._pop._shadow._create)
{ if(_v1._v9=='IE')
result+='<div style="position:absolute;visibility:hidden;filter: blur( direction=135, strength='+this._parent._pop._shadow._distance+', add=1);" id="sh_'+this._id+'" align="left"><div></div></div>';else
result+='<div style="position:absolute;visibility:hidden;" id="sh_'+this._id+'" align="left"></div>';}
result+='<div class="TPopUp'+this._parent._index+'" id="'+this._id+'" style="filter:alpha(opacity='+this._parent._pop._alpha+');">';for(var i=0;i<=this._itemIndex;i++)
{ if(this._vj[i]._label !='-')
{ if(this._vj[i]._itemIndex >-1)
{ result+='<div class="TPopUpItem'+this._vj[i]._parent._index+'" id="di_'+this._vj[i]._id+'">';result+='<table class="TPopUpItem'+this._vj[i]._parent._index+'" cellspacing="0" cellpadding="0"';result+=' onmouseover="onPopItemMOver(event,this,\''+this._vj[i]._id+'\','+level+','+this._vj[i]._parent._v9+',\''+this._vj[i]._status+'\')"';result+=' onmouseout="onPopItemMOut(event,this,\''+this._vj[i]._id+'\','+this._vj[i]._parent._v9+')"';result+=' onclick="hideAll('+this._vj[i]._parent._v9+');'+this._vj[i]._eClick+'"';result+=' id="pr_'+this._vj[i]._id+'"><tr>'+this._vj[i]._icon+this._vj[i]._label+'</td>';if(this._vj[i]._parent._pop._va._create)
result+='<td class="TExpand'+this._vj[i]._parent._index+'">'+this._vj[i]._parent._pop._va._symbol+'</td>';result+='</tr></table>';result+='</div>';}
else
{ if(this._vj[i]._type=='h')
{ result+='<div class="TPopUpHeader'+this._vj[i]._parent._index+'">';result+='<table class="TPopUpHeader'+this._vj[i]._parent._index+'" cellspacing="0" cellpadding="2"';result+=' onmouseover="onStaticPopItemMOver(event,'+this._vj[i]._parent._v9+',\''+this._vj[i]._status+'\')"';result+=' onmouseout="onStaticPopItemMOut(event,'+this._vj[i]._parent._v9+',\''+this._vj[i]._status+'\')"';result+='><tr><td nowrap>'+this._vj[i]._label;result+='</td></tr></table></div>';}else
{ result+='<div class="TPopUpItem'+this._vj[i]._parent._index+'">';result+='<table class="TPopUpItem'+this._vj[i]._parent._index+'" cellspacing="0" cellpadding="0"';result+=' onmouseover="onPopItemMOver(event,this,\'\','+level+','+this._vj[i]._parent._v9+',\''+this._vj[i]._status+'\')"';result+=' onmouseout="onPopItemMOut(event,this,\'\','+this._vj[i]._parent._v9+')"';result+=' onclick="hideAll('+this._vj[i]._parent._v9+');'+this._vj[i]._eClick+'"';result+='><tr>'+this._vj[i]._icon+this._vj[i]._label+'</td>';result+='</tr></table>';result+='</div>';}
}
}
else
{ if(_v1._v9=='IE')
result+='<div style="margin-right:-2px;padding:4px 0px 4px 0px;background-color:'+this._parent._pop._vl._vn+';" ';else
result+='<div style="margin-right:0px;padding:4px 0px 4px 0px;background-color:'+this._parent._pop._vl._vn+';" '; result+=' onmouseover="onStaticPopItemMOver(event,'+this._parent._v9+',\'\')"';result+=' onmouseout="onStaticPopItemMOut(event,'+this._parent._v9+',\'\')"'; result+=' ><div class="TSeparator'+this._parent._index+'" ';result+='></div></div>';}
}
result+='</div>';}
return result;}
function AddItem(popMenu)
{ this._itemIndex++;this._vj[this._itemIndex]=popMenu;}
function InitPopMenu(zIndex)
{ if(this._itemIndex >-1)
{ for(var i=0;i<=this._itemIndex;i++)
{ if(this._vj[i]._itemIndex >-1)
{ if(document.all)
{ var pr_el=document.all('pr_'+this._vj[i]._id);var el=document.all(this._vj[i]._id);}
else if(document.getElementById)
{ var pr_el=document.getElementById('pr_'+this._vj[i]._id);var el=document.getElementById(this._vj[i]._id);}
zIndex++;el.style.zIndex=zIndex+1;if(this._vj[i]._parent._pop._shadow._create)
{ if(document.all)
var sh_el=document.all('sh_'+this._vj[i]._id);else if(document.getElementById)
var sh_el=document.getElementById('sh_'+this._vj[i]._id);if(_v1._v9=='IE')
{ sh_el.style.width=el.offsetWidth+10+'px';sh_el.style.height=el.offsetHeight+10+'px';sh_el.childNodes[0].style.width=el.offsetWidth+'px';sh_el.childNodes[0].style.height=el.offsetHeight+'px';sh_el.childNodes[0].style.backgroundColor=this._vj[i]._parent._pop._shadow._vn;}
else
{ sh_el.style.width=el.offsetWidth ;sh_el.style.height=el.offsetHeight;sh_el.style.backgroundColor=this._vj[i]._parent._pop._shadow._vn;}
sh_el.style.zIndex=zIndex;}
this._vj[i].Init(zIndex+1);}
}
}
}
function BuildPopUpMenu(popMenu,level)
{ var result="";level++;for(var i=0;i<=popMenu._itemIndex;i++)
{ result+=popMenu._vj[i].Draw(level);result+=BuildPopUpMenu(popMenu._vj[i],level);}
return result;}
function BuildStyle()
{ var result='';var tyH;var tyW;result+='<style type="text/css">';result+='table.TMenu'+this._index+'{';result+='cursor:default';result+=';visibility:visible';result+=';position:'+this._vb;tyW=typeof(this._width);if(tyW=='string')
{ this._width=this._width.toLowerCase();if(this._width !='auto' || this._width !='')
result+=';width:'+this._width+'px';}
else
result+=';width:'+this._width+'px'; result+=';border-top:'+this._z2._top;result+=';border-right:'+this._z2._vv;result+=';border-bottom:'+this._z2._z1;result+=';border-left:'+this._z2._vw;result+=';background-color:'+this._vm._vn;result+=';background-image:'+this._vm._vz;result+=';background-position:'+this._vm._vb;result+=';background-repeat:'+this._vm._vy;result+=';}';result+='table.TMenuItemChild'+this._index+'{';result+='width:100%';result+=';font-family:'+this._vx._family;result+=';font-size:'+this._vx._vt;result+=';font-weight:'+this._vp._vs;result+=';text-align:'+this._vp._vr;result+=';color:'+this._vp._vn;result+=';text-decoration:'+this._vp._vu;result+=';white-space:'+this._vp._vq;result+=';}'
result+='td.TMenuItem'+this._index+'{';result+='padding: 0px 20px 0px 5px';tyH=typeof(this._itemHeight);tyW=typeof(this._vd);if(tyH=='string')
{ if(this._itemHeight.toLowerCase() !='auto' || this._itemHeight !='')
result+=';height:'+this._itemHeight+'px';}
else
result+=';height:'+this._itemHeight+'px';if(tyW=='string')
{ if(this._vd.toLowerCase() !='auto' || this._vd !='')
result+=';width:'+this._vd+'px';}
else
result+=';width:'+this._vd+'px'; result+=';border-top:'+this._vk._top;result+=';border-right:'+this._vk._vv;result+=';border-bottom:'+this._vk._z1;result+=';border-left:'+this._vk._vw;result+=';background-color:'+this._vl._vn;result+=';background-repeat:'+this._vl._vy;result+=';background-image:'+this._vl._vz;result+=';background-position:'+this._vl._vb;result+=';}';result+='td.TMMExpand'+this._index+'{';result+='width:20px';result+=';text-align:left';result+=';padding-right:2px';result+=';font-family:'+this._va._vx._family;result+=';font-size:'+this._va._vx._vt;result+=';font-weight:normal';result+=';text-decoration:none !important';result+=';white-space:nowrap !important';result+=';}';result+='td.TMMHeader'+this._index+'{';result+='height:1px';result+=';background-color:'+this._vo._vm._vn;result+=';background-image:'+this._vo._vm._vz;result+=';background-position:'+this._vo._vm._vb;result+=';background-repeat:'+this._vo._vm._vy;result+=';text-align:'+this._vo._vp._vr;result+=';text-decoration:'+this._vo._vp._vu;result+=';white-space:'+this._vo._vp._vq;result+=';font-weight:'+this._vo._vp._vs;result+=';font-family:'+this._vo._vx._family;result+=';font-size:'+this._vo._vx._vt;result+=';color:'+this._vo._vp._vn;result+=';}';result+='div.TPopUp'+this._index+'{';result+='position:absolute';result+=';padding:'+this._pop._padding;result+=';visibility:hidden';result+=';width:'+this._pop._vd+'px';result+=';border-top:'+this._pop._z2._top;result+=';border-right:'+this._pop._z2._vv;result+=';border-bottom:'+this._pop._z2._z1;result+=';border-left:'+this._pop._z2._vw;result+=';background-color:'+this._pop._vm._vn;result+=';background-image:'+this._pop._vm._vz;result+=';background-position:'+this._pop._vm._vb;result+=';background-repeat:'+this._pop._vm._vy;result+=';display:block';result+=';}';result+='table.TPopUpHeader'+this._index+'{';result+='width:100%';result+=';cursor:default';result+=';height:'+this._pop._itemHeight+'px';result+=';text-align:'+this._pop._vo._vp._vr;result+=';text-decoration:'+this._pop._vo._vp._vu;result+=';white-space:'+this._pop._vo._vp._vq;result+=';font-weight:'+this._pop._vo._vp._vs;result+=';font-family:'+this._pop._vo._vx._family;result+=';font-size:'+this._pop._vo._vx._vt;result+=';color:'+this._pop._vo._vp._vn;result+=';}';result+='div.TPopUpHeader'+this._index+'{';result+=';background-color:'+this._pop._vo._vm._vn;result+=';background-image:'+this._pop._vo._vm._vz;result+=';background-position:'+this._pop._vo._vm._vb;result+=';background-repeat:'+this._pop._vo._vm._vy;if(_v1._v9=='IE')
result+=';margin-right:-2px';result+=';}';result+='table.TPopUpItem'+this._index+'{';result+='width:100%';result+=';height:'+this._pop._itemHeight+'px';result+=';cursor:default';result+=';font-family:'+this._pop._vx._family;result+=';font-size:'+this._pop._vx._vt;result+=';color:'+this._pop._vp._vn;result+=';text-align:'+this._pop._vp._vr;result+=';text-decoration:'+this._pop._vp._vu;result+=';white-space:'+this._pop._vp._vq;result+=';font-weight:'+this._pop._vp._vs;result+=';}';result+='div.TPopUpItem'+this._index+'{';result+='cursor:default';result+=';background-color:'+this._pop._vl._vn;result+=';background-image:'+this._pop._vl._vz;result+=';background-position:'+this._pop._vl._vb;result+=';background-repeat:'+this._pop._vl._vy;result+=';border-top:'+this._pop._vk._top;result+=';border-right:'+this._pop._vk._vv;result+=';border-bottom:'+this._pop._vk._z1;result+=';border-left:'+this._pop._vk._vw;result+=';padding:'+this._pop._itemPadding;result+=';}';result+='div.TPopUpItem'+this._index+'_1{';result+='cursor:default';result+=';background-color :'+this._pop._vlHL._vn;result+=';background-image:'+this._pop._vlHL._vz;result+=';background-position:'+this._pop._vlHL._vb;result+=';background-repeat:'+this._pop._vlHL._vy;result+=';border-top:'+this._pop._ve._top;result+=';border-right:'+this._pop._ve._vv;result+=';border-bottom:'+this._pop._ve._z1;result+=';border-left:'+this._pop._ve._vw;result+=';padding:'+this._pop._itemPaddingHL;result+=';}';this._pop._separator._width=((this._pop._vd-this._pop._separator._width) < 0)?this._pop._vd:this._pop._separator._width;var _div=Math.floor((this._pop._vd-this._pop._separator._width)/2);switch(this._pop._separator._vr)
{ case 'left':
this._pop._separator._margin='0px '+(_div*2)+'px 0px 0px';break;case 'right':
this._pop._separator._margin='0px 0px 0px '+(_div*2)+'px';break;default:
this._pop._separator._margin='0px '+_div+'px 0px '+_div+'px';}
result+='div.TSeparator'+this._index+'{';result+='margin:'+this._pop._separator._margin;result+=';border-top:'+this._pop._separator._z2._top;result+=';border-bottom:'+this._pop._separator._z2._z1;result+=';}';result+='td.TExpand'+this._index+'{';result+='width:10px';result+=';text-align:right';result+=';padding-right:2px';result+=';font-family:'+this._pop._va._vx._family;result+=';font-size:'+this._pop._va._vx._vt;result+=';font-weight:normal';result+=';text-decoration:none !important';result+=';white-space:nowrap !important';result+=';}';result+='td.TIcon'+this._index+'{';result+='width:20px';result+=';text-align:left';result+=';text-decoration:normal';result+=';white-space:nowrap';result+=';font-weight:normal';result+=';}';result+='img.TIcon'+this._index+'{';result+='vertical-align:middle';result+=';}';result+='</style>';return result;}
function SetCorrection(dLeft,dTop)
{ dLeft=parseInt(dLeft);if(!dLeft)
this._correction._vw=0;else
this._correction._vw=dLeft;dTop=parseInt(dTop);if(!dTop)
this._correction._top=0;else
this._correction._top=dTop;}
function SetPosition(dPosition,dLeft,dTop)
{ switch(dPosition)
{ case 'absolute':
this._vb=dPosition;break;default:
this._vb='relative';}
dLeft=parseInt(dLeft);if(!dLeft)
this._vw=0;else
this._vw=dLeft;dTop=parseInt(dTop);if(!dTop)
this._top=0;else
this._top=dTop;}
function SetCellSpacing(dSpace)
{ dSpace=parseInt(dSpace);if(!dSpace)
this._vc=0;else
this._vc=dSpace;}
function SetWidth(dWidth)
{ dWidth=parseInt(dWidth);if(!dWidth)
this._width='auto';else
this._width=dWidth;}
function SetItemDimension(dWidth,dHeight)
{ dWidth=parseInt(dWidth);dHeight=parseInt(dHeight);if(!dWidth)
this._vd='auto';else
this._vd=dWidth;if(!dHeight)
this._itemHeight='auto';else
this._itemHeight=dHeight;}
function SetBackground(dColor,dImage,dRepeat,dPos)
{ (dColor=='')?this._vm._vn='transparent':this._vm._vn=dColor;(dImage=='')?this._vm._vz='none':this._vm._vz="url('"+dImage+"')";(dRepeat=='')?this._vm._vy='no-repeat':this._vm._vy=dRepeat;(dPos=='')?this._vm._vb='top left':this._vm._vb=dPos;}
function SetItemBackground(dColor,dImage,dRepeat,dPos)
{ (dColor=='')?this._vl._vn='transparent':this._vl._vn=dColor;(dImage=='')?this._vl._vz='none':this._vl._vz="url('"+dImage+"')";(dRepeat=='')?this._vl._vy='no-repeat':this._vl._vy=dRepeat;(dPos=='')?this._vl._vb='top left':this._vl._vb=dPos;}
function SetItemBackgroundHL(dColor,dImage,dRepeat,dPos)
{ (dColor=='')?this._vlHL._vn='transparent':this._vlHL._vn=dColor;(dImage=='')?this._vlHL._vz='none':this._vlHL._vz="url('"+dImage+"')";(dRepeat=='')?this._vlHL._vy='no-repeat':this._vlHL._vy=dRepeat;(dPos=='')?this._vlHL._vb='top left':this._vlHL._vb=dPos;}
function SetItemBackgroundClick(dColor,dImage,dRepeat,dPos)
{ (dColor=='')?this._vf._vn='transparent':this._vf._vn=dColor;(dImage=='')?this._vf._vz='none':this._vf._vz="url('"+dImage+"')";(dRepeat=='')?this._vf._vy='no-repeat':this._vf._vy=dRepeat;(dPos=='')?this._vf._vb='top left':this._vf._vb=dPos;}
function SetShadow(dCreate,dColor,dDistance)
{ if(dCreate)
{ this._shadow._create=dCreate;this._shadow._vn=dColor;this._shadow._distance=dDistance;}
}
function SetFont(dFamily,dSize)
{ this._vx._family=dFamily;this._vx._vt=dSize;}
function SetBorder(dSize,dColor,dType)
{ var dBorder=dSize+'px '+dColor+' '+dType;this._z2._top=dBorder;this._z2._vv=dBorder;this._z2._z1=dBorder;this._z2._vw=dBorder;}
function SetItemBorder(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vk._top=dBorder;this._vk._vv=dBorder;this._vk._z1=dBorder;this._vk._vw=dBorder;}
function SetItemBorderHL(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._ve._top=dBorder;this._ve._vv=dBorder;this._ve._z1=dBorder;this._ve._vw=dBorder;}
function SetItemBorderClick(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vg._top=dBorder;this._vg._vv=dBorder;this._vg._z1=dBorder;this._vg._vw=dBorder;}
function SetBorderTop(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._z2._top=dBorder;}
function SetItemBorderTop(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vk._top=dBorder;}
function SetItemBorderTopHL(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._ve._top=dBorder;}
function SetItemBorderTopClick(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vg._top=dBorder;}
function SetBorderRight(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._z2._vv=dBorder;}
function SetItemBorderRight(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vk._vv=dBorder;}
function SetItemBorderRightHL(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._ve._vv=dBorder;}
function SetItemBorderRightClick(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vg._vv=dBorder;}
function SetBorderBottom(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._z2._z1=dBorder;}
function SetItemBorderBottom(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vk._z1=dBorder;}
function SetItemBorderBottomHL(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._ve._z1=dBorder;}
function SetItemBorderBottomClick(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vg._z1=dBorder;}
function SetBorderLeft(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._z2._vw=dBorder;}
function SetItemBorderLeft(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vk._vw=dBorder;}
function SetItemBorderLeftHL(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._ve._vw=dBorder;}
function SetItemBorderLeftClick(dSize,dColor,dType)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dBorder=dSize+'px '+dColor+' '+dType;this._vg._vw=dBorder;}
function SetItemText(dColor,dAlign,dWeight,dDecoration,dWSpace)
{ this._vp._vn=dColor;(dAlign=='')?this._vp._vr='left':this._vp._vr=dAlign;(dWeight=='')?this._vp._vs='normal':this._vp._vs=dWeight;(dDecoration=='')?this._vp._vu='none':this._vp._vu=dDecoration;(dWSpace=='')?this._vp._vq='normal':this._vp._vq=dWSpace;}
function SetItemTextHL(dColor,dAlign,dWeight,dDecoration,dWSpace)
{ this._vpHL._vn=dColor;(dAlign=='')?this._vpHL._vr='left':this._vpHL._vr=dAlign;(dWeight=='')?this._vpHL._vs='normal':this._vpHL._vs=dWeight;(dDecoration=='')?this._vpHL._vu='none':this._vpHL._vu=dDecoration;(dWSpace=='')?this._vpHL._vq='normal':this._vpHL._vq=dWSpace;}
function SetItemTextClick(dColor,dAlign,dWeight,dDecoration,dWSpace)
{ this._vh._vn=dColor;(dAlign=='')?this._vh._vr='left':this._vh._vr=dAlign;(dWeight=='')?this._vh._vs='normal':this._vh._vs=dWeight;(dDecoration=='')?this._vh._vu='none':this._vh._vu=dDecoration;(dWSpace=='')?this._vh._vq='normal':this._vh._vq=dWSpace;}
function SetPaddings(dSize)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dPad=dSize+'px '+dSize+'px '+dSize+'px '+dSize+'px';this._padding=dPad;}
function SetItemPaddingsHL(dSize)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dPad=dSize+'px '+dSize+'px '+dSize+'px '+dSize+'px';this._itemPaddingHL=dPad;}
function SetItemPaddings(dSize)
{ dSize=parseInt(dSize);if(!dSize)
dSize=0;var dPad=dSize+'px '+dSize+'px '+dSize+'px '+dSize+'px';this._itemPadding=dPad;}
function SetPadding(dTop,dRight,dBottom,dLeft)
{ dTop=parseInt(dTop);dRight=parseInt(dRight);dBottom=parseInt(dBottom);dLeft=parseInt(dLeft);if(!dTop) dTop=0;if(!dRight) dRight=0;if(!dBottom) dBottom=0;if(!dLeft) dLeft=0;var dPad=dTop+'px '+dRight+'px '+dBottom+'px '+dLeft+'px';this._padding=dPad;}
function SetItemPaddingHL(dTop,dRight,dBottom,dLeft)
{ dTop=parseInt(dTop);dRight=parseInt(dRight);dBottom=parseInt(dBottom);dLeft=parseInt(dLeft);if(!dTop) dTop=0;if(!dRight) dRight=0;if(!dBottom) dBottom=0;if(!dLeft) dLeft=0;var dPad=dTop+'px '+dRight+'px '+dBottom+'px '+dLeft+'px';this._itemPaddingHL=dPad;}
function SetItemPadding(dTop,dRight,dBottom,dLeft)
{ dTop=parseInt(dTop);dRight=parseInt(dRight);dBottom=parseInt(dBottom);dLeft=parseInt(dLeft);if(!dTop) dTop=0;if(!dRight) dRight=0;if(!dBottom) dBottom=0;if(!dLeft) dLeft=0;var dPad=dTop+'px '+dRight+'px '+dBottom+'px '+dLeft+'px';this._itemPadding=dPad;}
function SetSeparator(dWidth,dAlign,dColor1,dColor2)
{ dWidth=parseInt(dWidth);if(!dWidth)
dWidth='auto';this._separator._width=dWidth;this._separator._vr=dAlign;this._separator._z2._top='1px '+dColor1+' solid';(dColor2=='')?this._separator._z2._z1='0px none solid':this._separator._z2._z1='1px '+dColor2+' solid';}
function SetExpandIcon(dCreate,dSymbol,dSize)
{ if(dCreate)
{ this._va._create=true;switch(dSymbol)
{ case '' :
break;default:
this._va._symbol=dSymbol;}
dSize=parseInt(dSize);if(!dSize)
dSize=6;this._va._vx._vt=dSize+'pt';}
else
this._va._create=false;}
function SetDelay(dTimeOut)
{ dTimeOut=parseInt(dTimeOut);if(!dTimeOut)
dTimeOut=0;this._timeOut=dTimeOut;}
function findPosX(obj)
{ if(_v1._v9=="Konqueror")
var curleft=0;else
var curleft=0;if(obj.offsetParent)
{ while (obj.offsetParent)
{ curleft+=obj.offsetLeft;obj=obj.offsetParent;}
}
else if(obj.x)
curleft+=obj.x;return curleft;}
function findPosY(obj)
{ if(_v1._v9=="Konqueror")
var curtop=0;else
var curtop=0;if(obj.offsetParent)
{ while (obj.offsetParent)
{ curtop+=obj.offsetTop;obj=obj.offsetParent;}
}
else if(obj.y)
curtop+=obj.y;return curtop;}
function findTriggerPopID(elmID,mmObj)
{ var result=-1;for(var i=0;i<=_v8[mmObj._index];i++)
{ if(_v7[mmObj._index][i]==elmID)
{ result=i;break;}
}
return result;}
function saveTriggerPopID(elmID,mmObj)
{ _v8[mmObj._index]++;var j=_v8[mmObj._index];_v7[mmObj._index][j]=elmID;if(document.all)
var el=document.all(elmID);else if(document.getElementById)
var el=document.getElementById(elmID);if(el.className.indexOf("TMenuItem") !=-1)
{ el.style.backgroundColor=mmObj._vf._vn;el.style.backgroundImage=mmObj._vf._vz;el.style.backgroundRepeat=mmObj._vf._vy;el.style.backgroundPosition=mmObj._vf._vb;el.childNodes[0].style.color=mmObj._vh._vn;el.childNodes[0].style.textAlign=mmObj._vh._vr;el.childNodes[0].style.textDecoration=mmObj._vh._vu;el.childNodes[0].style.whiteSpace=mmObj._vh._vq;el.childNodes[0].style.fontWeight=mmObj._vh._vs; el.style.borderTop=mmObj._vg._top;el.style.borderRight=mmObj._vg._vv;el.style.borderBottom=mmObj._vg._z1;el.style.borderLeft=mmObj._vg._vw;}
else
{ el.className="TPopUpItem"+mmObj._index+"_1";}
}
function removeTriggerPopID(elmID,mmObj)
{ var index=findTriggerPopID(elmID,mmObj)
if(index >-1)
{ for(var i=_v8[mmObj._index];i>=index;i--)
{ var ID=_v7[mmObj._index][i];if(document.all)
var el=document.all(ID);else if(document.getElementById)
var el=document.getElementById(ID);if(el.className.indexOf("TMenuItem") !=-1)
{ el.style.backgroundColor=mmObj._vl._vn;el.style.backgroundImage=mmObj._vl._vz;el.style.backgroundRepeat=mmObj._vl._vy;el.style.backgroundPosition=mmObj._vl._vb; el.childNodes[0].style.color=mmObj._vp._vn;el.childNodes[0].style.textAlign=mmObj._vp._vr;el.childNodes[0].style.textDecoration=mmObj._vp._vu;el.childNodes[0].style.whiteSpace=mmObj._vp._vq;el.childNodes[0].style.fontWeight=mmObj._vp._vs;el.style.borderTop=mmObj._vk._top;el.style.borderRight=mmObj._vk._vv;el.style.borderBottom=mmObj._vk._z1;el.style.borderLeft=mmObj._vk._vw;}
else
{ var IDLen=ID.length;var tableID='pr_'+ID.substr(3,IDLen);if(document.all)
var elTable=document.all(tableID);else if(document.getElementById)
var elTable=document.getElementById(tableID);el.className="TPopUpItem"+mmObj._index;elTable.style.color=mmObj._pop._vp._vn;elTable.style.textAlign=mmObj._pop._vp._vr;elTable.style.textDecoration=mmObj._pop._vp._vu;elTable.style.whiteSpace=mmObj._pop._vp._vq;elTable.style.fontWeight=mmObj._pop._vp._vs;}
_v7[mmObj._index][i]=null;}
_v8[mmObj._index]=index-1;}
}
function removeTriggerPopIDByIndex(index,mmObj)
{ if(_v8[mmObj._index] >-1 && index >-1)
{ for(var i=_v8[mmObj._index];i>=index;i--)
{ var ID=_v7[mmObj._index][i];if(document.all)
var el=document.all(ID);else if(document.getElementById)
var el=document.getElementById(ID);if(el.className.indexOf("TMenuItem") !=-1)
{ el.style.backgroundColor=mmObj._vl._vn;el.style.backgroundImage=mmObj._vl._vz;el.style.backgroundRepeat=mmObj._vl._vy;el.style.backgroundPosition=mmObj._vl._vb; el.childNodes[0].style.color=mmObj._vp._vn;el.childNodes[0].style.textAlign=mmObj._vp._vr;el.childNodes[0].style.textDecoration=mmObj._vp._vu;el.childNodes[0].style.whiteSpace=mmObj._vp._vq;el.childNodes[0].style.fontWeight=mmObj._vp._vs; el.style.borderTop=mmObj._vk._top;el.style.borderRight=mmObj._vk._vv;el.style.borderBottom=mmObj._vk._z1;el.style.borderLeft=mmObj._vk._vw;}
else
{ var IDLen=ID.length;var tableID='pr_'+ID.substr(3,IDLen);if(document.all)
var elTable=document.all(tableID);else if(document.getElementById)
var elTable=document.getElementById(tableID); el.className="TPopUpItem"+mmObj._index;elTable.style.color=mmObj._pop._vp._vn;elTable.style.textAlign=mmObj._pop._vp._vr;elTable.style.textDecoration=mmObj._pop._vp._vu;elTable.style.whiteSpace=mmObj._pop._vp._vq;elTable.style.fontWeight=mmObj._pop._vp._vs;}
_v7[mmObj._index][i]=null;}
_v8[mmObj._index]=index-1;}
}
function removeAllTriggerPopID(mmObj)
{ if(_v8[mmObj._index] >-1)
{ for(var i=_v8[mmObj._index];i>=0;i--)
{ var ID=_v7[mmObj._index][i];if(document.all)
var el=document.getElementById(ID);else if(document.getElementById)
var el=document.getElementById(ID); if(el.className.indexOf("TMenuItem") !=-1)
{ if(_arMMClick[mmObj._index])
{ el.style.backgroundColor=mmObj._vl._vn;el.style.backgroundImage=mmObj._vl._vz;el.style.backgroundRepeat=mmObj._vl._vy;el.style.backgroundPosition=mmObj._vl._vb; el.childNodes[0].style.color=mmObj._vp._vn;el.childNodes[0].style.textAlign=mmObj._vp._vr;el.childNodes[0].style.textDecoration=mmObj._vp._vu;el.childNodes[0].style.whiteSpace=mmObj._vp._vq;el.childNodes[0].style.fontWeight=mmObj._vp._vs; el.style.borderTop=mmObj._vk._top;el.style.borderRight=mmObj._vk._vv;el.style.borderBottom=mmObj._vk._z1;el.style.borderLeft=mmObj._vk._vw;}
}
else
{ var IDLen=ID.length;var tableID='pr_'+ID.substr(3,IDLen);if(document.all)
var elTable=document.all(tableID);else if(document.getElementById)
var elTable=document.getElementById(tableID);el.className="TPopUpItem"+mmObj._index;elTable.style.color=mmObj._pop._vp._vn;elTable.style.textAlign=mmObj._pop._vp._vr;elTable.style.textDecoration=mmObj._pop._vp._vu;elTable.style.whiteSpace=mmObj._pop._vp._vq;elTable.style.fontWeight=mmObj._pop._vp._vs;}
_v7[mmObj._index][i]=null;}
_v8[mmObj._index]=-1;}
}
function findRegisteredPopUpMenuID(elmID,mmObj)
{ var result=-1;for(var i=0;i<=_v6[mmObj._index];i++)
{ if(_v5[mmObj._index][i]==elmID)
{ result=i;break;}
}
return result;}
function showPopUpMenu(parentElmID,elmID,mmObj,menuType)
{ _v6[mmObj._index]++;var j=_v6[mmObj._index];_v5[mmObj._index][j]=elmID;var leftPos=0;var parentLeftPos=0;var topPos=0;var parentTopPos=0;if(document.all)
{ var parentElm=document.all(parentElmID);var elm=document.all(elmID);}
else if(document.getElementById)
{ var parentElm=document.getElementById(parentElmID);var elm=document.getElementById(elmID);}
parentLeftPos=findPosX(parentElm);parentTopPos=findPosY(parentElm);var screenPosY=0;var screenPosX=0;if(window.innerHeight)
{ screenPosY=window.pageYOffset
screenPosX=window.pageXOffset
}
else if(document.documentElement && document.documentElement.scrollTop)
{ screenPosY=document.documentElement.scrollTop
screenPosX=document.documentElement.scrollLeft
}
else if(document.body)
{ screenPosY=document.body.scrollTop
screenPosX=document.body.scrollLeft
}
if(menuType=='mm')
{ if(mmObj._direction=='horizontal')
{ if((parentLeftPos-elm.offsetWidth-mmObj._correction._vw) < 0)
{ if(parentLeftPos < screenPosX)
{ leftPos=parentLeftPos+parentElm.offsetWidth+mmObj._correction._vw-1;}
else
leftPos=parentLeftPos+mmObj._correction._vw-1;}
else
{ if(parentLeftPos-screenPosX+elm.offsetWidth+mmObj._correction._vw > document.body.clientWidth)
{ if(parentLeftPos+parentElm.offsetWidth-screenPosX > document.body.clientWidth)
leftPos=parentLeftPos-elm.offsetWidth-mmObj._correction._vw;else
leftPos=parentLeftPos+parentElm.offsetWidth-elm.offsetWidth-mmObj._correction._vw-1;}
else
{ if(parentLeftPos < screenPosX)
{ leftPos=parentLeftPos+parentElm.offsetWidth+mmObj._correction._vw-1;}
else
leftPos=parentLeftPos+mmObj._correction._vw-1;}
}
if((parentTopPos-screenPosY-elm.offsetHeight-mmObj._correction._top) <0)
topPos=parentTopPos+parentElm.offsetHeight+1+mmObj._correction._top;else
{ if(parentTopPos+parentElm.offsetHeight+elm.offsetHeight-screenPosY+mmObj._correction._top < document.body.clientHeight)
topPos=parentTopPos+parentElm.offsetHeight+1+mmObj._correction._top;else
topPos=parentTopPos-elm.offsetHeight-mmObj._correction._top;}
}
else
{ if(parentLeftPos-screenPosX-elm.offsetWidth-mmObj._correction._vw<0)
leftPos=parentLeftPos+parentElm.offsetWidth+mmObj._correction._vw+1;else
{ if((parentLeftPos-screenPosX+parentElm.offsetWidth+elm.offsetWidth+mmObj._correction._vw) < document.body.clientWidth)
leftPos=parentLeftPos+parentElm.offsetWidth+mmObj._correction._vw+1;else
leftPos=parentLeftPos-elm.offsetWidth-mmObj._correction._vw-1;}
if(parentTopPos-screenPosY-elm.offsetHeight-mmObj._correction._top < 0)
{ if(parentTopPos < screenPosY)
topPos=parentTopPos+parentElm.offsetHeight+mmObj._correction._top-1;else
topPos=parentTopPos+mmObj._correction._top-1;}
else
{ if(parentTopPos-screenPosY+elm.offsetHeight+mmObj._correction._top < document.body.clientHeight)
{ topPos=parentTopPos+mmObj._correction._top-1;}
else
{ if(parentTopPos-screenPosY+parentElm.offsetHeight < document.body.clientHeight)
topPos=parentTopPos+parentElm.offsetHeight-elm.offsetHeight-mmObj._correction._top+1;else
topPos=parentTopPos-elm.offsetHeight-mmObj._correction._top+1;}
}
}
elm.style.left=leftPos+'px';elm.style.top=topPos+'px';if(mmObj._pop._shadow._create)
{ if(document.all)
var shadowElm=document.all('sh_'+elmID);else if(document.getElementById)
var shadowElm=document.getElementById('sh_'+elmID);if(_v1._v9=='IE')
{ shadowElm.style.left=leftPos+'px';shadowElm.style.top=topPos+'px';}
else
{ shadowElm.style.left=leftPos+mmObj._pop._shadow._distance+'px';shadowElm.style.top=topPos+mmObj._pop._shadow._distance+'px';}
shadowElm.style.visibility='visible';}
}
else
{ topPos=parentTopPos;leftPos=parentLeftPos+parentElm.offsetWidth;if(topPos-elm.offsetHeight < 0)
topPos=topPos+mmObj._pop._correction._top;else
{ if(topPos-screenPosY+elm.offsetHeight < document.body.clientHeight)
topPos=topPos+mmObj._pop._correction._top-2;else
topPos=topPos-elm.offsetHeight+parentElm.offsetHeight+mmObj._pop._correction._top+2;}
if((leftPos-((elm.offsetWidth+mmObj._pop._correction._vw+1) * 2)) < 0)
leftPos=leftPos+mmObj._pop._correction._vw-3;else
{ if((leftPos-screenPosX+elm.offsetWidth+mmObj._pop._correction._vw) > document.body.clientWidth)
leftPos=leftPos-parentElm.offsetWidth-elm.offsetWidth-mmObj._pop._correction._vw+5;else
leftPos=leftPos+mmObj._pop._correction._vw-3;}
elm.style.top=topPos+'px';elm.style.left=leftPos+'px';if(mmObj._pop._shadow._create)
{ if(document.all)
var shadowElm=document.all('sh_'+elmID);else if(document.getElementById)
var shadowElm=document.getElementById('sh_'+elmID);if(_v1._v9=='IE')
{ shadowElm.style.left=leftPos+'px';shadowElm.style.top=topPos+'px';}
else
{ shadowElm.style.left=leftPos+mmObj._pop._shadow._distance+'px';shadowElm.style.top=topPos+mmObj._pop._shadow._distance+'px';}
shadowElm.style.visibility='visible';}
}
elm.style.visibility="visible";}
function hidePopUpMenu(elmID,mmObj)
{ var index=findRegisteredPopUpMenuID(elmID,mmObj);if(index >-1)
{ for(var i=_v6[mmObj._index];i>=index;i--)
{ var ID=_v5[mmObj._index][i];if(document.all)
document.all(ID).style.visibility="hidden";else if(document.getElementById)
document.getElementById(ID).style.visibility="hidden";if(mmObj._pop._shadow._create)
{ if(document.all)
document.all('sh_'+ID).style.visibility="hidden";else if(document.getElementById)
document.getElementById('sh_'+ID).style.visibility="hidden";}
}
_v6[mmObj._index]=index-1
}
}
function hidePopUpMenuByIndex(index,mmObj)
{ if(_v6[mmObj._index] >=index)
{ for(var i=_v6[mmObj._index];i>=index;i--)
{ var ID=_v5[mmObj._index][i];if(document.all)
document.all(ID).style.visibility="hidden";else if(document.getElementById)
document.getElementById(ID).style.visibility="hidden";if(mmObj._pop._shadow._create)
{ if(document.all)
document.all('sh_'+ID).style.visibility="hidden";else if(document.getElementById)
document.getElementById('sh_'+ID).style.visibility="hidden";}
}
_v6[mmObj._index]=index-1;}
}
function hideAllPopUpMenu(mmObj)
{ var index=_v6[mmObj._index];if(index >-1)
{ for(i=index;i>=0;i--)
{ var ID=_v5[mmObj._index][i];if(document.all)
document.all(ID).style.visibility="hidden";else if(document.getElementById)
document.getElementById(ID).style.visibility="hidden";if(mmObj._pop._shadow._create)
document.getElementById('sh_'+ID).style.visibility="hidden";}
}
_v6[mmObj._index]=-1;}
function triggerHideAll(mmObj)
{ _v4[mmObj._index]=window.setTimeout('hideAll('+mmObj._v9+')',mmObj._pop._timeOut);}
function clearTriggerHideAll(mmObj)
{ window.clearTimeout(_v4[mmObj._index]);}
function hideAll(mmObj)
{ hideAllPopUpMenu(mmObj);removeAllTriggerPopID(mmObj);if(mmObj._popOnClick)
_arMMClick[mmObj._index]=false;else
_arMMClick[mmObj._index]=true;window.status='';mmObj._hideObject.Show();}
function onMainClick(event,elm,popID,mmObj)
{ if(!_arMMClick[mmObj._index])
{ _arMMClick[mmObj._index]=true;if(popID !='')
{ showPopUpMenu(elm.id,popID,mmObj,'mm');saveTriggerPopID(elm.id,mmObj);}
}
else
{ _arMMClick[mmObj._index]=false;hideAllPopUpMenu(mmObj);removeAllTriggerPopID(mmObj);elm.style.backgroundColor=mmObj._vlHL._vn;elm.style.backgroundImage=mmObj._vlHL._vz;elm.style.backgroundRepeat=mmObj._vlHL._vy;elm.style.backgroundPosition=mmObj._vlHL._vb; elm.childNodes[0].style.color=mmObj._vpHL._vn;elm.childNodes[0].style.textAlign=mmObj._vpHL._vr;elm.childNodes[0].style.textDecoration=mmObj._vpHL._vu;elm.childNodes[0].style.whiteSpace=mmObj._vpHL._vq;elm.childNodes[0].style.fontWeight=mmObj._vpHL._vs; elm.style.borderTop=mmObj._ve._top;elm.style.borderRight=mmObj._ve._vv;elm.style.borderBottom=mmObj._ve._z1;elm.style.borderLeft=mmObj._ve._vw;}
mmObj._hideObject.Hide();onBubble(event);}
function onMainMOver(event,elm,popID,level,mmObj,status)
{var clickScript=elm.onclick.toString(); if (clickScript!=null && clickScript.indexOf("_emptyURL")==-1)
elm.style.cursor="hand"; else
elm.style.cursor="text"; window.status=unescape(status);clearTriggerHideAll(mmObj);if(_v7[mmObj._index][0] !=elm.id)
{ if(_v7[mmObj._index][0] !=null)
{ removeAllTriggerPopID(mmObj);}
if(_arMMClick[mmObj._index])
{ hideAllPopUpMenu(mmObj);removeAllTriggerPopID(mmObj);if(popID !='')
{ showPopUpMenu(elm.id,popID,mmObj,'mm');saveTriggerPopID(elm.id,mmObj);}
if(mmObj._popOnClick)
{ elm.style.backgroundColor=mmObj._vf._vn;elm.style.backgroundImage=mmObj._vf._vz;elm.style.backgroundRepeat=mmObj._vf._vy;elm.style.backgroundPosition=mmObj._vf._vb; elm.childNodes[0].style.color=mmObj._vh._vn;elm.childNodes[0].style.textAlign=mmObj._vh._vr;elm.childNodes[0].style.textDecoration=mmObj._vh._vu;elm.childNodes[0].style.whiteSpace=mmObj._vh._vq;elm.childNodes[0].style.fontWeight=mmObj._vh._vs; elm.style.borderTop=mmObj._vg._top;elm.style.borderRight=mmObj._vg._vv;elm.style.borderBottom=mmObj._vg._z1;elm.style.borderLeft=mmObj._vg._vw;}else
{ elm.style.backgroundColor=mmObj._vlHL._vn;elm.style.backgroundImage=mmObj._vlHL._vz;elm.style.backgroundRepeat=mmObj._vlHL._vy;elm.style.backgroundPosition=mmObj._vlHL._vb; elm.childNodes[0].style.color=mmObj._vpHL._vn;elm.childNodes[0].style.textAlign=mmObj._vpHL._vr;elm.childNodes[0].style.textDecoration=mmObj._vpHL._vu;elm.childNodes[0].style.whiteSpace=mmObj._vpHL._vq;elm.childNodes[0].style.fontWeight=mmObj._vpHL._vs; elm.style.borderTop=mmObj._ve._top;elm.style.borderRight=mmObj._ve._vv;elm.style.borderBottom=mmObj._ve._z1;elm.style.borderLeft=mmObj._ve._vw; mmObj._hideObject.Hide();}
}
else
{ elm.style.backgroundColor=mmObj._vlHL._vn;elm.style.backgroundImage=mmObj._vlHL._vz;elm.style.backgroundRepeat=mmObj._vlHL._vy;elm.style.backgroundPosition=mmObj._vlHL._vb; elm.childNodes[0].style.color=mmObj._vpHL._vn;elm.childNodes[0].style.textAlign=mmObj._vpHL._vr;elm.childNodes[0].style.textDecoration=mmObj._vpHL._vu;elm.childNodes[0].style.whiteSpace=mmObj._vpHL._vq;elm.childNodes[0].style.fontWeight=mmObj._vpHL._vs;elm.style.borderTop=mmObj._ve._top;elm.style.borderRight=mmObj._ve._vv;elm.style.borderBottom=mmObj._ve._z1;elm.style.borderLeft=mmObj._ve._vw;}
}
onBubble(event);}
function onBubble(event)
{ if(!event)
var event=window.event;event.cancelBubble=true;if(event.stopPropagation)
event.stopPropagation();}
function onMainMOut(event,elm,popID,mmObj)
{ if(!_arMMClick[mmObj._index] || popID=='')
{ elm.style.backgroundColor=mmObj._vl._vn;elm.style.backgroundImage=mmObj._vl._vz;elm.style.backgroundRepeat=mmObj._vl._vy;elm.style.backgroundPosition=mmObj._vl._vb; elm.childNodes[0].style.color=mmObj._vp._vn;elm.childNodes[0].style.textAlign=mmObj._vp._vr;elm.childNodes[0].style.textDecoration=mmObj._vp._vu;elm.childNodes[0].style.whiteSpace=mmObj._vp._vq;elm.childNodes[0].style.fontWeight=mmObj._vp._vs;elm.style.borderTop=mmObj._vk._top;elm.style.borderRight=mmObj._vk._vv;elm.style.borderBottom=mmObj._vk._z1;elm.style.borderLeft=mmObj._vk._vw;}
triggerHideAll(mmObj)
onBubble(event);}
function onStaticPopItemMOver(event,mmObj,status)
{ window.status=status;clearTriggerHideAll(mmObj);onBubble(event);}
function onStaticPopItemMOut(event,mmObj)
{ triggerHideAll(mmObj);onBubble(event);}
function onPopItemMOver(event,elm,popID,level,mmObj,status)
{var clickScript=elm.onclick.toString(); if (clickScript!=null && clickScript.indexOf("_emptyURL")==-1)
elm.style.cursor="hand"; else
elm.style.cursor="text"; var index=-1;window.status=status;clearTriggerHideAll(mmObj);elm.parentNode.className='TPopUpItem'+mmObj._index+'_1';elm.style.color=mmObj._pop._vpHL._vn;elm.style.textAlign=mmObj._pop._vpHL._vr;elm.style.textDecoration=mmObj._pop._vpHL._vu;elm.style.whiteSpace=mmObj._pop._vpHL._vq;elm.style.fontWeight=mmObj._pop._vpHL._vs; if(popID !='')
{ index=findRegisteredPopUpMenuID(popID,mmObj);if(index==-1)
{ hidePopUpMenuByIndex(level,mmObj);removeTriggerPopIDByIndex(level,mmObj); showPopUpMenu(elm.id,popID,mmObj,'pm');saveTriggerPopID('di_'+popID,mmObj);}
}
else
{ hidePopUpMenuByIndex(level,mmObj);removeTriggerPopIDByIndex(level,mmObj);}
onBubble(event);}
function onPopItemMOut(event,elm,popID,mmObj)
{ if(popID=='')
{ elm.parentNode.className='TPopUpItem'+mmObj._index;elm.style.color=mmObj._pop._vp._vn;elm.style.textAlign=mmObj._pop._vp._vr;elm.style.textDecoration=mmObj._pop._vp._vu;elm.style.whiteSpace=mmObj._pop._vp._vq;elm.style.fontWeight=mmObj._pop._vp._vs;}
triggerHideAll(mmObj);onBubble(event);}
window.onload=Initialize;window.onresize=InitResize;if(_v1._v9=='Netscape' && _v1._version==4)
window.captureEvents(event.RESIZE); var _mmHeaderMoveObj;var _mmHeaderMoveObjCorrectionX=0;var _mmHeaderMoveObjCorrectionY=0;function onMMHeaderMove(event)
{ if(!event)
event=window.event;var xPos=(event.clientX) ? event.clientX : event.pageX
var yPos=(event.clientY) ? event.clientY : event.pageY
xPos=parseInt(xPos);if(!xPos) xPos=0;yPos=parseInt(yPos);if(!yPos) yPos=0;if(document.all)
var frElm=document.all('fr_'+_mmHeaderMoveObj._id);else if(document.getElementById)
var frElm=document.getElementById('fr_'+_mmHeaderMoveObj._id);xPos=xPos-_mmHeaderMoveObjCorrectionX;yPos=yPos-_mmHeaderMoveObjCorrectionY;if(_mmHeaderMoveObj._shadow._create)
{ if(document.all)
var shElm=document.all('sh_'+_mmHeaderMoveObj._id);else if(document.getElementById)
var shElm=document.getElementById('sh_'+_mmHeaderMoveObj._id);if(_v1._v9=='IE')
{ shElm.style.left=xPos;shElm.style.top=yPos;}
else
{ shElm.style.left=xPos+_mmHeaderMoveObj._shadow._distance;shElm.style.top=yPos+_mmHeaderMoveObj._shadow._distance;}
}
frElm.style.left=xPos;frElm.style.top=yPos;}
function onMMDocumentClick(event)
{ onMMHeaderClick(event,_mmHeaderMoveObj);}
function onMMHeaderClick(event,mmObj)
{ if(!event)
event=window.event;if((_v1._v9=='IE') || (_v1._v9=='Konqueror'))
{ var xPos=event.clientX;var yPos=event.clientY;}
else
{ var xPos=event.pageX;var yPos=event.pageY;}
if(document.all)
{ var elm=document.all(mmObj._id);var frElm=document.all('fr_'+mmObj._id);}
else(document.getElementById)
{ var elm=document.getElementById(mmObj._id);var frElm=document.getElementById('fr_'+mmObj._id);}
if(mmObj._voClickState)
{ mmObj._voClickState=false;document.onmousemove=null;_mmHeaderMoveObj=null;if(_v1._v9=='Netscape' && _v1._version==4)
window.releaseEvents(event.MOUSEMOVE);elm.style.top=frElm.style.top;elm.style.left=frElm.style.left;mmObj._vw=xPos-_mmHeaderMoveObjCorrectionX;mmObj._top=yPos-_mmHeaderMoveObjCorrectionY;frElm.style.visibility='hidden';elm.style.visibility='visible';}
else
{ _mmHeaderMoveObjCorrectionX=xPos-mmObj._vw;_mmHeaderMoveObjCorrectionY=yPos-mmObj._top;elm.style.visibility='hidden';frElm.style.visibility='visible';mmObj._voClickState=true;_mmHeaderMoveObj=mmObj;document.onmousemove=onMMHeaderMove;if(_v1._v9=='Netscape' && _v1._version==4)
window.captureEvents(event.MOUSEMOVE); clearTriggerHideAll(mmObj)
hideAll(mmObj);}
onBubble(event);}
function _floatingMMEffect(mmObj)
{ var posX=0;var posY=0;if(window.innerHeight)
{ posY=window.pageYOffset
posX=window.pageXOffset
}
else if(document.documentElement && document.documentElement.scrollTop)
{ posX=document.documentElement.scrollLeft
posY=document.documentElement.scrollTop
}
else if(document.body)
{ posX=document.body.scrollLeft
posY=document.body.scrollTop
}
if(document.all)
{ var elm=document.all(mmObj._id);var shadowElm=document.all('sh_'+mmObj._id);}
else if(document.getElementById)
{ var elm=document.getElementById(mmObj._id);var shadowElm=document.getElementById('sh_'+mmObj._id);}
if(posY < mmObj._initialTop)
posY=mmObj._initialTop;else posY+=mmObj._initialTop;if(posY==mmObj._top)
{ elm.style.top=posY;if(mmObj._shadow._create)
{ if(_v1._v9=='IE')
shadowElm.style.top=posY;else
shadowElm.style.top=posY+mmObj._shadow._distance;}
}
mmObj._top=posY;if(posX < mmObj._vi)
posX=mmObj._vi;else posX+=mmObj._vi;if(posX==mmObj._vw)
{ elm.style.left=posX;if(mmObj._shadow._create)
{ if(_v1._v9=='IE')
shadowElm.style.left=posX;else
shadowElm.style.left=posX+mmObj._shadow._distance;}
}
mmObj._vw=posX;temp=setTimeout('_floatingMMEffect('+mmObj._v9+')',500);}
function _openURL(address)
{ self.location=address;}
function OutputAllMenuPosition(mmObj)
{ var result='';var dTop=0;var dLeft=0;for(var i=0;i<=mmObj._itemIndex;i++)
{ if(document.all)
{ var elm=document.all('pr_'+mmObj._vj[i]._id);}else if(document.getElementById)
{ var elm=document.getElementById('pr_'+mmObj._vj[i]._id);}
dTop=findPosY(elm);dLeft=findPosX(elm);result+='pr_'+mmObj._vj[i]._id+' : top='+dTop+',left='+dLeft+'<br>';result+=OutputAllPopMenuPosition('--',mmObj._vj[i])
}
return result;}
function OutputAllPopMenuPosition(prefix,pmObj)
{ var result='';var dTop=0;var dLeft=0;prefix=prefix+'--';for(var i=0;i<=pmObj._itemIndex;i++)
{ if((pmObj._vj[i]._label=='-') || (pmObj._vj[i]._type=='h') || (pmObj._vj[i]._itemIndex==-1))
{ dTop=0;dLeft=0;}
else
{ dTop=0;dLeft=0;if(document.all)
{ var elm=document.all('di_'+pmObj._vj[i]._id);}else if(document.getElementById)
{ var elm=document.getElementById('di_'+pmObj._vj[i]._id);}
dTop=findPosY(elm);dLeft=findPosX(elm);}
result+=prefix+' label : '+pmObj._vj[i]._label+' : top='+dTop+',left='+dLeft+'<br>';result+=OutputAllPopMenuPosition(prefix,pmObj._vj[i]);}
return result;}

