var tOR = null; // tWindowOnResizeHandler
window.onresize = function (){
	if (tOR != null){ clearTimeout(tOR); }
	tOR = setTimeout(function (){ checkNavMenuFloat(); tOR = null; }, iWindowOnResizeTimeout);
}


window.onload = function (){
	evHandler = document.getElementById('eventhandler');
	navBar = document.getElementById('navbar');
	navMenu = document.getElementById('navmenu');
	navTools = document.getElementById('navtools');
	contentPage = document.getElementById('page');
	topTools = document.getElementById('toptools');
	topToolsLang = document.getElementById('toptoolslang');
	topToolsFont = document.getElementById('toptoolsfont');

	initStyleSheets();

	// if (sCurrentSytleSheet == 'css_normal'){ initFontSize(); }
	initImageHandler();
	initNavMenu();
	checkNavMenuFloat();
	var x = new myXSLTProcessor(sPageMenu, '/static/xml/menu_xsl.xml', 'navmenu');
	initBoxMenu();

	initDinLists();

//	setActualHeader();
	initGalleries();
//	initVotes();

//	if (document.getElementById('Carousel')) { Carousel(); }
	initBoxMenuGallery();
	nmFirstIn();
}


