// JavaScript Document
$(function() {
    // run the code in the markup!
   $('#s1').cycle({ 
    	fx: 'scrollDown' ,
		timeout:  2000, 
		speed:  2000 ,
		random:  1 ,
		pause:  1 
	});
	/*$('#s2').cycle({ 
    	fx: 'fade' ,
		timeout:  20000, 
		speed:  2000 ,
		random:  1 ,
		pause:  1 
	});*/
	
	$('#s2').cycle({ 
    	fx: 'scrollDown' ,
		timeout:  2000, 
		speed:  2000 ,
		random:  1 ,
		pause:  1 
	});
	
	$('#s3').cycle({ 
    	fx: 'scrollDown' ,
		timeout:  2000, 
		speed:  2000 ,
		random:  1 ,
		pause:  1 
	});
	
	/*$('#s3').cycle({ 
    	fx: 'scrollUp' ,
		timeout:  10000, 
		speed:  2000 ,
		random:  1 ,
		pause:  1 
	});*/
	  $('#wrapper').corner("round");
});

$(document).ready(function() {

  $('div.faqs> div').hide();
   
  $('div.faqs> h3').css('cursor','pointer').click(function() {
	$(this).next('div').slideToggle('fast')
	.siblings('div:visible').slideUp('fast');
  });
});
$(function() {
	$('#gallery a').lightBox();
});
	