function foldPart(byLine,fullText) { var elmBL=$(byLine); var elmFT=$(fullText); var articles = { 'byline_zoekmachine-optimalisatie-oplossing': $('byline_zoekmachine-optimalisatie-oplossing'), 'fulltext_zoekmachine-optimalisatie-oplossing': $('fulltext_zoekmachine-optimalisatie-oplossing'), 'byline_zoekmachine-advertentie-management': $('byline_zoekmachine-advertentie-management'), 'fulltext_zoekmachine-advertentie-management': $('fulltext_zoekmachine-advertentie-management'), 'byline_nieuwsbrief-oplossing': $('byline_nieuwsbrief-oplossing'), 'fulltext_nieuwsbrief-oplossing': $('fulltext_nieuwsbrief-oplossing'), 'byline_virale-marketing': $('byline_virale-marketing'), 'fulltext_virale-marketing': $('fulltext_virale-marketing'), 'byline_rich-media-banners': $('byline_rich-media-banners'), 'fulltext_rich-media-banners': $('fulltext_rich-media-banners'), dumb: '' }; if ((articles['byline_zoekmachine-optimalisatie-oplossing'] != elmBL) && (articles['byline_zoekmachine-optimalisatie-oplossing'].style.display == 'none')) { Effect.toggle(articles['byline_zoekmachine-optimalisatie-oplossing'].id,'slide'); if (articles['fulltext_zoekmachine-optimalisatie-oplossing'].style.display!='none') { Effect.toggle(articles['fulltext_zoekmachine-optimalisatie-oplossing'].id,'slide'); articles['fulltext_zoekmachine-optimalisatie-oplossing'].parentNode.style.backgroundImage='url(/images/arrow2.jpg)'; } } //moveTo('container', $('title_'+"zoekmachine-optimalisatie-oplossing")); //_currentArticle=_articles.indexOf("zoekmachine-optimalisatie-oplossing"); if ((articles['byline_zoekmachine-advertentie-management'] != elmBL) && (articles['byline_zoekmachine-advertentie-management'].style.display == 'none')) { Effect.toggle(articles['byline_zoekmachine-advertentie-management'].id,'slide'); if (articles['fulltext_zoekmachine-advertentie-management'].style.display!='none') { Effect.toggle(articles['fulltext_zoekmachine-advertentie-management'].id,'slide'); articles['fulltext_zoekmachine-advertentie-management'].parentNode.style.backgroundImage='url(/images/arrow2.jpg)'; } } //moveTo('container', $('title_'+"zoekmachine-advertentie-management")); //_currentArticle=_articles.indexOf("zoekmachine-advertentie-management"); if ((articles['byline_nieuwsbrief-oplossing'] != elmBL) && (articles['byline_nieuwsbrief-oplossing'].style.display == 'none')) { Effect.toggle(articles['byline_nieuwsbrief-oplossing'].id,'slide'); if (articles['fulltext_nieuwsbrief-oplossing'].style.display!='none') { Effect.toggle(articles['fulltext_nieuwsbrief-oplossing'].id,'slide'); articles['fulltext_nieuwsbrief-oplossing'].parentNode.style.backgroundImage='url(/images/arrow2.jpg)'; } } //moveTo('container', $('title_'+"nieuwsbrief-oplossing")); //_currentArticle=_articles.indexOf("nieuwsbrief-oplossing"); if ((articles['byline_virale-marketing'] != elmBL) && (articles['byline_virale-marketing'].style.display == 'none')) { Effect.toggle(articles['byline_virale-marketing'].id,'slide'); if (articles['fulltext_virale-marketing'].style.display!='none') { Effect.toggle(articles['fulltext_virale-marketing'].id,'slide'); articles['fulltext_virale-marketing'].parentNode.style.backgroundImage='url(/images/arrow2.jpg)'; } } //moveTo('container', $('title_'+"virale-marketing")); //_currentArticle=_articles.indexOf("virale-marketing"); if ((articles['byline_rich-media-banners'] != elmBL) && (articles['byline_rich-media-banners'].style.display == 'none')) { Effect.toggle(articles['byline_rich-media-banners'].id,'slide'); if (articles['fulltext_rich-media-banners'].style.display!='none') { Effect.toggle(articles['fulltext_rich-media-banners'].id,'slide'); articles['fulltext_rich-media-banners'].parentNode.style.backgroundImage='url(/images/arrow2.jpg)'; } } //moveTo('container', $('title_'+"rich-media-banners")); //_currentArticle=_articles.indexOf("rich-media-banners"); Effect.toggle(elmBL.id,'slide'); Effect.toggle(elmFT.id,'slide'); if (elmFT.style.display=='none') { elmFT.parentNode.style.backgroundImage='url(/images/arrow-down2.jpg)'; } else { elmFT.parentNode.style.backgroundImage='url(/images/arrow2.jpg)'; } }