var $ux=null,$discovery=null,$strategy=null,$design=null,$production=null,$play=null,$window=null,$document=null,$theDot=null,$dotHighlight1=null,$dotHighlight2=null,$dotHighlight3=null,$dotHighlight4=null,$dotHighlight5=null,$dotHighlight6=null,$dotHighlight7=null,$dotHighlight8=null,$dotHighlight9=null,$trailDot1=null,$trailDot2=null,$trailDot3=null,$sideNav=null,$sideNavLink=null;var windowHeight=0,windowPos=0;var sectionOffset=70;var sectionHeight=630;var sideNavOffset=180;var enableAnimations=false;var isIE=0;var dotFlash=false;var deviceOrientation="portrait";var uxBounds=520;var discoveryBounds=1150;var strategyBounds=1806;var designBounds=2470;var productionBounds=3130;var playBounds=3760;var uxSideNav=180;var discoverySideNav=180;var strategySideNav=140;var designSideNav=120;var productionSideNav=90;var playSideNav=90;var sideNavFadePadding=80;var stickyTimeout=null;var dotInterval=null;var aniElems={ux:{inview:false,object:null,items:[["ux-circle1",2,3,0,0,1,0,-502.5,0,0,0,null,null,false],["ux-circle2",-0.7,2.3,0,0,1,0,169.3,0,0,0,null,null,false],["ux-circle3",1.8,1.4,0,0,1,0,-645.6,0,0,0,null,null,false],["ux-circle4",-1.6,1.8,0,0,1,0,-169,0,0,0,null,null,false],["ux-circle5",-2,0.45,0,0,1,0,-236,0,0,0,null,null,false],["ux-heading",0,0,210,300,3],["ux-sub-heading",0,0,210,300,3],["ux-percent",0,0,210,300,3]]},discovery:{inview:false,object:null,items:[["discovery-dot",0,2,0,0,1],["discovery-heading",-0.8,1,250,200,4,0,750,0,0,0,null,null,false],["discovery-sub-heading",0,1,200,100,3],["discovery-point1",0,1,160,100,3],["discovery-point2",0,1,190,100,3],["discovery-point3",0,1,220,100,3],["discovery-point4",0,1,250,100,3]]},strategy:{inview:false,object:null,items:[["strategy-heading",0.8,1,200,400,4,0,1200,0,0,0,15,null,true],["strategy-sub-heading",0,1,200,200,3],["strategy-point1",0,1,160,100,3],["strategy-point2",0,1,190,100,3],["strategy-point3",0,1,220,100,3],["strategy-point4",0,1,250,100,3],["strategy-dots-row1",0,1.8,0,0,1,0,0,630,0,0,null,95,false],["strategy-dots-row2",0,1.78,0,0,1,0,0,632,0,0,null,126,false],["strategy-dots-row3",0,1.76,0,0,1,0,0,634,0,0,null,157,false],["strategy-dots-row4",0,1.74,0,0,1,0,0,636,0,0,null,188,false],["strategy-dots-row5",0,1.72,0,0,1,0,0,638,0,0,null,219,false],["strategy-dots-row6",0,1.7,0,0,1,0,0,640,0,0,null,250,false],["strategy-dots-row7",0,1.68,0,0,1,0,0,642,0,0,null,281,false],["strategy-dots-row8",0,1.66,0,0,1,0,0,644,0,0,null,312,false],["strategy-dots-row9",0,1.64,0,0,1,0,0,646,0,0,null,343,false],["strategy-dots-row10",0,1.62,0,0,1,0,0,648,0,0,null,374,false]]},design:{inview:false,object:null,items:[["design-heading",0.3,1,0,0,1,0,500,0,0,0,null,null,false],["design-point1",0,1,380,200,3],["design-point2",0,1,350,200,3],["design-point3",0,1,320,200,3],["design-point4",0,1,290,200,3],["design-point5",0,1,260,200,3],["design-point6",0,1,230,200,3],["design-point7",0,1,200,200,3]]},production:{inview:false,object:null,items:[["production-heading",0.5,1,100,200,4,0,2470,0,0,0,15,null,true],["production-sub-heading",-0.5,1,100,200,4,0,3000,0,0,0,495,null,false],["production-point1",1,1,190,100,3],["production-point2",1,1,160,100,3],["production-point3",1,1,130,100,3],["production-point4",1,1,100,100,3],["production-point5",1,1,100,100,3],["production-point6",1,1,130,100,3],["production-point7",1,1,160,100,3],["production-point8",1,1,190,100,3]]},footer:{inview:false,object:null,items:[["footer-partner",0.8,1.2,0,0,6,0,4230,1100,0,0,15,250,true],["footer-technical",0.9,1.2,0,0,6,0,3900,1085,0,0,250,250,true],["footer-linked-in",0.7,1.3,0,0,6,0,4280,1700,0,0,15,413,true],["footer-jobs",0.65,1.4,0,0,6,0,4420,2360,0,0,15,580,true],["footer-info",0.6,1.2,0,0,6,0,4500,1700,0,0,15,793,true],["footer-professional-cont",-0.8,1.2,0,0,7,0,2288,1100,0,0,720,250,true],["footer-professional",-0.9,1.2,0,0,7,0,2238,1085,0,0,485,250,true],["footer-milano",-0.7,1.3,0,0,7,0,2055,1700,0,0,485,413,true],["footer-twitter",-0.65,1.4,0,0,7,0,2025,2250,0,0,485,495,true],["footer-share",-0.6,1.2,0,0,7,0,2000,1690,0,0,485,783,true],["footer-telephone",0,1.8,0,0,7,0,0,4300,0,0,0,900,true]]}};
var enableCufon=false;var userAgent=navigator.userAgent.toLowerCase();enableCufon=(/chrome/.test(navigator.userAgent.toLowerCase())&&userAgent.indexOf("win")!=-1)?true:false;if(/firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent.toLowerCase())){var ffVersion=new Number(RegExp.$1);if(ffVersion<4){enableCufon=true}}listen("load",window,function(){/mobile/i.test(navigator.userAgent)&&!location.hash&&setTimeout(function(){window.scrollTo(0,1)},0)});$(function(){$window=$(window);$document=$(document);$html=$("html");$ux=$("#ux");$discovery=$("#discovery");$strategy=$("#strategy");$design=$("#design");$production=$("#production");$play=$("#play");$sideNav=$("#side-nav");$theDot=$("#dot");$dotHighlight1=$strategy.find("#dot-highlight1");$dotHighlight2=$strategy.find("#dot-highlight2");$dotHighlight3=$strategy.find("#dot-highlight3");$dotHighlight4=$strategy.find("#dot-highlight4");$dotHighlight5=$strategy.find("#dot-highlight5");$dotHighlight6=$strategy.find("#dot-highlight6");$dotHighlight7=$strategy.find("#dot-highlight7");$dotHighlight8=$strategy.find("#dot-highlight8");$dotHighlight9=$strategy.find("#dot-highlight9");$trailDot1=$strategy.find("#strategy-dot1");$trailDot2=$strategy.find("#strategy-dot2");$trailDot3=$strategy.find("#strategy-dot3");$productionDot=$production.find("#production-circle2");sideNavOffset=parseInt($sideNav.css("top").replace("px",""));if(!Modernizr.touch&&!$html.hasClass("ie6")){enableAnimations=true}if($html.hasClass("ie")){isIE=9}if($html.hasClass("ie6")){isIE=6}if($html.hasClass("ie7")){isIE=7}if($html.hasClass("ie8")){isIE=8}if(Modernizr.touch||(isIE<8&&isIE>0)){if(Modernizr.touch){sectionOffset=0;sideNavFadePadding=0;uxBounds=690;discoveryBounds=1320;strategyBounds=1950;designBounds=2580;productionBounds=3210;playBounds=3840;window.onorientationchange=a;function a(){if(typeof window.onorientationchange!="undefined"){if(orientation==0){deviceOrientation="portrait"}else{if(orientation==90){deviceOrientation="landscape"}else{if(orientation==-90){deviceOrientation="landscape"}else{if(orientation==180){deviceOrientation="landscape"}}}}}}a()}uxSideNav=110;discoverySideNav=110;strategySideNav=90;designSideNav=60;productionSideNav=30;playSideNav=30;if(isIE==7){strategySideNav=70}}$sideNav.find("a").hover(function(){$sideNav.filter(".collapse").find("a span").css("display","none");$(this).find("span").attr("style","")},function(){$sideNav.find("a span").attr("style","")});$("#logo a").anchorAnimate({offset:sectionOffset,isHome:true});$sideNav.find("a").anchorAnimate({offset:sectionOffset,isHome:true});$("#footer-share").hover(function(){$(this).addClass("hover")},function(){$(this).removeClass("hover")});setTimeout(highlightSideNav,250);$("a.new-window").click(function(){window.open($(this).attr("href"),"_blank");return false});if(enableCufon){Modernizr.load([{load:"/js/libs/cufon-yui-1.09i.js"},{load:"/js/cufon/HelveticaNeueUltraLight_200.font.js",complete:function(){$html.addClass("enableCufon");if($("body").hasClass("en")){Cufon.replace("#ux-sub-heading",{letterSpacing:"-2px"})}Cufon.replace(".hn-ultralight",{letterSpacing:"-1px"});if($("body").hasClass("en")){Cufon.refresh("#ux-sub-heading")}Cufon.now()}}])}if(enableAnimations){setWindowVars();initAnimations()}$("#ux, #discovery, #strategy, #design, #production, #play, #footer").bind("inview",function(e,c,b,f){var d=$(this).attr("id");if(c){$(this).removeClass("inview inview-both inview-bottom inview-top").addClass("inview").addClass("inview-"+f);if(typeof aniElems[d]!="undefined"){aniElems[d]["inview"]=true;aniElems[d]["object"]=this}if(Modernizr.touch||(isIE<8&&isIE>0)){if(deviceOrientation=="portrait"&&Modernizr.touch){if(f=="both"){$(this).find(".side-nav").fadeIn()}else{$(this).find(".side-nav").fadeOut()}}else{$(this).find(".side-nav").fadeIn(function(){if(isIE){this.style.removeAttribute("filter")}})}}}else{$(this).removeClass("inview inview-both inview-bottom inview-top");if(Modernizr.touch||(isIE<8&&isIE>0)){$(this).find(".side-nav").fadeOut(function(){if(isIE){this.style.removeAttribute("filter")
}})}if(typeof aniElems[d]!="undefined"){aniElems[d]["inview"]=false}}});if(enableAnimations){setTimeout(theDot,200);setTimeout(runAnimations,250);setTimeout(playWithUs,300)}if(Modernizr.touch||(isIE<8&&isIE>0)){$sideNav.clone(true).hide().removeAttr("id").addClass("internal collapse").appendTo("#ux, #discovery, #strategy, #design, #production, #play");$("#ux, #discovery, #strategy, #design, #production, #play").find(".side-nav").each(function(){var b=$(this).closest(".viewport").attr("id");$(this).attr("id",b+"-side-nav");$(this).find("."+b).addClass("active");if(b=="ux"){$(this).removeClass("collapse")}if(typeof window[b+"SideNav"]!="undefined"){$(this).css("top",window[b+"SideNav"]+"px")}})}$window.scroll(function(){setWindowVars();if(enableAnimations){theDot();runAnimations();playWithUs();if(windowPos<50||($document.height()-windowHeight-windowPos)<50){setTimeout(theDot,200);setTimeout(runAnimations,250);setTimeout(playWithUs,300)}}highlightSideNav();if(deviceOrientation=="portrait"&&Modernizr.touch){if($production.hasClass("inview-top")||$production.hasClass("inview-both")){$play.find(".side-nav").hide()}else{if($production.hasClass("inview-bottom")&&!$production.hasClass("inview-both")&&!$production.hasClass("inview-top")&&$play.hasClass("inview-both")){$play.find(".side-nav").fadeIn()}}}});$window.resize(function(){setWindowVars();if(enableAnimations){setTimeout(theDot,200);setTimeout(runAnimations,250);setTimeout(playWithUs,300)}})});function highlightSideNav(){var a=300;if(isIE>0){a=0}if(isIE==0||isIE>7){$sideNav.find("a").removeClass("active inview").find("span").attr("style","");if(windowPos<=1){$sideNav.removeClass("collapse")}else{$sideNav.addClass("collapse")}if(windowPos>=0&&windowPos<uxBounds){$sideNav.css("top",uxSideNav+"px");$sideNavLink=$sideNav.find("a.ux").addClass("active");if((windowPos+uxSideNav)>(0+sideNavFadePadding)&&windowPos<(uxBounds-sideNavFadePadding)){$sideNavLink.addClass("inview")}}else{if(windowPos>=uxBounds&&windowPos<discoveryBounds){$sideNav.css("top",discoverySideNav+"px");$sideNavLink=$sideNav.find("a.discovery").addClass("active");if(windowPos>(uxBounds+sideNavFadePadding)&&windowPos<(discoveryBounds-sideNavFadePadding)){$sideNavLink.addClass("inview")}}else{if(windowPos>=discoveryBounds&&windowPos<strategyBounds){$sideNav.css("top",strategySideNav+"px");$sideNavLink=$sideNav.find("a.strategy").addClass("active");if(windowPos>(discoveryBounds+sideNavFadePadding)&&windowPos<(strategyBounds-sideNavFadePadding)){$sideNavLink.addClass("inview")}}else{if(windowPos>=strategyBounds&&windowPos<designBounds){$sideNav.css("top",designSideNav+"px");$sideNavLink=$sideNav.find("a.design").addClass("active");if(windowPos>(strategyBounds+sideNavFadePadding)&&windowPos<(designBounds-sideNavFadePadding)){$sideNavLink.addClass("inview")}}else{if(windowPos>=designBounds&&windowPos<productionBounds){$sideNav.css("top",productionSideNav+"px").addClass("active");$sideNavLink=$sideNav.find("a.production").addClass("active");if(windowPos>(designBounds+sideNavFadePadding-50)&&windowPos<(productionBounds-sideNavFadePadding)){$sideNavLink.addClass("inview")}}else{if(windowPos>=(productionBounds-sideNavFadePadding)&&windowPos<playBounds){$sideNav.css("top",playSideNav+"px");$sideNav.find("a.play").addClass("active")}}}}}}if(!Modernizr.touch){if(windowPos>=playBounds-300){$sideNav.fadeOut(a,function(){if(isIE>0){this.style.removeAttribute("filter")}})}else{$sideNav.fadeIn(a,function(){if(isIE>0){this.style.removeAttribute("filter")}})}}}}function playWithUs(){if(windowPos<2000){$play.find("#play-heading").attr("style","");$play.find("#play-dot").hide()}else{if(windowPos>=2000&&windowPos<=3200){var a=(3150-windowPos);var b=(a>=0)?a/5:0;var c=1-(b/72);if(isIE>0){$play.find("#play-heading").css("font-size",72-b+"px")}else{$play.find("#play-heading").css("font-size",72-b+"px").css("opacity",c)}if(windowPos>=3150){$play.find("#play-dot").show()}else{$play.find("#play-dot").hide()}}}}function theDot(){var d=31;if(windowPos<560){$theDot.hide()
}else{if(windowPos>=575&&windowPos<925){$theDot.show()}else{if(windowPos>=925&&windowPos<1215){$theDot.hide()}else{if(windowPos>=1215&&windowPos<2300){$theDot.show()}else{if(windowPos>=2300){$theDot.hide()}}}}}if(windowPos>=2200){$productionDot.show()}else{$productionDot.hide()}$theDot.removeClass("locked");if(windowPos<986){var c=(windowPos-320);var b=(windowPos+460);$theDot.css("top",b+"px").css("left",c+"px").css("position","absolute")}else{if(windowPos>=1026&&windowPos<1519){var c=(1696-windowPos);var b=(windowPos+420);$theDot.css("top",b+"px").css("left",c+"px").css("position","absolute")}else{if(windowPos>=1519&&windowPos<1895){$theDot.addClass("locked").attr("style","display:block;").css("z-index","1")}else{if(windowPos>=1895&&windowPos<1920){var c=(windowPos-1720);$theDot.addClass("locked").attr("style","display:block;").css("left",c+"px").css("z-index","1")}else{if(windowPos>=1920&&windowPos<1923){var c=(windowPos-1720);var b=(windowPos+45);$theDot.addClass("locked").attr("style","display:block;").css("left",c+"px").css("top",b+"px").css("z-index","1")}else{if(windowPos>=1923&&windowPos<1944){var c=(windowPos-1720);var b=1967;$theDot.addClass("locked").attr("style","display:block;").css("left",c+"px").css("top",b+"px").css("z-index","1")}else{if(windowPos>=1944&&windowPos<1948){var c=(windowPos-1718);var b=(windowPos+47);$theDot.addClass("locked").attr("style","display:block;").css("left",c+"px").css("top",b+"px").css("z-index","1")}else{if(windowPos>=1948&&windowPos<1965){var c=(windowPos-1718);var b=1992;$theDot.addClass("locked").attr("style","display:block;").css("left",c+"px").css("top",b+"px").css("z-index","1")}else{if(windowPos>=1965&&windowPos<1980){var c=(windowPos-1715);var b=(windowPos+62);$theDot.addClass("locked").attr("style","display:block;").css("left",c+"px").css("top",b+"px").css("z-index","9999")}else{if(windowPos>=1980&&windowPos<2178){var c=(windowPos-1715);var b=(windowPos+62);$theDot.addClass("locked").attr("style","display:block;").css("left",c+"px").css("top",b+"px").css("z-index","9999")}else{if(windowPos>=2178&&windowPos<2300){var c=462;var b=(windowPos+62)+(windowPos-2178);$theDot.addClass("locked").attr("style","display:block;").css("left",c+"px").css("top",b+"px").css("z-index","1")}else{if(windowPos>=2300){$theDot.css("z-index","1")}}}}}}}}}}}}var a=300;if(isIE>0){a=0}if(windowPos>=800){if(!$trailDot1.hasClass(".highlighted")){$trailDot1.addClass(".highlighted").fadeIn(a)}}else{if($trailDot1.hasClass(".highlighted")){$trailDot1.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=830){if(!$trailDot2.hasClass(".highlighted")){$trailDot2.addClass(".highlighted").fadeIn(a)}}else{if($trailDot2.hasClass(".highlighted")){$trailDot2.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=860){if(!$trailDot3.hasClass(".highlighted")){$trailDot3.addClass(".highlighted").fadeIn(a)}}else{if($trailDot3.hasClass(".highlighted")){$trailDot3.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=925){if(!$dotHighlight1.hasClass(".highlighted")){$dotHighlight1.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight1.hasClass(".highlighted")){$dotHighlight1.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=957){if(!$dotHighlight2.hasClass(".highlighted")){$dotHighlight2.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight2.hasClass(".highlighted")){$dotHighlight2.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=989){if(!$dotHighlight3.hasClass(".highlighted")){$dotHighlight3.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight3.hasClass(".highlighted")){$dotHighlight3.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=1021){if(!$dotHighlight4.hasClass(".highlighted")){$dotHighlight4.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight4.hasClass(".highlighted")){$dotHighlight4.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=1053){if(!$dotHighlight5.hasClass(".highlighted")){$dotHighlight5.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight5.hasClass(".highlighted")){$dotHighlight5.removeClass(".highlighted").fadeOut(a)
}}if(windowPos>=1085){if(!$dotHighlight6.hasClass(".highlighted")){$dotHighlight6.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight6.hasClass(".highlighted")){$dotHighlight6.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=1119){if(!$dotHighlight7.hasClass(".highlighted")){$dotHighlight7.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight7.hasClass(".highlighted")){$dotHighlight7.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=1152){if(!$dotHighlight8.hasClass(".highlighted")){$dotHighlight8.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight8.hasClass(".highlighted")){$dotHighlight8.removeClass(".highlighted").fadeOut(a)}}if(windowPos>=1188){if(!$dotHighlight9.hasClass(".highlighted")){$dotHighlight9.addClass(".highlighted").fadeIn(a)}}else{if($dotHighlight9.hasClass(".highlighted")){$dotHighlight9.removeClass(".highlighted").fadeOut(a)}}};
