


/*
function vimeosetup($) {
	vimeo('videos', {}, setupVimeo, {})
};
function setupVimeo(data, params) {
	var $ = jQuery
	$(data).each(function(i, video) {
		if (i > 7) return
		if (i == 0) {
			var feature = $('#video .feature')
			$(feature).find('.embed').oembed(video.url, {
				embedMethod:'fill',
				maxWidth:$('#video .feature .embed').width()
			});
			$(feature).append('<h1>'+video.title+'</h1><p class="last">'+video.description+'</p>')
			
		} else {
			var title = video.title
			var subtitle = false
			if (title.match(/.*--.*--/)) {
				subtitle = title.replace(/--[^-]*$/, '')
				title = title.replace(/([^-]*--[^-]*)--/, '')
			}
			var html = '<div class="post post-hasThumb"><a href="'+video.url+'?autoplay=1"><img src="'+video.thumbnail_small+'" alt="sample" width="100" height="75" class="thumb" /></a>'+
			'<h4><a href="'+video.url+'?autoplay=1">'+title+'</a></h4>'+
			(subtitle ? '<h6>'+subtitle+'</h6>' : '')+
			''+video.description+'<br />'+
			'<a href="'+video.url+'?autoplay=1">Watch &gt;</a>'+
			'</div>';
			
			$('#video .videos').append(html)

		}
	});
}
*/


