function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function clearCookies(){ document.cookie="view=;path=/;expires=Thu,01-Jan-1970 00:00:01 GMT"; document.cookie="level2=;path=/;expires=Thu,01-Jan-1970 00:00:01 GMT"; document.cookie="level3=;path=/;expires=Thu,01-Jan-1970 00:00:01 GMT"; document.cookie="level4=;path=/;expires=Thu,01-Jan-1970 00:00:01 GMT"; document.cookie="level5=;path=/;expires=Thu,01-Jan-1970 00:00:01 GMT"; } var browser=""; var categories=new Array(); var position=90; var numsubs=0; var CatNum=""; var Nummer=1; var catopen=0; var sequence= new Array(); PictureClosed = new Image(); PictureClosed.src = "/wonen/vondelparck/Assets.nsf/ImageLookUp/pijl_closed.gif/$FILE/pijl_closed.gif"; PictureOpened = new Image(); PictureOpened.src ="/wonen/vondelparck/Assets.nsf/ImageLookUp/pijl_opened.gif/$FILE/pijl_opened.gif" PictureEmpty = new Image(); PictureEmpty.src ="/wonen/vondelparck/Assets.nsf/ImageLookUp/pijl_closed.gif/$FILE/pijl_closed.gif" // menu source categories['Vondelparck'] = new Array(5); categories['Vondelparck']['CatNum']='001'; categories['Vondelparck']['CatID'] = 'Vondelparck'; categories['Vondelparck']['CatTitle'] = 'Vondelparck'; categories['Vondelparck']['CatLink'] = 'href=\"/wonen/vondelparck/text_all.nsf/URL/FC68DD18D133C657C1256D210038B670?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#Vondelparck##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'Vondelparck\')\" '; categories['Vondelparck']['subs'] = new Array(); categories['Vondelparck']['numsubs'] =""; categories['De Villas'] = new Array(5); categories['De Villas']['CatNum']='002'; categories['De Villas']['CatID'] = 'De Villas'; categories['De Villas']['CatTitle'] = 'De Villa\'s'; categories['De Villas']['CatLink'] = 'href=\"/wonen/vondelparck/news.nsf/URL/568BA75439BD2D17C1256D56003A60F9?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#De Villas##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'De Villas\')\" '; categories['De Villas']['subs'] = new Array(); categories['De Villas']['numsubs'] =""; categories['Tuin en terraswoningen'] = new Array(5); categories['Tuin en terraswoningen']['CatNum']='003'; categories['Tuin en terraswoningen']['CatID'] = 'Tuin en terraswoningen'; categories['Tuin en terraswoningen']['CatTitle'] = 'Tuin en terraswoningen'; categories['Tuin en terraswoningen']['CatLink'] = 'href=\"/wonen/vondelparck/news.nsf/URL/C8896194D1DA655CC1256D6C0037DC33?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#Tuin en terraswoningen##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'Tuin en terraswoningen\')\" '; categories['Tuin en terraswoningen']['subs'] = new Array(); categories['Tuin en terraswoningen']['numsubs'] =""; categories['Valerius'] = new Array(5); categories['Valerius']['CatNum']='004'; categories['Valerius']['CatID'] = 'Valerius'; categories['Valerius']['CatTitle'] = 'Valerius'; categories['Valerius']['CatLink'] = 'href=\"/wonen/vondelparck/news.nsf/URL/E621946B9F0224FAC1256D97002FB255?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#Valerius##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'Valerius\')\" '; categories['Valerius']['subs'] = new Array(); categories['Valerius']['numsubs'] =""; categories['Huygens en Bredero'] = new Array(5); categories['Huygens en Bredero']['CatNum']='005'; categories['Huygens en Bredero']['CatID'] = 'Huygens en Bredero'; categories['Huygens en Bredero']['CatTitle'] = 'Huygens en Bredero'; categories['Huygens en Bredero']['CatLink'] = 'href=\"/wonen/vondelparck/news.nsf/URL/2BE5DFD9256F4261C1256D9D00524188?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#Huygens en Bredero##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'Huygens en Bredero\')\" '; categories['Huygens en Bredero']['subs'] = new Array(); categories['Huygens en Bredero']['numsubs'] =""; categories['Vondeltoren'] = new Array(5); categories['Vondeltoren']['CatNum']='006'; categories['Vondeltoren']['CatID'] = 'Vondeltoren'; categories['Vondeltoren']['CatTitle'] = 'Vondeltoren'; categories['Vondeltoren']['CatLink'] = 'href=\"/wonen/vondelparck/news.nsf/URL/948EC9DF85ACB0EEC1256DB1002D0BE2?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#Vondeltoren##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'Vondeltoren\')\" '; categories['Vondeltoren']['subs'] = new Array(); categories['Vondeltoren']['numsubs'] =""; categories['De locatie'] = new Array(5); categories['De locatie']['CatNum']='007'; categories['De locatie']['CatID'] = 'De locatie'; categories['De locatie']['CatTitle'] = 'De locatie'; categories['De locatie']['CatLink'] = 'href=\"/wonen/vondelparck/news.nsf/URL/E1192934BA276183C1256D1E0054FA2E?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#De locatie##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'De locatie\')\" '; categories['De locatie']['subs'] = new Array(); categories['De locatie']['numsubs'] =""; categories['Verhuurinformatie'] = new Array(5); categories['Verhuurinformatie']['CatNum']='008'; categories['Verhuurinformatie']['CatID'] = 'Verhuurinformatie'; categories['Verhuurinformatie']['CatTitle'] = 'Verhuurinformatie'; categories['Verhuurinformatie']['CatLink'] = 'href=\"/wonen/vondelparck/news.nsf/URL/A9A61CE6F9FEA31FC1256D560043FA2B?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#Verhuurinformatie##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'Verhuurinformatie\')\" '; categories['Verhuurinformatie']['subs'] = new Array(); categories['Verhuurinformatie']['numsubs'] =""; categories['Verhuurinformatie']['subs']['Contact formulier'] = new Array(2); categories['Verhuurinformatie']['subs']['Contact formulier']['0'] = 'Contact formulier'; categories['Verhuurinformatie']['subs']['Contact formulier']['1'] = 'onclick="javascript:clearCookies(); document.cookie=\'navigation=category#Verhuurinformatie##subcategory#Contact formulier##;path=/\'" href="/wonen/vondelparck/contact.nsf/IR?OpenForm&Language=Nederlands" Target="_self"'; categories['Forum'] = new Array(5); categories['Forum']['CatNum']='009'; categories['Forum']['CatID'] = 'Forum'; categories['Forum']['CatTitle'] = 'Forum'; categories['Forum']['CatLink'] = 'href=\"/wonen/vondelparck/text_all.nsf/URL/84539E3347D60369C1256E1A003D99B1?OpenDocument\" Target=\"_self\" onclick=\"javascript:clearCookies() ; document.cookie=\'navigation=category#Forum##subcategory###; path=/; \' ; ToggleSubCategoriesActivate(\'Forum\')\" '; categories['Forum']['subs'] = new Array(); categories['Forum']['numsubs'] =""; //set browser if (document.getElementById) { browser='ns6ie5'; } else if (document.layers) { browser='ns4'; } else if (document.all) { browser='ie4'; } // set browser for old script versions used throughout the site. if (document.layers) { visible = 'show'; hidden = 'hide'; } else if (document.getElementById) { visible = 'visible'; hidden = 'hidden'; } else if (document.all) { visible = 'visible'; hidden = 'hidden'; } // create main categories, function CreateMainCategories() { for (var j in categories) { nummer=categories[j]['CatNum']-1; sequence[nummer]=j; } for (i=0; i < sequence.length; i++){ div_id="cat" + sequence[i]; CreateCategory(div_id, sequence[i]); } } function CreateCategory(div_id, i) { // eerst een tellertje om te bepalen hoeveel submenus er zijn, indien nul dan hoeft de create subs namelijk niet te worden uitgevoerd. var value=0; for (var j in categories[i]['subs']) { value=value+1; } if (browser=='ns6ie5'){ // dit hele stuk is voor ie5 en ns6 if(categories[i] != ""){ // eerst de subcategorien document.write("