

// FANCYBOX===============================================================================
$(document).ready(function() {
			
$("a.box").fancybox({
				'titleShow'		: true,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'fade',
				'titlePosition'	: 'over',
				 'overlayOpacity': '0.8',
				 'padding': 2, // optional
				  'overlayColor': '#000'
			});
			
			
			
			$("a[rel=group]").fancybox({
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'titlePosition' 	: 'over',
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});
			
			$("a.video").fancybox({
				
				'padding'		: 0,
			'autoScale'		: false,
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'fade',
			'title'			: "",
			'titlePosition' : "inside",
        	'titleFormat'   : "",
			'width'			: 960,
			'height'		: 568,
			'titleFormat'		: function (title, currentArray, currentIndex, currentOpts) {
    return '<div id="tip7-title2">' + (title && title.length ? '<b>' + title + '</b>' : '' ) + (currentIndex + 1) + '/ ' + currentArray.length + '</div>';
},
			
			'type'			: 'swf',
			'swf'			: {
			'wmode'				: 'transparent',
			'allowfullscreen'	: 'true'
			}
			});
			
			
			
			
		});
	
	
// PORTFOLIO HOVER EFFECT ===============================================================================		    
    /*$(document).ready(function() {
        $('.project').mouseenter(function(e) {*/
            /*$(this).children('a').children('img').animate({ height: '180', left: '0', top: '0', width: '290'}, 400);*/
            /*$(this).children('a').children('span').fadeIn(400);
        }).mouseleave(function(e) {*/
           /* $(this).children('a').children('img').animate({ height: '180', left: '0', top: '0', width: '290'}, 400);*/
			/*$(this).children('a').children('img').animate({ height: '250', left: '0', top: '0', width: '360'}, 400);*/
            /*$(this).children('a').children('span').fadeOut(200);
        });*/
//});
	
