jQuery(document).ready( function($) {   

  /*  $("#proizvoditeli_inner_slideshow_preview a").click(function(){   
      // calclulate large image's URL based on the thumbnail URL (flickr specific) 
        var url = $(this).attr("href"); 
     
        // get handle to element that wraps the image and make it semitransparent 
        var wrap = $("#proizvoditeli_inner_slideshow_image").fadeTo("medium", 0.5); 
     
        // the large image from flickr 
        var img = new Image(); 
     
        // call this function after it's loaded 
        img.onload = function() { 
     
            // make wrapper fully visible 
            wrap.fadeTo("fast", 1); 
     
            // change the image 
            wrap.find("img").attr("src", url); 
     
        }; 
     
        // begin loading the image from flickr 
        img.src = url;     
        
        return false;    
    })      */
    
    $("a.photosession_image").fadeTo(1000,0.8);
    $("a.photosession_image").hover(
    function(){
        $(this).fadeTo(500,1);
    },
    function(){
        $(this).fadeTo(500,0.8);
    }    
    )
    $(".news_content a[rel^='prettyPhoto']").prettyPhoto({
        theme:'light_square',
        padding: 20,
        opacity: 0.91 
    });    
})
