var current = 0;

		function ad()
		{
			setInterval("swap()", 5000);
		}
		function swap()
		{	
			if (current == 0)
			{
				$("blockquote").eq(0).fadeOut("slow", 
					function() {
						$("blockquote").eq(1).fadeIn("slow");
					});
				current = 1;
			}
			else
			{
				
				$("blockquote").eq(1).fadeOut("slow", 
					function (){
						$("blockquote").eq(0).fadeIn("slow");
				});
				current = 0;
			}	
		}

    		$(document).ready(function(){
 		  ad();
		});
		
		
function home_anim() {
$('#test3').crossSlide({
							  fade: 1
							}, [
							  {
								src:  '../uploads/images/one.jpg',
								href: '',
								from: '80% 20% 1.6x',
								to:   '0% 60% 1x',
								time: 4
							  }, {
								src:  '../uploads/images/two.jpg',
								href: '',
								from: 'top right 1x',
								to:   'bottom right 1.5x',
								time: 4
							  }, {
								src:  '../uploads/images/three.jpg',
								href: '',
								from: 'bottom left 1x',
								to:   'bottom right 1x',
								time: 4
							  }, {
								src:  '../uploads/images/four.jpg',
								href: '',
								from: '100% 50%',
								to:   '50% 60% 1.5x',
								time: 3
							  }
							]);
}
