Wow thats an impressive script. This isnt an answer but may help you along your way, for the drop down box to select the font you have:

<select name="cardTemplate" onChange="document.getElementById('cardTemplate'). style.fontFamily=this.options[this.selectedIndex].value;"
>

Change it to:

<select name="cardTemplate" onChange="document.getElementById('companyName').s tyle.fontFamily=this.options[this.selectedIndex].value;"
>

Notice i have changed the element id (cardTemplate to companyName), the font will now change on just the company name. Therefor i am guessing there is something wrong with the element id 'cardTemplate'.