function m_HideGroup(el)
{
if(typeof(fade)=="function")
	{fade(el,false);}
else
	{el.style.visibility="hidden";}
}
function m_ShowGroup(el)
{
	if(typeof(fade)=="function")
		{fade(el,true);}
	else 
		if(typeof(swipe)=="function")
			{swipe(el,2);}
		else
			{el.style.visibility="visible";}
}
function m_itemMsOver(item,m_m,expandDirection,horAdj,verAdj,expandDelay,m_k)
{
	var m_e=document.all[item];
	if(m_e.contains(event.fromElement))
		{return;}
	var m_a=0;
	var m_d=0;
	var m_i=document.all[m_m];
	if(m_highlightExpanded)
		{m_e['m_subgroup']=m_i;m_i['m_parentitem']=m_e;}
	if(m_curItem!=item)
	{
		m_curItem=item;
		if(m_mac&&m_e.tagName=="TABLE")
			{m_e=m_e.parentElement;}
		switch(expandDirection)
		{
			case'belowleft':m_a=m_g(m_e);
			if(m_a+m_i.offsetWidth>window.document.body.clientWidth)
				{m_a=m_g(m_e)+m_e.offsetWidth-m_i.offsetWidth;};m_d=m_h(m_e)+m_e.offsetHeight;break;case'belowright':m_a=m_g(m_e)+m_e.offsetWidth-m_i.offsetWidth;m_d=m_h(m_e)+m_e.offsetHeight;break;case'aboveleft':m_a=m_g(m_e);m_d=m_h(m_e)-m_i.offsetHeight;break;case'aboveright':m_a=m_g(m_e)+m_e.offsetWidth-m_i.offsetWidth;m_d=m_h(m_e)-m_i.offsetHeight;break;case'rightdown':m_a=m_g(m_e)+m_e.offsetWidth;if(m_a+m_i.offsetWidth>window.document.body.clientWidth){m_a=m_g(m_e)-m_i.offsetWidth;};m_d=m_h(m_e);if(m_d+m_i.offsetHeight>window.document.body.clientHeight){m_d=m_h(m_e)-m_i.offsetHeight+m_e.offsetHeight;};break;case'rightup':m_a=m_g(m_e)+m_e.offsetWidth;m_d=m_h(m_e)-m_i.offsetHeight+m_e.offsetHeight;break;case'leftdown':m_a=m_g(m_e)-m_i.offsetWidth;m_d=m_h(m_e);break;case'leftup':m_a=m_g(m_e)-m_i.offsetWidth;m_d=m_h(m_e)-m_i.offsetHeight+m_e.offsetHeight;break;default:m_a=m_g(m_e)+m_e.offsetWidth;m_d=m_h(m_e);break;};m_a+=horAdj;m_d+=verAdj;if(m_d<0){m_d=0;};if(m_a<0){m_a=0;};m_i.style.left=m_a+'px';m_i.style.top=m_d+'px';m_cw(m_m,expandDelay,m_k);};};function m_itemMsOut(item,group,m_m,expandDelay,m_k){if(!event){return;};if(!m_m||!item){return;};if(document.all[item].contains(event.toElement)){return;};if(document.all[m_m].contains(event.toElement)){return;};m_curItem='';m_bi(m_m,expandDelay,m_k);};function m_groupMsOver(group){if(m_collapsingAll){m_restoredGroup=group;};if(m_collapsingGroup==group){m_bk();m_bb();};};function m_groupMsOut(group,parentItem,parentGroup,expandDelay,m_k){if(document.all[group].contains(event.toElement)){return;};m_curItem='';var m_m=m_expandedObjects[m_expandCount];if(m_m==group){m_m=null;};if(parentItem==null&&parentGroup==null){m_bl(expandDelay,m_k);}else if(document.all[m_m]&&document.all[m_m].contains(event.toElement)||document.all[parentItem]&&document.all[parentItem].contains(event.toElement)){;}else if(document.all[parentGroup].contains(event.toElement)){m_bi(group,expandDelay,m_k);m_bi(m_m,expandDelay,m_k);}else{m_bl(expandDelay,m_k);};};function m_cw(group,interval,m_k){if(group==m_collapsingGroup){m_bk();};if(group!=m_expandingGroup){m_bb();};m_restoredGroup=group;m_expandingGroup=group;if(group){group+='.id';};if(m_k){m_k="'"+m_k+"'";};m_expandTimerID=setTimeout('m_expand('+group+', '+m_k+')',interval);};function m_bi(group,interval,m_k){if(group==m_expandingGroup){m_bb();};if(group){if(document.all[group].style.visibility=='visible'){m_collapsingGroup=group;group+='.id';if(m_k){m_k="'"+m_k+"'";};m_collapseTimerID=setTimeout('m_collapse('+group+', '+m_k+')',interval);};};};function m_bl(interval,m_k){m_bk();m_bb();m_ce();m_collapsingAll=true;if(m_k){m_k="'"+m_k+"'";m_collapseAllTimerID=setTimeout('m_collapseAll('+m_k+')',interval);}else{m_collapseAllTimerID=setTimeout('m_collapseAll(null)',interval);};};function m_bb(){clearTimeout(m_expandTimerID);m_expandingGroup='';};function m_bk(){clearTimeout(m_collapseTimerID);m_collapsingGroup='';};function m_ce(){clearTimeout(m_collapseAllTimerID);m_restoredGroup='';};function m_expand(group,m_k){if(document.all[group].style.visibility!='visible'){m_zx(group);m_cv(document.all[group]);if(m_k){document.all[group].style.filter=m_k;document.all[group].filters[0].Apply();};document.all[group].style.visibility='visible';m_cj(group);if(m_k){document.all[group].filters[0].Play();};m_expandCount++;m_expandedObjects[m_expandCount]=group;if(m_highlightExpanded){document.all[group]['m_expanded']=true;};};};function m_collapse(group,m_k){if(group){if(document.all[group].style.visibility!='hidden'){if(m_k){document.all[group].style.filter=m_k;document.all[group].filters[0].Apply();};document.all[group].style.visibility='hidden';if(m_k){document.all[group].filters[0].Play();};if(m_expandedObjects[m_expandCount]!=group){for(var m_bf=0;m_bf<m_expandCount;m_bf++){if(m_expandedObjects[m_bf]==group){m_expandedObjects[m_bf]=m_expandedObjects[m_expandCount];};};};m_expandCount--;m_bu(document.all[group]);m_bm(group);if(m_highlightExpanded){document.all[group]['m_expanded']=false;document.all[group]['m_parentitem'].onmouseout();};};};if(!(m_contextUp)&&m_expandCount==0){m_l();};};function m_collapseAll(m_k){for(var m_bf=m_expandCount;m_bf>=1;m_bf--){if(m_expandedObjects[m_bf]==m_restoredGroup){break;};if(m_k){document.all[m_expandedObjects[m_bf]].style.filter=m_k;document.all[m_expandedObjects[m_bf]].filters[0].Apply();};document.all[m_expandedObjects[m_bf]].style.visibility='hidden';m_bu(document.all[m_expandedObjects[m_bf]]);m_bm(m_expandedObjects[m_bf]);if(m_k){document.all[m_expandedObjects[m_bf]].filters[0].Play();};if(m_highlightExpanded){document.all[m_expandedObjects[m_bf]]['m_expanded']=false;document.all[m_expandedObjects[m_bf]]['m_parentitem'].onmouseout();};};m_collapsingAll=false;m_expandCount=m_bf;m_restoredGroup='';if(!(m_contextUp)&&m_expandCount==0){m_l();};};function m_hideAllGroups(){m_curItem='';m_restoredGroup='';m_collapseAll(null);};function m_updateCell(direction,item,cssClass,leftIconId,leftIconSrc,rightIconId,rightIconSrc,imageId,imageSrc,cssClassExp,leftIconSrcExp,rightIconSrcExp,imageSrcExp){if(item==null){return;};var m_cm=document.all[item];if(direction=='out'&&event&&m_cm.contains(event.toElement)){return;};if(direction=='over'&&event&&m_cm.contains(event.fromElement)){return;};if(m_highlightExpanded&&m_cm['m_subgroup']&&m_cm['m_subgroup']['m_expanded']){if(cssClassExp!=null&&cssClassExp!=''){m_cm.className=cssClassExp;}else if(cssClass!=null&&cssClass!=''){m_cm.className=cssClass;};if(leftIconId!=null){if(leftIconSrcExp!=null&&leftIconSrcExp!=''){document.images[leftIconId].src=leftIconSrcExp;}else if(leftIconSrc!=null&&leftIconSrc!=''){document.images[leftIconId].src=leftIconSrc;};};if(rightIconId!=null){if(rightIconSrcExp!=null&&rightIconSrcExp!=''){document.images[rightIconId].src=rightIconSrcExp;}else if(rightIconSrc!=null&&rightIconSrc!=''){document.images[rightIconId].src=rightIconSrc;};};if(imageId!=null){if(imageSrcExp!=null&&imageSrcExp!=''){document.images[imageId].src=imageSrcExp;}else if(imageSrc!=null&&imageSrc!=''){document.images[imageId].src=imageSrc;};};}else{if(cssClass!=null&&cssClass!=''){m_cm.className=cssClass;};if(leftIconId!=null&&leftIconSrc!=null&&leftIconSrc!=''){document.images[leftIconId].src=leftIconSrc;};if(rightIconId!=null&&rightIconSrc!=null&&rightIconSrc!=''){document.images[rightIconId].src=rightIconSrc;};if(imageId!=null&&imageSrc!=null&&imageSrc!=''){document.images[imageId].src=imageSrc;};};};function m_g(m_bs){return(m_mac?m_de(m_bs):m_ie4?m_winIE4X(m_bs):m_dg(m_bs));};function m_h(m_bs){return(m_mac?m_dd(m_bs):m_ie4?m_winIE4Y(m_bs):m_df(m_bs));};function m_dg(m_bs){var x=0;while(m_bs.offsetParent!=null){x+=m_bs.offsetLeft;if(m_bs.offsetParent.tagName!="TABLE"&&m_bs.offsetParent.tagName!="TD"&&m_bs.offsetParent.tagName!="TR"&&m_bs.offsetParent.currentStyle!=null){var m_ca=parseInt(m_bs.offsetParent.currentStyle.borderLeftWidth);if(!isNaN(m_ca)){x+=m_ca;};};if(m_bs.offsetParent.tagName=="TABLE"&&m_bs.offsetParent.border>0){x+=1;};m_bs=m_bs.offsetParent;};if(document.compatMode=="CSS1Compat"&&m_bs==document.body){var m_ci=parseInt(m_bs.currentStyle.marginLeft);if(!isNaN(m_ci)){x+=m_ci;};};return x;};function m_df(m_bs){var y=0;while(m_bs.offsetParent!=null){y+=m_bs.offsetTop;if(m_bs.offsetParent.tagName!="TABLE"&&m_bs.offsetParent.tagName!="TD"&&m_bs.offsetParent.tagName!="TR"&&m_bs.offsetParent.currentStyle!=null){var m_cc=parseInt(m_bs.offsetParent.currentStyle.borderTopWidth);if(!isNaN(m_cc)){y+=m_cc;};};if(m_bs.offsetParent.tagName=="TABLE"&&m_bs.offsetParent.border>0){y+=1;};m_bs=m_bs.offsetParent;};if(document.compatMode=="CSS1Compat"&&m_bs==document.body){var m_cn=parseInt(m_bs.currentStyle.marginTop);if(!isNaN(m_cn)){y+=m_cn;};};return y;};function m_winIE4X(m_bs){var x=0;while(m_bs!=document.body){x+=m_bs.offsetLeft;m_bs=m_bs.offsetParent;};return x;};function m_winIE4Y(m_bs){var y=0;while(m_bs!=document.body){y+=m_bs.offsetTop;m_bs=m_bs.offsetParent;};return y;};function m_de(m_bs){var x=0;while(m_bs.offsetParent!=document.body){if((m_bs.tagName=="TABLE")&&(m_bs.offsetParent.tagName=="TD")){x+=m_bs.clientLeft;}else{x+=m_bs.offsetLeft;};m_bs=m_bs.offsetParent;};x+=(m_bs.offsetLeft+m_bw());return x;};function m_dd(m_bs){var y=0;while(m_bs.offsetParent!=document.body){if((m_bs.tagName=="TABLE")&&(m_bs.offsetParent.tagName=="TD")){y+=m_bs.clientTop;}else{y+=(m_bs.tagName!="TD")?m_bs.offsetTop:m_bs.parentElement.offsetTop;};m_bs=m_bs.offsetParent;};y+=(m_bs.offsetTop+m_bv());return y;};function m_bw(){if(m_marginX==null){if(!document.all["m_pgMrgMsr"]){m_bq();};m_marginX=-document.all["m_pgMrgMsr"].offsetLeft;};return m_marginX;};function m_bv(){if(m_marginY==null){if(!document.all["m_pgMrgMsr"]){m_bq();};m_marginY=-document.all["m_pgMrgMsr"].offsetTop;};return m_marginY;};function m_bq(){document.body.insertAdjacentHTML('beforeEnd','<div id="m_pgMrgMsr" style="position:absolute;left:0;top:0;z-index:-1000;visibility:hidden">*</div>');};function m_zx(group){if(m_hideSelectElems&&document.getElementsByTagName){var m_v=document.getElementsByTagName('select');for(var m_bf=0;m_bf<m_v.length;m_bf++){if(m_ap(document.all[group],m_v[m_bf])){m_v[m_bf].style.visibility='hidden';};};};};function m_l(){if(m_hideSelectElems&&document.getElementsByTagName){var m_v=document.getElementsByTagName('select');for(var m_bf=0;m_bf<m_v.length;m_bf++){m_v[m_bf].style.visibility='inherit';};};};function m_cv(group){if(!m_overlayWindowed){return;};var m_bz=group.id+"_over";if(!document.all[m_bz]){document.body.insertAdjacentHTML("beforeEnd","<iframe id='"+m_bz+"' src='javascript:void 0;' style='position:absolute;left:0px;top:0x;z-index:990;display:none' scrolling='no' frameborder='0'></iframe>");};if(document.all[m_bz]){var m_cu=document.all[m_bz].style;m_cu.top=group.style.top;m_cu.left=group.style.left;m_cu.width=group.offsetWidth+(m_shadowEnabled?m_shadowOffest:0);m_cu.height=group.offsetHeight+(m_shadowEnabled?m_shadowOffest:0);m_cu.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';m_cu.display='block';};};function m_bu(group){if(!m_overlayWindowed)return;var m_bz=group.id+"_over";if(document.all[m_bz]){document.all[m_bz].style.display='none';};};function m_ap(obj1,obj2){var m_ct=true;var m_by=m_g(obj1)-window.document.body.scrollLeft;var m_ch=m_h(obj1)-window.document.body.scrollTop;var m_cs=m_by+obj1.offsetWidth;var m_cl=m_ch+obj1.offsetHeight;var m_bx=m_g(obj2)-window.document.body.scrollLeft;var m_cg=m_h(obj2)-window.document.body.scrollTop;var m_cr=m_bx+obj2.offsetWidth;var m_ck=m_cg+obj2.offsetHeight;if(m_cs<=m_bx||m_cl<=m_cg||m_by>=m_cr||m_ch>=m_ck){m_ct=false;};return m_ct;};function m_cj(objName){if(m_shadowEnabled){m_shadows[objName]=new Array();for(var m_bf=m_shadowOffest;m_bf>0;m_bf--){var m_bn=document.all[objName];var m_dj=document.createElement('div');var m_dh=m_dj.style;m_dh.position='absolute';m_dh.left=(m_bn.style.posLeft+m_bf)+'px';m_dh.top=(m_bn.style.posTop+m_bf)+'px';m_dh.width=m_bn.offsetWidth+'px';m_dh.height=m_bn.offsetHeight+'px';m_dh.zIndex=m_bn.style.zIndex-m_bf;m_dh.backgroundColor=m_shadowColor;var m_dl=1-m_bf/(m_bf+1);m_dh.filter='alpha(opacity='+(100*m_dl)+')';m_bn.insertAdjacentElement('afterEnd',m_dj);m_shadows[objName][m_shadows[objName].length]=m_dj;};};};function m_bm(objName){if(m_shadowEnabled){var m_cq;for(var m_bf=0;m_bf<m_shadows[objName].length;m_bf++){m_cq=m_shadows[objName][m_bf];m_cq.style.filter='alpha(opacity=0)';m_cq.removeNode(true);};};};function m_positionMenu(menu,alignment,offsetX,offsetY){var m_n=0;var m_s=0;var m_aa=window.document.body.clientWidth;var m_aj=window.document.body.clientHeight;var m_z=menu.offsetWidth;var m_ad=menu.offsetHeight;var m_a=0;var m_d=0;switch(alignment){case'topleft':m_a=m_n;m_d=m_s;break;case'topmiddle':m_a=(m_aa-m_z)/2+m_n;m_d=m_s;break;case'topright':m_a=m_aa+m_n-m_z;m_d=m_s;break;case'bottomleft':m_a=m_n;m_d=m_aj+m_s-m_ad;break;case'bottommiddle':m_a=(m_aa-m_z)/2+m_n;m_d=m_aj+m_s-m_ad;break;case'bottomright':m_a=m_aa+m_n-m_z;m_d=m_aj+m_s-m_ad;break;default:m_a=m_aa+m_n;m_d=m_aj+m_s;break;};m_a+=offsetX;m_d+=offsetY;menu.style.left=m_a;menu.style.top=m_d;};function m_ax(objName){if(!objName){return false;};var m_bn=document.all[objName];if(!m_bn){return false;};if(m_mac&&m_bn.tagName=="TABLE"&&m_bn.parentElement.tagName=="TD"){m_bn=m_bn.parentElement;};var m_cf=m_g(m_bn)-window.document.body.scrollLeft+1;var m_cp=m_h(m_bn)-window.document.body.scrollTop+1;var m_cx=m_cf+m_bn.offsetWidth-1;var m_co=m_cp+m_bn.offsetHeight-1;var m_dp=(m_mac)?event.x+2:event.x;var m_dn=(m_mac)?event.y+2:event.y;return((m_dp>m_cf)&&(m_dp<m_cx)&&(m_dn>m_cp)&&(m_dn<m_co));};function m_registerOnKeyDownListener(){m_documentOnKeyDown=document.onkeydown;document.onkeydown=m_at;};function m_at(){for(var m_bf=0;m_bf<m_accessKeys.length;m_bf++){if(m_accessKeys[m_bf][0]==event.keyCode&&m_accessKeys[m_bf][1]==event.altKey&&m_accessKeys[m_bf][2]==event.ctrlKey&&m_accessKeys[m_bf][3]==event.shiftKey){m_av(document.all[m_accessKeys[m_bf][4]]);event.cancelBubble=true;event.keyCode=0;return false;};};if(m_documentOnKeyDown!=null){return m_documentOnKeyDown();};return true;};function m_av(item){if(item.onclick){item.onclick();}else if(item.children[0].tagName=="A"&&item.children[0].href!=null&&item.children[0].href!=""){eval(item.children[0].href);};};function m_moveSubgroups(subgroupsId){var m_db=document.getElementById(subgroupsId);var m_dc=(document.forms.length>0)?document.forms[0]:document.body;if(m_mac){m_dc.insertAdjacentHTML('afterBegin',m_db.innerHTML);m_db.innerHTML='';}else{m_dc.insertAdjacentElement('afterBegin',m_db);};};if(m_accessKeys==null){var m_accessKeys=new Array();};if(m_oldBodyOnLoad==null){var m_oldBodyOnLoad=new Array();};if(m_menucount==null){var m_menucount=0;};var m_hideSelectElems=true;var m_highlightExpanded=true;var m_overlayWindowed=false;var m_shadows=new Array();var m_shadowEnabled=false;var m_shadowColor='#777777';var m_shadowOffest=4;var m_mac=false;var m_ie4=false;var m_documentOnKeyDown=null;var m_expandedObjects=new Array();var m_expandCount=0;var m_expandTimerID=0;var m_collapseTimerID=0;var m_collapseAllTimerID=0;var m_expandingGroup='';var m_collapsingGroup='';var m_restoredGroup='';var m_curItem='';var m_collapsingAll=false;var m_contextUp=false;var m_marginX=null;var m_marginY=null;var m_mainContextMenu=null;var m_f;var m_contextMenus=new Array();var m_contextControls=new Array();var m_contextMenuCount=0;var m_o=null;function m_ac(){m_o=document.onmouseup;document.onmouseup=m_au;};function m_au(){if(event.button==2){var m_r=m_bc();if(m_r!=null){m_showContextMenu(m_r.id,event.clientX,event.clientY);}else if(m_f){m_t(true);};}else{m_t(true);};if(m_o!=null){return m_o;};return true;};function m_showContextMenu(menuId,x,y){if(menuId==null||menuId==""){return;};var m_zy=document.all[menuId];if(m_zy==null){return;};if(m_f!=null){m_t(false);};var m_aw=x+window.document.body.scrollLeft;if(m_aw+m_zy.offsetWidth>window.document.body.clientWidth+window.document.body.scrollLeft){m_aw-=m_zy.offsetWidth;};var m_bd=y+window.document.body.scrollTop;if(m_bd+m_zy.offsetHeight>window.document.body.clientHeight+window.document.body.scrollTop){m_bd-=m_zy.offsetHeight;};m_zy.style.left=m_aw;m_zy.style.top=m_bd;m_zx(menuId);m_zy.style.visibility='visible';m_f=m_zy;m_contextUp=true;};function m_t(restoreSelects){if(m_contextUp&&m_restoredGroup==''){m_hideAllGroups();m_f.style.visibility='hidden';m_f=null;if(restoreSelects){m_l();};m_contextUp=false;};};function m_bc(){var m_r=null;for(var m_bf=0;m_bf<m_contextMenus.length;m_bf++){if(m_ax(m_contextControls[m_bf])){m_r=document.all[m_contextMenus[m_bf]];};};if(m_r==null){m_r=m_mainContextMenu;};return m_r;};function document.oncontextmenu(){var m_u=(m_f==null);event.returnValue=m_u;event.cancelBubble=!m_u;return m_u;};m_ac();
