/**
 * @name Picolinos User Interface
 * @version 2009.05.27
 * @author nick@axisweb.com
 * 
 * @type jQuery
 * @requires jQuery v1.3.2
 * @requires jQuery.cycle v2.65 07-APR-2009
 */


Shadowbox.loadSkin('classic','/_ui/shadowbox/skin');


$(document).ready(function() {
	// externalizes outside links
	// $('a[href^="//"], a[href^="http://"], a[href^="https://"], a[href$=.pdf]').attr('target','_blank');
	
	// homepage slideshow
	$('#content .slides').cycle({
		fx:'fade',
		timeout:6500,
		random:1
	}).show('fast');


	// Shadowbox defaults
	var sbOptions = {
		flvPlayer:'/_ui/shadowbox/flvplayer.swf',
		handleOversize:'drag',
		handleUnsupported:'remove',
		displayCounter:true,
		displayNav:true,
		continuous:true,
		counterType:'skip',
		counterLimit:20,
		autoplayMovies:false,
		animSequence:'sync',
		overlayColor:'#000',
		overlayOpacity:0.9,
		fadeDuration:0.3,
		resizeDuration:1.0,
		initialWidth:450,
		initialHeight:300
	};
    Shadowbox.init(sbOptions);

// jQuery.end(); --
});