var prologicSystems = {
	// define your oft-used settings below
	cycleSettings: {
		fx:           'fade', // name of transition function 
		timeout:       3500,  // milliseconds between slide transitions (0 to disable auto advance) 
		speed:         800  // speed of the transition (any valid fx speed value) 
	},
	cboxSettings: {
		vid: {
			iframe:true, 
			initialWidth:320, 
			innerWidth:660, 
			initialHeight:185, 
			innerHeight:400	
		},
		form: {
			inline:true, 
			initialWidth:350, innerWidth:350, 
			initialHeight:450, innerHeight:450,
			speed: 400
		}
	},
	partnerCarouselSettings: {
		transitionSpeed: 3000,
		displayTime: 2000,
		displayProgressBar: false,
		displayThumbnails: false,
		displayThumbnailNumbers: false,
		displayThumbnailBackground: false,
		imagePath: '/images/plugins/',
		easeLeft: 'linear',
		easeRight: 'linear',
		inView: 6,
		advance: 1,
		padding: '27px',
		showControls: false,
		autoHideControls: false,
		autoHideCaptions: false,
		autoStart: true,
		prevNextInternal: true,
		thumbnailWidth: '105',
		thumbnailHeight: '72'
	}

}

$(function () {
	$("#thome div.slideshow").cycle(prologicSystems.cycleSettings);

	$("a.cbox-vid").colorbox(prologicSystems.cboxSettings.vid);
	$("a.cbox-contact").colorbox(prologicSystems.cboxSettings.form);

	$("#sections>li").hover(function(){ $(this).addClass('hover') },function(){ $(this).removeClass('hover') })

	$("#carousel").infiniteCarousel(prologicSystems.partnerCarouselSettings);

});


