function cInscription( strDivAttributeName, strContainerTableID ){	// Parameters	this.m_strDivAttributeName = strDivAttributeName;	this.m_strContainerTableID = strContainerTableID;		// Variables	this.m_ctrlContainerTable = null;		// Function that runs when the page loads	//	this.onLoad = function()	{		this.m_ctrlContainerTable = document.getElementById( this.m_strContainerTableID );	};		// Text was changed, refresh the preview	//	this.textChanged = function( strTextBoxID, strPreviewDivID )	{		var divToUpdate = document.getElementById( strPreviewDivID );		var txtBox = document.getElementById( strTextBoxID );		txtBox.value = txtBox.value.toUpperCase();		divToUpdate.innerHTML = txtBox.value;	};	// Clear all text fields	//		this.resetForm = function()	{		var ii = 0;		var inputs = this.m_ctrlContainerTable.getElementsByTagName('input');		var divs = this.m_ctrlContainerTable.getElementsByTagName('div');		// Clear the text entry field				for( ii = 0; ii < inputs.length; ii++ )		{			if( inputs[ii].type == 'text' )			{				inputs[ii].value = '';			}		}				// clear the corresponding div		for( ii = 0; ii < divs.length; ii++ )		{			if( divs[ii].getAttribute( this.m_strDivAttributeName ) == 'true' )			{				divs[ii].innerHTML = '';			}		}	};		// Get a comma separated string representation of all the text fields concatenated together	//		this.getDescription = function()	{		var ii = 0;		var strDescription = '';		var strTmp = '';		var inputs = this.m_ctrlContainerTable.getElementsByTagName("input");		// Clear the text entry field				for( ii = 0; ii < inputs.length; ii++ )		{			if( inputs[ii].type == 'text' )			{				if( ii > 0 ) strDescription += ',';				strTmp = inputs[ii].value;				strTmp = strTmp.replace( '\'', '\x27' );				strTmp = strTmp.replace( '"', '\x22' );				strDescription += '\'' + strTmp + '\'';			}		}		return strDescription;	};	return this;}
