jQuery.noConflict();
jQuery(document).ready(function() {
   
        
    if (jQuery('.autoclear').length) {
        jQuery('.autoclear').focus(function(){
             
                var initial_values = ["enter email", "zip code"];
            
                if(jQuery.inArray(jQuery(this).val(), initial_values) != -1){
                   jQuery(this).val("");
                }
                
                
                
           });
   }
   
    
   
   // load jQuery scripts only on homepage
   if (jQuery(document.body).hasClass('home')) {
       
       jQuery(function($){
            $("#one").delay(400).fadeTo(600, 1);
            $("#two").delay(600).fadeTo(600, 1);
            $("#three").delay(800).fadeTo(600, 1);
       });
       
       // load colorbox
       jQuery(".example7").colorbox({width:"800", height:"620", iframe:true});
       
       // load nivoslider
       jQuery('#slider').nivoSlider({
            effect:'fold', //Specify sets like: 'fold,fade,sliceDown'
            slices:20,
            animSpeed:700,
            pauseTime:8000,
            startSlide:0, //Set starting Slide (0 index)
            directionNav:true, //Next & Prev
            directionNavHide:true, //Only show on hover
            controlNav:true, //1,2,3...
            controlNavThumbs:false, //Use thumbnails for Control Nav
            controlNavThumbsFromRel:false, //Use image rel for thumbs
            controlNavThumbsSearch: '.jpg', //Replace this with...
            controlNavThumbsReplace: '_thumb.jpg', //...this in thumb Image src
            keyboardNav:true, //Use left & right arrows
            pauseOnHover:true, //Stop animation while hovering
            manualAdvance:false, //Force manual transitions
            captionOpacity:0.8, //Universal caption opacity
            beforeChange: function(){},
            afterChange: function(){},
            slideshowEnd: function(){} //Triggers after all slides have been shown
        });



   }
    
    
    
    
});



