// Creating namespace for javascript events
		var lorenzoSoriceSite = {};

// Method to handle wrapper footer nav
 $(document).ready(function()
		{
			//lorenzoSoriceSite.wrapperConnect();
		});
		
		lorenzoSoriceSite.wrapperConnect = function()
		{
			// Setting footer nav height on page load
			$("#connect").hide();

			// Listening to hover over and out events on footer nav
			$("a#connect-link").click(function(e)
			{
				e.preventDefault();
				// On Click
				$('#connect').stop(true, true).slideToggle();
			});
		}
		
//Fancybox modals	
$(document).ready(function() {
	$(".modal").fancybox({
		'width'				: 700,
		'height'			: 650,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});
				
	$(".modal300x250").fancybox({
		'width'				: '300',
		'height'			: '250',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'swf',
		'margin' : 0,
		'padding' : 0
	});
	
	$(".modal500x250").fancybox({
		'width'				: '500',
		'height'			: '250',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'swf',
		'margin' : 0,
		'padding' : 0
	});
	
	$(".modal728x90").fancybox({
		'width'				: '728',
		'height'			: '90',
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'swf',
		'margin' : 0,
		'padding' : 0
	});
});
