parliamentUK.homepageTracking=function(){"use strict";function n(){$("#website-features").length&&$("#website-features a").click(function(n){var t=this;try{pageTracker._trackEvent("homepage-highlight-promo-module","promo-click",$(t).attr("href"))}catch(i){}setTimeout(function(){document.location.href=$(t).attr("href")},200),n.preventDefault()})}function t(){var n=$(".tabs-wrapper div").first();$("a",n).click(function(n){var t=this;try{pageTracker._trackEvent("homepage-news-module","news-item",$(t).attr("href"))}catch(i){}setTimeout(function(){document.location.href=$(t).attr("href")},200),n.preventDefault()})}function i(){$("#followParliamentIconsWrapper a").click(function(n){var t=this,i=$(t).find("span").text();try{pageTracker._trackEvent("homepage-social-media-module",i,$(t).attr("href"))}catch(r){}setTimeout(function(){document.location.href=$(t).attr("href")},200),n.preventDefault()})}function r(){$("#fat-footer a").click(function(n){var t=this,i=$(t).closest("div.six-wide").find("strong a").text();try{pageTracker._trackEvent("homepage-footer-module",i,$(t).attr("href"))}catch(r){}setTimeout(function(){document.location.href=$(t).attr("href")},200),n.preventDefault()})}n(),t(),i(),r()}