
var display=function(href)
{jQuery(".header a",jQuery(href)).click();};var closeStakeholders=function()
{jQuery("a[rel=display]").click();};(function($)
{$(function()
{var scripts=new Array("js/net/code28/jquery/external.min.js","http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js","js/com/jquery/plugins/jquery.metadata.min.js","js/org/ejohn/htmlparser.min.js","js/net/code28/jquery/swf.min.js");if($("#map").length>0){scripts.push("http://www.google.com/jsapi?key="+$.code28.url.key);}
if($("#our-team").length>0){scripts.push("js/com/jquery/plugins/jquery.scrollto.min.js");}
if($("#case-study").length>0){scripts.push("js/com/jquery/plugins/jquery.comments.min.js");scripts.push("js/net/code28/projects/aura/slideshow.min.js");}
$.code28.loadScripts(scripts,function()
{$("a").external();$(".swf").swf();$("#map").each(function()
{google.load("maps","2.x",{callback:function()
{var map=new google.maps.Map2($("#map").get(0));var ll=new google.maps.LatLng(51.50668, -0.13923)
map.setCenter(ll,16);map.addOverlay(new google.maps.Marker(ll));var mapControl=new google.maps.LargeMapControl3D();map.addControl(mapControl);var typeControl=new google.maps.MapTypeControl();map.addControl(typeControl);}});});$("a[rel=display]").each(function()
{$(this).bind("click",function(e)
{e.preventDefault();var href=$(this).attr("href");var el=$(href);if(el.css("display")=="none"){$(this).addClass("displayed");el.css("display","block");}else{$(this).removeClass("displayed");el.css("display","none");}});});$("#our-team").each(function()
{$("li .article").each(function()
{var j=$(this);$(".header a",j).bind("click",function(e)
{$(this).scrollTo();var teaser=$(".body .teaser",j);var content=$(".body *",j);if(teaser.hasClass("opened")){content.addClass("opened");teaser.removeClass("opened");}else{content.removeClass("opened");teaser.addClass("opened");}});});});$("#grid").each(function()
{var j=$(this);$(">p a",j).bind("click",function()
{$(this).parent().css("display","none");$("div",j).css("display","block");});$(">div p a",j).bind("click",function()
{$(">p a",j).parent().css("display","block");$(this).parent().parent().css("display","none");});});$("#case-study").each(function()
{$("#case-study-header").slideshow();});});});})(jQuery.noConflict());