function SpellStarter(textSource)
{
	this.source = textSource;
}

SpellStarter.prototype.StartSpellCheck = function()
{
	window.currentSpellStarter = this;
	
	var iframe = this.SpellFrame();
	iframe.src = "SpellStarter.aspx";
}

SpellStarter.prototype.SpellFrame = function()
{
	var iframe = document.getElementById("spellCheckerIFrame");
	if (iframe == null)
	{
		iframe = document.createElement("IFRAME");
		iframe.src = "javascript:void(0)";
		iframe.style.display = "none";
		iframe.setAttribute("id", "spellCheckerIFrame");
		
		document.body.appendChild(iframe);
	}
	
	return iframe;
}
