// JavaScript Document



<!-- SELECT ALL ON CLICK - EMAIL INPUT-->

function highlight(field) {
       field.focus();
       field.select();
}


<!--SLIDESHOW SCRIPT-->



function slideSwitch() {
    var $active = $('#slideshow IMG.active');

    if ( $active.length == 0 ) $active = $('#slideshow IMG:last');

    // use this to pull the images in the order they appear in the markup
    var $next =  $active.next().length ? $active.next()
        : $('#slideshow IMG:first');

    // uncomment the 3 lines below to pull the images in random order
    
    //var $sibs  = $active.siblings();
     //var rndNum = Math.floor(Math.random() * $sibs.length );
     //var $next  = $( $sibs[ rndNum ] );


    $active.addClass('last-active');

    $next.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 1000, function() {
            $active.removeClass('active last-active');
        });
}

$(function() {
    setInterval( "slideSwitch()", 5500 );
});


<!--TEXT COUNTER-->







<!--REVEAL/HIDE SCRIPT-->


jQuery(document).ready(function(){
$(".switch").toggle(function(){
$(".tab").fadeTo("slow", 0)
$(".box3").animate({ height : "0px" }, 500)
$(".box4").animate({ height : "0px" }, 500)
$(".box5").animate({ height : "0px" }, 500)
$(".box2").animate({ marginTop: "50px" }, 500)
$(".box3").fadeTo("slow", 0)
$(".box4").fadeTo("slow", 0)
$(".box5").fadeTo("slow", 0)
$(".switch").css({'background-position': 'left' }, 500);
}, function() {
$(".box3").css({ 'height' : '' })
$(".box4").css({ 'height' : '' })
$(".box5").css({ 'height' : '' })
$(".box2").animate({ marginTop: "0px" }, 500)
$(".tab").fadeTo("slow", 1)
$(".box3").fadeTo("slow", 1)
$(".box4").fadeTo("slow", 1)
$(".box5").fadeTo("slow", 1)
$(".switch").css({'background-position': 'right' }, 500);
});
});

<!-- MENU FADER & PADDING-->


  $(document).ready(function(){
    $(".Menu").hover(function() {
    $(this).stop().animate({ backgroundColor: "#DDDDDD" }, 500);
},function() {
    $(this).stop().css({ 'background-color' : '' });
});

  });

  $(document).ready(function(){
    $("#address").hover(function() {
    $(this).stop().animate({ backgroundColor: "#CCFFCC" }, 500);
},function() {
    $(this).stop().animate({ backgroundColor: "#FFFFFF" }, 500);
});

  });
 
  
 