






	if (/^teamsite|dcsh|staging|dcdmz|localhost|10\.$/.test(window.location.hostname) == false) {
		var _gaq = _gaq || [];

//primary tracking script
_gaq.push(['_setAccount', 'UA-12908435-1']);
_gaq.push(['_trackPageview']);

//secondary tracking script
_gaq.push(['t2._setAccount', 'UA-12590634-1']);
_gaq.push(['t2._trackPageview']);

(function() {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
})();

if (typeof jQuery != 'undefined') {
	jQuery(document).ready(function($) {
		var filetypes = /\.(zip|exe|pdf|doc*|xls*|ppt*|mp3)$/i;
		$('a').each(function() { 
			var href = $(this).attr('href');     
			if (href && (href.match(/^https?\:/i)) && (!href.match(document.domain))) 
			{
				 $(this).click(function() {
					 var extLink = href.replace(/^https?\:\/\//i, '');
					 _gaq.push(['_trackEvent', 'External', 'Click', extLink]);
					 // FireFox needs timeout
					 if($.browser.mozilla){
						 if ($(this).attr('target') != '_blank') {
							 setTimeout(function() { location.href = href; }, 200);
							 return false;
						 }
					 }
					 else{
						 if ($(this).attr('target') != '_blank') {
						 	location.href = href;
						}
					 }
				 });
			}				
			else if (href && href.match(/^mailto\:/i)) 
			{
				 $(this).click(function() {
					 var mailLink = href.replace(/^mailto\:/i, '');
					 _gaq.push(['_trackEvent', 'Email', 'Click', mailLink]);
				 });
			}				
			else if (href && href.match(filetypes))			 
			{
				 $(this).click(function() 
				 {
					 var extension = (/[.]/.exec(href)) ? /[^.]+$/.exec(href) : undefined;
					 var filePath = href;
					 _gaq.push(['_trackEvent', 'Download', 'Click-' + extension, filePath]);
					 // FireFox needs timeout
					 if($.browser.mozilla){
						 if ($(this).attr('target') != '_blank') 
						 {
							 setTimeout(function() { location.href = href; }, 200);
							 return false;
						 }
					 }
					 else{
						 if ($(this).attr('target') != '_blank') {

                                          location.href = href;

                                    }

					 }
				 });					
			}


		});
	});
}

	}


    


