var hBar = new ItemStyle(126, 0, '', -14, 3, '#cccccc', '#666666', 'lowText', 'highText', 'itemBorder', 'itemBorder', null, null, 'hand', 'default'); var hBar2 = new ItemStyle(125, 0, '', -14, 3, '#cccccc', '#666666', 'lowText', 'highText', 'itemBorder', 'itemBorder', null, null, 'hand', 'default'); var subM = new ItemStyle(22, 0, '', -18, 3, '#cccccc', '#666666', 'lowText', 'highText', 'itemBorder', 'itemBorder', null, null, 'hand', 'default'); var pMenu = new PopupMenu('pMenu'); with (pMenu) { startMenu('root', false, '0', '102', 22, hBar, '', false); with (addItem('Company', '', '', null, 126)) sm = 'mCompany'; startMenu('mCompany', true, 0, 22, 126, subM, '', false); addItem('Overview', 'company.php', ''); addItem('Procise Process™', 'Procisely.php', ''); addItem('Customers', 'customers.php', ''); addItem('News', 'news.php', ''); addItem('Trade shows', 'tradeshows.php', ''); addItem('Affiliations', 'affiliations.php', ''); addItem('Certifications', 'certifications.php', ''); addItem('Jobs', 'jobs.php', ''); startMenu('root2', false, '125', '102', 22, hBar, '', false); with (addItem('Systems', '', '', null, 126)) sm = 'mSystems'; startMenu('mSystems', true, 0, 22, 126, subM, '', false); addItem('Shot peening', 'shotpeening.php', ''); addItem('Grit blasting', 'gritblasting.php', ''); addItem('Thermal spraying', 'thermalspraying.php', ''); addItem('Waterjet cleaning', 'waterjetcleaning.php', ''); addItem('Custom automation', 'customautomation.php', ''); addItem('Refurbished
systems', 'refurbished.php', '', '', 35); startMenu('root3', false, '250', '102', 22, hBar, '', false); with (addItem('Services', '', '', null, 126)) sm = 'mServices'; startMenu('mServices', true, 0, 22, 126, subM, '', false); addItem('Customer', 'customerservices.php', ''); addItem('Contract', 'contractservices.php', ''); startMenu('root4', false, '375', '102', 22, hBar, '', false); with (addItem('Software', '', '', null, 126)) sm = 'mSoftware'; startMenu('mSoftware', true, 0, 22, 126, subM, '', false); addItem('PRIMS', 'PRIMS.php', ''); addItem('CITS', 'CITS.php', ''); addItem('Saturation curve solver', 'SCS.php', '', '', 35); addItem('Software updates', 'http://www.ptisoftware.com', 'js:window.open()'); startMenu('root5', false, '500', '102', 22, hBar, '', false); with (addItem('Applications', '', '', null, 126)) sm = 'mApps'; startMenu('mApps', true, 0, 22, 126, subM, '', false); addItem('Aerospace', 'aerospace.php', ''); addItem('Energy', 'energy.php', ''); addItem('Industrial', 'industrial.php', ''); addItem('Medical', 'medical.php', ''); addItem('Military', 'military.php', ''); startMenu('root6', false, '625', '102', 22, hBar2, '', false); with (addItem('Resources', '', '', null, 125)) sm = 'mResources'; startMenu('mResources', true, 0, 22, 125, subM, '', false); addItem('Case studies', 'casestudies.php', ''); addItem('Tables', 'tables.php', ''); addItem('Coating data', 'coatingdata.php', ''); addItem('Videos', 'videos.php', ''); addItem('FAQs', 'smFAQs', 'sm:', '', 22); addItem('Glossary', 'glossary.php', ''); addItem('Processes', 'smProcesses', 'sm:', '', 22); startMenu('smFAQs', true, 80, 10, 125, subM, '', false); addItem('General', 'FAQ_general.php', ''); addItem('Customer service', 'FAQ_customerservice.php', ''); addItem('Sales', 'FAQ_sales.php', ''); addItem('Shot peening', 'FAQ_shotpeening.php', ''); addItem('Grit blasting', 'FAQ_gritblasting.php', ''); addItem('Thermal spraying', 'FAQ_thermalspraying.php', ''); addItem('Waterjet cleaning', 'FAQ_waterjetcleaning.php', ''); startMenu('smProcesses', true, 80, 10, 125, subM, '', false); addItem('Shot peening', 'shotpeening_process.php', ''); addItem('Grit blasting', 'gritblasting_process.php', ''); addItem('Thermal spraying', 'thermalspraying_process.php', ''); addItem('Waterjet cleaning', 'waterjetcleaning_process.php', ''); } addMenuBorder(pMenu, window.subBlank, null, '#666666', 1, '#CCCCDD', 2); if ((navigator.userAgent.indexOf('rv:0.')==-1) && !(isOp&&!document.documentElement) && !(isIE4&&!window.external)) { pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)'); pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -15)'); } function menuAnim(menuObj, menuName, dir) { var mD = menuObj.menu[menuName][0]; if (!mD.timer) mD.timer = 0; if (!mD.counter) mD.counter = 0; with (mD) { clearTimeout(timer); if (!lyr || !lyr.ref) return; if (!visNow && dir>0) dir = 0-dir; if (dir>0) lyr.vis('visible'); lyr.sty.zIndex = dir>0 ? mD.zIndex + 1 : 1001; lyr.clip(0, 0, menuW+2, (menuH+2)*Math.pow(Math.sin(Math.PI*counter/200),0.75) ); counter += dir; if (counter>100) { counter = 100; lyr.sty.zIndex = mD.zIndex } else if (counter<0) { counter = 0; lyr.vis('hidden') } else timer = setTimeout('menuAnim('+menuObj.myName+',"'+menuName+'",'+dir+')', 40); } }; function addMenuBorder(mObj, iS, alpha, bordCol, bordW, backCol, backW) { for (var mN in mObj.menu) { var mR=mObj.menu[mN], dS='
'; else mR[0].extraHTML += dS+bordCol+'; left:0px; top:0px; width:'+mW+'px; height:'+mH+ 'px; z-index:980; '+ (alpha!=null?'filter:alpha(opacity='+alpha+'); -moz-opacity:'+alpha+'%; opacity:'+(alpha/100):'')+ '">'+dS+backCol+'; left:'+bordW+'px; top:'+bordW+'px; width:'+(mW-2*bordW)+'px; height:'+ (mH-2*bordW)+'px; z-index:990">
'; } };