function eleven(){
              $('.inlinebar').sparkline('html', {type: 'bar', barColor: '#de7834',height: '49px', barWidth: 8, barSpacing: 1, zeroAxis: false, chartRangeMin: 75, chartRangeMax: 100 });

              $("#benefitswitch").click(function () {
                $("#benefits").slideToggle("slow", function () {
                if($(this).css('display')=='block') $("#benefitswitch").css({'background-image' : 'url(/tl_files/images/styles/down.png)'});
                if($(this).css('display')=='none') $("#benefitswitch").css({'background-image' : 'url(/tl_files/images/styles/drop.png)'});
                });
                return false;
              });

              $("#mswitch1on a").click(function () { $("#mswitch1on a").hide(); $("#mcv1").show(); return false; });
              $("#mswitch1off a").click(function () { $("#mcv1").hide(); $("#mswitch1on a").show(); return false; });

              $("#mswitch2on a").click(function () { $("#mswitch2on a").hide(); $("#mcv2").show(); return false; });
              $("#mswitch2off a").click(function () { $("#mcv2").hide(); $("#mswitch2on a").show(); return false; });

              $("#mswitch3on a").click(function () { $("#mswitch3on a").hide(); $("#mcv3").show(); return false; });
              $("#mswitch3off a").click(function () { $("#mcv3").hide(); $("#mswitch3on a").show(); return false; });

              $("#mswitch4on a").click(function () { $("#mswitch4on a").hide(); $("#mcv4").show(); return false; });
              $("#mswitch4off a").click(function () { $("#mcv4").hide(); $("#mswitch4on a").show(); return false; });

              $("#mswitch5on a").click(function () { $("#mswitch5on a").hide(); $("#mcv5").show(); return false; });
              $("#mswitch5off a").click(function () { $("#mcv5").hide(); $("#mswitch5on a").show(); return false; });

              $("#mswitch6on a").click(function () { $("#mswitch6on a").hide(); $("#mcv6").show(); return false; });
              $("#mswitch6off a").click(function () { $("#mcv6").hide(); $("#mswitch6on a").show(); return false; });

              slideShow();
              }

function slideShow() {

	//Set the opacity of all images to 0
	$('#gallery a').css({opacity: 0.0});

	//Get the first image and display it (set it to full opacity)
	$('#gallery a:first').css({opacity: 1.0});

	//Set the caption background to semi-transparent
	$('#gallery .caption').css({opacity: 0});

	//Resize the width of the caption according to the image width
	$('#gallery .caption').css({width: $('#gallery a').find('img').css('width')});

	//Get the caption of the first image from REL attribute and display it
	$('#gallery .content').html($('#gallery a:first').find('img').attr('rel'))
	.animate({opacity: 0.7}, 400);

	//Call the gallery function to run the slideshow, 6000 = change to next image after 6 seconds
	setInterval('gallery()',10000);

}

function gallery() {

	//if no IMGs have the show class, grab the first image
	var current = ($('#gallery a.show')?  $('#gallery a.show') : $('#gallery a:first'));

	//Get next image, if it reached the end of the slideshow, rotate it back to the first image
	var next = ((current.next().length) ? ((current.next().hasClass('caption'))? $('#gallery a:first') :current.next()) : $('#gallery a:first'));

	//Get next image caption
	var caption = next.find('img').attr('rel');

	//Set the fade in effect for the next image, show class has higher z-index
	next.css({opacity: 0.0})
	.addClass('show')
	.animate({opacity: 1.0}, 1000);

	//Hide the current image
	current.animate({opacity: 0.0}, 1000)
	.removeClass('show');
}

hs.graphicsDir = '/tl_files/js/graphics/';
hs.wrapperClassName = 'wide-border';
hs.showCredits = 0;
