$(document).ready(function() {

  // External links
  regexp_external = new RegExp('^https?://(?!(www.)?(epipen|epicenter|anaphylaxis).com)');
	$('a[href^="http://"]').filter( function(){ return this.href.match(regexp_external) } )
    .click(function(e) {
      var follow = confirm("You are now leaving Dey Pharma, L.P.'s website. The website you are about to access is not owned or controlled by Dey Pharma, L.P.\n\nDEY PHARMA, L.P. ASSUMES NO RESPONSIBILITY FOR, AND MAKES NO REPRESENTATION AS TO THE ACCURACY OF, ANY CONTENT CONTAINED ON THE WEBSITE YOU ARE ABOUT TO ACCESS.");
     	if(follow) {
        	window.open($(this).attr('href'));
			}
			return false;
		});
});