// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

jQuery(function($) {
  $("#offers a[href^='https://'].popup").click(function(event) {
    window.open(this.href, 'signup', 'menubar=no, location=no, toolbar=no, scrollbars=yes, height=525, width=550');
    return event.preventDefault();
  });

	$("ul#links_list a[href^='http'], .article a[href^='http']").attr('target','_blank');

  $(function() {
    $("#article_published_at").datepicker();
  });
});
