
//	--	Make Rocket Go Now
jQuery(function ($) {

	$('body').addClass('js');

	$('.home_welcome').empty().flash({
			swf: '/incs/themes/rhondda-cynon-taff/flash/intro.swf',
			params: {
				allowfullscreen: false,
				allowscriptaccess: 'always'
			},
			height: 290,
			width: 620
		});

	$('.wicid_profiles_list').wicidProfilesList();

});



//	--	Custom Plugins
(function ($) {

	$.prototype.wicidProfilesList = function () {

		return this.each(function () {

			var list, items;

			list  = $(this);
			items = list.find('li');

			items.find('.trigger').bind('click', function () {
				var trigger, item, info;

				trigger = $(this);
				item    = trigger.parent();
				info    = trigger.next();

				if (item.hasClass('active')) {
					return false;
				}

				items.filter('.active').find('div.info').slideUp();
				items.removeClass('active');

				item.addClass('active');
				info.slideDown();
			});

		});

	};

}(jQuery));
//	--	Good.. Can you say it faster?

