jQuery(function(){
if (jQuery.browser.msie && jQuery.browser.version.substr(0,3) == '7.0') {
	// You are using IE 7.0 and there are some display issues.
} else {
	jQuery("#si-contact").css('display', 'none');
	jQuery("a.btnExpand").click(function () {
					jQuery('a.btnExpand').hide();
 					jQuery("#si-contact").slideToggle("fast");
			 });
}
}); 

// TRACK EXTERNAL LINKAGE
jQuery(document).ready(function($) {
	$('a:not(.popupwindow), a img').filter(function() {
	  var theHref = this; 
	  if (theHref.hostname && theHref.hostname !== location.hostname) {
		  $(theHref).not(".noAutoIcon").addClass("offSite");
		  $(theHref).not(".noAutoLink").attr('target','_blank').bind('click keypress', function(event) {
			  var code=event.charCode || event.keyCode;
			  if (!code || (code && code == 13)) {
				  if(pageTracker){
					  var fixedLink = this.href;
					  fixedLink = fixedLink.replace(/https?:\/\/(.*)/,"$1");
					  fixedLink = '/outgoing/' + fixedLink;
					  pageTracker._trackPageview(fixedLink);
				  };
			  };
		  });
	  };				  
  });

});

