$(document).ready(function() {

$(".wpcf7 input#first_name").focus(function(){
		if (this.value=="First Name") this.value=""; } );
$(".wpcf7 input#first_name").blur(function(){
		if (this.value=="") this.value="First Name"; } );
$(".wpcf7 input#last_name").focus(function(){
		if (this.value=="Last Name") this.value=""; } );
$(".wpcf7 input#last_name").blur(function(){
		if (this.value=="") this.value="Last Name"; } );
$(".wpcf7 input#email_address").focus(function(){
		if (this.value=="Email") this.value=""; } );
$(".wpcf7 input#email_address").blur(function(){
		if (this.value=="") this.value="Email"; } );
$(".wpcf7 input#subject").focus(function(){
		if (this.value=="Subject") this.value=""; } );
$(".wpcf7 input#subject").blur(function(){
		if (this.value=="") this.value="Subject"; } );
$(".wpcf7 #your-message").focus(function(){
		if (this.value=="Message") this.value=""; } );
$(".wpcf7 #your-message").blur(function(){
		if (this.value=="") this.value="Message"; } );
$("#s").focus(function(){
		if (this.value=="Search") this.value=""; } );
$("#s").blur(function(){
		if (this.value=="") this.value="Search"; } );

jQuery('#slider').nivoSlider({
		effect:'fade',
		slices:5,
		animSpeed:500, //Slide transition speed
        pauseTime:10000,
        startSlide:0, //Set starting Slide (0 index)
        directionNav:false, //Next & Prev
        directionNavHide:false, //Only show on hover
        controlNav:false, //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:false, //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
        lastSlide: function(){}, //Triggers when last slide is shown
        afterLoad: function(){} //Triggers when slider has loaded
	});


});

Cufon.replace('h1');
Cufon.replace('#motto');
Cufon.replace('#bcrum');
Cufon.replace('#nav li a', {fontFamily: 'gotham rounded book'});
Cufon.replace('#nav li ul li a', {fontFamily: 'gotham rounded',hover:'true'});
Cufon.replace('#nav li ul li ul li a', {fontFamily: 'gotham rounded',hover:'true'});
Cufon.replace('.b_more', {hover: 'true'});
Cufon.replace('.b_more_1', {hover: 'true'});
