if($('#allstaff').offset().top == $('#panels').offset().top) { var targetPos = $('#panels').offset().top; var targetPos = targetPos - 60; $('#panels .panel').fadeOut('fast', function () { $("#panels").html("
\n
\n

\n This could be you...<\/strong>\n
\n You can't beat us, so join us!\n <\/p>\n <\/section>\n

E:<\/strong> jobs@transcendit.co.uk<\/a><\/p>\n

We are always on the lookout for talented, skilled and motivated individuals who love what they do. Whether your expertise lie in IT, admin, design or development, if you\'re great in your field then we want to hear from you.<\/p>\n

Transcendit are a tight knit team who are dedicated to providing the best IT support<\/a>, web and app development possible.<\/p>\n \n<\/div>"); $('html,body').animate({scrollTop:targetPos},400); $(".panel").fadeIn('fast'); }); } else { // narrow 1 column var targetPos = $('#panels').offset().top; var targetPos = targetPos - 60; $('#panels .panel').fadeOut('fast', function () { $("#panels").html("