/*jQuery.noConflict();*/
jQuery(function($) { 
		
	// Superfish
	$("ul.sf-menu").supersubs({ 
		minWidth:    10,   // minimum width of sub-menus in em units 
		maxWidth:    25,   // maximum width of sub-menus in em units 
		extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
						   // due to slight rounding differences and font-family 
	}).superfish({
		delay:			300,
		dropShadows:    false
	});  // call supersubs first, then superfish, so that subs are 
					 // not display:none when measuring. Call before initialising 
					 // containing tabs for same reason. 
			

	// Full page background
	$.supersized({
		//Background image
		slides	:  [ { image : 'img/bg1.jpg' } ]
	});
			
	
	// Cufon
	Cufon.replace('.replace,.sidebar-widget h4',{fontFamily: 'Museo 500'} );
	Cufon.replace('.sf-menu a',{fontFamily: 'Museo Sans 500'} );
	
	// ColorBox
	$(".video_modal").colorbox({iframe:true, innerWidth:"50%", innerHeight:"50%"});
	$("a[rel='example1']").colorbox();
	$("a[rel='example2']").colorbox({transition:"fade"});
	$("a[rel='example3']").colorbox({transition:"none"});
	$("a[rel='example4']").colorbox({slideshow:true});

	// Scroll to Top
	$('#toTop').click(function() {
		$('#content-wrapper').animate({scrollTop:0},600);
	});	
	
	
	// Google Map
	$("#modalmap").colorbox({iframe:true, innerWidth:"70%", innerHeight:"70%", href:" http://maps.google.com/maps?hl=en&sugexp=lcms&xhr=t&cp=12&bav=on.2,or.r_gc.r_pw.&wrapid=tljp130616836241506&um=1&ie=UTF-8&cid=0,0,16109320405552947764&fb=1&hq=uncle+bernie's&hnear=0x88d9012720facaf5:0x7602be7540bf8ebe,Fort+Lauderdale,+FL&gl=us&daddr=3501+West+Sunrise+Boulevard,+Fort+Lauderdale,+FL+33311&geocode=12999967593637551826,26.136211,-80.193727&ei=J4zaTeeaMMTl0QHR0uT8Aw&sa=X&oi=local_result&ct=directions-to&resnum=2&sqi=2&ved=0CCoQngIwAQ" });
});







