(function($){Drupal.behaviors.zdFp={attach:function(context){$('#centre-display li, #centre-display li div').hover(function(){$('#first div').hide();$(this).children('div').show();},function(){$(this).children('div').hide();$('#first div').show();});$('#centre-display li').hover(function(){$('#centre-display li#first').removeClass('fp-over');$(this).addClass('fp-over');},function(){$(this).removeClass('fp-over');$('#centre-display li#first').addClass('fp-over');});}};})(jQuery);;(function($){$(document).ready(function(){RegExp.escapeDomains=function(text){return(text)?text.replace(/[-[\]{}()*+?.,\\^$#\s]/g,"\\$&"):'';}
$(document.body).click(function(event){$(event.target).closest("a,area").each(function(){var ga=Drupal.settings.googleanalytics;var isInternal=new RegExp("^(https?):\/\/"+ window.location.host,"i");var isInternalSpecial=new RegExp("(\/go\/.*)$","i");var isDownload=new RegExp("\\.("+ ga.trackDownloadExtensions+")$","i");var isCrossDomain=new RegExp("^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\/.*("+ RegExp.escapeDomains(ga.trackCrossDomains)+")","i");if(isInternal.test(this.href)){if(ga.trackDownload&&isDownload.test(this.href)){var extension=isDownload.exec(this.href);_gaq.push(["_trackEvent","Downloads",extension[1].toUpperCase(),this.href.replace(isInternal,'')]);}
else if(isInternalSpecial.test(this.href)){_gaq.push(["_trackPageview",this.href.replace(isInternal,'')]);}}
else{if(ga.trackMailto&&$(this).is("a[href^=mailto:],area[href^=mailto:]")){_gaq.push(["_trackEvent","Mails","Click",this.href.substring(7)]);}
else if(ga.trackOutbound&&this.href){if(ga.trackDomainMode==2&&isCrossDomain.test(this.href)){_gaq.push(["_link",this.href]);}
else if(ga.trackOutboundAsPageview){_gaq.push(["_trackPageview",'/outbound/'+ this.href.replace(/^(https?|ftp|news|nntp|telnet|irc|ssh|sftp|webcal):\/\//i,'').split('/').join('--')]);}
else{_gaq.push(["_trackEvent","Outbound links","Click",this.href]);}}}});});});})(jQuery);;
