/*Talk-Bot by Wendell Cowart, Copyright(c) 2001-2013, This script may not be used in whole or in part in any form, shape or fashion. All rights reserved.*/ function calculate() { pos=calc_input.search(/[\+|\-|\^\*|\/|x|X]|by|from|and|plus|minus|divided|time|times|multiplied/); len=calc_input.length; first=calc_input.slice(0,pos); second=calc_input.slice(pos,len); fnum=""; snum=""; for (i=0;i