docs: function(content){
  
  			var html = '';
  
  			html += '<div class="ja_wrap '+backgroundClasses.join(' ')+'">'+
  					'<div class="jAlert '+classes.join(' ')+ '" style="' +styles.join(' ')+ '" id="' +alert.id+ '">'+
  					'<div>';
  
  			if( alert.closeBtn )
  			{
  				html += 		"<div class='closejAlert ja_close";
  				if( alert.closeBtnAlt )
  				{
  					html += ' ja_close_alt';
  				}
                  else if( alert.closeBtnRoundWhite )
                  {
                      html += ' ja_close_round_white';
                  }
                  else if( alert.closeBtnRound )
                  {
                      html += ' ja_close_round';
                  }
  				html += "'>&times;</div>"; //closejAlert has a close handler attached, ja_close is for styling
  			}
  
  			if( alert.title )
  			{
  				html += 		"<div class='ja_title'><div>"+alert.title+"</div></div>";
  			}
  
  			html += 			'<div class="ja_body">'+content;
  
  
  			if( alert.btns )
  			{
  				html += 			'<div class="ja_btn_wrap ';
  
  				if( alert.btnBackground )
  				{
  					html += 		'optBack';
  				}
  
  				html += 			'">';
  			}
  
  			if( typeof alert.btns[0] == 'object' )
  			{
  				$.each(alert.btns, function(index, btn){
  					if( typeof btn == 'object' )
  					{
  						html += 		getBtnHTML(btn);
  					}
  				});
  			}
  			else if( typeof alert.btns == 'object' )
  			{
  				html += 				getBtnHTML(alert.btns);
  			}
  			else if( alert.btns )
  			{
  				console.log('jAlert Config Error: Incorrect value for btns (must be object or array of objects): '+alert.btns);
  			}
  
  			if( alert.btns )
  			{
  				html += 			'</div>';
  			}
  
  			html += 			'</div>'+
  					'</div>'+
  					'</div>'+
  					'</div>';
  
  			var alertHTML = $(html);
  
  			if( alert.replaceOtherAlerts )
  			{
                  var alerts = $('.jAlert:visible');
                  alerts.each(function(){
                      $(this).jAlert().closeAlert();
                  });
  			}
  
  			$('body').append(alertHTML);
  
              //cache instance
  			alert.instance = $('#'+alert.id);
  
              //attach alert object to dom element
              alert.instance[0]['jAlert'] = alert;
  
              //doing this now will prevent it from happening mid-animation
              $('html,body').css('overflow', 'hidden');
  
              //show the new alert
  			alert.animateAlert('show');
  
              //add close button handler
  			if( alert.closeBtn ){
  
  				alert.instance.on('click', '.closejAlert', function(e){
  					e.preventDefault();
  					$(this).parents('.jAlert:first').jAlert().closeAlert();
  					return false;
  				});
  
  			}
  
  			/* Bind mouseup handler to document if this alert has closeOnClick enabled */
  			if( alert.closeOnClick ){
  
  				/* Unbind if already exists */
  				$(document).off('mouseup touchstart', $.fn.jAlert.onMouseUp);
  
  				/* Bind mouseup */
  				$(document).on('mouseup touchstart', $.fn.jAlert.onMouseUp);
  
  			}
  
  			/* Bind on keydown handler to document and if esc was pressed, find all visible jAlerts with that close option enabled and close them */
  			if( alert.closeOnEsc ){
  
  				/* Unbind if already exists */
  				$(document).off('keydown', $.fn.jAlert.onEscKeyDown);
  
  				/* Bind keydown */
  				$(document).on('keydown', $.fn.jAlert.onEscKeyDown);
  
  			}
  
  			/* If there are onOpen callbacks, run them. */
  			if( alert.onOpen )
  			{
  				$.each(alert.onOpen, function(index, onOpen){
  					onOpen(alert.instance);
  				});
  			}
  
  			/* If the alert has an element that should be focused by default */
  			if( alert.autofocus )
  			{
  				alert.instance.find(alert.autofocus).focus();
  			}
  			else
  			{
  				alert.instance.focus();
  			}
              /*
              	Set Auto
              	usage $.jAlert({
              		autoClose : 3500,
              	});
               */
              if(alert.autoClose)
              {
                  $.fn.closeTimer(function()
  				{
                      var currentAlert = $.jAlert('current');
                      if(currentAlert !== false)
                      {
                          currentAlert.closeAlert();
                      }
  				}, alert.autoClose);
              }
  
  			return alert.instance;
  
  		}