/*
* JQuery controller script
*
* - drop-down menu image rollovers
* - homepage auto-scrolling banners
* - bulk page manual scroll banners
* - shop manual scroll banners
* - mini banner random border colours
* - newsletter sign-up reveal
* - shop sortable table
*
*/


$(document).ready(function() {
  
 $(".home .sector .details").hide();

 $(".home .sector .details").hover(function(){
     $(this).show();
 }, function(){
    
 });

 $(".home #people .title").hover(function(){
     $(".home #people .details").show();
 }, function(){

 });

 $(".home #business .title").hover(function(){
     $(".home #business .details").show();
 }, function(){
    
 });

 $(".home #people img").hover(function(){
     var curDisplay = $(".home #people .details").css("display");
     if (curDisplay=='none') $(".home #people .details").show();
 }, function(){
     $(".home #people .details").hide();
 });

 $(".home #business img").hover(function(){
     var curDisplay = $(".home #business .details").css("display");
     if (curDisplay=='none') $(".home #business .details").show();
 }, function(){
     $(".home #business .details").hide();
 });

 $(".detailForm .row input").focus(function(){
  $(this).parent().css("background-color","#fafafa")
 });

 $(".detailForm .row input").blur(function(){
  $(this).parent().css("background-color","#ffffff")
 });

 $(".detailForm .row textarea").focus(function(){
  $(this).parent().css("background-color","#fafafa")
 });

 $(".detailForm .row textarea").blur(function(){
  $(this).parent().css("background-color","#ffffff")
 });




 }); // end jQuery Script
 



