// Cascading Popup Menus v5.2 - Cross-Frame Menu script.

//  var stylename = new ItemStyle(Length, Spacing, 'Popout Indicator', Indicator Position, Padding, 'Out Background', 'Over Background', 'Out Font Class', 'Over Font Class', 'Out Border Class', 'Over Border Class', Out Opacity, Over Opacity, 'Link Cursor', 'Default Cursor'); 
var level0Style =   new ItemStyle(86    , 1      , ''                , 0                 , 3      , '#FF8000'       , '#FFFFCC'        , 'level0TextOut' , 'level0TextOver'   , ''                , ''               , null       , null        , 'hand'       , 'hand');
var level0aStyle =  new ItemStyle(92    , 1      , ''                , 0                 , 3      , '#FF8000'       , '#FFFFCC'        , 'level0TextOut' , 'level0TextOver'   , ''                , ''               , null       , null        , 'hand'       , 'hand');
var level0bStyle =  new ItemStyle(81    , 1      , ''                , 0                 , 3      , '#FF8000'       , '#FFFFCC'        , 'level0TextOut' , 'level0TextOver'   , ''                , ''               , null       , null        , 'hand'       , 'hand');
var level1Style =   new ItemStyle(26    , 0      , ''                , 0                 , 3      , '#FF8000'       , '#FFFFCC'        , 'level1TextOut' , 'level1TextOver'   , 'itemBorderOut'   , 'itemBorderOut' , null       , null        , 'hand'       , 'default');
var level1aStyle =  new ItemStyle(42    , 0      , ''                , 0                 , 3      , '#FF8000'       , '#FFFFCC'        , 'level1TextOut' , 'level1TextOver'   , 'itemBorderOut'   , 'itemBorderOut' , null       , null        , 'hand'       , 'default');
var level2Style =   new ItemStyle(26    , 0      , ''                , 0                 , 3      , '#FF8000'       , '#FFFFCC'        , 'level2TextOut' , 'level2TextOver'   , 'itemBorderOut'   , 'itemBorderOut' , null       , null        , 'hand'       , 'default');
var level2aStyle =  new ItemStyle(42    , 0      , ''                , 0                 , 3      , '#FF8000'       , '#FFFFCC'        , 'level2TextOut' , 'level2TextOver'   , 'itemBorderOut'   , 'itemBorderOut' , null       , null        , 'hand'       , 'default');

var pMenu = new PopupMenu('pMenu');
with (pMenu)
{
// Root menu 0, links van het logo
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('root0', false, 2, 80, 40, level0Style, 'top.navmenu');
// Items in rootmenu 0
// addItem(text, targetURL, targetframe (''=file in case target=url, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Plots- en<br>laatdoofheid' , 'mDoofheid'   , 'sm:').onclick='top.inhoud.location.href="/plots_en_laatdoofheid/1.htm"';
addItem('De Stichting<br>Plotsdoven', 'mStichting'  , 'sm:').onclick='top.inhoud.location.href="/de_stichting_plotsdoven/1.htm"';
addItem('Nieuws en<br>Activiteiten' , 'mNieuwsEnAct', 'sm:').onclick='top.inhoud.location.href="/nieuws/5.htm"';
addItem('Opvang en<br>Hulpverlening', 'mOpvang'     , 'sm:' , level0aStyle).onclick='top.inhoud.location.href="/opvang_en_hulpverlening/1.htm"';
addItem('Communicatie'              , 'mCommTolk'   , 'sm:' , level0aStyle).onclick='top.inhoud.location.href="/communicatie/1.htm"';
addItem('Implantaten'               , 'mImplantaten', 'sm:' , level0bStyle).onclick='top.inhoud.location.href="/cochleaire_implantatie/1.htm"';

// Root menu 1, rechts van het logo
// Ik maak hier een tweede rootmenu van, aangezien ik er niet slaag om een transparant menu-item te creeren over het logo heen.
startMenu('root1', false, 617, 80, 40, level0Style, 'top.navmenu');
// Items in rootmenu 1
addItem('Werken en<br>Studeren', 'mWerken'     , 'sm:', level0bStyle).onclick='top.inhoud.location.href="/werken_en_studeren/1.htm"';
addItem('Interactief'          , 'mInteractief', 'sm:').onclick='top.inhoud.location.href="http://www.stichtingplotsdoven.nl/prikbord/prikbord.php"';


// N.B. Ik gebruik in de submenu's een transparante gif als overlay over elk menu item, om te voorkomen dat de focus verdwijnt
// als de muis van de tekst afgaat, en dat daardoor het menu weer inklapt. Op deze manier is de HELE menubalk focusgevoelig,
// in plaats van alleen maar de tekst.
// Latere opmerking: dit moet ook kunnen door de css style op display:block in te stellen, dat moet echter in de code van het popup-
// menu gebeuren, dus dat wordt nog even experimenteren...

// Submenu: plots- en laatdoofheid
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mDoofheid', true, 0, 'inhoud.page.scrollY()', 195, level1Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Wat is plots- of laatdoofheid? <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/plots_en_laatdoofheid/1.htm', 'top.inhoud');
addItem('Behandeling                    <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/plots_en_laatdoofheid/3.htm', 'top.inhoud');
addItem('Gevolgen                       <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/plots_en_laatdoofheid/2.htm', 'top.inhoud');
addItem('Persoonlijke ervaringen        <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/plots_en_laatdoofheid/5.htm', 'top.inhoud');
addItem('Gedicht                        <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/plots_en_laatdoofheid/4.htm', 'top.inhoud');

// Submenu: de stichting
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mStichting', true, 0, 'inhoud.page.scrollY()', 230, level1Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Wat doet de Stichting Plotsdoven? <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/1.htm', 'top.inhoud');
addItem('Bestuur                           <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/2.htm', 'top.inhoud');
addItem('Steunpunten                       <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/3.htm', 'top.inhoud');
addItem('Jongeren                          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/4.htm', 'top.inhoud');
addItem('Werkgroepen                       <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/5.htm', 'top.inhoud');
addItem('Lex Scheffel Fonds                <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/6.htm', 'top.inhoud');
addItem('Nieuwsblad \'Plotsdoof\'          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/7.htm', 'top.inhoud');
addItem('Publicaties                       <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/8.htm', 'top.inhoud');
addItem('Reacties en bestellingen          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/10.htm', 'top.inhoud');
addItem('Contact                           <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/de_stichting_plotsdoven/9.htm', 'top.inhoud');

// Submenu: nieuws en activiteiten
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mNieuwsEnAct', true, 0, 'inhoud.page.scrollY()', 150, level1Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Nieuws        <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mNieuws', 'sm:');
addItem('Activiteiten  <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mAct', 'sm:');
addItem('Oproepen      <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/oproepen/index.htm', 'top.inhoud');

// Submenu: nieuws
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mNieuws', true, 130, 'inhoud.page.scrollY()', 230, level2Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Nieuw op deze site                  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/nieuws/5.htm', 'top.inhoud');
addItem('Kort nieuws                         <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/nieuws/kort.htm', 'top.inhoud');
addItem('Persberichten Stichting Plotsdoven  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/nieuws/1.htm', 'top.inhoud');
addItem('Persberichten andere organisaties   <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/nieuws/2.htm', 'top.inhoud');
addItem('Interviews                          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/nieuws/3.htm', 'top.inhoud');
addItem('Artikelen                           <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/nieuws/4.htm', 'top.inhoud');

// Submenu: activiteiten
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mAct', true, 130, 'inhoud.page.scrollY()', 230, level2Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Agenda                              <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/activiteiten/1.htm', 'top.inhoud');
addItem('Themaweekend                        <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/activiteiten/2.htm', 'top.inhoud');
addItem('Landelijke Ontmoetingsdag           <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/activiteiten/3.htm', 'top.inhoud');
addItem('Contactdag                          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/activiteiten/partnerdag.htm', 'top.inhoud');
addItem('Foto-album                          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/activiteiten/album.htm', 'top.inhoud');

// Submenu: opvang
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mOpvang', true, 0, 'inhoud.page.scrollY()', 190, level1Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Verwerkingsproces                                <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/opvang_en_hulpverlening/1.htm', 'top.inhoud');
addItem('KNO-arts, AC, audicien                           <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/opvang_en_hulpverlening/2.htm', 'top.inhoud');
addItem('Maatschappelijk werk en psychische hulpverlening <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/opvang_en_hulpverlening/3.htm', 'top.inhoud', level2aStyle);
addItem('Ouderen                                          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/opvang_en_hulpverlening/5.htm', 'top.inhoud');
addItem('Contactpersonen                                  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/opvang_en_hulpverlening/4.htm', 'top.inhoud');

// Submenu: communicatie, tolken en voorzieningen
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mCommTolk', true, 0, 'inhoud.page.scrollY()', 190, level1Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Spraakafzien en gebaren  <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mCommunicatie', 'sm:');
addItem('Tolken                   <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mTolken', 'sm:');
addItem('Voorzieningen            <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mVoorzieningen', 'sm:');

// Submenu: communicatie
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mCommunicatie', true, 170, 'inhoud.page.scrollY()', 190, level2Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Spraakafzien                        <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/communicatie/1.htm', 'top.inhoud');
addItem('Gebaren                             <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/communicatie/2.htm', 'top.inhoud');
addItem('Gebarencursus                       <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/communicatie/3.htm', 'top.inhoud');
//addItem('Aanmelden gebarencursus             <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/communicatie/6.htm', 'top.inhoud');
addItem('Gebarenavonden                      <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/communicatie/4.htm', 'top.inhoud');
addItem('Communicatietips                    <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/communicatie/5.htm', 'top.inhoud');

// Submenu: tolken
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mTolken', true, 170, 'inhoud.page.scrollY()', 190, level2Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Tolken                     <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/tolken/1.htm', 'top.inhoud');
addItem('Tolkvoorziening aanvragen  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/tolken/2.htm', 'top.inhoud');
addItem('Tolkenbemiddelingsbureaus  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/tolken/3.htm', 'top.inhoud');
addItem('UWV-criteria               <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/tolken/uwv_criteria.htm', 'top.inhoud');
addItem('TC Tekst                   <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/tolken/4.htm', 'top.inhoud');
addItem('Teletolk                   <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/tolken/5.htm', 'top.inhoud');
addItem('Klachtencommissie          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/tolken/6.htm', 'top.inhoud');
addItem('Onderzoek kwaliteit tolken <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/tolken/onderzoek.htm', 'top.inhoud');

// Submenu: voorzieningen
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mVoorzieningen', true, 170, 'inhoud.page.scrollY()', 220, level2Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Teksttelefoon                  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/1.htm', 'top.inhoud');
addItem('Bemiddelingsservice            <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/2.htm', 'top.inhoud');
addItem('Teksttelefoonnummers           <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/3.htm', 'top.inhoud');
addItem('SMS / mobiel                   <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/4.htm', 'top.inhoud');
addItem('Internet / e-mail              <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/5.htm', 'top.inhoud');
addItem('Wek- en waarschuwingssystemen  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/6.htm', 'top.inhoud');
addItem('Signaalhonden                  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/10.htm', 'top.inhoud');
addItem('Ringleiding / infra-rood / FM  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/7.htm', 'top.inhoud');
addItem('Hoorapparaten                  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/8.htm', 'top.inhoud');
addItem('Solo-apparatuur                <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/12.htm', 'top.inhoud');
addItem('Meer informatie                <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/voorzieningen/9.htm', 'top.inhoud');


// Submenu: implantaten
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mImplantaten', true, 0, 'inhoud.page.scrollY()', 100, level1Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('CI     <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mCI', 'sm:');
addItem('ABI    <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mABI', 'sm:');
//addItem('BAHA   <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mBAHA', 'sm:');

// Submenu: CI
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mCI', true, 80, 'inhoud.page.scrollY()', 210, level2Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Wat is C.I.                     <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/1.htm', 'top.inhoud');
addItem('Wie komt er voor in aanmerking  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/2.htm', 'top.inhoud');
addItem('Kosten en vergoedingen          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/3.htm', 'top.inhoud');
addItem('Info CI-centra                  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/5.htm', 'top.inhoud');
addItem('Fabrikanten                     <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/6.htm', 'top.inhoud');
addItem('Vragen en antwoorden            <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/4.htm', 'top.inhoud');
addItem('Belangenbehartiging             <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/7.htm', 'top.inhoud');
addItem('Artikelen en verslagen          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/8.htm', 'top.inhoud');
addItem('Persoonlijke ervaringen         <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/9.htm', 'top.inhoud');
//addItem('Agenda CI                       <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/10.htm', 'top.inhoud');
//N.B. CI-lotgenoten forum is gehacked en lijkt niet meer actief te worden. Heb Anneke Meijer er al meer
// dan een jaar geleden op gewen, maar er lijkt helemaal niets meer aan te gebeuren.
//addItem('CI-lotgenoten forum             <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/cochleaire_implantatie/forum.htm', 'top.inhoud');

// Submenu: ABI
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mABI', true, 80, 'inhoud.page.scrollY()', 210, level2Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Wat is A.B.I.                   <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/abi/wat_is_abi.htm', 'top.inhoud');
addItem('Wie komt er voor in aanmerking  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/abi/wie.htm', 'top.inhoud');
addItem('Revalidatie                     <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/abi/revalidatie.htm', 'top.inhoud');
addItem('Persoonlijke ervaringen         <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/abi/pers_erv.htm', 'top.inhoud');
addItem('Artikelen                       <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/abi/artikelen.htm', 'top.inhoud');

// Submenu: werken en studeren
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mWerken', true, 0, 'inhoud.page.scrollY()', 190, level1Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Doof en werken/studeren?     <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/werken_en_studeren/1.htm', 'top.inhoud');
addItem('UWV en CWI\'s                <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/werken_en_studeren/7.htm', 'top.inhoud');
addItem('Ziektewet en WAO             <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/werken_en_studeren/2.htm', 'top.inhoud');
addItem('Wet REA                      <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/werken_en_studeren/3.htm', 'top.inhoud');
addItem('Voorzieningen                <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/werken_en_studeren/4.htm', 'top.inhoud');
addItem('Zoeken naar werk/opleiding   <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/werken_en_studeren/5.htm', 'top.inhoud');
addItem('Juridische ondersteuning     <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/werken_en_studeren/8.htm', 'top.inhoud');
addItem('Meer informatie              <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/werken_en_studeren/6.htm', 'top.inhoud');

// Submenu: interactief
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mInteractief', true, 0, 'inhoud.page.scrollY()', 80, level1Style, 'top.inhoud');
addItem('Prikbord       <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'http://www.stichtingplotsdoven.nl/prikbord/prikbord.php', 'top.inhoud');
addItem('Mailinglijst   <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/prikbord/2.htm', 'top.inhoud');
addItem('Links          <img src="/images/arrow_yellow.gif" style="position:absolute; right:0; top:0;"><img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', 'mLinks', 'sm:');

// Submenu: links
// startMenu(name, vertical, x-offset, y-offset, itemwidth, style, frame)
startMenu('mLinks', true, 66, 'inhoud.page.scrollY()', 138, level2Style, 'top.inhoud');
// addItem(text, targetURL, targetframe ('' in case of whole frameset, 'sm:'=submenu, 'js:'=javascript), (optional) itemStyle, (optional) itemlength)
addItem('Belangenorganisaties  <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/links/1.htm', 'top.inhoud');
addItem('Hulpverlening         <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/links/2.htm', 'top.inhoud');
addItem('Communicatie          <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/links/3.htm', 'top.inhoud');
addItem('Tolken                <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/links/4.htm', 'top.inhoud');
addItem('Voorzieningen         <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/links/7.htm', 'top.inhoud');
addItem('CI                    <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/links/5.htm', 'top.inhoud');
addItem('Werken en studeren    <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/links/6.htm', 'top.inhoud');
addItem('Overige               <img src="/images/trans.gif" style="position:absolute; left:0; height:100%; width:100%">', '/links/8.htm', 'top.inhoud');


// HIDE OR SHOW DELAYS (in milliseconds) can be customised. Defaults are:
//showDelay = 0;
//hideDelay = 500;
hideDelay = 1500;
// Specify hideDelay as zero if you want to disable autohiding, and showDelay as a couple of
// hundred if you don't want the menus showing instantaneously when moused over.

// You can assign 'oncreate' events to specific menus. By default, the script has only one for
// the root menu that shows it when it is created. You may wish to change it to something like the
// following, which uses the animation function to show the menu, or delay its show altogether.
//menu.root[0].oncreate = function() { pMenu.doVis('root', true) }

// End of 'with (pMenu)' block. That's one menu object created!
} // with (pMenu)



//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]);

addDropShadow(pMenu, window.level0Style, [40,"#333333",2,2,0,0], [40,"#333333",4,4,0,0]);
addDropShadow(pMenu, window.level0aStyle, [40,"#333333",2,2,0,0], [40,"#333333",4,4,0,0]);
addDropShadow(pMenu, window.level0bStyle, [40,"#333333",2,2,0,0], [40,"#333333",4,4,0,0]);
addDropShadow(pMenu, window.level1Style, [40,"#333333",2,2,0,0], [40,"#333333",4,4,0,0]);
addDropShadow(pMenu, window.level1aStyle, [40,"#333333",2,2,0,0], [40,"#333333",4,4,0,0]);
addDropShadow(pMenu, window.level2Style, [40,"#333333",2,2,0,0], [40,"#333333",4,4,0,0]);
addDropShadow(pMenu, window.level2aStyle, [40,"#333333",2,2,0,0], [40,"#333333",4,4,0,0]);

if (navigator.userAgent.indexOf('rv:0.')==-1 && !(isOp&&!document.documentElement))
{
 pMenu.showMenu = new Function('mN','menuAnim(this, mN, 10)');    // uitrolsnelheid, 1 - 100
 pMenu.hideMenu = new Function('mN','menuAnim(this, mN, -100)');  // inklapsnelheid
}

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='<div style="position:absolute; background:';
  if (mR[0].itemSty != iS) continue;
  for (var mI=1; mI<mR.length; mI++)
  {
   mR[mI].iX += bordW+backW;
   mR[mI].iY += bordW+backW;
  }
  mW = mR[0].menuW += 2*(bordW+backW);
  mH = mR[0].menuH += 2*(bordW+backW);

  if (isNS4) mR[0].extraHTML += '<layer bgcolor="'+bordCol+'" left="0" top="0" width="'+mW+
   '" height="'+mH+'" z-index="980"><layer bgcolor="'+backCol+'" left="'+bordW+'" top="'+
   bordW+'" width="'+(mW-2*bordW)+'" height="'+(mH-2*bordW)+'" z-index="990"></layer></layer>';
  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/100):'')+
   '">'+dS+backCol+'; left:'+bordW+'px; top:'+bordW+'px; width:'+(mW-2*bordW)+'px; height:'+
   (mH-2*bordW)+'px; z-index:990"></div></div>';
 }
}

function addDropShadow(mObj, iS)
{
 for (var mN in mObj.menu)
 {
  var a=arguments, mD=mObj.menu[mN][0], addW=addH=0;
  if (mD.itemSty != iS) continue;
  for (var shad=2; shad<a.length; shad++)
  {
   var s = a[shad];
   if (isNS4) mD.extraHTML += '<layer bgcolor="'+s[1]+'" left="'+s[2]+'" top="'+s[3]+'" width="'+
    (mD.menuW+s[4])+'" height="'+(mD.menuH+s[5])+'" z-index="'+(arguments.length-shad)+'"></layer>';
   else mD.extraHTML += '<div style="position:absolute; background:'+s[1]+'; left:'+s[2]+
    'px; top:'+s[3]+'px; width:'+(mD.menuW+s[4])+'px; height:'+(mD.menuH+s[5])+'px; z-index:'+
    (a.length-shad)+'; '+(s[0]!=null?'filter:alpha(opacity='+s[0]+'); -moz-opacity:'+(s[0]/100):'')+
    '"></div>';
   addW=Math.max(addW, s[2]+s[4]);
   addH=Math.max(addH, s[3]+s[5]);
  }
  mD.menuW+=addW; mD.menuH+=addH;
 }
}
// end of the cascading popup-menu script

