document.write('<table id="vista-buttons.com:idptyo7" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-right:0px" title ="LOCAL"><a onmouseover=\'xpe("ptyo7o");xpshow("ptyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("ptyo7c");\'><img id="xpi_ptyo7" src="'+vbImgPath+'btptyo7_0.gif" name="vbptyo7" width="52" height="24" border="0" alt="LOCAL"/></a></td><td style="padding-right:0px" title ="SEARCH"><a onmouseover=\'xpe("otyo7o");xpshow("otyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("otyo7c");\'><img id="xpi_otyo7" src="'+vbImgPath+'btotyo7_0.gif" name="vbotyo7" width="59" height="24" border="0" alt="SEARCH"/></a></td><td style="padding-right:0px" title ="WEATHER"><a onmouseover=\'xpe("wtyo7o");xpshow("wtyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("wtyo7c");\'><img id="xpi_wtyo7" src="'+vbImgPath+'btwtyo7_0.gif" name="vbwtyo7" width="68" height="24" border="0" alt="WEATHER"/></a></td><td style="padding-right:0px" title ="SPORTS"><a onmouseover=\'xpe("4tyo7o");xpshow("4tyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("4tyo7c");\'><img id="xpi_4tyo7" src="'+vbImgPath+'bt4tyo7_0.gif" name="vb4tyo7" width="58" height="24" border="0" alt="SPORTS"/></a></td><td style="padding-right:0px" title ="NEWSPAPERS"><a onmouseover=\'xpe("ztyo7o");xpshow("ztyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("ztyo7c");\'><img id="xpi_ztyo7" src="'+vbImgPath+'btztyo7_0.gif" name="vbztyo7" width="86" height="24" border="0" alt="NEWSPAPERS"/></a></td><td style="padding-right:0px" title ="NEWS"><a onmouseover=\'xpe("utyo7o");xpshow("utyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("utyo7c");\'><img id="xpi_utyo7" src="'+vbImgPath+'btutyo7_0.gif" name="vbutyo7" width="49" height="24" border="0" alt="NEWS"/></a></td><td style="padding-right:0px" title ="SHOP"><a onmouseover=\'xpe("vtyo7o");xpshow("vtyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("vtyo7c");\'><img id="xpi_vtyo7" src="'+vbImgPath+'btvtyo7_0.gif" name="vbvtyo7" width="47" height="24" border="0" alt="SHOP"/></a></td><td style="padding-right:0px" title ="UTILITIES"><a onmouseover=\'xpe("ytyo7o");xpshow("ytyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("ytyo7c");\'><img id="xpi_ytyo7" src="'+vbImgPath+'btytyo7_0.gif" name="vbytyo7" width="68" height="24" border="0" alt="UTILITIES"/></a></td><td style="padding-right:0px" title ="EVERYTHING ELSE"><a onmouseover=\'xpe("xtyo7o");xpshow("xtyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("xtyo7c");\'><img id="xpi_xtyo7" src="'+vbImgPath+'btxtyo7_0.gif" name="vbxtyo7" width="107" height="24" border="0" alt="EVERYTHING ELSE"/></a></td><td style="padding-right:0px" title ="ASTRONOMY"><a onmouseover=\'xpe("ltyo7o");xpshow("ltyo7",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("ltyo7c");\'><img id="xpi_ltyo7" src="'+vbImgPath+'btltyo7_0.gif" name="vbltyo7" width="75" height="24" border="0" alt="ASTRONOMY"/></a></td></tr></table>');
document.write('<ul id="vbUL_ptyo7" class="vbULptyo7" style="visibility:hidden;"><li><a href="http://www4.rtcol.com/" title="RTC" target="_parent">RTC</a></li><li><a href="http://ww.kconline.com/" title="KCONLINE" target="_parent">KCONLINE</a></li><li><a href="http://www.dcwi.com/" title="DCWI" target="_parent">DCWI</a></li></ul><ul id="vbUL_otyo7" class="vbULptyo7" style="visibility:hidden;"><li><a href="http://www.google.com/" title="GOOGLE" target="_parent">GOOGLE</a></li><li><a href="http://www.yahoo.com/" title="YAHOO" target="_parent">YAHOO</a></li><li><a href="http://go.com/" title="GO">GO</a></li><li><a href="http://www.excite.com/" title="EXCITE" target="_parent">EXCITE</a></li><li><a href="http://www.altavista.com/" title="ALTA VISTA" target="_parent">ALTA&nbsp;VISTA</a></li><li><a href="http://www.youtube.com/" title="YOUTUBE" target="_top">YOUTUBE</a></li><li><a href="http://www.switchboard.com/" title="FIND A PHONE NUMBER" target="_parent">FIND&nbsp;A&nbsp;PHONE&nbsp;NUMBER</a></li><li><a href="http://maps.google.com/maps?hl=en&tab=wl" title="MAPS" target="_parent">MAPS</a></li></ul><ul id="vbUL_wtyo7" class="vbULptyo7" style="visibility:hidden;"><li><a href="http://www.intellicast.com/National/Radar/Current.aspx?animate=true" title="NATIONAL RADAR" target="_parent">NATIONAL&nbsp;RADAR</a></li><li><a href="http://www.weather.com/weather/local/46539?where=46539&GO=GO&x=0&y=0" title="WEATHER.COM" target="_parent">WEATHER.COM</a></li><li><a href="http://www.wunderground.com/" title="WEATHER UNDERGROUND" target="_parent">WEATHER&nbsp;UNDERGROUND</a></li><li><a href="http://weather.rtcol.com/wx.htm" title="RTC WEATHER STATION" target="_parent">RTC&nbsp;WEATHER&nbsp;STATION</a></li><li><a href="http://www.drought.unl.edu/dm/monitor.html" title="US DROUGHT MONITOR" target="_parent">US&nbsp;DROUGHT&nbsp;MONITOR</a></li><li><a href="http://www.wndu.com/weather" title="LIVE DOPPLER CHANNEL 16" target="_parent">LIVE&nbsp;DOPPLER&nbsp;CHANNEL&nbsp;16</a></li><li><a href="http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KINMENTO1" title="BIRCH RD. OBSERVATORY" target="_parent">BIRCH&nbsp;RD.&nbsp;OBSERVATORY</a></li><li><a href="http://www.mountwashington.org/weather/comments/" title="MOUNT WASHINGTON OBSERVATORY" target="_parent">MOUNT&nbsp;WASHINGTON&nbsp;OBSERVATORY</a></li><li><a href="http://www.noaa.gov/" title="NOAA" target="_parent">NOAA</a></li></ul><ul id="vbUL_4tyo7" class="vbULptyo7" style="visibility:hidden;"><li><a title="BASKETBALL">BASKETBALL</a><ul id="vbUL_btyo7" class="vbULptyo7"><li><a href="http://iuhoosiers.cstv.com/sports/m-baskbl/ind-m-baskbl-body.html" title="I.U." target="_parent">I.U.</a></li><li><a href="http://www.nba.com/pacers/" title="INDIANA PACERS" target="_parent">INDIANA&nbsp;PACERS</a></li></ul></li><li><a title="FOOTBALL">FOOTBALL</a><ul id="vbUL_ftyo7" class="vbULptyo7"><li><a href="http://iuhoosiers.cstv.com/sports/m-footbl/ind-m-footbl-body.html" title="I.U." target="_parent">I.U.</a></li><li><a href="http://colts.com/" title="COLTS" target="_parent">COLTS</a></li></ul></li><li><a title="MOTOR SPORTS">MOTOR&nbsp;SPORTS</a><ul id="vbUL_ntyo7" class="vbULptyo7"><li><a href="http://www.nascar.com/" title="NASCAR" target="_parent">NASCAR</a></li><li><a href="http://www.indycar.com/" title="INDY CAR" target="_parent">INDY&nbsp;CAR</a></li><li><a href="http://catchfence.com/index1.html" title="CATCH FENCE" target="_parent">CATCH&nbsp;FENCE</a></li><li><a href="http://www.thatsracin.com/" title="THAT\'S RACIN" target="_parent">THAT\'S&nbsp;RACIN</a></li></ul></li></ul><ul id="vbUL_ztyo7" class="vbULptyo7" style="visibility:hidden;"><li><a href="http://www.usatoday.com/" title="USA TODAY" target="_parent">USA&nbsp;TODAY</a></li><li><a href="http://www.indystar.com/apps/pbcs.dll/frontpage" title="INDY STAR & NEWS" target="_parent">INDY&nbsp;STAR&nbsp;&&nbsp;NEWS</a></li><li><a href="http://www.timesuniononline.com/" title="WARSAW TIMES UNION" target="_parent">WARSAW&nbsp;TIMES&nbsp;UNION</a></li><li><a href="http://www.rochsent.com" title="ROCHESTER SENTINEL" target="_parent">ROCHESTER&nbsp;SENTINEL</a></li><li><a href="http://www.southbendtribune.com/apps/pbcs.dll/frontpage" title="SOUTH BEND TRIBUNE" target="_parent">SOUTH&nbsp;BEND&nbsp;TRIBUNE</a></li><li><a title="FORT WAYNE JOURNAL" target="_parent">FORT&nbsp;WAYNE&nbsp;JOURNAL</a></li><li><a href="http://www.onlinenewspapers.com/" title="NEWS PAPER SEARCH" target="_parent">NEWS&nbsp;PAPER&nbsp;SEARCH</a></li></ul><ul id="vbUL_utyo7" class="vbULptyo7" style="visibility:hidden;"><li><a href="http://abcnews.go.com/" title="ABC NEWS" target="_parent">ABC&nbsp;NEWS</a></li><li><a href="http://www.cnn.com/" title="CNN" target="_parent">CNN</a></li><li><a href="http://www.cnbc.com" title="CNBC" target="_parent">CNBC</a></li><li><a href="http://www.rushlimbaugh.com/home/today.guest.html" title="RUSH LIMBAUGH" target="_parent">RUSH&nbsp;LIMBAUGH</a></li><li><a href="http://www.wndu.com/closings" title="CLOSINGS" target="_parent">CLOSINGS</a></li></ul><ul id="vbUL_vtyo7" class="vbULptyo7" style="visibility:hidden;"><li><a href="http://www.EBAY.COM" title="EBAY" target="_parent">EBAY</a></li><li><a href="http://www.amazon.com/" title="AMAZON" target="_parent">AMAZON</a></li></ul><ul id="vbUL_ytyo7" class="vbULptyo7" style="visibility:hidden;"><li><a title="FINANCIAL">FINANCIAL</a><ul id="vbUL_htyo7" class="vbULptyo7"><li><a href="http://www.lakecitybank.com/" title="LAKE CITY BANK" target="_parent">LAKE&nbsp;CITY&nbsp;BANK</a></li><li><a href="http://www.xe.com/ucc/" title="CURRENCY CONVERSION" target="_parent">CURRENCY&nbsp;CONVERSION</a></li></ul></li><li><a title="ONLINE MANUALS">ONLINE&nbsp;MANUALS</a><ul id="vbUL_jtyo7" class="vbULptyo7"><li><a title="Submenu item 4">Submenu&nbsp;item&nbsp;4</a></li></ul></li><li><a title="SELF HELP">SELF&nbsp;HELP</a><ul id="vbUL_ktyo7" class="vbULptyo7"><li><a href="http://www.partselect.com/" title="APPLIANCE PARTS & REPAIR" target="_parent">APPLIANCE&nbsp;PARTS&nbsp;&&nbsp;REPAIR</a></li></ul></li><li><a title="CALCULATORS">CALCULATORS</a><ul id="vbUL_gtyo7" class="vbULptyo7"><li><a href="http://www.blocklayer.com/calculatordirectory.aspx" title="CONSTRUCTION " target="_parent">CONSTRUCTION&nbsp;</a></li></ul></li></ul><ul id="vbUL_xtyo7" class="vbULptyo7" style="visibility:hidden;"><li><a title="EARTH SCIENCE">EARTH&nbsp;SCIENCE</a><ul id="vbUL_ipyo7" class="vbULptyo7"><li><a href="http://www.time.gov/" title="WHAT TIME IS IT" target="_parent">WHAT&nbsp;TIME&nbsp;IS&nbsp;IT</a></li><li><a href="http://terraserver-usa.com/" title="EARTH FROM SPACE" target="_parent">EARTH&nbsp;FROM&nbsp;SPACE</a></li><li><a href="http://vps.arachnoid.com/sky/index.html" title="DARK SKY WHY?" target="_parent">DARK&nbsp;SKY&nbsp;WHY?</a></li></ul></li></ul><ul id="vbUL_ltyo7" class="vbULptyo7" style="visibility:hidden;"><li><a href="http://www.medt.com/~tcraig/observatory/index.htm" title="OBSERVATORY CONSTRUCTION" target="_parent">OBSERVATORY&nbsp;CONSTRUCTION</a></li></ul>');
vbptyo7n=xppr('ptyo7_0.gif');vbptyo7o=xppr('ptyo7_1.gif');vbptyo7c=xppr('ptyo7_2.gif');vbotyo7n=xppr('otyo7_0.gif');vbotyo7o=xppr('otyo7_1.gif');vbotyo7c=xppr('otyo7_2.gif');vbwtyo7n=xppr('wtyo7_0.gif');vbwtyo7o=xppr('wtyo7_1.gif');vbwtyo7c=xppr('wtyo7_2.gif');vb4tyo7n=xppr('4tyo7_0.gif');vb4tyo7o=xppr('4tyo7_1.gif');vb4tyo7c=xppr('4tyo7_2.gif');vbztyo7n=xppr('ztyo7_0.gif');vbztyo7o=xppr('ztyo7_1.gif');vbztyo7c=xppr('ztyo7_2.gif');vbutyo7n=xppr('utyo7_0.gif');vbutyo7o=xppr('utyo7_1.gif');vbutyo7c=xppr('utyo7_2.gif');vbvtyo7n=xppr('vtyo7_0.gif');vbvtyo7o=xppr('vtyo7_1.gif');vbvtyo7c=xppr('vtyo7_2.gif');vbytyo7n=xppr('ytyo7_0.gif');vbytyo7o=xppr('ytyo7_1.gif');vbytyo7c=xppr('ytyo7_2.gif');vbxtyo7n=xppr('xtyo7_0.gif');vbxtyo7o=xppr('xtyo7_1.gif');vbxtyo7c=xppr('xtyo7_2.gif');vbltyo7n=xppr('ltyo7_0.gif');vbltyo7o=xppr('ltyo7_1.gif');vbltyo7c=xppr('ltyo7_2.gif');var arrowChar='&raquo;';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;
