$(document).ready(function(){
    $(".menu > li > a").not(".open").find("+ ul").hide();
    $(".menu > li > a").click(function(){
        $(this).find("+ ul").slideToggle("fast");
    });
    $('.row_belt a').mouseover(function() {
        $(this).animate({
            backgroundColor: "#C39FDF"
        }, 'fast');
    });
    $('.row_belt a').mouseout(function(){
        $(this).animate({
            backgroundColor: "#FF0000"
        }, 'fast');
    });
    
	$("a.single_image").fancybox();
	
	/* Using custom settings */
	
	$("a.inline").fancybox({
		'hideOnContentClick': true
	});

	/* Apply fancybox to multiple items */
	
	$("a.group").fancybox({
		'padding'           : 0,
		'overlayColor' : '#000',
		'transitionIn'	:	'fade',
		'transitionOut'	:	'fade',
                'autoDimensions'	: true,
		'speedIn'		:	600, 
		'speedOut'		:	200, 
        'autoScale'     	: false,
		'cyclic'		:	true,
		'overlayShow'	:	true,
		'overlayColor'  :	'#203c4e',
		'overlayOpacity'  :	0.7,
		'titleShow'  	: true,
		'titlePosition' 		: 'outside',
		'titleFormat'	:  	null,
		'hideOnOverlayClick' : true,
		'hideOnContentClick'	: true

	});

        $("a.fancy_swf").fancybox({
	    'padding'           : 10,
		'overlayColor' : '#000',
		'overlayOpacity'  :	0.7,
		'width'	: 1000,
		'height'	: 500,
        'autoScale'     	: true,
'autoDimensions'	: true,
        'transitionIn'		: 'none',
		'cyclic'		:	true,
		'transitionOut'		: 'none',
		'swf'			: {
			   	 'wmode'		: 'opaque'
			},
		'titleShow'  	: true,
		'titlePosition' 		: 'outside',
		'titleFormat'	:  	null,
		'hideOnOverlayClick' : true,
		'hideOnContentClick'	: false
	
	});
 $("a.iframe").fancybox({
 	'width'		: '100%',
		'overlayColor' : '#000',
		'overlayOpacity'  :	0.7,
		'height'		: '90%',
		'margin' : 0,
		'padding'  :  5,
		'hideOnOverlayClick' : true,
		'hideOnContentClick'	: false,
		'cyclic'		:	true
		
		
	
 });
});


