$(function() {
	$('#upcoming-projects-data').cycle({
		fx: 'scrollDown',
		timeout: 5000,
		speed: 1000
	});
	
	$('#promotional-banners').cycle({
		fx: 'fade',
		timeout: 7000,
		speed: 1000
	});
	
	$('#client-testimonials-holder').cycle({
		fx: 'blindZ',
		timeout: 9000,
		speed: 500
	});
	
});

$(function() {
	$("#services-holder").tabs({
		event: 'mouseover'
	});
	$("#quote-container").tabs();
});

$(function() {
		$("#main-content").tabs();
});

jQuery(function($){
	

	$('#text-list').serialScroll({
        items:'li',
        prev:'a.go-prev',
        next:'a.go-next',
        event: 'click',
        axis:'y',
        offset:-9,
        step: 1,
        start:0,
        duration:1500,
        force:false,
        stop:true,
        lock:false,
        cycle:true,
        jump:false,
        exclude: 0
	});
	
	$('#portfolio-clip').serialScroll({
        items:'li',
        prev:'a.go-left',
        next:'a.go-right',
        event: 'click',
        axis:'xy',
        offset:0,
        step: 1,
        start:0,
        duration:1500,
        force:false,
        stop:true,
        lock:false,
        cycle:true,
        jump:false,
        exclude: 0
	});
	
});

$(document).ready(function(){
	$(".launch-contact").colorbox({width:"740px", inline:true, href:"#modal-contact-form"});
});

$(document).ready(function () {
  $('.focusclear').each(function(){
    $(this).val( $(this).attr('title') ).focus(function(){
      $(this).val('');
    });
	}).blur(function () {
		if ($(this).val() === "") {
			$(this).val($(this).attr("title"));
		}
	});
});
