hs.graphicsDir = '/templates/default/images/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;
	// define the restraining box
	hs.useBox = true;
	hs.width = 640;
	hs.height = 480;
	// Add the controlbar
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: 1,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});
	
/* Hungarian initialisation for the jQuery UI date picker plugin. */
/* Written by Istvan Karaszi (jquery@spam.raszi.hu). */
jQuery(function($){
    /*$.datepicker.regional['hu'] = {
        closeText: 'bezárás',
        prevText: '&laquo;&nbsp;vissza',
        nextText: 'előre&nbsp;&raquo;',
        currentText: 'ma',
        monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
        'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
        monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
        'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
        dayNames: ['Vasárnap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
        dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
        dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
        weekHeader: 'Hé',
        dateFormat: 'yy-mm-dd',
        firstDay: 1,
        isRTL: false,
        showMonthAfterYear: false,
        yearSuffix: ''
    }*/
		
		$('a[id^="menu-"]').click(
			function(){ 
				$("#sub-" + this.id).stop(true, true).toggle(300);
				return false;
			}
		);
		
});

$(document).ready(function(){
	
        if (jQuery.browser.msie && jQuery.browser.version.substr(0,1)<7) {
           jQuery("body").hide();
           if(confirm("Oldalaink látogatásához fejlettebb böngészőre lesz szüksége.\nKérjük cserélje le és látogasson vissza.\nWeboldalunk nem támogatja az IE6-os böngészőt!")){
                   window.location="http://www.google.com/chrome/?hl=hu";
           }else{
                   window.location="http://www.mozilla-europe.org/hu/firefox/";
           }
        }
	
        //$(".date").datepicker($.datepicker.regional['hu']);
        //$.datepicker.setDefaults($.datepicker.regional['hu']);
});

