document.write('<table id="vista-buttons.com:idhtkzd" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-bottom:0px" title ="Tournaments"><a onmouseover=\'xpe("htkzdo");xpshow("htkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("htkzdc");\'><img id="xpi_htkzd" src="'+vbImgPath+'bthtkzd_0.gif" name="vbhtkzd" width="173" height="26" border="0" alt="Tournaments"/></a></td></tr><tr><td style="padding-bottom:0px" title ="District Board"><a onmouseover=\'xpe("jtkzdo");xpshow("jtkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("jtkzdc");\'><img id="xpi_jtkzd" src="'+vbImgPath+'btjtkzd_0.gif" name="vbjtkzd" width="173" height="26" border="0" alt="District Board"/></a></td></tr><tr><td style="padding-bottom:0px" title ="Unit Information"><a onmouseover=\'xpe("ktkzdo");xpshow("ktkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("ktkzdc");\'><img id="xpi_ktkzd" src="'+vbImgPath+'btktkzd_0.gif" name="vbktkzd" width="173" height="26" border="0" alt="Unit Information"/></a></td></tr><tr><td style="padding-bottom:0px" title ="Local Bridge Clubs"><a onmouseover=\'xpe("gtkzdo");xpshow("gtkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("gtkzdc");\'><img id="xpi_gtkzd" src="'+vbImgPath+'btgtkzd_0.gif" name="vbgtkzd" width="173" height="26" border="0" alt="Local Bridge Clubs"/></a></td></tr><tr><td style="padding-bottom:0px" title ="STAC"><a onmouseover=\'xpe("ipkzdo");xpshow("ipkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("ipkzdc");\'><img id="xpi_ipkzd" src="'+vbImgPath+'btipkzd_0.gif" name="vbipkzd" width="173" height="26" border="0" alt="STAC"/></a></td></tr><tr><td style="padding-bottom:0px" title ="NAP"><a onmouseover=\'xpe("1pkzdo");xpshow("1pkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("1pkzdc");\'><img id="xpi_1pkzd" src="'+vbImgPath+'bt1pkzd_0.gif" name="vb1pkzd" width="173" height="26" border="0" alt="NAP"/></a></td></tr><tr><td style="padding-bottom:0px" title ="GNT"><a onmouseover=\'xpe("cpkzdo");xpshow("cpkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("cpkzdc");\'><img id="xpi_cpkzd" src="'+vbImgPath+'btcpkzd_0.gif" name="vbcpkzd" width="173" height="26" border="0" alt="GNT"/></a></td></tr><tr><td style="padding-bottom:0px" title ="Masterpoint Races"><a href="http://www.district12bridge.org/races.html" onmouseover=\'xpe("dpkzdo");\' onmouseout=\'xpe("dpkzdn");\' onmousedown=\'xpe("dpkzdc");\'><img id="xpi_dpkzd" src="'+vbImgPath+'btdpkzd_0.gif" name="vbdpkzd" width="173" height="26" border="0" alt="Masterpoint Races"/></a></td></tr><tr><td style="padding-bottom:0px" title ="Check Your Masterpoints"><a href="https://web.acbl.org/CustomerLogin/login.do" onmouseover=\'xpe("7pkzdo");\' onmouseout=\'xpe("7pkzdn");\' onmousedown=\'xpe("7pkzdc");\'><img id="xpi_7pkzd" src="'+vbImgPath+'bt7pkzd_0.gif" name="vb7pkzd" width="173" height="26" border="0" alt="Check Your Masterpoints"/></a></td></tr><tr><td style="padding-bottom:0px" title ="Newsletters"><a onmouseover=\'xpe("qpkzdo");xpshow("qpkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("qpkzdc");\'><img id="xpi_qpkzd" src="'+vbImgPath+'btqpkzd_0.gif" name="vbqpkzd" width="173" height="26" border="0" alt="Newsletters"/></a></td></tr><tr><td style="padding-bottom:0px" title ="Bridge Links"><a href="http://www.district12bridge.org/links.html" onmouseover=\'xpe("mpkzdo");xpshow("mpkzd",1,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("mpkzdc");\'><img id="xpi_mpkzd" src="'+vbImgPath+'btmpkzd_0.gif" name="vbmpkzd" width="173" height="26" border="0" alt="Bridge Links"/></a></td></tr></table>');
document.write('<ul id="vbUL_htkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a href="http://www.district12bridge.org/upcoming_tournaments.html" title="Upcoming">Upcoming</a></li><li><a href="http://www.district12bridge.org/tournament_results.html" title="Results">Results</a></li></ul><ul id="vbUL_jtkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a href="http://www.district12bridge.org/board_members.html" title="Board Members">Board&nbsp;Members</a></li><li><a href="http://www.district12bridge.org/board_meeting_schedule.html" title="Board Meeting Schedule">Board&nbsp;Meeting&nbsp;Schedule</a></li><li><a href="http://www.district12bridge.org/board_meeting_minutes.html" title="Board Meeting Minutes">Board&nbsp;Meeting&nbsp;Minutes</a></li><li><a href="http://www.district12bridge.org/board_general_information.html" title="District 12 General Information">District&nbsp;12&nbsp;General&nbsp;Information</a></li><li><a href="http://www.district12bridge.org/district_bylaws.pdf" title="District 12 Bylaws">District&nbsp;12&nbsp;Bylaws</a></li></ul><ul id="vbUL_ktkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a href="http://www.district12bridge.org/unit105board.html" title="Unit 105 NOBA">Unit&nbsp;105&nbsp;NOBA</a></li><li><a href="http://www.district12bridge.org/unit137board.html" title="Unit 137 MBA">Unit&nbsp;137&nbsp;MBA</a></li><li><a href="http://www.district12bridge.org/unit195/unit195boardinfo.html" title="Unit 195 WMBA">Unit&nbsp;195&nbsp;WMBA</a></li><li><a href="http://www.district12bridge.org/unit_200_board.html" title="Unit 200 EMBA">Unit&nbsp;200&nbsp;EMBA</a></li><li><a href="http://www.district12bridge.org/unit203/unit203_index.html" title="Unit 203 SOMBA">Unit&nbsp;203&nbsp;SOMBA</a></li></ul><ul id="vbUL_gtkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a href="http://www.district12bridge.org/club%20games.html" title="District 12 Map">District&nbsp;12&nbsp;Map</a></li><li><a href="http://www.district12bridge.org/unit105_local_clubs.html" title="Unit 105">Unit&nbsp;105</a></li><li><a href="http://www.district12bridge.org/unit137_local_clubs.html" title="Unit 137/203">Unit&nbsp;137/203</a></li><li><a href="http://www.district12bridge.org/unit195_local_clubs.html" title="Unit 195">Unit&nbsp;195</a></li><li><a href="http://www.district12bridge.org/unit200_local_clubs.html" title="Unit 200">Unit&nbsp;200</a></li></ul><ul id="vbUL_ipkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a title="Conditions of Contest">Conditions&nbsp;of&nbsp;Contest</a><ul id="vbUL_5pkzd" class="vbULhtkzd"><li><a href="http://www.acbl.org/assets/documents/play/Conditions-of-Contest/Other-STaCs.pdf" title="ACBL Conditions of Contest Link">ACBL&nbsp;Conditions&nbsp;of&nbsp;Contest&nbsp;Link</a></li><li><a href="http://www.district12bridge.org/stac/districtcoc.pdf" title="District COC">District&nbsp;COC</a></li></ul></li><li><a href="http://www.acbl.org/stac/Stac_Contact_info.php?tnum=1112056" title="Club Registration Link">Club&nbsp;Registration&nbsp;Link</a></li><li><a href="http://www.acbl.org/stac/Stac_Contact_info.php?tnum=1112056" title="Participating Clubs">Participating&nbsp;Clubs&nbsp;Link</a></li><li><a href="http://www.acbl.org/stac/Stac_Contact_info.php?tnum=1112056" title="Current Results and Hand Record Link">Current&nbsp;Results&nbsp;and&nbsp;Hand&nbsp;Record&nbsp;Link</a></li><li><a>Results&nbsp;From&nbsp;Prior&nbsp;STACS</a><ul id="vbUL_apkzd" class="vbULhtkzd"><li><a href="http://www.acbl.org/stac/stac_results.php?sid=1104119" title="Spring 2011">Spring&nbsp;2011</a></li><li><a href="http://www.acbl.org/stac/stac_results.php?sid=1012038" title="Fall 2010">Fall&nbsp;2010</a></li><li><a href="http://www.acbl.org/stac/stac_results.php?sid=1005128" title="Spring 2010">Spring&nbsp;2010</a></li><li><a href="http://www.district12bridge.org/stac/2009_dec/stac_results_dec_09.html" title="Fall 2009">Fall&nbsp;2009</a></li><li><a href="http://www.district12bridge.org/stac/stac_results_spring.html" title="Spring 2009">Spring&nbsp;2009</a></li><li><a href="http://www.district12bridge.org/stac/2008_dec/stacschedule08a.html" title="Dec 2008">Dec&nbsp;2008</a></li><li><a href="http://www.district12bridge.org/stac/2008_may/stacschedule08.html" title="May 2008">May&nbsp;2008</a></li><li><a href="http://www.district12bridge.org/stac/2007/stacschedule07.html" title="2007">2007</a></li><li><a href="http://www.district12bridge.org/stac/2006/stacschedule06.html" title="2006">2006</a></li><li><a href="http://www.district12bridge.org/stac/2005/stacschedule05.html" title="2005">2005</a></li></ul></li></ul><ul id="vbUL_1pkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a href="http://www.district12bridge.org/nap/nap_acbl_coc.pdf" title="ACBL Condtions of Contest">ACBL&nbsp;Condtions&nbsp;of&nbsp;Contest</a></li><li><a href="http://www.district12bridge.org/nap/nap_club_mgr_info.pdf" title="Club Mgr/Dir Information">Club&nbsp;Mgr/Dir&nbsp;Information</a></li><li><a href="http://www.district12bridge.org/nap/2011/napschedule_2011.html" title="Qualifying Club Games">Qualifying&nbsp;Club&nbsp;Games</a></li><li><a title="District Finals">District&nbsp;Finals</a><ul id="vbUL_spkzd" class="vbULhtkzd"><li><a href="http://www.district12bridge.org/tournaments/results/2011/nap_index.html" title="Results">Results</a></li><li><a href="http://www.district12bridge.org/NAP/nap_district_finals_registration_information.pdf" title="Registration Information">Registration&nbsp;Information</a></li><li><a href="http://www.district12bridge.org/NAP/nap_district_finals_registration_form.pdf" title="Registration Form">Registration&nbsp;Form</a></li><li><a href="http://www.district12bridge.org/NAP/nap_district_finals_map.pdf" title="Map to Playing Site">Map&nbsp;to&nbsp;Playing&nbsp;Site</a></li></ul></li><li><a href="http://www.district12bridge.org/nap_links.html" title="Prior Year Results">Prior&nbsp;Year&nbsp;Results</a><ul id="vbUL_3pkzd" class="vbULhtkzd"><li><a href="http://www.district12bridge.org/tournaments/results/2010/nap_index.html" title="2010">2010</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2009/nap_index.html" title="2009">2009</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2008/nap_index.html" title="2008">2008</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2007/nap_index.html" title="2007">2007</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2006/nap_06_distfinals_index.html" title="2006">2006</a></li></ul></li></ul><ul id="vbUL_cpkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a href="http://www.district12bridge.org/gnt/gnt_coc.pdf" title="District Conditions of Contest">District&nbsp;Conditions&nbsp;of&nbsp;Contest</a></li><li><a href="http://www.district12bridge.org/gnt/gnt_acbl_coc.pdf" title="ACBL Conditions of Contest">ACBL&nbsp;Conditions&nbsp;of&nbsp;Contest</a></li><li><a href="http://www.district12bridge.org/gnt/gnt_general_information.pdf" title="General Information">General&nbsp;Information</a></li><li><a href="http://www.district12bridge.org/gnt/gnt_registration_form.pdf" title="Registration Form">Registration&nbsp;Form</a></li><li><a title="Results">Results</a><ul id="vbUL_rpkzd" class="vbULhtkzd"><li><a href="http://www.district12bridge.org/tournaments/results/2011/gnt_index.html" title="2011">2011</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2010/gnt_index.html" title="2010">2010</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2009/gnt.html" title="2009">2009</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2008/gnt_index.html" title="2008">2008</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2007/gntindex.html" title="2007">2007</a></li><li><a href="http://www.district12bridge.org/trgnt_06.htm" title="2006">2006</a></li><li><a href="http://www.district12bridge.org/tournaments/results/2005/GNT.html" title="2005">2005</a></li></ul></li></ul><ul id="vbUL_qpkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a href="http://www.district12bridge.org/southfield_newsletters.html" title="Southfield Bridge Connection">Southfield&nbsp;Bridge&nbsp;Connection</a></li><li><a href="http://www.district12bridge.org/somba_newsletters.html" title="SOMBA Echo">SOMBA&nbsp;Echo</a></li><li><a href="http://www.district12bridge.org/table_talk_newsletters.html" title="Table Talk">Table&nbsp;Talk</a></li></ul><ul id="vbUL_mpkzd" class="vbULhtkzd" style="visibility:hidden;"><li><a href="http://www.acbl.org/" title="ACBL">ACBL</a></li><li><a href="http://www.district12bridge.org/links_ver2.html" title="Local Club Websites">Local&nbsp;Club&nbsp;Websites</a></li><li><a href="http://www.district12bridge.org/links_other.html" title="Other Websites">Other&nbsp;Websites</a></li></ul>');
vbhtkzdn=xppr('htkzd_0.gif');vbhtkzdo=xppr('htkzd_1.gif');vbhtkzdc=xppr('htkzd_2.gif');vbjtkzdn=xppr('jtkzd_0.gif');vbjtkzdo=xppr('jtkzd_1.gif');vbjtkzdc=xppr('jtkzd_2.gif');vbktkzdn=xppr('ktkzd_0.gif');vbktkzdo=xppr('ktkzd_1.gif');vbktkzdc=xppr('ktkzd_2.gif');vbgtkzdn=xppr('gtkzd_0.gif');vbgtkzdo=xppr('gtkzd_1.gif');vbgtkzdc=xppr('gtkzd_2.gif');vbipkzdn=xppr('ipkzd_0.gif');vbipkzdo=xppr('ipkzd_1.gif');vbipkzdc=xppr('ipkzd_2.gif');vb1pkzdn=xppr('1pkzd_0.gif');vb1pkzdo=xppr('1pkzd_1.gif');vb1pkzdc=xppr('1pkzd_2.gif');vbcpkzdn=xppr('cpkzd_0.gif');vbcpkzdo=xppr('cpkzd_1.gif');vbcpkzdc=xppr('cpkzd_2.gif');vbdpkzdn=xppr('dpkzd_0.gif');vbdpkzdo=xppr('dpkzd_1.gif');vbdpkzdc=xppr('dpkzd_2.gif');vb7pkzdn=xppr('7pkzd_0.gif');vb7pkzdo=xppr('7pkzd_1.gif');vb7pkzdc=xppr('7pkzd_2.gif');vbqpkzdn=xppr('qpkzd_0.gif');vbqpkzdo=xppr('qpkzd_1.gif');vbqpkzdc=xppr('qpkzd_2.gif');vbmpkzdn=xppr('mpkzd_0.gif');vbmpkzdo=xppr('mpkzd_1.gif');vbmpkzdc=xppr('mpkzd_2.gif');var arrowChar='&raquo;';var btIdPref='vb',pressedItem='-1';function xppr(im){var i=new Image();i.src=vbImgPath+'bt'+im;return i;};function xpe(id){x=id.substring(0,id.length-1);xe=id.substring(id.length-1,id.length);if(pressedItem==x&&(xe=='n'||xe=='o'))return;if(xe=='c'){if(pressedItem!=-1)document[btIdPref+pressedItem].src=eval(btIdPref+pressedItem+'n'+'.src');pressedItem=x;};if(document[btIdPref+x])document[btIdPref+x].src=eval(btIdPref+id+'.src');};
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;

