  
    $(document).ready(function(){

       $(".node-1 > li").mouseover(
	  function(){
	  $(this).children('ul').css('visibility','visible');
	  $(this).children('ul').children('li').css('visibility','visible');
	  });
       $(".node-1 > li").mouseout(
	  function(){
	  $(this).children('ul').css('visibility','hidden');
	  $(this).children('ul').children('li').css('visibility','hidden');
	  });


       $(".preview_thumb").mouseover(
           function(){
               
                $(".first_position").stop().css("opacity","1");
                target = $(this).parent().attr("href");
                target = target.replace(/\//,"");
                source = $(".first_position").attr("id");
                source = source.replace(/image_/g,"");
                
                if(target != source)
                {
                $(".first_position").fadeOut("slow").addClass("second_position").removeClass("first_position");
                $("#image_"+target).fadeIn("slow").addClass("first_position");
                }
               
            });   
       $(".preview_link").mouseover(
           function(){
               $(".first_position").css("opacity","1").stop();
               //alert($(this).length);
	       
		  target = $(this).attr("href");
		  target = target.replace(/\//,"");
                  source = $(".first_position").attr("id");
               //alert(source.search(/image_/));
	      
		  source = source.replace(/image_/g,"");
                 if(target != source)
		  {
		    if($("#image_"+target).length != 0)
		    {
		      $(".first_position").fadeOut("slow").addClass("second_position").removeClass("first_position");
		      $("#image_"+target).fadeIn("slow").addClass("first_position");
		    }
		  } 
		
            });
	 $(".kollage_link").mouseover(
              function()
	      {
		$(this).text($(this).attr("title"));
	     
           });
	 $(".kollage_link").mouseout(
              function()
	      {
		$(this).text("");
	     
           });
       // $("#preview_link_list_scroll").jScrollPane({});
	//$("#description_content_scroll").jScrollPane({});
           $("#preview_link_list_scroll").jScrollPane(
           {
	       
               showArrows:true,
               scrollbarWidth: 9,
               scrollbarMargin: 10,
	       arrowSize: 14 
	      
          });
           $("#description_content_scroll").jScrollPane(
           {
	      
               showArrows:true,
               scrollbarWidth:9,
               scrollbarMargin:10,
               arrowSize: 14 
	    
           });
                  
     });
