jQuery.noConflict();
jQuery(document).ready(function($){

    $("div.horizontal:first").scrollable({loop:false});

	$('.items a').click(function(){

        $('#leftviewer').text('');
        $('#leftviewer-loading').show();

        var img = new Image();
        var src = $(this).children('img').attr('src');
        var srcparts = src.split('/thumbs');
        var location = srcparts[0];
        var image = srcparts[1];
        $(img).load(function () {
            $('#leftviewer-loading').hide();
            $(this).hide();
            $('#leftviewer').append(this);
            $(this).fadeIn();
        }).attr('src', location+image);

        return false;
	});

});