$(function () {
	// Page Width function ...
	if ($(window).width() < 1030) {
		$('#wrapper').css({left:'10px'});
		$('body').css({'backgroundPosition':'-90px 0'});
	}
});

/* Track Outbound and Mailto: Links */
jQuery.fn.extend({trackOutbound:function(){$(this).each(function(){var href=$(this).attr('href');if((href.match(/^https?\:/i))&&(!href.match(document.domain))){$(this).click(function(){var extLink=href.replace(/^https?\:\/\//i,'');pageTracker._trackEvent('External','Click',extLink);});}else if(href.match(/^mailto\:/i)){$(this).click(function(){var mailLink=href.replace(/^mailto\:/i,'');pageTracker._trackEvent('Email','Click',mailLink);});}else if(href.match(/\.(zip|exe|pdf|doc*|xls*|ppt*|mp3|flv)$/i)){$(this).click(function(){var extension=(/[.]/.exec(href))?/[^.]+$/.exec(href):undefined;var filePath=href.replace(/^https?\:\/\/(www.)telehealth\.com\//i,'');pageTracker._trackEvent('Download','Click - '+extension,filePath);});}});}});$(function(){$('a').trackOutbound();});
