Equity Transaction

Stock Purchase Agreement Generator

Create a comprehensive Stock Purchase Agreement with representations, warranties, closing conditions, and indemnification provisions.

LIVE PREVIEW
Stock Purchase Agreement Auto-saved
`; const blob = new Blob([html], { type: 'text/html' }); const url = URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; a.download = `Stock-Purchase-Agreement-${companyName.replace(/[^a-zA-Z0-9]/g, '-')}-${buyerName.replace(/[^a-zA-Z0-9]/g, '-')}.html`; a.click(); URL.revokeObjectURL(url); showToast('Document downloaded!', 'success'); } function showToast(message, type = '') { const toast = document.getElementById('toast'); toast.textContent = message; toast.className = 'toast' + (type ? ' ' + type : ''); toast.classList.add('show'); setTimeout(() => toast.classList.remove('show'), 3000); } // Initialize document.addEventListener('DOMContentLoaded', () => { updatePreview(); });