(function($) {      // make the job descriptions popup      /* var person  = $('.person'),    desc_h  = $('.people-description').height();      person.hover(function() {        $('.people-description', this).animate({            bottom: 0        }, 250);    }, function() {        $('.people-description', this).animate({            bottom: '-'+desc_h        }, 250);    });      var client  = $('.client'),    desc_client_h  = $('.client-description').height();      client.hover(function() {        $('.client-description', this).animate({            bottom: 0        }, 250);    }, function() {        $('.client-description', this).animate({            bottom: '-'+desc_client_h        }, 250);    });*/     })(jQuery);$(document).ready(function(){    $('div.news_modal').hide();        /*$('.tab').click(function(){        var tabclicked = $(this).attr('id');        $('.pentext').css('z-index', '1');        $('.pentext#' + tabclicked).css('z-index', '9999');    });*/        $('input.field').val('Search...');    $('input.field').focus(function(){        $(this).val('');     });        $('#searchform').submit(function(){        if($('#s').val() == '' || $('#s').val() == 'Search...'){            var retour = false;        }        if(retour == false){            return false;        }    });        $('#email_field').val('enter email');    $('#email_field').focus(function(){        $(this).val('');     });    $('#email_field').blur(function(){        if( $(this).val() == ''){            $('#email_field').val('enter email');        }     });        $('#name_field').val('enter name');    $('#name_field').focus(function(){        $(this).val('');     });    $('#name_field').blur(function(){        if( $(this).val() == ''){            $('#name_field').val('enter name');        }     });        $('#company_field').val('enter company name');    $('#company_field').focus(function(){        $(this).val('');     });    $('#company_field').blur(function(){        if( $(this).val() == ''){            $('#company_field').val('enter company name');        }     });       $('.letter p').click(function(){        $('div.news_modal').slideToggle('fast')     });        $('#news_form').submit(function(){        var form = $(this),        formData = form.serialize(),        formUrl = form.attr('action'),        formMethod = form.attr('method'),        responseMsg = $('#signup-response');                //add status data to form          form.data('formstatus','submitting');                //show response message - waiting        responseMsg.hide()        .addClass('response-waiting')        .text('Please Wait...')        .fadeIn(200);                $.ajax({            url: formUrl,            type: formMethod,            data: formData,            success:function(data){                //setup variables                var responseData = jQuery.parseJSON(data),                klass = '';                                //response conditional                switch(responseData.status){                    case 'error':                        klass = 'response-error';                        break;                    case 'success':                        klass = 'response-success';                        break;                }                //show reponse message                responseMsg.fadeOut(200,function(){                    $(this).removeClass('response-waiting')                    .addClass(klass)                    .text(responseData.message)                    .fadeIn(200,function(){                        //set timeout to hide response message                        setTimeout(function(){                            responseMsg.fadeOut(500,function(){                                $(this).removeClass(klass);                                form.data('formstatus','idle');                            });                        },3000)                    })                })            }        })                return false;    })        $('.case_studies').cycle({            fx: 'fade',            timeout: 4000        });                    $('.case_studies_home').cycle({            fx: 'fade',            timeout: 4000        });                    $('#slideshow').cycle({            fx: 'fade',            timeout: 4000        });        });
