var hBar = new ItemStyle(21, 0, '>', -13, 2, '#0D4D99', '#009B96', 'itemText', 'itemText', 'itemBorder', 'itemBorderOver',null, null); var subM = new ItemStyle(21, 0, '>', -13, 2, '#0D4D99', '#009B96', 'itemText', 'itemText', 'itemBorder', 'itemBorderOver', null, null); var pMenu = new PopupMenu('pMenu'); with (pMenu) { startMenu('root', true, 5, 115, 120, hBar); addItem('Home', '/', ''); addItem('In questo numero', './', ''); addItem('Editoriali', 'mEdi', 'sm:'); addItem('Notiziario', 'mNot', 'sm:'); addItem('Informed', 'mInf', 'sm:'); addItem('Articoli', 'mArt', 'sm:'); addItem('Saggi', 'mSag', 'sm:'); addItem('Desktop', 'mDes', 'sm:'); addItem('Speciali', 'mSpe', 'sm:'); addItem('Letteratura', 'mPub', 'sm:'); addItem('Norme autori', '/?f=nor', ''); addItem('Archivio', '/?f=arc', ''); addItem('Chi siamo', '/?f=who', ''); addItem('Scrivici', 'mailto:odv@zadig.it', ''); startMenu('mPub', true, 119, 0, 350, subM); addItem('Abstract e recensioni', 'window.open("show_pdf.php?pdf=letteratura.pdf")', 'js:'); addItem('Pubblicazioni censite in Medline', '/?f=let&num=2002-3&data=dal 1 aprile al 31 maggio 2002', ''); startMenu('mEdi', true, 119, 0, 350, subM); addItem('Etica, ricerca clinica e conflitto d\'interessi', 'window.open("show_pdf.php?pdf=editoriale-01.pdf")', 'js:'); addItem('Una dura lezione per la ricerca', 'window.open("show_pdf.php?pdf=editoriale-02.pdf")', 'js:'); startMenu('mNot', true, 119, 0, 350, subM); addItem('La speranza viene dal freddo', 'window.open("show_pdf.php?pdf=notiziario-01.pdf")', 'js:'); addItem('Grande chirurgia per un lattante', 'window.open("show_pdf.php?pdf=notiziario-02.pdf")', 'js:'); addItem('Se la pillola la prende lui', 'window.open("show_pdf.php?pdf=notiziario-03.pdf")', 'js:'); addItem('Una tecnica dolce per le varici', 'window.open("show_pdf.php?pdf=notiziario-04.pdf")', 'js:'); addItem('LETTERE', 'window.open("show_pdf.php?pdf=notiziario-05.pdf")', 'js:'); startMenu('mInf', true, 119, 0, 350, subM); addItem('Ombre nella mente', 'window.open("show_pdf.php?pdf=informed-01.pdf")', 'js:'); addItem('Il Centro che pensa il futuro', 'window.open("show_pdf.php?pdf=informed-02.pdf")', 'js:'); addItem('Quando gli occhi deformano la realtà', 'window.open("show_pdf.php?pdf=informed-03.pdf")', 'js:'); addItem('Percorso speciale per l\'emergenza ictus', 'window.open("show_pdf.php?pdf=informed-04.pdf")', 'js:'); addItem('Si torna a scuola per combattere l\'asma', 'window.open("show_pdf.php?pdf=informed-05.pdf")', 'js:'); startMenu('mArt', true, 119, 0, 350, subM); addItem('La scintigrafia dei recettori della somatostatina (octreoscan) nel follow up dei pazienti con carcinoide bronchiale', 'articolo-01.php', '', subM, 36); startMenu('mSag', true, 119, 0, 350, subM); addItem('Il cancro del colon: una neoplasia prevenibile. Importanza dello screening nei soggetti a rischio', 'saggio-01.php', '', subM, 36); addItem('La termoablazione con radiofrequenze dell\'epatocarcinoma', 'saggio-02.php', ''); addItem('Diagnostica per immagini dell\'embolia polmonare acuta', 'saggio-03.php', ''); startMenu('mDes', true, 119, 0, 350, subM); addItem('Diario settimanale di un esperto di comunicazione medico-scientifica dell\'anno 2015', 'window.open("show_pdf.php?pdf=desktop-01.pdf")', 'js:', subM, 36); addItem('A writer\'s diary in the year 2015', 'desktop-02.php', ''); addItem('A Bologna l\'AUSL naviga in rete', 'window.open("show_pdf.php?pdf=desktop-03.pdf")', 'js:'); startMenu('mSpe', true, 119, 0, 295, subM); addItem('Training chirurgico al Nazareth Hospital di Nairobi (Kenya)', 'speciale-01.php', ''); addItem('Poliposi e carcinoma colon-rettale', 'speciale-02.php', ''); } if (!isNS4) { pMenu.update(true); } else { var popOldOL = window.onload; window.onload = function() { if (popOldOL) popOldOL(); pMenu.update(); } } // Other events must be assigned, these are less complicated, just add or remove menu objects. window.onresize = function() { ns4BugCheck(); pMenu.position(); //anotherMenu.position(); } window.onscroll = function() { pMenu.position(); //anotherMenu.position(); } if (isNS4) document.captureEvents(Event.CLICK); document.onclick = function(evt) { pMenu.click(); //anotherMenu.click(); if (isNS4) return document.routeEvent(evt); } // A small function that refreshes NS4 on window resize to avoid bugs, called above. var nsWinW = window.innerWidth, nsWinH = window.innerHeight; function ns4BugCheck() { if (isNS4 && (nsWinW!=innerWidth || nsWinH!=innerHeight)) location.reload() } // Activate the useful 'onscroll' event for non-Microsoft browsers. if (!isIE || window.opera) { var nsPX=pageXOffset, nsPY=pageYOffset; setInterval('if (nsPX!=pageXOffset || nsPY!=pageYOffset) ' + '{ nsPX=pageXOffset; nsPY=pageYOffset; window.onscroll() }', 50); } function menuClip(menuObj, menuName, dir) { // The array index of the named menu (e.g. 'mFile') in the menu object (e.g. 'pMenu'). var mD = menuObj.menu[menuName][0]; // Add timer and counter variables to the menu data structure, we'll need them. if (!mD.timer) mD.timer = 0; if (!mD.counter) mD.counter = 0; with (mD) { // Stop any existing animation and do our visibility tricks. clearTimeout(timer); if (dir==1) lyr.vis('visible'); lyr.clip(0, 0, menuW+2, (menuH+2)*Math.pow(Math.sin(Math.PI*counter/20),0.75) ); // Increment the counter and if it hasn't reached the end (10 steps either way) set the timer. // Clear the clipping value in DOM browsers as early NS6 versions are quite terrible at this. counter += dir; if (counter==11) { counter = 10; if (isDOM&&!isIE) lyr.sty.clip='' } else if (counter<0) { counter = 0; lyr.vis('hidden') } else timer = setTimeout(menuObj.myName+'.'+(dir==1?'show':'hide')+'Menu("'+menuName+'")', 40); } }