/**
 * @author Piotr
 */

window.addEvent("load",function(){
	var efekt = new Accordion('h2.toggler', 'ul.element', {
		alwaysHide: true,
		display: false
	});
	
	$("main-content").style.fontSize = '1.1em';

    $('plus').addEvent("click", function(){
        $("main-content").style.fontSize = "1.7em";
    });
 
    $('minus').addEvent("click", function(){
        $("main-content").style.fontSize = "1.1em";
    });
 
    $('default').addEvent("click", function(){
        $("main-content").style.fontSize = "1.4em";
    });
	var efekt2 = new Accordion('h2.newsToggle', 'ul.element2', {
		alwaysHide: true,
		display: false
	});
});


hs.graphicsDir = 'img/graphics/';
hs.outlineType = 'rounded-white';
hs.outlineWhileAnimating = true;
hs.allowSizeReduction = false;
hs.preserveContent = false;