function form_sent( link ){
  _gaq.push(['_trackEvent', 'Form Submission', 'Sent', link]);
  //alert( link );
}

$(document).ready(function(){
    // each loop to position the subnav
  $('#menu-main > li').each(function() {
    // w = parent li width
    w = $(this).width() * 1;  // measure width of parent li
    // sw = child/sub ul width
    sw = $('ul', this).width() * 1;  // measure width of child/sub ul
    // d = difference between child/sub ul and parent li
    d = sw - w;  // find difference between child ul and parent li
    d = d * .5;  // divide difference by half
    d = d * -1;  // make difference negative
    // position sub ul
    $('ul', this).css('left', d);
  });
  $('#menu-main .sub-menu li:first-child').addClass('top');
  $('#menu-main .sub-menu li:last-child').addClass('bottom');
  $('#menu-main .sub-menu li:last-child a').css({'border':0,'padding-bottom':0});
  $('.footer .menu-footer-container li:first-child').css('padding-left',0);
  $('.footer .menu-footer-container li:last-child').css('border',0);
  $('.item-list li:last-child').css('border',0);
  $('.toolkit-widget li:last-child a').css('border-bottom','solid 1px #dbdbdb');
});
