$(document).ready(function() {
	/* varying radii, "all" browsers */
	$('.media').jCarouselLite({
		btnNext: '.next',
		btnPrev: '.prev',
		speed: 500,
		circular: true
	});
	settings = {
          tl: { radius: 20 },
          tr: { radius: 20 },
          bl: { radius: 20 },
          br: { radius: 20 },
          autoPad: true,
          validTags: ["div"]
      }

	//$('div.rounded').corner();
	
	//Shadowbox.init();
	Shadowbox.init({
	    handleOversize:     "resize",
    	displayNav:         true,
		displayCounter:		true,
		counterType:		'default',
	    handleUnsupported:  "remove",
    	autoplayMovies:     false,
		continuous:			true
	});
		$.prettySociable({
			animationSpeed: 'fast', /* fast/slow/normal */
			opacity: 0.90, /* Value between 0 and 1 */
			share_label: 'Drag to share', /* Text displayed when a user rollover an item */
			share_on_label: 'Share on ', /* Text displayed when a user rollover a website to share */
			hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettySociable */
			hover_padding: 0,
			websites: {
				facebook : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Facebook',
					'url': 'http://www.facebook.com/share.php?u=',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/facebook.png',
					'sizes':{'width':70,'height':70}
				},
				twitter : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Twitter',
					'url': 'http://twitter.com/home?status=',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/twitter.png',
					'sizes':{'width':70,'height':70}
				},
				delicious : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Delicious',
					'url': 'http://del.icio.us/post?url=',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/delicious.png',
					'sizes':{'width':70,'height':70}
				},
				digg : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Digg',
					'url': 'http://digg.com/submit?phase=2&url=',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/digg.png',
					'sizes':{'width':70,'height':70}
				},
				linkedin : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'LinkedIn',
					'url': 'http://www.linkedin.com/shareArticle?mini=true&ro=true&url=',
					'icon': '/App_Themes/gobbiz/members/assets/images/prettySociable/large_icons/linkedin.png',
					'sizes':{'width':70,'height':70}
				},
				reddit : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Reddit',
					'url': 'http://reddit.com/submit?url=',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/reddit.png',
					'sizes':{'width':70,'height':70}
				},
				stumbleupon : {
					'active': true,
					'encode':false, // If sharing is not working, try to turn to false
					'title': 'StumbleUpon',
					'url': 'http://stumbleupon.com/submit?url=',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/stumbleupon.png',
					'sizes':{'width':70,'height':70}
				},
				tumblr : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'tumblr',
					'url': 'http://www.tumblr.com/share?v=3&u=',
					'icon': '/App_Themes/gobbiz/members/assets/images/prettySociable/large_icons/tumblr.png',
					'sizes':{'width':70,'height':70}
				},
				newsvine : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Newsvine',
					'url': 'http://www.newsvine.com/',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/newsvine-icon.png',
					'sizes':{'width':70,'height':70}
				},
				googlebuzz : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Google Buzz',
					'url': 'http://www.google.com/buzz',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/google-buzz-icon-2-400.png',
					'sizes':{'width':70,'height':70}
				},
				friendfeed : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Friend Feed',
					'url': 'http://friendfeed.com/',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/friendfeed_o.png',
					'sizes':{'width':70,'height':70}
				},
				blogger : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'Blogger',
					'url': 'https://www.blogger.com/',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/blogger_logo.png',
					'sizes':{'width':70,'height':70}
				},
				bebo : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'bebo',
					'url': 'http://www.bebo.com/',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/Bebo-icon.png',
					'sizes':{'width':70,'height':70}
				},
				aim : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'AIM',
					'url': 'http://products.aim.com/',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/aim-2.png',
					'sizes':{'width':70,'height':70}
				},
				myspace : {
					'active': true,
					'encode':true, // If sharing is not working, try to turn to false
					'title': 'myspace',
					'url': 'http://www.myspace.com/',
					'icon':'/App_Themes/gobbiz/members/assets/images/alternate_social/myspace_icon.png',
					'sizes':{'width':70,'height':70}
				}
			},
			urlshortener : {
				/*
					To get started you'll need a free bit.ly user account and API key - sign up at:

http://bit.ly/account/register?rd=/

					Quickly access your private API key once you are signed in at:

http://bit.ly/account/your_api_key

				*/
				bitly : {
					'active' : false
				}
			},
			tooltip: {
				offsetTop:0,
				offsetLeft: 15
			},
			popup: {
				width: 900,
				height: 500
			},
			callback: function(){} /* Called when prettySociable is closed */
		});
	//$('#container div').css('margin', '10px 0');
	// DD_roundies.addRule('#container > div', '8px', true);
	//checkVersion();
	//alert(jQuery.browser.version);
});

