window.addEvent('domready', function() {
	var hs_hbr = new noobSlide({
			// mode: 'vertical',
			box: $('haber_box'),
			//startItem: 1,
			items: $ES('div','haber_box'),
			size: 712,
			//interval:3000,
			autoPlay: true,
			handles: $ES('li','bolum'),
			fxOptions: {
				duration: 750,
				transition: Fx.Transitions.Quart.easeIn,
				wait: false
			},
			handle_event: 'mouseenter',
			onWalk: function(currentItem,currentHandle){
			this.handles.removeClass('active');
				currentHandle.addClass('active');
			}
		});
		hs_hbr.walk(0);
	// foto galeri
	var hs_vid = new noobSlide({
			// mode: 'vertical',
			box: $('vid_box'),
			//startItem: 1,
			items: $ES('div','vid_box'),
			size: 436,
			//interval:3000,
			autoPlay: true,
			//handles: $ES('li','bolum'),
			buttons: {previous: $('sola_foto'), next: $('saga_foto') },
			fxOptions: {
				duration: 750,
				transition: Fx.Transitions.Quart.easeIn,
				wait: false
			},
			onWalk: function(currentItem,currentHandle){
			 /*this.handles.removeClass('active');
				currentHandle.addClass('active'); */
			}
		});
		hs_vid.walk(0);
		// video 
		var hs_fom = new noobSlide({
			// mode: 'vertical',
			box: $('foto_box'),
			//startItem: 1,
			items: $ES('div','foto_box'),
			size: 436,
			//interval:3000,
			autoPlay: true,
			//handles: $ES('li','bolum'),
			buttons: {previous: $('vid_sola'), next: $('vid_saga') },
			fxOptions: {
				duration: 750,
				transition: Fx.Transitions.Quart.easeIn,
				wait: false
			},
			onWalk: function(currentItem,currentHandle){
			 /*this.handles.removeClass('active');
				currentHandle.addClass('active'); */
			}
		});
		hs_fom.walk(0);
		// faydalę linkler
		var myAccordion = new Fx.Accordion($('accordion'), 'h3.toggler', 'div.element', {
		opacity: false,
		onActive: function(toggler, element){
			toggler.setStyle('color', '#b97731');
		toggler.setStyle('background-image', 'url(resim/raporlar/dg.png)');
		},
		onBackground: function(toggler, element){
		toggler.setStyle('color', '#41464D');
		toggler.setStyle('background-image', 'url(resim/raporlar/rprg.png)');
		}
	});	
		//
                new Fusion('ul.menutop', {
                    pill: 1,
                    //effect: 'slide and fade',
					effect: 'slide',
                    opacity: 1,
                    hideDelay: 500,
                    centered: 0,
                    tweakInitial: {'x': -12, 'y': 2},
                    tweakSubsequent: {'x': -12, 'y': -14},
                    menuFx: {duration: 400, transition: Fx.Transitions.Quint.easeOut},
                    pillFx: {duration: 400, transition: Fx.Transitions.Quint.easeOut}
                });
            });
            //
