hola he probado así como dices tu mayid (pongo todo mi js a lo mejor es por eso)
   
Código javascript
:
Ver original$(function() {
    $('#legal').click(function(){
        $('#dialog').dialog('open');
        return false;
 
    });
    $("#dialog").dialog({
        autoOpen: false,
        width: 500,
        bgiframe: true,
        height: 340,
        modal: true
    });
 
 
    $('#mensaje').click(function(){
        $("#mensaje").slideUp();
    });
 
    //slider
    $('#rotador').cycle({
        fx:     'fade',
        speed:    5000,
        timeout:  3000,
        height:   207
    });
 
    //acordeon
    $("#accordion").accordion({ active: -1 });
    $("#accordion1").accordion({ active: -1 });
    $("#accordion2").accordion({ active: -1 });
    $("#accordion3").accordion({ active: -1 });
    $("#accordion4").accordion({ active: -1 });
    $("#accordion5").accordion({ active: -1 });
    $("#accordion6").accordion({ active: -1 });
 
    //portfolio
    /*
    $(".thumb a").click(function(){
    var imgHref = $(this).attr('title');  //get the src of the thumbnail
    $(".thumb a").removeClass("selected");  //remove .selected class from all other links
    $(this).addClass("selected");  //add .selected class to current link
    $(".big").stop();
    $(".big").stop().fadeTo(700, 0, function() {  //fade image out
    $('.big').attr('src', imgHref );  //give new image a src attribute
 
    }).fadeTo("slow", 1);  //fade the image in
    },$(".thumb a").mouseout = function(){    //for onmouseout not used here
    });*/
    $(".thumb a").click(function(){
        var imgHref = $(this).attr('title');  //get the src of the thumbnail
        $(".thumb a").removeClass("selected");  //remove .selected class from all other links
        $(this).addClass("selected");  //add .selected class to current link
        $(".big").stop();
        $(".big").stop().fadeTo(700, 0, function() {  //fade image out
            $('.big').attr('src', imgHref );  //give new image a src attribute
            $('.bighref').attr('href', 'big/' + imgHref );
 
        }).fadeTo("slow", 1);  //fade the image in
    },$(".thumb a").mouseout = function(){    //for onmouseout not used here
 
    });
    
    $(".thumb2 a").click(function(){
        var imgHref = $(this).attr('title');  //get the src of the thumbnail
        $(".thumb2 a").removeClass("selected");  //remove .selected class from all other links
        $(this).addClass("selected");  //add .selected class to current link
        $(".big2").stop();
        $(".big2").stop().fadeTo(700, 0, function() {  //fade image out
            $('.big2').attr('src', imgHref );  //give new image a src attribute
            $('.bighref2').attr('href', 'big/' + imgHref );
 
        }).fadeTo("slow", 1);  //fade the image in
    },$(".thumb2 a").mouseout = function(){    //for onmouseout not used here
    
    return false;
    });
 
    
    /*$("#slider").easySlider({
        auto: false,
        continuous: false,
        numeric: true
    });*/
 
 
 
 
    $("a[rel^='prettyPhoto']").prettyPhoto();
});
  
y no funciona :S