CINXE.COM

MGH Child Neurology Residency, Faculty

<!DOCTYPE html><!-- This site was created in Webflow. https://webflow.com --><!-- Last Published: Wed Oct 30 2024 13:56:49 GMT+0000 (Coordinated Universal Time) --><html data-wf-domain="www.mghbwhneurology.org" data-wf-page="5f821dd0374a41fa0edcc9b9" data-wf-site="5b6dc66c9e9b6f06753bbad7"><head><meta charset="utf-8"/><title>MGH Child Neurology Residency, Faculty</title><meta content="MGH Child Neurology Residency, Faculty" property="og:title"/><meta content="MGH Child Neurology Residency, Faculty" property="twitter:title"/><meta content="width=device-width, initial-scale=1" name="viewport"/><meta content="Webflow" name="generator"/><link href="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/css/partners-neurology.webflow.7241b2ed1.css" rel="stylesheet" type="text/css"/><link href="https://fonts.googleapis.com" rel="preconnect"/><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin="anonymous"/><script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js" type="text/javascript"></script><script type="text/javascript">WebFont.load({ google: { families: ["Montserrat:100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic","Great Vibes:400","Roboto:100,100italic,300,300italic,regular,500italic,700,700italic,900,900italic"] }});</script><script type="text/javascript">!function(o,c){var n=c.documentElement,t=" w-mod-";n.className+=t+"js",("ontouchstart"in o||o.DocumentTouch&&c instanceof DocumentTouch)&&(n.className+=t+"touch")}(window,document);</script><link href="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5b9c28cc2e74d707d199f863_favicon.png" rel="shortcut icon" type="image/x-icon"/><link href="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5b6dc66c9e9b6fb9543bbb41_256x256.png" rel="apple-touch-icon"/><style> .break-word { word-wrap: break-word; } </style> <!-- Memberstack --> <script src="https://api.memberstack.io/static/memberstack.js?webflow" data-memberstack-id="63d629631298c4808468cdd64f768896"> </script> </head><body data-ix="show-up-on-load" class="body"><div id="Top" class="top-of-page-div"></div><div class="section-1"><div><div data-collapse="none" data-animation="default" data-duration="400" data-easing="ease" data-easing2="ease" role="banner" class="navbar-6 w-nav"><div class="container w-container"><nav role="navigation" class="nav-menu w-nav-menu"><a href="/" class="nav-link w-nav-link">Adult Neurology Residency</a><a href="#" class="nav-link current peds w-nav-link">Child Neurology Residency</a><a href="/fellowships/home-fellowships" class="nav-link w-nav-link">Fellowship Programs</a></nav><div class="w-nav-button"><div class="w-icon-nav-menu"></div></div></div></div></div><div id="Top" class="top-of-page-div"></div></div><div class="hero-section small peds"><div class="content-wrapper flex-center w-container"></div></div><div class="content-section bottom-padding"><div class="content-wrapper w-container"><div class="inner-container"><div class="flex-wrapper space-between"><div data-ix="move-up-on-load" class="_25-percent-column bottom-border our-team-sidebar"><div class="title-box landscape-full"><h3 class="heading-16 peds">Our Team</h3></div><div><div class="block-element"><a href="/child-neurology/team/current-residents" class="link-block w-inline-block"><div class="sidebar-link sidebar-link-peds">Current Residents</div></a></div><div class="block-element"><a href="/child-neurology/team/program-leadership-and-administration" class="link-block w-inline-block"><div class="sidebar-link sidebar-link-peds">Program Leadership <br/>&amp; Administration</div></a></div><div class="block-element"><a href="/child-neurology/team/faculty" aria-current="page" class="link-block w-inline-block w--current"><div class="sidebar-link sidebar-link-peds">Faculty</div></a></div><div class="block-element"><a href="/child-neurology/team/alumni" class="link-block w-inline-block"><div class="sidebar-link sidebar-link-peds">Alumni</div></a></div></div></div><div class="_74-percent-column"><div class="header-box"><h1 data-ix="hero-move-up-on-load" class="heading-1 large">Faculty</h1></div><div><div class="w-layout-grid grid---peds-faculty"><p class="peds-faculty"><span class="peds-faculty-name">Kevin Staley, MD</span><br/><span class="text-span-6">Chief, Child Neurology<br/></span></p><p class="peds-faculty">General pediatric neurology, neonatal seizures<br/><a href="https://www.massgeneral.org/neurology/research/pediatric-epilepsy-research-lab-kevin-staley" target="_blank">www.massgeneral.org/neurology/research/pediatric-epilepsy-research-lab-kevin-staley</a></p><p class="peds-faculty"><span class="peds-faculty-name">Shelley Waite, MD</span><br/><span class="text-span-7">Program Director, <br/>Child Neurology Residency</span></p><p class="peds-faculty">General pediatric neurology</p><p class="peds-faculty"><span class="peds-faculty-name">Danielle Pier, MD<br/>‍</span>Assistant Program Director, <br/>Child Neurology Residency</p><p class="peds-faculty">Neonatology, General pediatric neurology, Pediatric Stroke</p><p class="peds-faculty"><span class="peds-faculty-name">Kenda Alhadid, MD</span></p><p class="peds-faculty">Stroke in the young</p><p class="peds-faculty"><span class="peds-faculty-name">Amy Armstrong-Javors, MD</span></p><p class="peds-faculty">Pediatric movement disorders, general neurology</p><p class="peds-faculty"><span class="peds-faculty-name">Bradley Buchbinder, MD</span></p><p class="peds-faculty">Pediatric functional neuroimaging</p><p class="peds-faculty"><span class="peds-faculty-name">William Butler, MD</span></p><p class="peds-faculty">Pediatric neurosurgery</p><p class="peds-faculty"><span class="peds-faculty-name">Tanuja Chitnis, MD</span><br/><span class="text-span-6">Director, Mass General Brigham Multiple Sclerosis Center</span>‍</p><p class="peds-faculty">Pediatric and Adult Multiple Sclerosis<br/><a href="https://www.tanujachitnis-tnrc.org/tanuja-chitnis" target="_blank">www.tanujachitnis-tnrc.org/tanuja-chitnis</a></p><p class="peds-faculty"><span class="peds-faculty-name">Catherine Chu, MD, MMSc</span><br/><span class="text-span-6">Director, Neonatal and Pediatric Continuous EED Monitoring</span></p><p class="peds-faculty">Pediatric Epilepsy<br/><a href="http://chulab.mgh.harvard.edu/" target="_blank">chulab.mgh.harvard.edu</a></p><p class="peds-faculty"><span class="peds-faculty-name">David Dredge, MD</span><br/><span class="text-span-6">Co-Director, Pediatric Neuromuscular Clinic</span></p><p class="peds-faculty">General pediatric neurology, Neuromuscular disorders</p><p class="peds-faculty"><span class="peds-faculty-name">Marisela Dy-Hollins, MD</span><br/><span class="text-span-6">Clinical Director, Pediatric Movement Disorders</span></p><p class="peds-faculty">Movement Disorders</p><p class="peds-faculty"><span class="peds-faculty-name">David Ebb, MD</span></p><p class="peds-faculty">Pediatric neuro-oncology</p><p><span class="peds-faculty-name">Florian Eichler, MD</span><br/><span class="text-span-6">Director, Center for Rare Neurological Diseases</span><br/></p><p class="peds-faculty">Leukodystrophies, neurometabolic diseases<br/><a href="https://eichler.mgh.harvard.edu" target="_blank">https://eichler.mgh.harvard.edu</a><br/><a href="https://www.mgbneurologyfellowships.org/fellowships/neurogenetics-genetherapy.html" target="_blank">www.mgbneurologyfellowships.org/fellowships/neurogenetics-genetherapy.html</a><br/></p><p class="peds-faculty"><span class="peds-faculty-name">Matthew Frosch, MD, PhD</span></p><p class="peds-faculty">Neuropathology, pathology</p><p class="peds-faculty"><span class="peds-faculty-name">Eric Grabowski, MD, SCD</span></p><p class="peds-faculty">Pediatric stroke</p><p class="peds-faculty-name">Lily Grossman, MD</p><p class="peds-faculty">Epilepsy</p><p class="peds-faculty"><span class="peds-faculty-name">Kalpathy Krishnamoorthy, MD</span></p><p class="peds-faculty">Neonatology, early metabolic and structural developmental disorders of the central nervous system</p><p class="peds-faculty"><span class="peds-faculty-name">Christopher McDougle, MD</span></p><p class="peds-faculty">Autism</p><p class="peds-faculty-name">Melanie McNally, MD</p><p class="peds-faculty">Epilepsy, Neonatal neurology</p><p class="peds-faculty-name">Ganeshwaran Mochida, MD</p><p class="peds-faculty">Developmental NeuroPediatrics</p><p class="peds-faculty"><span class="peds-faculty-name">Patricia L. Musolino, MD, PhD</span><br/><span class="text-span-6">Co-Director, Pediatric Stroke and Cerebrovascular Service</span></p><p class="peds-faculty">Pediatric stroke, vascular anomalies, neurocritical care, Leukodystrophies</p><p class="peds-faculty"><span class="peds-faculty-name">Amanda Nagy, MD</span><br/></p><p class="peds-faculty">Neurometabolic disorders, General pediatric neurology</p><p class="peds-faculty"><span class="peds-faculty-name">Ann Neumeyer, MD</span><br/><span class="text-span-6">Medical Director, Lurie Center for Autism Co-Founder; Co-Director of the first Phelan McDermid Clinic at the MGH Lurie Center</span></p><p class="peds-faculty">Autism</p><p class="peds-faculty"><span class="peds-faculty-name">Jeremiah Scharf, MD, PhD</span></p><p class="peds-faculty">Tic disorders, movement disorders, neurogenetics, neuropsychiatric conditions </p><p class="peds-faculty"><span class="peds-faculty-name">Nutan Sharma, MD</span></p><p class="peds-faculty">Movement disorder, X-linked Dystonia Parkinsonism (XDP), </p><p class="peds-faculty"><span class="peds-faculty-name">Ronald Thibert,  DO, MSPH</span><br/><span class="text-span-6">Director, Angelman Syndrome Clinic, Director Dup15 Clinic; Co-Director, Pitt Hopkins Syndrome Clinic MGH and Lurie Centers</span></p><p class="peds-faculty">Pediatric Epilepsy, Autism, Pedi Neuro Critical Care, Angelman Syndrome</p><p class="peds-faculty"><span class="peds-faculty-name">Elizabeth Thiele,  MD PhD</span><br/><span class="text-span-6">Director, Pediatric Epilepsy and the Carol and James Herscot Center for Tuberous Sclerosis</span></p><p class="peds-faculty">Angelman Syndrome, Epilepsy surgery, Tuberous Sclerosis Complex</p><p class="peds-faculty-name">Melissa Walker, MD PhD</p><p class="peds-faculty">Metabolic disease, General pediatric neurology</p><p class="peds-faculty"><span class="peds-faculty-name">Brian Wishart, DO</span></p><p class="peds-faculty">Physical Medicine and Rehab, Pediatric Stroke</p><p class="peds-faculty"><span class="peds-faculty-name">Leah Wibecan, MD</span></p><p class="peds-faculty">Epilepsy, General Pediatric Neurology</p></div></div></div></div></div></div></div><div class="section-2"><div data-collapse="medium" data-animation="over-right" data-duration="400" data-easing2="ease-out" data-easing="ease-in" role="banner" class="navbar-home-childneuro w-nav"><div class="div-block-10"></div><div class="content-wrapper w-container"><div class="menu-button-2 w-nav-button"><div class="icon w-icon-nav-menu"></div></div><div class="peds-container-logos"><div class="logo-div-peds"><img src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5b97166ed528d4845efd6bc1_Logo_HMS_header.png" alt="" class="peds---header-logos"/></div><div class="logo-div-peds"><img src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5b97177f712da6791fd4115b_Logo_MGH_header.png" alt="" class="peds---header-logos"/></div><div class="logo-div-peds no-right-padding"><img src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f7e1887aa43490aaeb3260b_MGHfC_logo.jpg" alt="" class="peds---header-logos"/></div></div><a href="/child-neurology/home" data-ix="fade-out-on-click" class="brand-peds peds w-nav-brand"><img src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f7fb513ab9aeda51ea77e39_GearLogo_133pixelsTall-01.png" width="343" height="132" alt="" class="child-neuro-logo"/></a><nav role="navigation" class="nav-menu-2 w-clearfix w-nav-menu"><div class="peds-div-block-9 w-clearfix"><a href="/child-neurology/home" data-ix="fade-out-on-click" class="navlink home w-nav-link">Child Neuro Home</a><a href="/child-neurology/contact-us" data-ix="fade-out-on-click" class="navlink home w-nav-link">contact</a><a href="https://www.instagram.com/mghchildneuro/" target="_blank" class="social-media-link w-inline-block w-clearfix"><img src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f91b453207a8d157c9616e8_instagram.png" loading="lazy" alt="" class="social-media-img"/></a></div><div class="div-block-36"><a href="/child-neurology/home" data-ix="fade-out-on-click" class="navlink-peds w-nav-link">Home</a><div data-delay="0" data-hover="false" class="dropdown-peds w-dropdown"><div class="dropdown-toggle-peds w-dropdown-toggle"><div class="icon-6 w-icon-dropdown-toggle"></div><div class="text-block-21-peds">Our Program</div></div><nav class="dropdown-list-6 w-dropdown-list"><a href="/child-neurology/program/diversity" class="dropdown-link-mobile---peds w-dropdown-link">Diversity</a><a href="/child-neurology/program/curriculum" class="dropdown-link-mobile---peds w-dropdown-link">Curriculum</a><a href="/child-neurology/program/clinical-facilities" class="dropdown-link-mobile---peds w-dropdown-link">Clinical Facilities</a></nav></div><div data-delay="0" data-hover="false" class="dropdown-peds w-dropdown"><div class="dropdown-toggle-peds w-dropdown-toggle"><div class="icon-6 w-icon-dropdown-toggle"></div><div class="text-block-21-peds">Our Team</div></div><nav class="dropdown-list-5 w-dropdown-list"><a href="/child-neurology/team/current-residents" class="dropdown-link-mobile---peds w-dropdown-link">Current Residents</a><a href="/child-neurology/team/program-leadership-and-administration" class="dropdown-link-mobile---peds w-dropdown-link">Program Leadership<br/>and Administration</a><a href="/child-neurology/team/faculty" aria-current="page" class="dropdown-link-mobile---peds w-dropdown-link w--current">Faculty</a><a href="/child-neurology/team/alumni" class="dropdown-link-mobile---peds w-dropdown-link">Alumni</a></nav></div><div data-delay="0" data-hover="false" class="dropdown-peds w-dropdown"><div class="dropdown-toggle-peds w-dropdown-toggle"><div class="icon-6 w-icon-dropdown-toggle"></div><div class="text-block-21-peds">Resident Life</div></div><nav class="dropdown-list-3 w-dropdown-list"><a href="/child-neurology/resident-life/wellness" class="dropdown-link-mobile---peds w-dropdown-link">Wellness</a><a href="/child-neurology/resident-life/about-boston" class="dropdown-link-mobile---peds w-dropdown-link">About Boston</a><a href="/child-neurology/resident-life/where-our-resident-live" class="dropdown-link-mobile---peds w-dropdown-link">Where Our Residents Live</a><a href="/child-neurology/resident-life/gallery" class="dropdown-link-mobile---peds w-dropdown-link">Gallery</a></nav></div><div data-delay="0" data-hover="false" class="dropdown-peds w-dropdown"><div class="dropdown-toggle-peds w-dropdown-toggle"><div class="icon-6 w-icon-dropdown-toggle"></div><div class="text-block-21-peds">Applicant Info</div></div><nav class="dropdown-list-4 w-dropdown-list"><a href="/child-neurology/application-info/general-information" class="dropdown-link-mobile---peds w-dropdown-link">General Information</a><a href="/child-neurology/application-info/specific-track-info" class="dropdown-link-mobile---peds w-dropdown-link">Specific Track Info</a><a href="/child-neurology/application-info/international-graduates" class="dropdown-link-mobile---peds w-dropdown-link">International Graduates</a><a href="/child-neurology/application-info/salary-benefits-copy" class="dropdown-link-mobile---peds w-dropdown-link">Salary &amp; Benefits</a><a href="/child-neurology/application-info/faq" class="dropdown-link-mobile---peds w-dropdown-link">FAQs</a></nav></div><a href="/child-neurology/contact-us" data-ix="fade-out-on-click" class="navlink-peds w-nav-link">Contact</a></div></nav></div></div></div><div class="footer-section---peds"><div class="content-wrapper back-to-top-div w-clearfix"><div class="back-to-top"><a href="#Top" class="back-to-top-link w-inline-block"><img src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5b6dc66c9e9b6f99003bbb68_Go-up-arow.png" width="16" alt="" class="image-20"/><div class="back-to-top-text"> top</div></a></div></div><div class="content-wrapper w-container"><div class="flex-wrapper footer-div peds"><div class="footer-left-column peds"><a href="/child-neurology/home" class="footer-logo peds w-inline-block"><img src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81ecf8dc86b5a9935242da_GearLogo_whiteText-01.png" width="283" sizes="(max-width: 479px) 88vw, (max-width: 767px) 283px, (max-width: 991px) 21vw, 20vw" srcset="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81ecf8dc86b5a9935242da_GearLogo_whiteText-01-p-800.png 800w, https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81ecf8dc86b5a9935242da_GearLogo_whiteText-01-p-1080.png 1080w, https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81ecf8dc86b5a9935242da_GearLogo_whiteText-01-p-1600.png 1600w, https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81ecf8dc86b5a9935242da_GearLogo_whiteText-01-p-2000.png 2000w, https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81ecf8dc86b5a9935242da_GearLogo_whiteText-01-p-2600.png 2600w, https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81ecf8dc86b5a9935242da_GearLogo_whiteText-01-p-3200.png 3200w, https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81ecf8dc86b5a9935242da_GearLogo_whiteText-01.png 7063w" alt=""/></a><div class="div-block-25 peds"><p class="footer-text left-justify"> Massachusetts General Hospital, Harvard Medical School &amp;<br/>MassGeneral Hospital for Children</p><div class="div-block-18 peds"><img src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81d44ef07fa326439ec2a7_MGH_HMS_MGHfC.png" sizes="(max-width: 479px) 48vw, (max-width: 767px) 29vw, (max-width: 991px) 21vw, 16vw" srcset="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81d44ef07fa326439ec2a7_MGH_HMS_MGHfC-p-500.png 500w, https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/5f81d44ef07fa326439ec2a7_MGH_HMS_MGHfC.png 704w" alt="" class="image-2"/></div></div></div><div class="footer-right-column peds"><div class="footer-link-box peds"><div class="footer-mini-title">Our Team</div><a href="/child-neurology/team/current-residents" data-ix="fade-out-on-click" class="footer-link footer-link---peds">current residents</a><a href="/child-neurology/team/program-leadership-and-administration" data-ix="fade-out-on-click" class="footer-link footer-link---peds">program leadership <br/>&amp; administration</a><a href="/child-neurology/team/faculty" data-ix="fade-out-on-click" aria-current="page" class="footer-link footer-link---peds w--current">faculty</a><a href="/child-neurology/team/alumni" data-ix="fade-out-on-click" class="footer-link footer-link---peds">alumni</a></div><div class="footer-link-box peds"><div class="footer-mini-title">our program</div><a href="/child-neurology/program/curriculum" data-ix="fade-out-on-click" class="footer-link footer-link---peds">curriculum</a><a href="/child-neurology/program/diversity" data-ix="fade-out-on-click" class="footer-link footer-link---peds">diversity</a><a href="/child-neurology/program/clinical-facilities" data-ix="fade-out-on-click" class="footer-link footer-link---peds">clinical facilities</a><a href="/child-neurology/contact-us" class="footer-link footer-link---peds">contact us</a></div><div class="footer-link-box no-borders peds"><div class="footer-mini-title">resident life</div><a href="/child-neurology/resident-life/wellness" class="footer-link footer-link---peds">wellness</a><a href="/child-neurology/resident-life/about-boston" class="footer-link footer-link---peds">about Boston</a><a href="/child-neurology/resident-life/where-our-resident-live" class="footer-link footer-link---peds">where our <br/>residents live</a><a href="/child-neurology/resident-life/gallery" class="footer-link footer-link---peds">gallery</a></div><div class="footer-link-box no-borders peds"><div class="footer-mini-title">application info</div><a href="/child-neurology/application-info/general-information" class="footer-link footer-link---peds">general information</a><a href="/child-neurology/application-info/specific-track-info" class="footer-link footer-link---peds">specific track info</a><a href="/child-neurology/application-info/international-graduates" class="footer-link footer-link---peds">international graduates</a><a href="/child-neurology/application-info/salary-benefits-copy" class="footer-link footer-link---peds">salary &amp; benefits</a><a href="/child-neurology/application-info/faq" class="footer-link footer-link---peds">FAQs</a></div></div></div><div><div class="text-block-25">55 Fruit Street, Wang 705B, Boston, Massachusetts 02114  ▪  617.726.1813 (phone)  ▪  617.726.2353 (fax)  ▪  <a href="mailto:tosney@helix.mgh.harvard.edu" class="footer-link---peds">tosney@helix.mgh.harvard.edu </a></div></div><div class="footer-notice"><div class="footer-notice-text">design by <a href="http://symposi.com/" target="_blank" class="footer-link---peds">symposi.com</a></div></div></div></div><script src="https://d3e54v103j8qbb.cloudfront.net/js/jquery-3.5.1.min.dc5e7f18c8.js?site=5b6dc66c9e9b6f06753bbad7" type="text/javascript" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script><script src="https://cdn.prod.website-files.com/5b6dc66c9e9b6f06753bbad7/js/webflow.c83b12d29.js" type="text/javascript"></script><script> function getCookie(name) { var dc = document.cookie; var prefix = name + "="; var begin = dc.indexOf("; " + prefix); if (begin == -1) { begin = dc.indexOf(prefix); if (begin != 0) return null; } else { begin += 2; var end = document.cookie.indexOf(";", begin); if (end == -1) { end = dc.length; } } // because unescape has been deprecated, replaced with decodeURI //return unescape(dc.substring(begin + prefix.length, end)); return decodeURI(dc.substring(begin + prefix.length, end)); } function spu_createCookie(name, value, hours) { var check = getCookie(name); if(check != null) { var d=document.getElementById(value); d.style.display="none"; //alert(document.cookie); } else { if (hours) { //alert("Cookie created"); var date = new Date(); date.setTime(date.getTime()+(hours*60*60*1000)); // 24 hours var expires = "; expires="+date.toGMTString(); } else { var expires = ""; } document.cookie = name+"="+value+expires+"; path=/"; } } window.onload=function() { var checkNoticebarid = document.getElementById('noticebarid'); if (checkNoticebarid == null) { //alert ('noticebarid does not exist'); } else { document.getElementById("noticebarid").onclick = function() { spu_createCookie("elename1", "noticebarid", 24)}; } var checkNewsletterboxid = document.getElementById('newsletterboxid'); if (checkNewsletterboxid == null) { //alert ('newsletterboxid does not exist'); } else { document.getElementById("newsletterboxid").onclick = function() { spu_createCookie("elename2", "newsletterboxid", 24)}; } var check1 = getCookie("elename1"); if(check1 == null && checkNoticebarid != null) { //if cookie not exist set element visibility to display: block //for better visibility element is hidden by default var d=document.getElementById("noticebarid"); d.style.display="block"; } else if(check1 != null && checkNoticebarid != null) { //if cookie exist set element visibility to none aka hidden var d=document.getElementById("noticebarid"); d.style.display="none"; } var check2 = getCookie("elename2"); if(check2 == null && checkNewsletterboxid != null) { //if cookie not exist set element visibility to display: block //for better visibility element is hidden by default var e=document.getElementById("newsletterboxid"); e.style.display="block"; } else if(check2 != null && checkNewsletterboxid != null) { //if cookie exist set element visibility to none aka hidden var e=document.getElementById("newsletterboxid"); e.style.display="none"; } } </script></body></html>

Pages: 1 2 3 4 5 6 7 8 9 10