/*
pirean.onBlurFix.js
Created on 02.11.2010
Updated on 16.01.2012

Description:
	Created to remove the onBlur highlighting on hyperlinks

Changelog:
	2012.01.16 - Created CoffeeScript replacement. BSL
	2012.01.13 - Updated code to current jQuery styling. BSL
	2010.11.02 - Created by Ben Leveritt (BSL)
*/
$(function() {
  $('a').each(function() {
    $(this).mousedown(function() {
      this.blur();
      return false;
    });
    $(this).click(function() {
      this.blur();
    });
    if (/msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent)) {
      $(this).onfocus(function() {
        this.blur();
      });
    }
  });
  $('.vidFocus').height($(this).width() * 0.5625);
  console.log('hello');
});

