function extractParamFromUri(b,c){if(b){var b=b.split("#")[0],a=b.split("?");if(a.length!=1){a=decodeURI(a[1]);c+="=";for(var a=a.split("&"),e=0,d;d=a[e];++e)if(d.indexOf(c)===0)return unescape(d.split("=")[1])}}}var _gaq=_gaq||[],_gtp=["_trackPageview"];typeof _gak=="string"&&_gtp.push(window.location.pathname+window.location.search+"&keywords="+encodeURIComponent(_gak)); window.google_analytics_uacct="UA-58683-1";window.google_analytics_domain_name="politics.ie"; _gaq.push(["_setAccount","UA-58683-1"],["_setDomainName","politics.ie"],_gtp,["_trackPageLoadTime"]);(function(){var b=document.createElement("script");b.type="text/javascript";b.async=!0;b.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c)})(); YAHOO.util.Event.onDOMReady(function(){setTimeout(function(){try{FB.Event.subscribe("edge.create",function(a){_gaq.push(["_trackSocial","Facebook","Like",a])}),FB.Event.subscribe("edge.remove",function(a){_gaq.push(["_trackSocial","Facebook","Unlike",a])})}catch(b){}try{twttr.events.bind("tweet",function(a){if(a){var b;a.target&&a.target.nodeName=="IFRAME"&&(b=extractParamFromUri(a.target.src,"url"));_gaq.push(["_trackSocial","Twitter","Tweet",b])}})}catch(c){}},1E3)});