$(document).ready(function() {

$.localScroll({
			  offset: {top:-105}
			  });

$('#threed-urban-modelling') 
.cycle({ 
    fx:     'scrollHorz', 
    speed:  'fast', 
    timeout: 0,
	allowPagerClickBubble: true,
    pager:  '#threed-urban-modelling_nav',
	next:   '#threed-urban-modelling_next', 
    prev:   '#threed-urban-modelling_prev'
});

/*$('#threed-urban-modelling_container').hover(function() {
                $('#threed-urban-modelling_prev').show();
				$('#threed-urban-modelling_next').show();
                 }, function() {
                $('#threed-urban-modelling_prev').hide();
				$('#threed-urban-modelling_next').hide();
                 });*/

$('#threed-physical-modelling') 
.cycle({ 
    fx:     'scrollHorz', 
    speed:  'fast', 
    timeout: 0, 
    pager:  '#threed-physical-modelling_nav',
	next:   '#threed-physical-modelling_next', 
    prev:   '#threed-physical-modelling_prev'
});

/*$('#threed-physical-modelling_container').hover(function() {
                $('#threed-physical-modelling_prev').show();
				$('#threed-physical-modelling_next').show();
                 }, function() {
                $('#threed-physical-modelling_prev').hide();
				$('#threed-physical-modelling_next').hide();
                 });*/


$('#public-consultation') 
.cycle({ 
    fx:     'scrollHorz', 
    speed:  'fast', 
    timeout: 0, 
    pager:  '#public-consultation_nav',
	next:   '#public-consultation_next', 
    prev:   '#public-consultation_prev'
});

/*$('#public-consultation_container').hover(function() {
                $('#public-consultation_prev').show();
				$('#public-consultation_next').show();
                 }, function() {
                $('#public-consultation_prev').hide();
				$('#public-consultation_next').hide();
                 });*/

$('#presentation') 
.cycle({ 
    fx:     'scrollHorz', 
    speed:  'fast', 
    timeout: 0, 
    pager:  '#presentation_nav',
	next:   '#presentation_next', 
    prev:   '#presentation_prev'
});

/*$('#presentation_container').hover(function() {
                $('#presentation_prev').show();
				$('#presentation_next').show();
                 }, function() {
                $('#presentation_prev').hide();
				$('#presentation_next').hide();
                 });*/


$('.dropdown').hover(function() {
                $('#nav_services-menu').stop().fadeTo(300, 0.9);
                 }, function() {
                $('#nav_services-menu').stop().fadeOut(500);
                 });

/*$('#moreclients').click(function() {
					$('#more_client_logos').slideDown(400);
				 });

$('#lessclients').click(function() {
					$('#more_client_logos').slideUp(400);
				 });*/

$('#client_logos li img').hover(function() {
				$(this).stop().fadeTo(100, 0.5);
				 }, function() {
				$(this).stop().fadeTo(600, 1);
				 });

/*$('#more_client_logos li img').hover(function() {
				$(this).stop().fadeTo(100, 0.5);
				 }, function() {
				$(this).stop().fadeTo(600, 1);
				 });*/

$('#mask').delay(1000).fadeOut(1000);

$('#nav_getaquote').delay(2000).effect("bounce", { times:3 }, 300);
$('#quote_note').delay(2000).slideDown(300);

$('.quote_bounce').click(function () {
          $('#nav_getaquote').effect("bounce", { times:3 }, 300);
    });


});
