// The next line enables jQuery IntelliSense in Visual Studio:
///<reference path="/common/js/IntelliSense/jquery-1.3.1-vsdoc.js" />

$(document).ready(function() {
    $(".thumbimage").click(function() {
        // Display big image
        var id = $(this).attr('name');
        $('.ProductDetailFoto').attr('style', 'display:none');
        $('#' + id).attr('style', 'display:block');
    });

    $(".single_image").fancybox({
        'zoomOpacity': true,
        'overlayShow': true,
        'zoomSpeedIn': 500,
        'zoomSpeedOut': 500
    });
    
});