function checkApostrophe() 
{
var tmp=document.getElementById(rteName).contentWindow.document.body.innerHTML;
if(tmp.match("'"))
{
var ne=tmp.replace("'","");
alert(ne);
document.getElementById(rteName).contentWindow.document.body.innerHTML=ne;
}
}


function Spe(val)
{
	var newval=""
	var strSpacial="/\~|\!|\'|\#|\$|\%|\^|\&|\*|\+|\;|\<\>\""
	str=val
	ln=str.length;
	for (i=0;i<ln;i++)
	{
		if(str.charAt(i).match("'") || str.charAt(i)=="'")
		{
			newval=newval+"&#8217;";
		}
		else
		{
			newval=newval+str.charAt(i);	
		}
	}
	return newval;
}