// JavaScript Document
$(document).ready(function(){
	$('#didyouknow .slide');
	setInterval(function(){
		$('#didyouknow .slide').filter(':visible').fadeOut(5000,function(){
			if($(this).next('div.slide').size()){
				$(this).next().fadeIn(5000);
			}
			else{
				$('#didyouknow .slide').eq(0).fadeIn(4000);
			}
		});
	},10000);	
});	

//home testimonial
$(document).ready(function(){
	$('#didyouknow-home .slide');
	setInterval(function(){
		$('#didyouknow-home .slide').filter(':visible').fadeOut(5000,function(){
			if($(this).next('div.slide').size()){
				$(this).next().fadeIn(5000);
			}
			else{
				$('#didyouknow-home .slide').eq(0).fadeIn(5000);
			}
		});
	},10000);	
});

/* Sample code

<ul id="didyouknow-home">
    	<li style="display: none;" class="slide">

        	<p>"Reporting House’s knowledge and development expertise were instrumental in helping us leverage Actuate’s powerful reporting capabilities with IBM Maximo to achieve our reporting goals."</p>
<p>Doug Mills<span>-CIO, The Mosaic Company </span></p></li>

  
    	<li class="slide" style="display: none;">
        	<p>" Nice people and good company to work with, we will definitely work with your company in future and will refer to others as well "</p>

<p>Mr.Shon Lakhay <span>-Proprietor, Lakhay’s Collections</span></p></li>

    
    	<li class="slide">
        	<p>" The UI Looks very good &amp; reports are running fast. I appreciate your team's fast responsiveness &amp; development efforts."</p>
       	  <p>Mr. Ellis L. Marsalis <span>-President, Lightstone Data, Inc.</span></p></li>
    </ul> 
*/
