$(document).ready(function(){
    $("a[@href*='http']:not([@href*='" + domain + "'])").click(function(){
        if (typeof(pageTracker) != 'undefined') {
            pageTracker._trackPageview('/outgoing/' + this.href);
        }
    });

    $('#email').focus(function() {
    	$(this).val('');
    });

    $('a.flash').flash(
        { height: 300, width: 400 },
        { version: 8 },
        function(htmlOptions) {
            $this = $(this);
            htmlOptions.src = $this.attr('href');
            $this.empty().before($.fn.flash.transform(htmlOptions));
        }
    );
  });
