function formatPhone(Field){
	var V = Field.value;
	if (V.length>=10)
	{
		if (!V.match(/(\d{3})-(\d{3})-(\d{4})/g))
		{
			Field.value = V.substr(0,3)+'-'+V.substr(3,3)+'-'+V.substr(6,4);
		}
	}
	else{
		Field.value = V.replace('-','');
	}

}
