			function init() {
				if(window.location.hash && window.location.hash.search(/tabId/) >= 0) {
			
				} else {
					appManager = new AppManagerClass();
					appManager.init();		
					
					tabEventHandler = new tabEventHandlerClass();
					
					tabController = new TabControllerClass();
					tabController.id = "moreEventsTabContainer";
					tabController.name = "tabController";
					tabController.eventHandler = tabEventHandler;
					tabController.editable = false;
					tabController.addSpacer = true;
					tabController.init();
				
					tabController.addTab(0, 'Alle Events');			
					tabController.addTab(1, 'Parties');	
					tabController.addTab(2, 'Konzerte');
					tabController.addTab(3, 'Sport');
					tabController.addTab(4, 'B&uuml;hne &amp; Theater');
					tabController.addTab(5, 'Feste');
					
					tabController.setActiveTab(selectedTabId);		
			
					initMultiSearch();
					initMainTabs();
					
					if(topEvents) {
						startTeaserImageScroll();
					}
				}
			}

			function startTeaserImageScroll() {
				if(!teaserImagesScrolling && topEvents) {
					switchTeaserImagesInterval = window.setInterval("switchTeaserImages()", 2000);
					teaserImagesScrolling = true;
				}	
			}
			
			function stopTeaserImageScroll() {
				window.clearInterval(switchTeaserImagesInterval);
				teaserImagesScrolling = false;
			}
			
			function switchTeaserImages() {
				if(topEvents) {
					if(teaserImageCounter >= topEvents.length) {
						teaserImageCounter = 0;
					}
					document.getElementById("topEventImage").src = topEvents[teaserImageCounter]["imagePath"];
					teaserImageCounter++;
				}
			}
			
			function clickOnTeaserImage() {
				window.location.href = basePath + '/' + topEvents[teaserImageCounter - 1]["id"];
			}	
			
			function hoverOverEvent(imagePath) {
				if(imagePath && imagePath!='false') {
					stopTeaserImageScroll();
					document.getElementById("topEventImage").src = imagePath;
				}
			}
			
			function unHoverEvent() {
				startTeaserImageScroll();
			}
			
			function scrollDownTopEventList() {
				if(!disableScrollDownTopEventList && topEventListCurrentPage < lastPage) {
					topEventListCurrentPage++;
					startMoveBoxEffect(document.getElementById('topEventInnerScrollContainer'), 'up', (topEventListCurrentPage - 1) * -292, 30, false);	
					disableScrollUpTopEventList = false;				
					document.getElementById('topEventListScrollUpBar').className = 'scrollBar up';
					
					if(topEventListCurrentPage >= lastPage) {
						disableScrollDownTopEventList = true;
						document.getElementById('topEventListScrollDownBar').className = 'scrollBar down inactive';
					}
				}
			}		

			function scrollUpTopEventList() {
				if(!disableScrollUpTopEventList) {
					topEventListCurrentPage--;
					startMoveBoxEffect(document.getElementById('topEventInnerScrollContainer'), 'down', (topEventListCurrentPage - 1) * -292, 30, false);
					
					disableScrollDownTopEventList = false;
					document.getElementById('topEventListScrollDownBar').className = 'scrollBar down';
					
					if(topEventListCurrentPage==1) {
						disableScrollUpTopEventList = true;
						document.getElementById('topEventListScrollUpBar').className = 'scrollBar up inactive';
					}	
				}			
			}

			function categorySelected() {
				window.location.href = basePath + 'category/' + document.getElementById("otherEventsCategorySelector").value + dateString;
			}	
