// JCaption

$(document).ready(function() {

			$.featureList(
				$("#tabs li div"),
				$("#output li"), {
					start_item	:	1
				}
			);

			/*
			
			// Alternative

			
			$('#tabs li a').featureList({
				output			:	'#output li',
				start_item		:	1
			});

			*/

		});


// JCaption

$(document).ready(function(){
	$('#post .content img').jcaption({
		autoWidth: true
	});
	$('#post .pagecontent img').jcaption({
		autoWidth: true
	});
	$('#post .img-wrapper img').jcaption({
		copyStyle: true,
		animate: true,
		show: {height: "show"},
		hide: {height: "hide"}
	});


});

// Colorbox definitions


$(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				$(".leaduserform").colorbox({iframe:true, innerWidth:500, innerHeight:780, opacity:0.6});
				$(".followusform").colorbox({iframe:true, innerWidth:640, innerHeight:700, opacity:0.6, title:false});
				$(".livewebcast").colorbox({iframe:true, innerWidth:500, innerHeight:390, opacity:0.6, title:false});
				$(".enlargeimage").colorbox({transition:'fade', opacity:0.6, title:false});
				$(".feedburnerform").colorbox({iframe:true, innerWidth:580, innerHeight:480, opacity:0.6, title:false});
				$(".manualpreview").colorbox({iframe:true, innerWidth:600, innerHeight:425, opacity:0.6, title:false});
				$("a[rel='colorboxnormal']").colorbox({transition:"fade", opacity:0.6});
				
			});






