$(document).ready(function() {
    $('#text_slide').cycle({
		fx: 'fade', 
timeout:15000
});

$('.testimonials_slide').cycle({ 
    fx:    'scrollUp',
timeout:10000, 
    delay: -1000 
});

$('.portfolio_slideshow').cycle({ 
    fx:    'scrollLeft',
timeout:10000, 
    delay: -1000 
});
});

$(document).ready(function(){
//The Company
$("#bcompany").click(function(){
$("#company").show(800);
$("#vision").hide(800);
$("#values").hide(800);
});
//Vision
$("#bvision").click(function(){
$("#company").hide(800);
$("#vision").show(800); 
$("#values").hide(800);
  });
//Mission
$("#bvalues").click(function(){
$("#company").hide(800);
$("#values").show(800);    
$("#vision").hide(800);
  });
 
});
$("#web_design,#software_development,#digital_marketing,#container,#testimonials,#promise,#help,#footer,#order").corner();
$("#web_design_bar,#software_development_bar,#digital_marketing_bar,#menu_links,#container_menu_bar,#chat,#feedback").corner("top");
$("#advert").corner("bottom");
$("#advert").corner("tl");

//For the index slider
$(window).load(function() {
    $('#slider').nivoSlider(
{
slices: 100,
 effect: 'sliceUpDownLeft',
 controlNav: false,
pauseOnHover: true,
directionNav: false,
animSpeed: 1000,
pauseTime: 10000,
boxCols: 10, // For box animations
        boxRows: 10 // For box animations
});
});
