function Popup(){var n=this;this.init=function(){$.each(["popup-overlay","popup-close"],function(t,i){$(document).on("click","."+i,function(t){t.preventDefault(),$(t.target).hasClass(i)&&n.hide()})})},this.hide=function(){$(".popup-overlay").hide()},this.show=function(t){n.setContent(t)},this.ensureWrapper=function(){$(".popup-overlay").length==0&&$("body").append("<div class='popup-overlay'><div class='popup-outline'><div class='popup-inner'></div></div></div>")},this.setContent=function(t){$(".popup-inner").html("<img alt='x' src='/images/btn_close.png' class='popup-close ga-tracking' data-event-action='RUNTIME_CANCELLATION'>"+t),$(".popup-overlay").show(),n.positionPopup()},this.positionPopup=function(){var r=$(window).width(),u=$(window).height(),f=$(".popup-outline").width(),e=$(".popup-outline").height(),i=$(window).scrollTop(),t=i+(u-e)/2,n;t<=0&&(t=20),n=(r-f)/2,n<0&&(n=0),$(".popup-outline").css({top:t,left:n})},this.enlargeOverlay=function(){$(window).resize(function(){$(".popup-overlay").css({width:Math.max($(document).width(),$(window).width()),height:Math.max($(document).height(),$(window).height())}).hide()}).resize()},this.init(),this.ensureWrapper(),this.enlargeOverlay()}function getCurrentDisplayMode(){return $('input[name="Query.DisplayMode"]:checked').val()}function isIE7(){return $.browser.msie&&jQuery.browser.version==7}function isIE8(){return $.browser.msie&&jQuery.browser.version==8}function initSubmitOnChangeDropDown(){$(document).on("change",".submit-on-change",function(){$(this).closest("form").submit()})}function productContentExpand(){var n=300;$(".product-notes").length!=0&&($(".building-desc-content").height()>n&&($(".product-notes").hide(),$(".product-expand").show()),$(".product-expand").click(function(){$(".product-notes").show();var n=$(this).parent();$(this).hide(),n.find(".product-collapse").show()}),$(".product-collapse").click(function(){$(".product-notes").hide();var n=$(this).parent();$(this).hide(),n.find(".product-expand").show()}))}function animationForModules(){$(document).on("mouseenter",".modules",function(){$(this).find(".panel-background").animate({height:determineFooterHeight($(this))},300)});$(document).on("mouseleave",".modules",function(){$(this).find(".panel-background").stop(!0,!1).animate({height:"0px"},300),$(this).find(".filterSortByItemOutline").stop(!0,!1).slideUp()})}function determineFooterHeight(n){return n.closest(".modules-container").hasClass("List_View")?n.hasClass("library")&&!n.hasClass("list-view-mp4")?"50px":"30px":"36px"}function addHoverEffectForFilterTags(){$("div.filter-level ul li.filter-option").live({mouseenter:function(){if(!$(this).find("label").hasClass("selected")){var t=$(this).find(".tag_icon"),n=t.attr("data-active-icon");$(this).find(".tag_icon").attr("src",n)}},mouseleave:function(){if(!$(this).find("label").hasClass("selected")){var t=$(this).find(".tag_icon"),n=t.attr("data-general-icon");$(this).find(".tag_icon").attr("src",n)}}})}function addBackgroundColorToArticleSections(){var n=0;$(".article-content > .article-section").each(function(){var t=$(this);if(t.find(".modules-container").length==0||t.find(".modules").length>0)n%2==0?t.css({"background-color":"#e9e9e9"}):t.css({"background-color":"#f3f3f3"}),n++;else{if(isInPageEditorMode())return;t.hide(),$("a.nav-second-link[href='#"+t.attr("id")+"']").closest(".nav-second-item").hide()}})}function isInPageEditorMode(){return typeof Sitecore=="undefined"?!1:Sitecore&&Sitecore.PageModes&&Sitecore.PageModes.PageEditor&&Sitecore.PageModes.PageEditor.setModified}function hideRelatedContentSection(){if(!isInPageEditorMode()){var n=$("#related-content div.modules-container");n.html()==""&&n.parent().hide()}}function initPhoneNumber(){$(document).on("click",".supplier-phone .button",function(){$(this).parent().find(".supplier-phone-no").show(),BlueScope.gaEventTrackForTarget($(this))});$(document).on("click",".supplier-phone-copy",function(){return $(this).parent().find(".button").length==0&&($(this).html($(this).parent().find(".supplier-phone-no").html()),BlueScope.gaEventTrackForTarget($(this))),!isIE7()&&!isIE8()})}function blueScopeLog(n){window.console&&window.console.log(n)}function initSearch(){$("#btnSearch").click(function(n){n.preventDefault(),$("#searchForm").submit()})}function initArticlePrint(){$(".print").click(function(n){var t=$(this);BlueScope.gaEventTrack(t.data("event-category"),t.data("event-action"),t.data("event-label")),window.print(),n.preventDefault()})}function initShareThis(){function i(n,t){var i=$(".share");BlueScope.gaEventTrack(i.data("event-category"),"Share",i.data("event-label"),t)}var f=$(".stUrl").length>0?$(".stUrl").text():window.location.href,u=$(".stTitle").length>0?$(".stTitle").text():"",n=$(".stText").length>0?$(".stText").text():"",r=$(".stImage").length>0?$(".stImage").text():"",t=$(".stSum").length>0?$(".stSum").text():"";n==""&&(n=t),stWidget.addEntry({service:"sharethis",element:$(".share")[0],url:f,title:u,text:n,image:r,summary:t}),$(".share").click(function(n){n.preventDefault()}),stLight.subscribe("click",i)}function createCookie(n,t,i){var r,u;i?(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString()):u="",document.cookie=n+"="+t+u+"; path=/"}function readCookie(n){for(var u=n+"=",r=document.cookie.split(";"),t,i=0;i<r.length;i++){for(t=r[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(u)==0)return t.substring(u.length,t.length)}return null}function eraseCookie(n){createCookie(n,"",-1)}function initVisiterRedirection(){var t=$(".top-header"),n="visiterRedirection";$(".btn-close").click(function(){$(this).closest(".top-header").hide(),createCookie(n,"true")}),readCookie(n)&&t.hide()}function checkIEHover(){var n=navigator.userAgent;(/MSIE 8/.test(n)||/MSIE 7/.test(n))&&($(".mega-menu-group a").css("text-decoration","none"),$(".mega-menu-group a").hover(function(){$(this).css("color","#49aa49")},function(){$(this).css("color","#fff")})),$("div.list-view-multi, div.material-group").live({mouseenter:function(){$(this).find(".filterTitleSortBy span").css("color","#fff"),$(this).css("z-index","1000")},mouseleave:function(){$(this).hasClass("material-group")?$(this).find(".filterTitleSortBy span").css("color","#49aa49"):$(this).find(".filterTitleSortBy span").css("color","#0066CC"),$(this).css("z-index","0")}}),$(".filterSortByItemOutline li").live({mouseenter:function(){var n=$(this).closest(".modules");n.hasClass("material-group")?$(this).css({"background-color":"#49aa49",color:"#fff"}):n.hasClass("modules")&&$(this).css({"background-color":"#0066CC",color:"#fff"})},mouseleave:function(){$(this).css({"background-color":"#fff",color:"#000"})}})}function createCustomSelectBox(n,t,i){t||(t=0),i||(i=!1),n.each(function(){var r=$(this),e=r.siblings(".filterTitleSortBy").length>0;if(!e){r.wrap('<div class="filterSortbyInner"></div>'),r.hide().after('<div class="filterTitleSortBy"><span></span></div><div class="filterSortByItemOutline"><ul></ul></div>');var n=r.find("option"),u=r.parent().find(".filterTitleSortBy"),f=r.parent().find(".filterSortByItemOutline ul");u.on("click",function(){$(this).siblings(".filterSortByItemOutline").slideToggle()});$(document).on("click",function(n){var t=$(n.target);t.closest(".filterSortbyInner").length==0&&$(".filterSortByItemOutline").slideUp()});n.each(function(r){var s=$(this),o=s.prop("selected"),c=s.attr("value")?s.attr("value"):"",l=s.text(),e=$("<li>"),h;(i&&r==0||r!=0)&&(f.append(e),e.data("value",c),e.text(l)),h=o!=undefined&&o==!0?o!=undefined&&o==!0:n.length>0&&r==t?n.length>0&&r==t:(n.length==0||n.filter(":selected").length==0)&&r==0,h&&(e.addClass("selected"),u.find("span").text(l).data("value",c));e.on("click",function(){var t=$(this),i=t.data("value"),r=t.text();u.find("span").text(r).data("value",i),f.find("li").removeClass("selected"),t.addClass("selected"),n.prop("selected",!1).filter('[value="'+i+'"]').prop("selected",!0),t.closest(".filterSortByItemOutline").siblings("select").trigger("change"),$(".filterSortByItemOutline").slideUp()})})}})}function isIE7(){return $.browser.msie&&jQuery.browser.version==7}function isIE8(){return $.browser.msie&&jQuery.browser.version==8}function initSubmitOnChangeDropDown(){$(document).on("change",".submit-on-change",function(){$(this).closest("form").submit()})}function productContentExpand(){var n=300;$(".product-notes").length!=0&&($(".building-desc-content").height()>n&&($(".product-notes").hide(),$(".product-expand").show()),$(".product-expand").click(function(){$(".product-notes").show();var n=$(this).parent();$(this).hide(),n.find(".product-collapse").show()}),$(".product-collapse").click(function(){$(".product-notes").hide();var n=$(this).parent();$(this).hide(),n.find(".product-expand").show()}))}function animationForModules(){$(document).on("mouseenter",".modules",function(){$(this).find(".panel-background").animate({height:determineFooterHeight($(this))},300)});$(document).on("mouseleave",".modules",function(){$(this).find(".panel-background").stop(!0,!1).animate({height:"0px"},300),$(this).find(".filterSortByItemOutline").stop(!0,!1).slideUp()})}function determineFooterHeight(n){return n.closest(".modules-container").hasClass("List_View")?n.hasClass("library")&&!n.hasClass("list-view-mp4")?"50px":"30px":"36px"}function addHoverEffectForFilterTags(){$("div.filter-level ul li.filter-option").live({mouseenter:function(){if(!$(this).find("label").hasClass("selected")){var t=$(this).find(".tag_icon"),n=t.attr("data-active-icon");$(this).find(".tag_icon").attr("src",n)}},mouseleave:function(){if(!$(this).find("label").hasClass("selected")){var t=$(this).find(".tag_icon"),n=t.attr("data-general-icon");$(this).find(".tag_icon").attr("src",n)}}})}function addBackgroundColorToArticleSections(){var n=0;$(".article-content > .article-section").each(function(){var t=$(this);if(t.find(".modules-container").length==0||t.find(".modules").length>0)n%2==0?t.css({"background-color":"#e9e9e9"}):t.css({"background-color":"#f3f3f3"}),n++;else{if(isInPageEditorMode())return;t.hide(),$("a.nav-second-link[href='#"+t.attr("id")+"']").closest(".nav-second-item").hide()}})}function isInPageEditorMode(){return typeof Sitecore=="undefined"?!1:Sitecore&&Sitecore.PageModes&&Sitecore.PageModes.PageEditor&&Sitecore.PageModes.PageEditor.setModified}function hideRelatedContentSection(){if(!isInPageEditorMode()){var n=$("#related-content div.modules-container");n.html()==""&&n.parent().hide()}}function initPhoneNumber(){$(document).on("click",".supplier-phone .button",function(){$(this).parent().find(".supplier-phone-no").show(),BlueScope.gaEventTrackForTarget($(this))});$(document).on("click",".supplier-phone-copy",function(){return $(this).parent().find(".button").length==0&&($(this).html($(this).parent().find(".supplier-phone-no").html()),BlueScope.gaEventTrackForTarget($(this))),!isIE7()&&!isIE8()})}function blueScopeLog(n){window.console&&window.console.log(n)}function initSearch(){$("#btnSearch").click(function(n){n.preventDefault(),$("#searchForm").submit()})}function initArticlePrint(){$(".print").click(function(n){var t=$(this);BlueScope.gaEventTrack(t.data("event-category"),t.data("event-action"),t.data("event-label")),window.print(),n.preventDefault()})}function initShareThis(){var i=$(".stUrl").length>0?$(".stUrl").text():window.location.href,u=$(".stTitle").length>0?$(".stTitle").text():"",n=$(".stText").length>0?$(".stText").text():"",r=$(".stImage").length>0?$(".stImage").text():"",t=$(".stSum").length>0?$(".stSum").text():"";n==""&&(n=t),stWidget.addEntry({service:"sharethis",element:$(".share")[0],url:i,title:u,text:n,image:r,summary:t}),$(".share").click(function(n){n.preventDefault()})}function createCookie(n,t,i){var r,u;i?(r=new Date,r.setTime(r.getTime()+i*864e5),u="; expires="+r.toGMTString()):u="",document.cookie=n+"="+t+u+"; path=/"}function readCookie(n){for(var u=n+"=",r=document.cookie.split(";"),t,i=0;i<r.length;i++){for(t=r[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(u)==0)return t.substring(u.length,t.length)}return null}function eraseCookie(n){createCookie(n,"",-1)}function initVisiterRedirection(){var t=$(".top-header"),n="visiterRedirection";$(".btn-close").click(function(){$(this).closest(".top-header").hide(),createCookie(n,"true")}),readCookie(n)&&t.hide()}function checkIEHover(){var n=navigator.userAgent;(/MSIE 8/.test(n)||/MSIE 7/.test(n))&&($(".mega-menu-group a").css("text-decoration","none"),$(".mega-menu-group a").hover(function(){$(this).css("color","#49aa49")},function(){$(this).css("color","#fff")})),$("div.list-view-multi, div.material-group").live({mouseenter:function(){$(this).find(".filterTitleSortBy span").css("color","#fff"),$(this).css("z-index","1000")},mouseleave:function(){$(this).hasClass("material-group")?$(this).find(".filterTitleSortBy span").css("color","#49aa49"):$(this).find(".filterTitleSortBy span").css("color","#0066CC"),$(this).css("z-index","0")}}),$(".filterSortByItemOutline li").live({mouseenter:function(){var n=$(this).closest(".modules");n.hasClass("material-group")?$(this).css({"background-color":"#49aa49",color:"#fff"}):n.hasClass("modules")&&$(this).css({"background-color":"#0066CC",color:"#fff"})},mouseleave:function(){$(this).css({"background-color":"#fff",color:"#000"})}})}function createCustomSelectBox(n,t,i){t||(t=0),i||(i=!1),n.each(function(){var r=$(this),e=r.siblings(".filterTitleSortBy").length>0;if(!e){r.wrap('<div class="filterSortbyInner"></div>'),r.hide().after('<div class="filterTitleSortBy"><span></span></div><div class="filterSortByItemOutline"><ul></ul></div>');var n=r.find("option"),u=r.parent().find(".filterTitleSortBy"),f=r.parent().find(".filterSortByItemOutline ul");u.on("click",function(){$(this).siblings(".filterSortByItemOutline").slideToggle()});$(document).on("click",function(n){var t=$(n.target);t.closest(".filterSortbyInner").length==0&&$(".filterSortByItemOutline").slideUp()});n.each(function(r){var s=$(this),o=s.prop("selected"),c=s.attr("value")?s.attr("value"):"",l=s.text(),e=$("<li>"),h;(i&&r==0||r!=0)&&(f.append(e),e.data("value",c),e.text(l)),h=o!=undefined&&o==!0?o!=undefined&&o==!0:n.length>0&&r==t?n.length>0&&r==t:(n.length==0||n.filter(":selected").length==0)&&r==0,h&&(e.addClass("selected"),u.find("span").text(l).data("value",c));e.on("click",function(){var t=$(this),i=t.data("value"),r=t.text();u.find("span").text(r).data("value",i),f.find("li").removeClass("selected"),t.addClass("selected"),n.prop("selected",!1).filter('[value="'+i+'"]').prop("selected",!0),t.closest(".filterSortByItemOutline").siblings("select").trigger("change"),$(".filterSortByItemOutline").slideUp()})})}})}var BlueScope=window.BlueScope||{},BrowserDetect,SEARCH,count,s,browserName,browserVersion,webfontType,woffEnabled,svgEnabled,scripts,script,path,regex,typeLen,fonts,len,i,format,urlSuffix,fontface,$mansonry;BlueScope.AJAX_DEVICE_SUFFIX="sc_device=BlueScope/AJAX",BlueScope.appendAjaxSuffix=function(n){return(n||(n=window.location.href),n.indexOf("sc_device")!=-1)?n:(n+=n.indexOf("?")=="-1"?"?":"&",n+=BlueScope.AJAX_DEVICE_SUFFIX)},BrowserDetect={OSTYPE_MAC:"mac",OSTYPE_WINDOWS:"windows",OSTYPE_WINDOWS_PHONE:"windowsphone",OSTYPE_LINUX:"linux",OSTYPE_IPHONE:"iphone",OSTYPE_IPAD:"ipad",OSTYPE_ANDROID:"android",BROWSERTYPE_INTERNET_EXPLORER:"ie",BROWSERTYPE_INTERNET_EXPLORER_MOBILE:"iemobile",BROWSERTYPE_CHROME:"chrome",BROWSERTYPE_SAFARI:"safari",BROWSERTYPE_FIREFOX:"firefox",BROWSERTYPE_OPERA:"opera",BROWSERTYPE_ICAB:"icab",BROWSERTYPE_KONQUEROR:"konqueror",BROWSERTYPE_CAMINO:"camino",BROWSERTYPE_MOZILLA:"mozilla",BROWSERTYPE_NETSCAPE:"netscape",BROWSERTYPE_GECKO:"gecko",init:function(){this.platform=window.navigator.platform,this.vendor=window.navigator.vendor,this.userAgent=window.navigator.userAgent,this.platform!=null&&(this.platform=this.platform.toLowerCase()),this.vendor!=null&&(this.vendor=this.vendor.toLowerCase()),this.userAgent!=null&&(this.userAgent=this.userAgent.toLowerCase()),this.os="unknown",this.osVersionRaw="",this.osVersion=0,this.browser="unknown",this.browserVersionRaw="",this.browserVersion=0,this.isMobile=!1,this.isTablet=!1,this.osCSSIdentifier="",this.browserCSSIdentifier="";var n=null;/iphone/.test(this.userAgent)?(this.os=this.OSTYPE_IPHONE,(n=/cpu iphone os\s+([\da-z\._-]+)\s+like mac os x/.exec(this.userAgent))!=null&&(this.osVersionRaw=n[1])):/ipad/.test(this.userAgent)?(this.os=this.OSTYPE_IPAD,(n=/cpu os\s+([\da-z\._-]+)\s+like mac os x/.exec(this.userAgent))!=null&&(this.osVersionRaw=n[1])):/android/.test(this.userAgent)?(this.os=this.OSTYPE_ANDROID,(n=/android\s+([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.osVersionRaw=n[1])):/windows phone/.test(this.userAgent)?(this.os=this.OSTYPE_WINDOWS_PHONE,(n=/windows phone os\s+([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.osVersionRaw=n[1])):/windows/.test(this.userAgent)?(this.os=this.OSTYPE_WINDOWS,(n=/windows[^\d]+([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.osVersionRaw=n[1])):/macintosh|mac os x|mac/.test(this.userAgent)?(this.os=this.OSTYPE_MAC,(n=/mac os x\s+([\da-z\._-]+)/.exec(this.userAgent))!=null?this.osVersionRaw=n[1]:(n=/cpu os\s+([\da-z\._-]+)\s+like mac os x/.exec(this.userAgent))!=null&&(this.osVersionRaw=n[1])):/linux/.test(this.userAgent)&&(this.os=this.OSTYPE_LINUX,(n=/([^\(\);]+);\s*linux/.exec(this.userAgent))!=null&&(this.osVersionRaw=n[1])),/mobile|iphone|ipod|iemobile|blackberry|android/.test(this.userAgent)&&(this.isMobile=!0),/tablet|ipad/.test(this.userAgent)&&(this.isTablet=!0),/msie/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_INTERNET_EXPLORER,(n=/msie\s+([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/chrome/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_CHROME,(n=/chrome\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/safari/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_SAFARI,(n=/safari\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/firefox/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_FIREFOX,(n=/firefox\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/opera/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_OPERA,(n=/version\/([\da-z\._-]+)/.exec(this.userAgent))!=null?this.browserVersionRaw=n[1]:(n=/opera[\s\/]+([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/icab/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_ICAB,(n=/icab\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/konqueror/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_KONQUEROR,(n=/konqueror\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/camino/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_CAMINO,(n=/camino\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/mozilla/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_MOZILLA,(n=/mozilla\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/netscape/.test(this.userAgent)?(this.browser=this.BROWSERTYPE_NETSCAPE,(n=/netscape\d*\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])):/gecko/.test(this.userAgent)&&(this.browser=this.BROWSERTYPE_GECKO,(n=/gecko\/([\da-z\._-]+)/.exec(this.userAgent))!=null&&(this.browserVersionRaw=n[1])),this.osVersionRaw!=null&&(this.osVersion=parseFloat(this.osVersionRaw.replace(/[_-]+/,".").replace(/[a-z]+/,"")),(this.osVersion==null||isNaN(this.osVersion))&&(this.osVersion=this.osVersionRaw)),this.browserVersionRaw!=null&&(this.browserVersion=parseFloat(this.browserVersionRaw.replace(/[_-]+/,".").replace(/[a-z]+/,"")),(this.browserVersion==null||isNaN(this.browserVersion))&&(this.browserVersion=this.browserVersionRaw)),this.osCSSIdentifier=typeof this.osVersion=="number"?this.os+" "+this.os+parseInt(this.osVersion):this.os+" "+this.os+this.osVersion,this.browserCSSIdentifier=typeof this.browserVersion=="number"?this.browser+" "+this.browser+parseInt(this.browserVersion):this.browser+" "+this.browser+this.browserVersion}},BrowserDetect.init(),BlueScope.RunTime_GA_Event={Category:"",Action:"",Label:"",Value:"",Cancellation:""},BlueScope.consoleLog=function(n){window.console&&console.log(n)},BlueScope.setRuntimeGAEvent=function(n,t,i,r,u){BlueScope.RunTime_GA_Event.Category=n,BlueScope.RunTime_GA_Event.Action=t,BlueScope.RunTime_GA_Event.Label=i,BlueScope.RunTime_GA_Event.Value=r,BlueScope.RunTime_GA_Event.Cancellation=u},BlueScope.gaEventTrack=function(n,t,i,r){i=i||"",r=r||"",r!=""?(BlueScope.consoleLog(n+" - "+t+" - "+i+" - "+r),_gaq.push(["_trackEvent",n,t,i+" - "+r])):(BlueScope.consoleLog(n+" - "+t+" - "+i),_gaq.push(["_trackEvent",n,t,i]))},BlueScope.gaEventTrackForTarget=function(n){var i=n.data("event-category")||"",t=n.data("event-action")||"",r=n.data("event-label"),u=n.data("event-value");if((i!=""||t.indexOf("RUNTIME_")!=-1)&&t!=""){if(t=="RELATED_SECTION_TITLE")t=n.closest(".article-section").data("event-action");else if(t=="RUNTIME_ACTION"){if(!BlueScope.RunTime_GA_Event.Action)return;if(n.hasClass("require-form-validate")&&!n.closest("form").valid())return;i=BlueScope.RunTime_GA_Event.Category,t=BlueScope.RunTime_GA_Event.Action,r=BlueScope.RunTime_GA_Event.Label,u=BlueScope.RunTime_GA_Event.Value}else if(t=="RUNTIME_CANCELLATION"){if(!BlueScope.RunTime_GA_Event.Cancellation)return;i=BlueScope.RunTime_GA_Event.Category,t=BlueScope.RunTime_GA_Event.Cancellation}else if(t=="CAPTURE_SEARCH")t=$("#SearchSection option:selected").text(),r=$("#searchForm .txtSearchTerm").val();else{if(n.hasClass("require-form-validate")&&!n.closest("form").valid())return;BlueScope.setRuntimeGAEvent(i,n.data("event-runtime-action"),n.data("event-runtime-label"),n.data("event-runtime-value"),n.data("event-runtime-cancellation"))}BlueScope.gaEventTrack(i,t,r,u)}},$(function(){$(document).on("click",".ga-tracking",function(){BlueScope.gaEventTrackForTarget($(this))})}),$(function(){var f="List View",i,n,t,r=0,e=function(i){i.preventDefault(),n.find(".faqs-containers").length==0&&(n=$(this).parent().find(".modules-container"));var u=BlueScope.appendAjaxSuffix($(this).attr("href"));$.post(u).done(function(i){var o=$($.parseHTML(i)),e,u,s;n.find(".faqs-containers").length>0?(n.find(".faqs-containers").append(o.find(".faqs-containers").html()),u=$(".load-more",o),u.length?t.attr("href",u.attr("href")):t.hide()):(e=$(".modules-container",o).children(),u=$(".load-more",o),u.length?t.attr("href",u.attr("href")):t.hide(),s=getCurrentDisplayMode(),s!=f?n.append(e).masonry("appended",e):n.append(e),window.BlueScope&&window.BlueScope.UpdateIEGrayscale&&window.BlueScope.UpdateIEGrayscale(),window.BlueScope&&window.BlueScope.triggerLegacyIE&&BlueScope.triggerLegacyIE(),r+=e.length,$(".filter-result-range:eq(0)").text("1 - "+r.toString()),createCustomSelectBox($(".modulesSelect")))}).fail(function(){})},o=function(t){t.preventDefault();var r=$(this).closest("form"),i=r.closest(".index-container");$.post(BlueScope.appendAjaxSuffix(r.attr("action")),r.serialize()).done(function(t){var e=(document.activeElement||{}).id,o=t,r;i=i.replaceWith(o),i=$(".index-container,.sub-index-container"),n=$(".modules-container",i),r=getCurrentDisplayMode(),r!=f&&$(".modules",n).length>0&&n.masonry({itemSelector:".modules",columnWidth:310,gutterWidth:20}),e&&$("#"+e).focus(),u()}).fail(function(){})},u=function(){t&&t.unbind(),i&&i.unbind(),i=$(".ajax-filter input, .ajax-filter select").not(".non-ajax"),n=$(".modules-container"),r=$(".modules").length,i.change(o),t=$(".load-more"),t.click(e),createCustomSelectBox($(".modulesSelect"))};u()}),$(function(){var n={carousel:$("#carousel").jcarousel(),carouselItems:$(".carousel-item"),navPrev:$(".carousel-arrow .arrow-left"),navNext:$(".carousel-arrow .arrow-right"),bulletContainer:$(".carousel-nav-inner"),bulletContainerWidth:0,startIndex:0,selectedIndex:0,lock:!1,initCarousel:function(){for(var n=this,u=this.carouselItems.length,i,r,t=0;t<u;t++)i=$("<a>",{href:"#"}),r=this.carouselItems.eq(t),t==this.startIndex&&(i.addClass("selected"),r.addClass("main-item")),this.bulletContainer.append(i),i.data("index",t),r.data("index",t),t==0?i.data("pos","first"):t==u-1&&i.data("pos","last"),i.click(function(t){t.preventDefault();var r=$(this),i=r.data("index");i!=n.selectedIndex&&n.slideByIndex(i)}),r.click(function(t){var r=$(this),i=r.data("index");i!=n.selectedIndex&&(t.preventDefault(),n.slideByIndex(i))}),this.bulletContainerWidth+=i.outerWidth(!0);this.bulletContainer.width(this.bulletContainerWidth),this.navPrev.click(function(t){t.preventDefault(),n.slideByDirection("prev")}),this.navNext.click(function(t){t.preventDefault(),n.slideByDirection("next")});this.carousel.on("animateend.jcarousel",function(){n.lock=!1;var r=n.carouselItems.eq(n.selectedIndex);BlueScope.gaEventTrack(r.data("event-category"),"Carousel "+(n.selectedIndex+1)+" Displayed",r.data("event-label"),r.data("event-value"))})},slideByIndex:function(n){if(!this.lock){this.lock=!0;var i=this.carouselItems.eq(this.selectedIndex),t=this.bulletContainer.find("a").removeClass("selected").eq(n).addClass("selected");this.carouselItems.removeClass("main-item").eq(n).addClass("main-item"),this.activeNav(t),this.carousel.jcarousel("scroll",n),this.selectedIndex=n}},slideByDirection:function(n){var t,i,u,r;this.lock||(t=this.bulletContainer.find("a.selected"),i=t.data("pos"),(n=="next"&&i!="last"||n=="prev"&&i!="first")&&(this.lock=!0,t.removeClass("selected"),u=this.carouselItems.eq(this.selectedIndex),t=n=="next"?t.next():t.prev(),t.addClass("selected"),this.selectedIndex=t.data("index"),r=this.carouselItems.removeClass("main-item").eq(this.selectedIndex).addClass("main-item"),this.activeNav(t),this.carousel.jcarousel("scroll",r)))},activeNav:function(n){var t=n.data("pos");t=="first"?(this.navPrev.addClass("disable"),this.navNext.removeClass("disable")):t=="last"?(this.navPrev.removeClass("disable"),this.navNext.addClass("disable")):(this.navPrev.removeClass("disable"),this.navNext.removeClass("disable"))}};n.carouselItems.length<2&&(n.navNext.hide(),n.navPrev.hide(),n.bulletContainer.hide()),n.initCarousel()}),$(function(){var n=new Popup;$("a.btnContact").click(function(t){t.preventDefault(),$.ajax(BlueScope.appendAjaxSuffix($(this).attr("href"))).done(function(t){n.show(t)})});$(document).on("click","a.btnSubmitContact",function(t){t.preventDefault();var r=$(".error-msg"),i=$(this).closest("form");if(!i.valid()){i.parent().scrollTop(0),r.show();return}r.hide(),$.post(BlueScope.appendAjaxSuffix(i.attr("action")),i.serialize()).done(function(t){n.show(t)})})}),$(function(){$(".content-carousel").each(function(){var n=$(this),i,f,t,r;n.tracking_category=n.data("event-category"),n.tracking_action=n.data("event-action"),n.tracking_label=n.data("event-label");var c=n.height(),e=0,h=function(){return e=0,$("<div>").addClass("content-carousel-item").appendTo(n)},s=h();if(n.children().each(function(){var t=$(this),n;t.hasClass("content-carousel-item")||(n=t.outerHeight(!0),e+n>c&&(s=h()),s.append(t),e+=n)}),i=n.children().length,i>0){f=0,t=$("<div>").addClass("content-carousel-controls").insertAfter(n);function o(){return f}function u(i){var r=t.children(".content-carousel-page-link");n.children().hide(),r.removeClass("active"),n.children().eq(i).show(),r.eq(i).addClass("active"),f=i}for(n.css("overflow-y","hidden"),$("<a>").addClass("content-carousel-prev-link").attr("unselectable","on").appendTo(t).click(function(){var t=o();t>0&&(u(t-1),BlueScope.gaEventTrack(n.tracking_category,n.tracking_action,n.tracking_label))}),r=0;r<i;r++)(function(i){$("<a>").addClass("content-carousel-page-link").attr("unselectable","on").text((i+1).toString()).appendTo(t).click(function(){u(i),BlueScope.gaEventTrack(n.tracking_category,n.tracking_action,n.tracking_label)})})(r);$("<a>").addClass("content-carousel-next-link").attr("unselectable","on").text("Next").appendTo(t).click(function(){var t=o();t<i-1&&(u(t+1),BlueScope.gaEventTrack(n.tracking_category,n.tracking_action,n.tracking_label))}),u(0)}})}),$(function(){$(document).on("submit",".downloadForm",function(n){var t=$("select",$(this));BlueScope.gaEventTrackForTarget(t),t.val()==""&&n.preventDefault()})}),$(function(){function t(){var t=$("input[name='FeedbackType']:checked").val().split(" "),i=t[t.length-1];return n(i,!0)}function n(n,t){return n=t?n.toLowerCase():n,n.replace(/(\b)([a-zA-Z])/,function(n){return n.toUpperCase()})}$(document).on("click","a.btnSubmitFeedback",function(n){$(this).attr("disable","disable"),n.preventDefault();var r=$(".error-msg"),i=$(this).closest("form");if(!i.valid()){r.show();return}r.hide(),BlueScope.gaEventTrack("Support","Feedback",t()),$.post(BlueScope.appendAjaxSuffix(i.attr("action")),i.serialize()).done(function(n){n.error!=null?$(".error-msg-server").html(n.error).show():($(".feedbackFrom").hide(),$(".feedbackResult").show(),$(this).removeAttr("disable"))})});$(document).on("click","span.add-email",function(n){n.preventDefault(),$(".email").show(),$(this).hide()});$("input#FeedbackType:first").attr("checked",""),$(".detail-relevant h4 a").live("click",function(n){var i=$(this),t;n.preventDefault(),t=$(this).parent().next(),t.is(":visible")?t.slideUp():(BlueScope.gaEventTrackForTarget(i),t.slideDown().parent().siblings().children("div").slideUp())})}),SEARCH="Search",$(function(){if($.browser.msie&&jQuery.browser.version<=9){$(".breadcrumbs-item").first().css({content:""});var n=$("#searchForm").find("input");n.val(SEARCH),n.focus(function(){$(this).val()==SEARCH&&$(this).val("")}).blur(function(){$(this).val()==""&&$(this).val(SEARCH)}),$("input:text").each(function(){var t=$(this),n=t.attr("placeholder");n&&n!=""&&($(this).val(n),t.focus(function(){$(this).val()==n&&$(this).val("")}).blur(function(){$(this).val()==""&&$(this).val(n)}))})}}),count=document.createElement("script"),count.type="text/javascript",count.async=!0,count.src="//hello.myfonts.net/count/2700f5",s=document.getElementsByTagName("script")[0],s.parentNode.insertBefore(count,s),typeof woffEnabled=="undefined"&&(woffEnabled=!0),svgEnabled=0,typeof customPath!="undefined"?path=customPath:(scripts=document.getElementsByTagName("SCRIPT"),script=scripts[scripts.length-1].src,script.match("://")||script.charAt(0)=="/"||(script="./"+script),path=script.replace(/\\/g,"/").replace(/\/[^\/]*\/?$/,""));var wfpath=path+"/webfonts/",browsers=[{regex:"MSIE (\\d+\\.\\d+)",versionRegex:"new Number(RegExp.$1)",type:[{version:9,type:"woff"},{version:5,type:"eot"}]},{regex:"Firefox[/s](\\d+\\.\\d+)",versionRegex:"new Number(RegExp.$1)",type:[{version:3.6,type:"woff"},{version:3.5,type:"ttf"}]},{regex:"Chrome/(\\d+\\.\\d+)",versionRegex:"new Number(RegExp.$1)",type:[{version:6,type:"woff"},{version:4,type:"ttf"}]},{regex:"Mozilla.*Android (\\d+\\.\\d+).*AppleWebKit.*Safari",versionRegex:"new Number(RegExp.$1)",type:[{version:4.1,type:"woff"},{version:3.1,type:"svg#wf"},{version:2.2,type:"ttf"}]},{regex:"Mozilla.*(iPhone|iPad).* OS (\\d+)_(\\d+).* AppleWebKit.*Safari",versionRegex:"new Number(RegExp.$2) + (new Number(RegExp.$3) / 10)",unhinted:!0,type:[{version:5,type:"woff"},{version:4.2,type:"ttf"},{version:1,type:"svg#wf"}]},{regex:"Mozilla.*(iPhone|iPad|BlackBerry).*AppleWebKit.*Safari",versionRegex:"1.0",type:[{version:1,type:"svg#wf"}]},{regex:"Version/(\\d+\\.\\d+)(\\.\\d+)? Safari/(\\d+\\.\\d+)",versionRegex:"new Number(RegExp.$1)",type:[{version:5.1,type:"woff"},{version:3.1,type:"ttf"}]},{regex:"Opera/(\\d+\\.\\d+)(.+)Version/(\\d+\\.\\d+)(\\.\\d+)?",versionRegex:"new Number(RegExp.$3)",type:[{version:11.1,type:"woff"},{version:10.1,type:"ttf"}]},],browLen=browsers.length,suffix="";n:for(i=0;i<browLen;i++)if(regex=new RegExp(browsers[i].regex),regex.test(navigator.userAgent))for(browserVersion=eval(browsers[i].versionRegex),typeLen=browsers[i].type.length,j=0;j<typeLen;j++)if(browserVersion>=browsers[i].type[j].version)if(browsers[i].unhinted==!0&&(suffix="_unhinted"),webfontType=browsers[i].type[j].type,webfontType!="woff"||woffEnabled)if(webfontType!="svg#wf"||svgEnabled)break n;else continue;else continue;for(/(Macintosh|Android)/.test(navigator.userAgent)&&webfontType!="svg#wf"&&(suffix="_unhinted"),fonts=[{fontFamily:"LubalinGraphStd-Demi",url:wfpath+"2700F5_0"+suffix+"_0."+webfontType},{fontFamily:"LubalinGraphStd-Medium",url:wfpath+"2700F5_1"+suffix+"_0."+webfontType}],len=fonts.length,document.write("<style>"),i=0;i<len;i++)format=webfontType=="svg#wf"?"svg":webfontType=="ttf"?"truetype":webfontType=="eot"?"embedded-opentype":webfontType,urlSuffix=webfontType=="eot"?"?":"",fontface="@font-face{font-family: "+fonts[i].fontFamily+";src:url("+fonts[i].url+urlSuffix+")",fontface+=webfontType=="eot"?' format("'+format+'");':";",document.write(fontface),fonts[i].fontWeight&&document.write("font-weight: "+fonts[i].fontWeight+";"),fonts[i].fontStyle&&document.write("font-style: "+fonts[i].fontStyle+";"),document.write("}");document.write("</style>"),$(function(){function r(n){n.removeClass("in"),$(".nav-item.selected").removeClass("out"),i.not(":animated").slideUp()}function u(n){n.addClass("in"),$(".nav-item.selected").addClass("out"),i.not(":animated").slideDown()}return;var n,i,t}),$(function(){function e(n){n.removeClass("in"),$(".nav-item.selected").removeClass("out"),u.not(":animated").slideUp()}function h(n){n.addClass("in"),$(".nav-item.selected").addClass("out"),u.not(":animated").slideDown()}function o(n){n.removeClass("in"),$(".nav-item.selected").removeClass("out"),f.not(":animated").slideUp()}function s(n){n.addClass("in"),$(".nav-item.selected").addClass("out"),f.not(":animated").slideDown()}var t,u,i,n,f,r;$(".nav-item.products .nav, .nav-item.materials .nav").click(function(){return!1}),u=$("#products-nav"),i=$(".nav-item.products"),i.hover(function(){var n=$(this);t?(clearTimeout(t),t=null):h(i)},function(){var n=$(this);t=setTimeout(function(){e(n),t=null},200)}),u.hover(function(){t&&(clearTimeout(t),t=null),i.addClass("in"),$(".nav-item.selected").addClass("out")},function(){t=setTimeout(function(){e(i),t=null},200)}),f=$("#materials-nav"),r=$(".nav-item.materials"),r.hover(function(){var t=$(this);n?(clearTimeout(n),n=null):s(r)},function(){var t=$(this);n=setTimeout(function(){o(t),n=null},200)}),f.hover(function(){n&&(clearTimeout(n),n=null),r.addClass("in"),$(".nav-item.selected").addClass("out")},function(){n=setTimeout(function(){o(r),n=null},200)})}),$mansonry=null,$(function(){function r(){n!=t&&($mansonry=$(".modules-container").masonry({itemSelector:".modules",columnWidth:310,gutterWidth:20}),$(".modules-container").filter(function(){return $(this).height()==0}).height("auto"))}function i(){if(typeof Sitecore!="undefined"&&Sitecore&&Sitecore.PageModes&&Sitecore.PageModes.PageEditor&&Sitecore.PageModes.PageEditor.setModified){var n=Sitecore.PageModes.PageEditor.setModified;Sitecore.PageModes.PageEditor.setModified=function(t){return t&&($(".modules-container").masonry("reload"),$(".modules-container").filter(function(){return $(this).height()==0}).height("auto")),n.apply(Sitecore.PageModes.PageEditor,arguments)}}}var t="List View",n=getCurrentDisplayMode();r(),i(),$(".modulesImage img").load(function(){n!=t&&$(this).parents(".modules-container").masonry()})}),$(function(){initShareThis(),initArticlePrint(),initSearch(),initVisiterRedirection(),initPhoneNumber(),animationForModules(),addHoverEffectForFilterTags(),hideRelatedContentSection(),addBackgroundColorToArticleSections(),checkIEHover(),animationForModules(),productContentExpand(),initSubmitOnChangeDropDown()}),$(function(){initShareThis(),initArticlePrint(),initSearch(),initVisiterRedirection(),initPhoneNumber(),animationForModules(),addHoverEffectForFilterTags(),hideRelatedContentSection(),addBackgroundColorToArticleSections(),checkIEHover(),animationForModules(),productContentExpand(),initSubmitOnChangeDropDown()}),$(function(){$(".btn-create-spec").click(function(){var n=$(this);n.closest(".create-spec").find(".create-spec-info").slideDown(function(){n.hide(),$mansonry.masonry()}),BlueScope.gaEventTrackForTarget(n)}),$(".specwriter").each(function(){var n=$(this),a=$(".coating .gaugeRadio",n),f=$(".panel a.btn-view-spec",n),v=$(".create-spec",n),l=$(".view-spec",n),d=$(".gaugeRadio",n),y=$(".product-spec",n),t,o;y.click(function(){this.select()});var tt=n.data("specwriterid"),p,i,r,c,u,h,s=function(){return i&&r},e=function(){s()?f.removeClass("disabled"):f.addClass("disabled")},k=function(n,t){p=n,c=t,i=null,u="",a.children().hide(),d.show();var r=$('input[data-gauge="'+n+'"]',a);r.each(function(){var n=$(this);(/msie 7/gi.test(navigator.userAgent)||/msie 8/gi.test(navigator.userAgent))&&n.show(),n.next("label").show()}),r.length==1&&r.prop("checked",!0).trigger("change"),e(),$mansonry.masonry()},g=function(n,t){i=n,u=t,e()},nt=function(n,t){r=n,h=t,e()},w=function(){l.hide(),v.show()},b=function(n){v.hide(),l.show(),y.text(n)};$(".panel .btn-back",n).click(function(n){n.preventDefault(),w(),$mansonry.masonry()}),$(".selectGaugeContent .gaugeRadio input",n).change(function(){k($(this).val(),$(this).data("title"))}),$(".coating .gaugeRadio input",n).change(function(){g($(this).val(),$(this).data("title"))}),t=$(".color-radio input",n),t.change(function(){nt($(this).val(),$(this).data("title")),$(this).parent().find("label").each(function(){$(this).removeClass("selected")}),$(this).next().addClass("selected")}),t.length==1&&t.prop("checked",!0).trigger("change"),f.click(function(n){n.preventDefault(),s()&&(BlueScope.gaEventTrack("Products","Specwriter",$(this).data("event-label"),o($(this).data("event-value"))),$.ajax({type:"POST",url:BlueScope.appendAjaxSuffix("/SpecWriter/Generate"),data:{gaugeId:p,coatingId:i,colourId:r}}).done(function(n){b(n),$mansonry.masonry()}))}),o=function(n){return"Material Type: "+n+"; Gauge: "+c+"; Coating: "+u+"; Colour: "+h}})}),$(function(){var r=!1,n=$(".nav-second"),u=n.height()+5,t,i;n.waypoint("sticky",{stuckClass:"movable"}),t=$("a.nav-second-link",n),i=t.map(function(){return this.hash}).get().join(),$(i).waypoint(function(n){if(!r){var u=this;n=="up"&&(u=$(this).prev(i)[0]||this),t.removeClass("selected"),t.filter("[href=#"+u.id+"]").addClass("selected")}},{offset:u}),$(".nav-second-list li a").click(function(i){i.preventDefault(),r=!0;var f=$(this.hash),u=-n.height()==0?-n.height()*2:-n.height();$(window).scrollTo(f,{duration:BrowserDetect.isTablet?0:500,offset:{top:u},onAfter:function(){r=!1}}),t.removeClass("selected"),$(this).addClass("selected")})}),BlueScope=window.BlueScope||{},BlueScope.UpdateIEGrayscale=function(){var t=!1,n;/*@cc_on/^10/.test(@_jscript_version)&&(t=!0)@*/;if(t)try{n=".modules .modulesImage .modulesImg, img.carousel-image",$(n).each(function(){var n=$(this),i=document.createElementNS("http://www.w3.org/2000/svg","svg"),t,r;i.setAttributeNS(null,"width",n.width()),i.setAttributeNS(null,"height",n.height()),i.setAttributeNS(null,"preserveAspectRatio","none"),i.setAttributeNS(null,"viewbox","0 0 "+n.width()+" "+n.height()),t=document.createElementNS("http://www.w3.org/2000/svg","image"),t.setAttributeNS(null,"width",n.width()),t.setAttributeNS(null,"height",n.height()),t.setAttributeNS("http://www.w3.org/1999/xlink","href",encodeURI(n.attr("src"))),t.setAttributeNS(null,"x","0"),t.setAttributeNS(null,"y","0"),t.setAttributeNS(null,"preserveAspectRatio","none"),n.attr("class")&&(t.className=n.attr("class")),r=$(i),r.css({background:"url("+encodeURI(n.attr("src"))+") no-repeat center center","background-size":n.width()+"px "+n.height()+"px"}),r.append(t),r.replaceAll(n)})}catch(i){}},$(BlueScope.UpdateIEGrayscale)