${$('#preview').innerHTML}\n`); w.document.close(); setTimeout(()=>{try{w.focus();w.print();}catch(e){}},300); } function doClear(){ state={type:'payQuit',noticeDays:3,effDate:new Date().toISOString().slice(0,10),llName:'',llAddr:'',tName:'',tAddr:'',propAddr:'',reason:'',rentOwed:'',owedThrough:'',jurisdiction:'',delivery:'dPersonal',serveDate:new Date().toISOString().slice(0,10)}; saveState(); renderForm(); renderPreview(); } function loadExample(){ state={type:'payQuit',noticeDays:3,effDate:new Date().toISOString().slice(0,10),llName:'Acme Properties LLC',llAddr:'500 Market Street, Suite 400\nSan Francisco, CA 94105, USA',tName:'Jane Marie Doe',tAddr:'Unit 5B, 12 Birch Lane\nSan Francisco, CA 94110, USA',propAddr:'Unit 5B, 12 Birch Lane\nSan Francisco, CA 94110',reason:'',rentOwed:'2400',owedThrough:new Date().toISOString().slice(0,7)+'-01',jurisdiction:'the State of California, United States of America',delivery:'dPosting',serveDate:new Date().toISOString().slice(0,10)}; 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/lease-agreement.html', name:'Lease Agreement'}, {icon:'📜', href:'/text/rental-application.html', name:'Rental Application'}, {icon:'💼', href:'/text/employment-contract.html', name:'Employment Contract'}, {icon:'🚫', href:'/text/non-compete.html', name:'Non-Compete'}, ] });