//formname is the name of form
//subject is the name of subject control
//body is the name of message body control
//compnayid, each company will give a company id.  This is used to find the location
//of custom dictionary
//If you run from your own location, you can just pass custom as the value.
//all custom dictionary will created under this sub directory
//sproxylocation is location of done.asp or done.cgi

//this file will be generated for each customer
function DoSpell(formname, subject, body)
{
	document.SPELLDATA.formname.value=formname
	document.SPELLDATA.subjectname.value=subject
	document.SPELLDATA.messagebodyname.value=body
	
	document.SPELLDATA.companyID.value="custom\\CompuBridge"
	document.SPELLDATA.language.value=1033
        document.SPELLDATA.opener.value="sproxy.asp"
	document.SPELLDATA.formaction.value="startspelling.asp"
	
        window.open("/spell/Initspell.htm","Spell",
		"toolbar=no,directories=no,resizable=yes,width=620,height=600,top=100,left=100")
}


