function spreadback() { lotsize=document.getElementById('lotsize').value; broker=document.getElementById('broker').value; currency=document.getElementById('currency').value; trades=document.getElementById('trades').value; monthly = lotsize*broker*currency*trades*20; monthly = monthly.toFixed(2); weekly = monthly/4 weekly = weekly.toFixed(2); daily = monthly/20 daily = daily.toFixed(2); document.getElementById('output').innerHTML='<strong>$' + monthly + '</strong>'; document.getElementById('output2').innerHTML='<strong>$' + weekly + '</strong>'; document.getElementById('output3').innerHTML='<strong>$' + daily + '</strong>';} 
