document.write('<table id="vista-buttons.com:idy1vfr" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-right:0px" title ="Home"><a href="index.html" onmouseover=\'xpe("y1vfro");\' onmouseout=\'xpe("y1vfrn");\' onmousedown=\'xpe("y1vfrc");\'><img id="xpi_y1vfr" src="'+vbImgPath+'/bty1vfr_0.gif" name="vby1vfr" width="47" height="25" border="0" alt="Home"/></a></td><td style="padding-right:0px" title ="Bread Machines"><a onmouseover=\'xpe("x1vfro");xpshow("x1vfr",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("x1vfrc");\'><img id="xpi_x1vfr" src="'+vbImgPath+'/btx1vfr_0.gif" name="vbx1vfr" width="108" height="25" border="0" alt="Bread Machines"/></a></td><td style="padding-right:0px" title ="Artisan Lines"><a onmouseover=\'xpe("l1vfro");xpshow("l1vfr",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("l1vfrc");\'><img id="xpi_l1vfr" src="'+vbImgPath+'/btl1vfr_0.gif" name="vbl1vfr" width="94" height="25" border="0" alt="Artisan Lines"/></a></td><td style="padding-right:0px" title ="Industrial Bread Lines"><a onmouseover=\'xpe("b1vfro");xpshow("b1vfr",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("b1vfrc");\'><img id="xpi_b1vfr" src="'+vbImgPath+'/btb1vfr_0.gif" name="vbb1vfr" width="136" height="25" border="0" alt="Industrial Bread Lines"/></a></td><td style="padding-right:0px" title ="Cake & Pastry Machines"><a onmouseover=\'xpe("f1vfro");xpshow("f1vfr",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("f1vfrc");\'><img id="xpi_f1vfr" src="'+vbImgPath+'/btf1vfr_0.gif" name="vbf1vfr" width="148" height="25" border="0" alt="Cake & Pastry Machines"/></a></td><td style="padding-right:0px" title ="Service & Expendables"><a onmouseover=\'xpe("n1vfro");xpshow("n1vfr",0,this);xpsmover(this);\' onmouseout=\'xpsmout(this);\' onmousedown=\'xpe("n1vfrc");\'><img id="xpi_n1vfr" src="'+vbImgPath+'/btn1vfr_0.gif" name="vbn1vfr" width="142" height="25" border="0" alt="Service & Expendables"/></a></td><td style="padding-right:0px" title ="Equipment Partners"><a href="partners_mainpage.html" onmouseover=\'xpe("h1vfro");\' onmouseout=\'xpe("h1vfrn");\' onmousedown=\'xpe("h1vfrc");\'><img id="xpi_h1vfr" src="'+vbImgPath+'/bth1vfr_0.gif" name="vbh1vfr" width="114" height="25" border="0" alt="Equipment Partners"/></a></td></tr></table>');
document.write('<ul id="vbUL_x1vfr" class="vbULy1vfr" style="visibility:hidden;"><li><a href="javascript:void(0)" title="Water Handling">Water&nbsp;Handling</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_j1vfr" class="vbULy1vfr"><li><a href="chillers.html" title="Chillers">Chillers</a></li><li><a href="metres_and_dosers.html" title="Metres & dosers">Metres&nbsp;&&nbsp;dosers</a></li></ul></li><li><a href="javascript:void(0)" title="Mixers">Mixers</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_k1vfr" class="vbULy1vfr"><li><a href="spiral-mixers.html" title="Spiral">Spiral</a></li><li><a href="rollerbar-mixers.html" title="Horizontal">Horizontal</a></li><li><a href="continuous-mixers.html" title="Continuous">Continuous</a></li></ul></li><li><a href="dough_handling.html" title="Dough Handling ">Dough&nbsp;Handling&nbsp;</a></li><li><a href="javascript:void(0)" title="Dividers">Dividers</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_g1vfr" class="vbULy1vfr"><li><a href="dividers_hydraulic.html" title="Hydraulic">Hydraulic</a></li><li><a href="dividers_pocket.html" title="Pocket Dividers">Pocket&nbsp;Dividers</a></li><li><a href="dividers_quadro.html" title="Quadro">Quadro</a></li></ul></li><li><a href="rounders.html" title="Rounders">Rounders</a></li><li><a href="retarder_proofers.html" title="Retarder Proofers">Retarder&nbsp;Proofers</a></li><li><a href="intermediate_proofers.html" title="Intermediate Proofers">Intermediate&nbsp;Proofers</a></li><li><a href="moulders.html" title="Moulders">Moulders</a></li><li><a href="proofers.html" title="Proofers">Proofers</a></li><li><a href="javascript:void(0)" title="Ovens">Ovens</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_icvfr" class="vbULy1vfr"><li><a href="ovens_rack.html" title="Rack">Rack</a></li><li><a href="ovens_deck.html" title="Deck">Deck</a></li><li><a href="ovens_tunnel.html" title="Tunnel">Tunnel</a></li></ul></li><li><a href="javascript:void(0)" title="Coolers/Freezers">Coolers/Freezers</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_1cvfr" class="vbULy1vfr"><li><a href="coolers_rack.html" title="Rack">Rack</a></li><li><a href="coolers_spiral.html" title="Spiral">Spiral</a></li><li><a href="coolers_tunnel.html" title="Tunnel">Tunnel</a></li><li><a href="coolers_vacuum.html" title="Vacuum">Vacuum</a></li></ul></li><li><a href="javascript:void(0)" title="Slicing">Slicing</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_ccvfr" class="vbULy1vfr"><li><a href="slicing_instore.html" title="In Store Slicing">In&nbsp;Store&nbsp;Slicing</a></li><li><a href="slicing_industrial.html" title="Industrial Slicing">Industrial&nbsp;Slicing</a></li></ul></li><li><a href="javascript:void(0)" title="Bagging">Bagging</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_dcvfr" class="vbULy1vfr"><li><a href="bagging_instore.html " title="In Store Bagging">In&nbsp;Store&nbsp;Bagging</a></li><li><a href="bagging_industrial.html" title="Industrial Bagging">Industrial&nbsp;Bagging</a></li></ul></li></ul><ul id="vbUL_l1vfr" class="vbULy1vfr" style="visibility:hidden;"><li><a href="bagetta.html" title="Bagetta">Bagetta</a></li><li><a href="classica.html" title="Classica">Classica</a></li><li><a href="crustica.html" title="Crustica">Crustica</a></li><li><a href="crustica_plus.html" title="Crustica+">Crustica+</a></li></ul><ul id="vbUL_b1vfr" class="vbULy1vfr" style="visibility:hidden;"><li><a href="bread_lines.html" title="Bread Lines to 10k">Bread&nbsp;Lines&nbsp;to&nbsp;10k</a></li><li><a href="roll_lines.html" title="Roll Lines to 30k">Roll&nbsp;Lines&nbsp;to&nbsp;30k</a></li><li><a href="flat-bread-lines.html" title="Flat Bread Lines">Flat&nbsp;Bread&nbsp;Lines</a></li><li><a href="bagel_lines.html" title="Bagel Lines">Bagel&nbsp;Lines</a></li><li><a href="muffin_lines.html" title="Muffin Lines">Muffin&nbsp;Lines</a></li><li><a href="turkish_bread_lines.html" title="Turkish Lines">Turkish&nbsp;Lines</a></li><li><a href="javascript:void(0)" title="Pizza Lines">Pizza&nbsp;Lines</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_7cvfr" class="vbULy1vfr"><li><a href="pizza.html" title="Pizza Lines ">Pizza&nbsp;Lines&nbsp;</a></li><li><a href="pizza_toppings.html" title="Sauce & Topping Applicators">Sauce&nbsp;&&nbsp;Topping&nbsp;Applicators</a></li></ul></li></ul><ul id="vbUL_f1vfr" class="vbULy1vfr" style="visibility:hidden;"><li><a href="javascript:void(0)" title="Mixers">Mixers</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_qcvfr" class="vbULy1vfr"><li><a href="planetary-mixers.html" title="Planetary">Planetary</a></li><li><a href="horizontal-mixers.html" title="Horizontal">Horizontal</a></li></ul></li><li><a href="javascript:void(0)" title="Depositors">Depositors</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_mcvfr" class="vbULy1vfr"><li><a href="piston-depositors.html" title="Piston">Piston</a></li><li><a href="toothwheel-depositors.html" title="Toothwheel">Toothwheel</a></li></ul></li><li><a href="javascript:void(0)" title="Sprayers">Sprayers</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_5cvfr" class="vbULy1vfr"><li><a href="sprayers-glaze.html" title="Glaze">Glaze</a></li><li><a href="sprayers-others.html" title="Other systems">Other&nbsp;systems</a></li></ul></li><li><a href="transfer-pump.html" title="Transfer Pump">Transfer&nbsp;Pump</a></li><li><a href="javascript:void(0)" title="Ultrasonic Cutter">Ultrasonic&nbsp;Cutter</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_acvfr" class="vbULy1vfr"><li><a href="cutters-round.html" title="Round">Round</a></li><li><a href="cutters-tray.html" title="Tray">Tray</a></li></ul></li><li><a href="javascript:void(0)" title="Fedco">Fedco</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_scvfr" class="vbULy1vfr"><li><a href="fedco_continuous_mixer.html" title="Fedco Continuous Mixer">Fedco&nbsp;Continuous&nbsp;Mixer</a></li><li><a href="fedco_slurry_mixer.html" title="Fedco Slurry Mixer">Fedco&nbsp;Slurry&nbsp;Mixer</a></li><li><a href="fedco_cooling_tunnel.html" title="Fedco Cooling Tunnel">Fedco&nbsp;Cooling&nbsp;Tunnel</a></li><li><a href="fedco_depanner.html" title="Fedco Depanner">Fedco&nbsp;Depanner</a></li><li><a href="fedco_pan_turner.html" title="Fedco Pan Turner">Fedco&nbsp;Pan&nbsp;Turner</a></li><li><a href="fedco_depositor.html" title="Fedco Depositor">Fedco&nbsp;Depositor</a></li><li><a href="fedco_icers.html" title="Fedco Icers">Fedco&nbsp;Icers</a></li><li><a href="fedco_pumps.html" title="Fedco Pumps">Fedco&nbsp;Pumps</a></li><li><a href="fedco_dry_toppers.html" title="Fedco Dry Toppers">Fedco&nbsp;Dry&nbsp;Toppers</a></li><li><a href="fedco_creme_injector.html" title="Fedco Creme Injector">Fedco&nbsp;Creme&nbsp;Injector</a></li><li><a href="fedco_spin_disk.html" title="Fedco Spin Disk">Fedco&nbsp;Spin&nbsp;Disk</a></li><li><a href="fedco_wet_topping_applicators.html" title="Fedco Wet Topping Applicators">Fedco&nbsp;Wet&nbsp;Topping&nbsp;Applicators</a></li></ul></li><li><a href="bakery-other-solutions.html" title="Other Solutions">Other&nbsp;Solutions</a></li><li><a href="retarder_proofers.html" title="Retarder Proofer">Retarder&nbsp;Proofer</a></li><li><a href="pastry-lines.html" title="Industrial Pastry Lines">Industrial&nbsp;Pastry&nbsp;Lines</a></li><li><a href="biscuit-lines.html" title="Industrial Biscuit Lines">Industrial&nbsp;Biscuit&nbsp;Lines</a></li><li><a href="javascript:void(0)" title="Cooling/Freezing">Cooling/Freezing</a><img src="'+vbImgPath+'/ary1vfr.gif"/><ul id="vbUL_3cvfr" class="vbULy1vfr"><li><a href="coolers_rack.html" title="Rack">Rack</a></li><li><a href="coolers_spiral.html" title="Spiral">Spiral</a></li><li><a href="coolers_tunnel.html" title="Tunnel">Tunnel</a></li><li><a href="coolers_vacuum.html" title="Vacuum">Vacuum</a></li><li><a href="coolers_blast.html" title="Blast chillers/freezers">Blast&nbsp;chillers/freezers</a></li></ul></li></ul><ul id="vbUL_n1vfr" class="vbULy1vfr" style="visibility:hidden;"><li><a href="services.html" title="Service">Service</a></li><li><a href="parts.html" title="Parts">Parts</a></li><li><a href="pans.html" title="Pans">Pans</a></li><li><a href="blades.html" title="Blades">Blades</a></li></ul>');
vby1vfrn=xppr('y1vfr_0.gif');vby1vfro=xppr('y1vfr_1.gif');vby1vfrc=xppr('y1vfr_2.gif');vbx1vfrn=xppr('x1vfr_0.gif');vbx1vfro=xppr('x1vfr_1.gif');vbx1vfrc=xppr('x1vfr_2.gif');vbl1vfrn=xppr('l1vfr_0.gif');vbl1vfro=xppr('l1vfr_1.gif');vbl1vfrc=xppr('l1vfr_2.gif');vbb1vfrn=xppr('b1vfr_0.gif');vbb1vfro=xppr('b1vfr_1.gif');vbb1vfrc=xppr('b1vfr_2.gif');vbf1vfrn=xppr('f1vfr_0.gif');vbf1vfro=xppr('f1vfr_1.gif');vbf1vfrc=xppr('f1vfr_2.gif');vbn1vfrn=xppr('n1vfr_0.gif');vbn1vfro=xppr('n1vfr_1.gif');vbn1vfrc=xppr('n1vfr_2.gif');vbh1vfrn=xppr('h1vfr_0.gif');vbh1vfro=xppr('h1vfr_1.gif');vbh1vfrc=xppr('h1vfr_2.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;
