
var isIE = document.all ? 1 : 0;
var isNS4 = navigator.appName=='Netscape'&&!isDOM ? 1 : 0;

// *** START EDITING HERE ***

var hBar = new ItemStyle(40, 10, '', 0, 0, 'Gray', '#AD2931', 'highText', 'highText', '', '',
 null, null, 'hand', 'default');

var subM = new ItemStyle(22, 0, '&gt;', -15, 3, '#CCCCDD', '#AD2931', 'lowText', 'highText',
 'itemBorder', 'itemBorder', null, null, 'hand', 'default');

var subBlank = new ItemStyle(22, 1, '&gt;', -15, 3, '#CCCCDD', '#6699CC', 'lowText', 'highText',
 'itemBorderBlank', 'itemBorder', null, null, 'hand', 'default');

var button = new ItemStyle(22, 1, '&gt;', -15, 2, '#006633', '#CC6600', 'buttonText', 'buttonHover',
 'buttonBorder', 'buttonBorderOver', 80, 95, 'crosshair', 'default');

var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
// Create the root menu in the frame named 'MENU'.
startMenu('root', false, 320, 38, 17, hBar, 'MENU');
addItem('&nbsp; Lösungen', 'mProducts', 'sm:', hBar, 70);
addItem('&nbsp; Partner', 'mPartners', 'sm:', hBar, 60);
addItem('&nbsp; Über uns', 'mAbout', 'sm:', hBar, 70);
addItem('&nbsp; Kontakt', 'mContact', 'sm:', hBar, 60);

// The mProducts menu will scroll vertically with the page in the 'CONTENT' frame.
startMenu('mProducts', true, 0, 'CONTENT.page.scrollY()+5', 120, subM, 'CONTENT');
addItem2( '<B>Ersatzteilkatalog</B>', 'partscat.htm' );
addItem2( '<B>eCommerce, eShop</B>', 'door2shop.htm' );
addItem2( '<B>Deep-Zoom</B>', 'door2zoom.htm' );
addItem2( '<B>Verleihsoftware</B>', 'door2rental.htm' );
addItem2( 'Java Development', 'element4solution.htm' );

startMenu('mPartners', true, 0, 'CONTENT.page.scrollY()+5', 160, subM, 'CONTENT');
addItem2( 'Sn@pconsult', 'snapconsult.htm' );
addItem2( 'SINTEG', 'sinteg.htm' );
addItem2( 'MANTIS', 'mantis.htm' );
addItem2( 'CNC', 'cnc.htm' );
addItem2( 'Weitere Links', 'links.htm' );

startMenu('mAbout', true, 0, 'CONTENT.page.scrollY()+5', 120, subM, 'CONTENT');
// addItem2( '&nbsp; &nbsp; Jobs', 'jobs.htm' );
addItem('&nbsp; &nbsp; Gesellschaft', 'mCompany', 'sm:');
addItem2( '&nbsp; &nbsp; Anfahrtsplan', 'anfahrtsplan.htm' );
addItem2( '&nbsp; &nbsp; Vorgehensmodell', 'vorgehensmodell.htm' );

startMenu('mContact', true, 0, 'CONTENT.page.scrollY()+5', 100, subM, 'CONTENT');
<!-- addItem2( '&nbsp; &nbsp; <B>Systems 04</B>', 'systems04.htm' ); -->
addItem2( '&nbsp; &nbsp; Anfrage', 'contact.htm' );
addItem2( '&nbsp; &nbsp; Demo', 'fastviewer.htm' );

startMenu('mCompany', true, 105, 10, 120, subM, 'CONTENT');
addItem2('&nbsp; &nbsp; Struktur', 'shareholders.htm');
addItem2('&nbsp; &nbsp; Robert Siegel', 'robert_siegel.htm');
}

addMenuBorder(pMenu, window.subBlank,
 null, '#666666', 1, '#CCCCDD', 2);

addDropShadow(pMenu, window.subM,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);
addDropShadow(pMenu, window.subBlank,
 [40,"#333333",6,6,-4,-4], [40,"#666666",4,4,0,0]);


if (!isOp && navigator.userAgent.indexOf('rv:0.')==-1)
{
 pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)');
 pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -10)');
}


function addItem2( txt, url )
{
   if (isIE)
      pMenu.addItem(txt, 'content/' + url, 'CONTENT');
   else	
      pMenu.addItem(txt, url, 'CONTENT');
}

