function removeMask(str,mask)
{
	rpc = new Array;
	for (x = 0 ; x < mask.length ; x++)
	{
		if (mask.charAt(x) != '9')
		{
			rpc.push(mask.charAt(x));
		}
	}
	for (y=0 ; y < rpc.length;  y++)
	{	
		while(str.indexOf(rpc[y]) != -1)
		{
			str = str.replace( rpc[y], "" );
		}
	}
	return str;
}
