jQuery(document).ready(function(){
//Bread Crumbs
  jQuery("#breadCrumb").jBreadCrumb({easing:'swing'});
// Search box toggle  
  $("#search_box_inner").hide(); 
    
  $("#search_button").toggle(function(){
		$(this).addClass("active");
		}, function () {
		$(this).removeClass("active");
	});
    
  $("#search_button").click(function(){
    $("#search_box_inner").slideToggle("normal");
  });
//Home page feature rotator    
  $("#s3slider").s3Slider({
    timeOut: 5000
  });
  $("#s3slider2").s3Slider({
    timeOut: 6000
  });
  $("#s3slider4").s3Slider({
    timeOut: 6000
  });
});

/*
 * Written by Rob Schmitt, The Web Developer's Blog
 * http://webdeveloper.beforeseven.com/
 */
		
var active_color = '#836f4f'; // Colour of user provided text
var inactive_color = '#CCCCCC'; // Colour of default text
 
$(document).ready(function() {
  $("input.default-value").css("color", inactive_color);
  var default_values = new Array();
  $("input.default-value").focus(function() {
    if (!default_values[this.id]) {
      default_values[this.id] = this.value;
    }
    if (this.value == default_values[this.id]) {
      this.value = '';
      this.style.color = active_color;
    }
    $(this).blur(function() {
      if (this.value == '') {
        this.style.color = inactive_color;
        this.value = default_values[this.id];
      }
    });
  });
});