	i = 1;


		function content(id){
			jQuery("#gallery_main_img li").hide('fast');
			jQuery("#gallery"+id+"").fadeIn('slow');
		}


	jQuery(document).ready(function() {

				jQuery("#twitter_feed").getTwitter({
					userName: "mrproducerltd",
					numTweets: 3,
					loaderText: "Loading tweets...",
					slideIn: true,
					slideDuration: 750,
					showHeading: true,
					headingText: "Latest Tweets",
					showProfileLink: true,
					showTimestamp: true
				});

				jQuery('ul#fadeshow').innerfade({
					speed: 2000,
					timeout: 7000,
					type: 'sequence',
					containerheight: '218px'
				});
				jQuery('#img_area ul').innerfade({
					speed: 2000,
					timeout: 7000,
					type: 'sequence',
					containerheight: '218px'
				});


		jQuery('#home_news').cycle({
			fx:				'scrollUp',
			timeout:		1000,
			speed:			6000,
			slideExpr:		'.news_cat_wrap'
		});



/*
	var wrap2start = jQuery('#all_news_wrap1').css('height');

	jQuery('#all_news_wrap2').css('top', wrap2start);


	setInterval(function(){

	  slideNewsUp();

	}, 2000);


	function slideNewsUp(){

		var first_child_height = jQuery('#home_news .all_news_wrap:first-child').css('height');
		var last_child_height = jQuery('#home_news .all_news_wrap:last-child').css('height');
		var first_child = jQuery('#home_news .all_news_wrap:first-child');
		var last_child = jQuery('#home_news .all_news_wrap:last-child');
		var first_child_x = jQuery('#home_news .all_news_wrap:first-child').css('top');

		minus_first_child_height = '-'+first_child_height;


		jQuery('.all_news_wrap').animate({
			top: '-=100px'
		}, 2000, 'linear');


		console.log(first_child)
		console.log(first_child_x)
		console.log(minus_first_child_height)


		if(first_child_x <= minus_first_child_height){

			jQuery(first_child).insertAfter(last_child);

		}



	}

*/




		jQuery("#cycle-wrap").multipleElementsCycle({
			container: '#cycle',
			vertical: true,
			prev: '#cycle-prev a',
			next: '#cycle-next a',
			speed: 1000,
			start: 0,
			show: 3,
			showCount: 3
		});


});


