$(function(){
	$('a.externo').each(function(){
		$(this).attr('target','_blank');
	})
	
	// check for placeholder attribute support
    if ($('<input/>').attr('placeholder','')[0].placeholder === undefined || $('<input/>').attr('placeholder','')[0].placeholder == "") {
      // text input placeholder
      $('input[placeholder]')
        .each(function() {
          this.value === ''
            ? this.value = $(this).attr('placeholder')
            : false;
        })
        .live('focusin focusout', function(event) {
          event.type == 'focusout' && this.value === ''
            ? this.value = $(this).attr('placeholder')
            : this.value === $(this).attr('placeholder')
              ? this.value = ''
              : false;
        });
    }

})
