document.write('<table id="vista-buttons.com:id6jqfc" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-right:0px" title ="Startseite"><a href="index.html" onmouseover=\'xpe("6jqfco");\' onmouseout=\'xpe("6jqfcn");\'><img id="xpi_6jqfc" src="'+vbImgPath+'bt6jqfc_0.gif" name="vb6jqfc" width="98" height="44" border="0" alt="Startseite"/></a></td><td style="padding-right:0px" title ="Verein"><a onmouseover=\'xpe("2jqfco");xpshow("2jqfc",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_2jqfc" src="'+vbImgPath+'bt2jqfc_0.gif" name="vb2jqfc" width="94" height="44" border="0" alt="Verein"/></a></td><td style="padding-right:0px" title ="Spielbetrieb"><a onmouseover=\'xpe("tjqfco");xpshow("tjqfc",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_tjqfc" src="'+vbImgPath+'bttjqfc_0.gif" name="vbtjqfc" width="120" height="44" border="0" alt="Spielbetrieb"/></a></td><td style="padding-right:0px" title ="Mannschaften"><a onmouseover=\'xpe("pjqfco");xpshow("pjqfc",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_pjqfc" src="'+vbImgPath+'btpjqfc_0.gif" name="vbpjqfc" width="132" height="44" border="0" alt="Mannschaften"/></a></td><td style="padding-right:0px" title ="Spielberichte"><a onmouseover=\'xpe("ojqfco");xpshow("ojqfc",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_ojqfc" src="'+vbImgPath+'btojqfc_0.gif" name="vbojqfc" width="125" height="44" border="0" alt="Spielberichte"/></a></td><td style="padding-right:0px" title ="Sponsoren"><a href="sponsoren.html" onmouseover=\'xpe("wjqfco");\' onmouseout=\'xpe("wjqfcn");\'><img id="xpi_wjqfc" src="'+vbImgPath+'btwjqfc_0.gif" name="vbwjqfc" width="102" height="44" border="0" alt="Sponsoren"/></a></td><td style="padding-right:0px" title ="Mitglieder"><a onmouseover=\'xpe("4jqfco");\' onmouseout=\'xpe("4jqfcn");\'><img id="xpi_4jqfc" src="'+vbImgPath+'bt4jqfc_0.gif" name="vb4jqfc" width="96" height="44" border="0" alt="Mitglieder"/></a></td><td style="padding-right:0px" title ="Kontakt"><a href="kontaktAdressen.html" onmouseover=\'xpe("zjqfco");\' onmouseout=\'xpe("zjqfcn");\'><img id="xpi_zjqfc" src="'+vbImgPath+'btzjqfc_0.gif" name="vbzjqfc" width="89" height="44" border="0" alt="Kontakt"/></a></td></tr></table>');
document.write('<ul id="vbUL_2jqfc" class="vbUL6jqfc" style="visibility:hidden;"><li><a title="Adressen">Adressen</a><img src="'+vbImgPath+'ar6jqfc.gif"/><ul id="vbUL_ujqfc" class="vbUL6jqfc"><li><a href="adressenVorstand.html" title="Vorstand">Vorstand</a></li><li><a href="adressenTrainer.html" title="Trainer">Trainer</a></li><li><a href="adressenFunktionaere.html" title="Funtionaere">Funtionaere</a></li><li><a href="adressenSchiedsrichter.html" title="Schiedsrichter" target="_self">Schiedsrichter</a></li></ul></li><li><a href="adressAenderung.html" title="Adressaenderung">Adressaenderung</a></li><li><a href="zahlenUndFakten.html" title="Zahlen und Fakten">Zahlen&nbsp;und&nbsp;Fakten</a></li><li class="separator"></li><li><a href="sportanlage.html" title="Sportanlage">Sportanlage</a></li><li><a href="lageplan.html" title="Lageplan">Lageplan</a></li><li class="separator"></li><li><a href="anmeldungJuniorenturnier.html" title="Juniorenturnier">Juniorenturnier</a></li><li><a href="anmeldungVereinsturnier.html" title="Vereinsturnier">Vereinsturnier</a></li></ul><ul id="vbUL_tjqfc" class="vbUL6jqfc" style="visibility:hidden;"><li><a href="vereinsspielplan.html" title="Vereinsspielplan" target="_blank">Vereinsspielplan</a></li><li><a href="aktuelleSpiele.html" title="Aktuelle Spiele" target="_blank">Aktuelle&nbsp;Spiele</a></li><li class="separator"></li><li><a href="resultateUndRanglisten.html" title="Resultate und Ranglisten" target="_blank">Resultate&nbsp;und&nbsp;Ranglisten</a></li><li class="separator"></li><li><a href="trainingsplan.html" title="Trainingsplan">Trainingsplan</a></li></ul><ul id="vbUL_pjqfc" class="vbUL6jqfc" style="visibility:hidden;"><li><a href="mannschaftFCS1.html" title="1. Mannschaft">1.&nbsp;Mannschaft</a></li><li><a href="mannschaftFCS2.html" title="2. Mannschaft">2.&nbsp;Mannschaft</a></li><li><a href="mannschaftFCS3.html" title="3. Mannschaft">3.&nbsp;Mannschaft</a></li><li><a href="mannschaftFCS4.html" title="4. Mannschaft">4.&nbsp;Mannschaft</a></li><li class="separator"></li><li><a href="mannschaftFCSJunA.html" title="Junioren A">Junioren&nbsp;A</a></li><li><a href="mannschaftFCSJunB.html" title="Junioren Ba">Junioren&nbsp;Ba</a></li><li><a href="mannschaftFCSJunBb.html" title="Junioren Bb">Junioren&nbsp;Bb</a></li><li><a href="mannschaftFCSJunCa.html" title="Junioren Ca">Junioren&nbsp;Ca</a></li><li><a href="mannschaftFCSJunCb.html" title="Junioren Cb">Junioren&nbsp;Cb</a></li><li><a href="mannschaftFCSJunDa.html" title="Junioren Da">Junioren&nbsp;Da</a></li><li><a href="mannschaftFCSJunDb.html" title="Junioren Db">Junioren&nbsp;Db</a></li><li><a href="mannschaftFCSJunEa.html" title="Junioren Ea">Junioren&nbsp;Ea</a></li><li><a href="mannschaftFCSJunEb.html" title="Junioren Eb">Junioren&nbsp;Eb</a></li><li><a href="mannschaftFCSJunEc.html" title="Junioren Ec">Junioren&nbsp;Ec</a></li><li><a href="mannschaftFCSJunFa.html" title="Junioren Fa">Junioren&nbsp;Fa</a></li><li><a href="mannschaftFCSJunFb.html" title="Junioren Fb">Junioren&nbsp;Fb</a></li><li><a href="mannschaftFCSJunFc.html" title="Junioren Fc">Junioren&nbsp;Fc</a></li><li class="separator"></li><li><a href="mannschaftFCSSenioren.html" title="Senioren">Senioren</a></li><li><a href="mannschaftFCSVeteranen.html" title="Veteranen">Veteranen</a></li><li class="separator"></li><li><a href="mannschaftFCSFrauen.html" title="Frauen">Frauen</a></li></ul><ul id="vbUL_ojqfc" class="vbUL6jqfc" style="visibility:hidden;"><li><a title="Heerenschuerli-News">Heerenschuerli-News</a><img src="'+vbImgPath+'ar6jqfc.gif"/><ul id="vbUL_vjqfc" class="vbUL6jqfc"><li><a title="2008/09">2008/09</a><img src="'+vbImgPath+'ar6jqfc.gif"/><ul id="vbUL_yjqfc" class="vbUL6jqfc"><li><a href="hen_100327.html" title="He-News vom 27.03.10">He-News&nbsp;vom&nbsp;27.03.10</a></li><li><a href="hen_100210.html" title="He-News vom 10.02.10">He-News&nbsp;vom&nbsp;10.02.10</a></li><li><a href="hen_091213.html" title="He-News vom 13.12.09">He-News&nbsp;vom&nbsp;13.12.09</a></li><li><a href="spb_091123.html" title="He-News vom 23.11.09">He-News&nbsp;vom&nbsp;23.11.09</a></li><li><a href="hen_090802.html" title="He-News vom 02.08.09">He-News&nbsp;vom&nbsp;02.08.09</a></li><li><a href="hen_090627.html" title="He-News vom 28.06.09">He-News&nbsp;vom&nbsp;28.06.09</a></li><li><a href="hen_090403.html" title="He-News vom 03.04.09">He-News&nbsp;vom&nbsp;03.04.09</a></li><li><a href="hen_090329.html" title="He-News vom 29.03.09">He-News&nbsp;vom&nbsp;29.03.09</a></li><li><a href="hen_090322.html" title="He-News vom 22.03.09">He-News&nbsp;vom&nbsp;22.03.09</a></li><li><a href="hen_090301.html" title="He-News vom 01.03.09">He-News&nbsp;vom&nbsp;01.03.09</a></li></ul></li></ul></li><li class="separator"></li><li><a title="Spielberichte">Spielberichte</a><img src="'+vbImgPath+'ar6jqfc.gif"/><ul id="vbUL_xjqfc" class="vbUL6jqfc"><li><a title="2008/09">2008/09</a><img src="'+vbImgPath+'ar6jqfc.gif"/><ul id="vbUL_ljqfc" class="vbUL6jqfc"><li><a href="spb_100418.html" title="18.04.10 FCS 1 - Opfikon">18.04.10&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Opfikon</a></li><li><a href="spb_100411.html" title="11.04.10 Espanol Iberia - FCS 1">11.04.10&nbsp;Espanol&nbsp;Iberia&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_091101.html" title="01.11.09 Seebach - FCS 1">01.11.09&nbsp;Seebach&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_091025.html" title="25.10.09 FCS 1 - Rümlang">25.10.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Rümlang</a></li><li><a href="spb_091018.html" title="18.10.09 Oerlikon/Polizei 2 - FCS 1">18.10.09&nbsp;Oerlikon/Polizei&nbsp;2&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_091011.html" title="11.10.09 FCS 1 - Bülach">11.10.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Bülach</a></li><li><a href="spb_091004.html" title="04.10.09 Kloten- FCS 1">04.10.09&nbsp;Kloten-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090927.html" title="27.09.09 FCS 1 - Glattfelden">27.09.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Glattfelden</a></li><li><a href="spb_090913.html" title="13.09.09 FCS 1 - Rafzerfeld">13.09.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Rafzerfeld</a></li><li><a href="spb_090908.html" title="09.09.09 Embrach - FCS 1">09.09.09&nbsp;Embrach&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090830.html" title="30.08.09 FCS 1 - Dielsdorf">30.08.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Dielsdorf</a></li><li><a href="spb_090823.html" title="23.08.09 Opfikon - FCS 1">23.08.09&nbsp;Opfikon&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090816.html" title="16.08.09 FCS 1 - CD Espanol Iberia">16.08.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;CD&nbsp;Espanol&nbsp;Iberia</a></li><li><a href="spb_090809.html" title="09.08.09 Wald - FCS 1 (Cup)">09.08.09&nbsp;Wald&nbsp;-&nbsp;FCS&nbsp;1&nbsp;(Cup)</a></li><li><a href="spb_090621.html" title="21.06.09 FCS 1 - Oberwinterthur">21.06.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Oberwinterthur</a></li><li><a href="spb_090614.html" title="14.06.09 Zch-Affoltern - FCS 1">14.06.09&nbsp;Zch-Affoltern&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090607.html" title="07.06.09 Gossau - FCS 1">07.06.09&nbsp;Gossau&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090530.html" title="30.05.09 FCS 1 - Phoenix-Seen ">30.05.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Phoenix-Seen&nbsp;</a></li><li><a href="spb_090524.html" title="24.05.09 Unterstrass - FCS 1">24.05.09&nbsp;Unterstrass&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090520.html" title="20.05.09 Seuzach - FCS 1">20.05.09&nbsp;Seuzach&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090517.html" title="17.05.09 FCS 1 - Uster">17.05.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Uster</a></li><li><a href="spb_090509.html" title="09.05.09 Wiesendangen - FCS 1">09.05.09&nbsp;Wiesendangen&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090503.html" title="03.05.09 FCS 1 - Wetzikon">03.05.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Wetzikon</a></li><li><a href="spb_090426.html" title="26.04.09 Niederweningen - FCS 1">26.04.09&nbsp;Niederweningen&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090419.html" title="19.04.09 FCS 1 - Regensdorf">19.04.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Regensdorf</a></li><li><a href="spb_090408.html" title="08.04.09 Bassersdorf - FCS 1">08.04.09&nbsp;Bassersdorf&nbsp;-&nbsp;FCS&nbsp;1</a></li><li><a href="spb_090405.html" title="05.04.09 FCS 1 - Russikon">05.04.09&nbsp;FCS&nbsp;1&nbsp;-&nbsp;Russikon</a></li></ul></li></ul></li></ul>');
vb6jqfcn=xppr('6jqfc_0.gif');vb6jqfco=xppr('6jqfc_1.gif');vb2jqfcn=xppr('2jqfc_0.gif');vb2jqfco=xppr('2jqfc_1.gif');vbtjqfcn=xppr('tjqfc_0.gif');vbtjqfco=xppr('tjqfc_1.gif');vbpjqfcn=xppr('pjqfc_0.gif');vbpjqfco=xppr('pjqfc_1.gif');vbojqfcn=xppr('ojqfc_0.gif');vbojqfco=xppr('ojqfc_1.gif');vbwjqfcn=xppr('wjqfc_0.gif');vbwjqfco=xppr('wjqfc_1.gif');vb4jqfcn=xppr('4jqfc_0.gif');vb4jqfco=xppr('4jqfc_1.gif');vbzjqfcn=xppr('zjqfc_0.gif');vbzjqfco=xppr('zjqfc_1.gif');var btIdPref='vb';function xppr(im){var i=new Image();i.src=vbImgPath+'bt'+im;return i;};function xpe(id){x=id.substring(0,id.length-1);if(document[btIdPref+x])document[btIdPref+x].src=eval(btIdPref+id+'.src');return false;};
var hideTimeout=300,menuContId='xpMenuCont',ulIdPref='vbUL_',imgIdPref='xpi_';function xpinit(){isDOM=document.getElementById;isOp=isO5=window.opera&&isDOM;isOp7=isOp&&document.readyState;isIE=document.all&&document.all.item&&!isOp;isNS4=document.layers;isMz=isDOM&&navigator.appName=="Netscape";document.write('<div id="'+menuContId+'" ></div>');var ULs=document.getElementsByTagName('UL');for(var i=0,cnt=ULs.length;i<cnt;i++)if(ULs[i].id&&(ULs[i].id.substring(0,ulIdPref.length)==ulIdPref)&&!((ULs[i].parentNode)&&(ULs[i].parentNode.parentNode)&&(ULs[i].parentNode.parentNode.id.substring(0,ulIdPref.length)==ulIdPref))){xpCreateMenu(ULs[i],0,0);};};xpinit();function xpObjectSize(o){var w=(isOp&&!isOp7)?o.style.pixelWidth:isNS4?o.clip.width:o.offsetWidth,h=(isOp&&!isOp7)?o.style.pixelHeight:isNS4?o.clip.height:o.offsetHeight;return{x:w,y:h};};function xpClientSize(){var x=0,y=0,w=0,h=0,doc=document,win=window,cond=(!doc.compatMode||doc.compatMode=='CSS1Compat')&&!win.opera&&doc.documentElement;if(cond&&doc.documentElement.clientHeight)h=doc.documentElement.clientHeight;else if(doc.body&&doc.body.clientHeight)h=doc.body.clientHeight;else if(xpDef(win.innerWidth,win.innerHeight,doc.width)){h=win.innerHeight;if(doc.width>win.innerWidth)h-=16;};if(cond&&doc.documentElement.clientWidth)w=doc.documentElement.clientWidth;else if(doc.body&&doc.body.clientWidth)w=doc.body.clientWidth;else if(xDef(win.innerWidth,win.innerHeight,doc.height)){w=win.innerWidth;if(doc.height>win.innerHeight)w-=16;};if(win.document.documentElement&&win.document.documentElement.scrollLeft)x=win.document.documentElement.scrollLeft;else if(win.document.body&&xpDef(win.document.body.scrollLeft))x=win.document.body.scrollLeft;if(win.document.documentElement&&win.document.documentElement.scrollTop)y=win.document.documentElement.scrollTop;else if(win.document.body&&xpDef(win.document.body.scrollTop))y=win.document.body.scrollTop;return{x:x,y:y,w:w,h:h};};function xpDef(){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])=='undefined')return false;};return true;};function xppos(obj){var l=0,t=0;while(obj){l+=obj.offsetLeft;t+=obj.offsetTop;obj=obj.offsetParent;};if(document.body)with(document){if(body.leftMargin)l-=body.leftMargin;if(body.topMargin)t-=body.topMargin};return{x:l,y:t};};function xpCreateMenu(ulParent,iParent,level){var menuCont=document.getElementById(menuContId),oMenu=document.createElement('div');menuCont.appendChild(oMenu);var oTable=document.createElement('table');oMenu.appendChild(oTable);oMenu.id=ulParent.id+'tbl';oMenu.className=ulParent.className;oMenu.style.position='absolute';oMenu.iParent=iParent;oMenu.level=level;oMenu.style.zIndex=9+oMenu.level;oTable.cellSpacing=0;oMenu.onmouseover=function(){xpsmover(this)};oMenu.onmouseout=function(){xpsmout(this)};oMenu.ClearMenuMark=function(){for(var j=0;j<this.childNodes[0].rows.length;j++){p=this.childNodes[0].rows[j];if(p.tagName=='TR'){p.className=p.className.replace('over','');if(p.className.indexOf('popup')<0)p.clrOverImg();};};};oMenu.smShown=0;for(var i=0,cntLI=ulParent.childNodes.length;i<cntLI;i++){var oLI=ulParent.childNodes[i];if(oLI.tagName=='LI'){var oItem=oTable.insertRow(-1);oItem.menu=oMenu;oItem.setPopup=function(){this.className+=' popup';};oItem.clrPopup=function(){this.className=this.className.replace('popup','');if(this.className.indexOf('over')<0)this.clrOverImg();};oItem.clrOverImg=function(){if(this.Img)this.Img.style.display='inline';if(this.ImgOver)this.ImgOver.style.display='none';if(this.ImgArrow)this.ImgArrow.style.display='inline';if(this.ImgArrowOver)this.ImgArrowOver.style.display='none'};oItem.className=oLI.className;var InnerAnchor=0;oItem.Img=null;oItem.ImgOver=null;var InnerUl=0;oItem.ImgArrow=null;oItem.ImgArrowOver=null;for(var j=0;j<oLI.childNodes.length;j++)if(oLI.childNodes[j].tagName=='A')InnerAnchor=oLI.childNodes[j];else if(oLI.childNodes[j].tagName=='IMG'){if(!InnerAnchor){if(!oItem.Img)oItem.Img=oLI.childNodes[j];else oItem.ImgOver=oLI.childNodes[j]}else{if(!oItem.ImgArrow)oItem.ImgArrow=oLI.childNodes[j];else oItem.ImgArrowOver=oLI.childNodes[j]};}else if(oLI.childNodes[j].tagName=='UL')InnerUl=oLI.childNodes[j];if(InnerAnchor||InnerUl||oItem.ImgArrow){var oTDIMG=oItem.insertCell(-1),oTDLabel=oItem.insertCell(-1),oTDArrow=oItem.insertCell(-1);oTDIMG.style.borderRightWidth='0px';oTDLabel.style.borderRightWidth='0px';oTDLabel.style.borderLeftWidth='0px';oTDArrow.style.borderLeftWidth='0px';oTDIMG.style.paddingRight='4px';oTDLabel.style.paddingRight='4px';oTDLabel.style.paddingLeft='4px';oTDArrow.style.paddingLeft='4px';if(oItem.Img)oTDIMG.appendChild(oItem.Img);else oTDIMG.innerHTML='&nbsp;';if(oItem.ImgOver){oItem.ImgOver.style.display='none';oTDIMG.appendChild(oItem.ImgOver);};if(InnerAnchor){oTDLabel.appendChild(InnerAnchor);oItem.ItemLink=InnerAnchor;InnerAnchor.onclick=function(){return false;};oItem.onclick=function(){open(this.ItemLink.href,(this.ItemLink.target?this.ItemLink.target:"_self"));return true;};}else oTDLabel.innerHTML='&nbsp;';oItem.onmouseover=function(){this.menu.ClearMenuMark();this.className+=' over';if(this.ImgOver){this.Img.style.display='none';this.ImgOver.style.display='inline'};if(this.ImgArrowOver){this.ImgArrow.style.display='none';this.ImgArrowOver.style.display='inline'};if(this.smPopupId)xpshowmenu(this.smPopupId,1,this);else if(this.menu.smShown)xpStartTimeOut(this.menu.smShown);};oItem.onmouseout=function(){this.menu.ClearMenuMark();};if(InnerUl){oTDArrow.className='arrow';if(oItem.ImgArrow){oTDArrow.appendChild(oItem.ImgArrow);if(oItem.ImgArrowOver){oItem.ImgArrowOver.style.display='none';oTDArrow.appendChild(oItem.ImgArrowOver)}}else{if(typeof(arrowChar)!='undefined'&&arrowChar){oTDArrow.appendChild(document.createElement('a'));oTDArrow.lastChild.innerHTML=arrowChar;}else oTDArrow.innerHTML='&nbsp;';};oItem.smPopupId=xpCreateMenu(InnerUl,oItem,level+1);}else oTDArrow.innerHTML='&nbsp;';}else{var oTD=oItem.insertCell(-1);oTD.colSpan=3;oTD.innerHTML='<div></div>';};};};return oMenu.id;};function xpshow(ind,isVertical,iParent){xpshowmenu(ulIdPref+ind+'tbl',isVertical,iParent);};function xpshowmenu(menuID,isVertical,iParent){var menu=document.getElementById(menuID);if(!menu)return;if(menu.style.visibility=='visible'){xpStopTimeOut(menu);return;};if(iParent&&iParent.menu&&iParent.menu.smShown)xphide(iParent.menu.smShown.id);if(!menu.level&&(ShownMenu!=menu))xphide(ShownMenu.id);if(!menu.level)xobtn=menuID.replace(ulIdPref,'').replace('tbl','');var parentObj;if(iParent.tagName=='A'){parentObj=iParent.parentNode;}else parentObj=iParent;var pos=xppos(parentObj),size=xpObjectSize(parentObj);menu.goMenuX=1;menu.goMenuDx=1;if(menu.level>0){menu.goMenuX=menu.iParent.menu.goMenuX;menu.goMenuDx=menu.iParent.menu.goMenuDx;};menu.style.overflow='visible';menu.style.height='auto';menu.style.width='auto';menu.style.left='0px';menu.style.top='0px';var parentAbs=xppos(menu),WinSize=xpClientSize(),menuSize=xpObjectSize(menu),CalcedPos=xp_CalcMenuPos(WinSize.y,WinSize.h,pos.y,size.y,menuSize.y,menu.goMenuDx,isVertical);menu.goMenuDx=CalcedPos.align;if(isOp&&!menu.OrigWidth)menu.OrigWidth=menu.clientWidth;if(CalcedPos.size<menuSize.y){menu.style.overflow='auto';if(isIE)menu.style.overflowX='visible';if(isIE)menu.style.width=menu.offsetWidth+17+'px';else if(isMz)menu.style.magrinRight=20;menu.style.height=CalcedPos.size+'px';menu.scrollTop=0;menu.scrollLeft=0;if(isOp)menu.style.width=menu.OrigWidth+'px';}else{};menu.style.top=CalcedPos.xy-parentAbs.y+'px';menuSize=xpObjectSize(menu);CalcedPos=xp_CalcMenuPos(WinSize.x,WinSize.w,pos.x,size.x,menuSize.x,menu.goMenuX,!isVertical);menu.goMenuX=CalcedPos.align;if(CalcedPos.size<menuSize.x)if(menu.goMenuX>0)CalcedPos.xy-=(menuSize.x-CalcedPos.size);menu.style.left=CalcedPos.xy-parentAbs.x+'px';menu.style.visibility='visible';if(!menu.level)ShownMenu=menu;else{iParent.menu.smShown=menu;iParent.setPopup();};};function xp_CalcMenuPos(screenXY,screenSize,parentXY,parentSize,size,align,oHoriz){var xy=parentXY,newSize=size,newAlign=align,space=5;if((align==0)&&(!oHoriz))align=1;if(!oHoriz){if(((newAlign>=0)&&(parentXY+parentSize+size>screenSize+screenXY-space))||((newAlign<0)&&(parentXY-size<space))){if(parentXY-screenXY>screenSize+screenXY-(parentXY+parentSize))newAlign=-1;else newAlign=1;};if(newAlign>=0){xy=parentXY+parentSize;if(screenSize+screenXY-space-xy<newSize)newSize=screenSize+screenXY-space-xy;}else{xy=parentXY-newSize;if(xy-screenXY<space){xy=space+screenXY;newSize=parentXY-space-screenXY;};};}else{if(newSize>screenSize-2*space){xy=space+screenXY;newSize=screenSize-2*space;}else{xy=parentXY+parentSize/2-newSize/2+newAlign*(newSize/2-parentSize/2);if(xy<space+screenXY){newAlign=1;xy=space+screenXY;};if(xy+size>screenSize+screenXY-space){newAlign=-1;xy-=xy+newSize-(screenSize+screenXY-space);};};};return{xy:xy,size:newSize,align:newAlign};};function xphide(menuId){var menu=document.getElementById(menuId);if(!menu)return;if(menu.style.visibility=='visible'){if(menu.smShown)xphide(menu.smShown.id);menu.ClearMenuMark();menu.style.visibility='hidden';if(menu.level==0){xpe(xobtn+'n');};menu.smShown=0;if(menu.iParent)menu.iParent.clrPopup();if(menu.hideTimer){clearTimeout(menu.hideTimer);menu.hideTimer=null;};};};function xpsmout(sender){if(!sender)return;xpStartTimeOut(ShownMenu)};function xpsmover(menu){if(!menu)return;xpStopTimeOut(menu);};function xpStopTimeOut(menu){for(var o=menu;o;o=o.iParent?o.iParent.menu:0)if(o.hideTimer)o.hideTimer=clearTimeout(o.hideTimer);};function xpStartTimeOut(menu){for(var o=menu;o;o=o.smShown){var code='xphide("'+o.id+'");';if(!o.hideTimer&&o.id)o.hideTimer=setTimeout(code,hideTimeout);};};var ShownMenu=0,xobtn=null;
