${$('#preview').innerHTML}\n`); w.document.close(); setTimeout(()=>{try{w.focus();w.print();}catch(e){}},300); } function doClear(){ state={effDate:new Date().toISOString().slice(0,10),employer:'',employerAddr:'',employee:'',employeeAddr:'',role:'',bizField:'',duration:12,geoArea:'',nonSolicit:'yes',solicitMonths:12,confidentiality:'yes',gardenLeave:'no',jurisdiction:''}; saveState(); renderForm(); renderPreview(); } function loadExample(){ state={effDate:new Date().toISOString().slice(0,10),employer:'Acme Technologies Inc.',employerAddr:'500 Pine Street, Suite 1200\nSeattle, WA 98101, USA',employee:'Jordan Lee',employeeAddr:'88 Maple Court\nBellevue, WA 98004, USA',role:'Senior Software Engineer',bizField:'cloud-based project management software and related services',duration:12,geoArea:'a 50-mile radius of Seattle, Washington',nonSolicit:'yes',solicitMonths:12,confidentiality:'yes',gardenLeave:'no',jurisdiction:'the State of Washington, United States of America'}; saveState(); renderForm(); renderPreview(); } loadState(); renderForm(); renderPreview(); $('#toolbar').innerHTML = ``; GZ.renderToolPage({ category: 'text', titleKey: 'toolTitle', descKey: 'toolDesc', howToSteps: ['step1','step2','step3','step4'], related: [ {icon:'🔒', href:'/text/nda-generator.html', name:'NDA Generator'}, {icon:'💼', href:'/text/employment-contract.html', name:'Employment Contract'}, {icon:'🤝', href:'/text/partnership-agreement.html', name:'Partnership Agreement'}, {icon:'🏛️', href:'/text/llc-operating-agreement.html', name:'LLC Operating Agreement'}, ] });