function pageLoad(sender, args) {

    $(document).pngFix();

    $(".menuimghov").hover(
         function () {
             var newimage = $(this).attr('rel');
             var oldimage = $(this).attr('src');
             $(this).attr('src', newimage);
             $(this).attr('rel', oldimage);
         },
         function () {
             var newimage = $(this).attr('rel');
             var oldimage = $(this).attr('src');
             $(this).attr('src', newimage);
             $(this).attr('rel', oldimage);

         }
      );

    $(".imghov").hover(
         function () {
             var newimage = $(this).attr('rel');
             var oldimage = $(this).attr('src');
             $(this).attr('src', newimage);
             $(this).attr('rel', oldimage);
         },
         function () {
             var newimage = $(this).attr('rel');
             var oldimage = $(this).attr('src');
             $(this).attr('src', newimage);
             $(this).attr('rel', oldimage);

         }
      );

    $("a.lnkimg").fancybox({
        'transitionIn': 'elastic',
        'transitionOut': 'elastic'
    });

   $("a.lnkpopup").fancybox({
        'transitionIn': 'elastic',
        'transitionOut': 'elastic',
'hideOnContentClick': false,
    'overlayShow': false,
    'width': 620,
    'height': 620,
    'type': 'iframe'
    });

    $(".lnkyoutube").click(function () {
        $.fancybox({
            'padding': 0,
            'autoScale': true,
            'transitionIn': 'elastic',
            'transitionOut': 'elastic',
            'href': this.href,
            'type': 'swf',
            'swf': { 'wmode': 'transparent', 'allowfullscreen': 'true' }
        });
        return false;
    });

}


Cufon.replace('.infobox_titolo .modulo_titolo', { hover: true, fontFamily: 'liberation_sans'
 });
