$(document).ready(function(){

	/*-------------------------------------------- carousel --------------------------------------------*/
	jQuery('#mycarousel').jcarousel();
	
	$(function()
		{$('.scroll-pane').jScrollPane({showArrows:true, scrollbarWidth:19, dragMaxHeight:43});
	});
	 $('#level1  li').hover(
        function() {
			
			$(this).addClass("active0");
            		$(this).find('ul').show(0.001);
        },
        function() {
		
			$(this).removeClass("active0");        
            		$(this).find('ul').hide(0.001);
        }
    	);

	pic1 = new Image();
	pic1.src="../stylesheets/skins/tango/scroll-left_active.gif";
	pic2 = new Image();
	pic2.src="../stylesheets/skins/tango/scroll-left_unactive.gif";
	pic3 = new Image();
	pic3.src="../stylesheets/skins/tango/scroll-right_active.gif";
	pic4 = new Image();
	pic4.src="../stylesheets/skins/tango/scroll-right_unactive.gif";
	/*-------------------------------------------- /carousel --------------------------------------------*/ 



	/*-------------------------------------------- top menu --------------------------------------------*/
	$("#level1 li:last-child").addClass("last");
	/*-------------------------------------------- /top menu --------------------------------------------*/ 



	/*-------------------------------------------- form --------------------------------------------*/
 	$(".checkbox .ch1").click(
	function(){

      		$('.div1').slideToggle("slow");
  	},

	function(){
      		$('div1').slideToggle("hide"); 
  	});

	$(".checkbox .ch2").click(
	function(){

      		$('.div2').slideToggle("slow");
  	},

	function(){
      		$('div2').slideToggle("hide"); 
  	});

	$(".checkbox .ch3").click(
	function(){

      		$('.div3').slideToggle("slow");
  	},

	function(){
      		$('div3').slideToggle("hide"); 
  	});
	/*-------------------------------------------- /form --------------------------------------------*/ 


	/*-------------------------------------------- fotogallery --------------------------------------------*/
	$(".item_foto a").fancybox();
	$("a.item_foto").fancybox();
	/* /fotogallery */  
	/*-------------------------------------------- /fotogallery --------------------------------------------*/ 

});
