var $ph = jQuery.noConflict();
$ph('#photo')
.before('<div id="nav2">') 
.cycle({ 
    fx:     'turnRight', 
    timeout: 5000,
    speed: 500,
    before:  onBefore,
    after:   onAfter,
    prev: '#prev',
	next: '#next',
    pager:  ''
 });

var $ob = jQuery.noConflict();
function onBefore() { 
    //$('#desc').html("Scrolling image:<br>" + this.src);
    $ob('.infocontainer').fadeOut(500);
}

var $oa = jQuery.noConflict();
function onAfter() { 
    //$('#desc').html('<h1>' + this.alt + '</h1>') 
    //    .append('<p>' + this.id + '</p>');
    
    $oa('.'+this.id).fadeIn(500);
}

//$(document).ready(function() { 
//	//	$("a#inline").fancybox({'frameWidth': 400, 'frameHeight': 200, 'hideOnContentClick': false  });
//});
