// JavaScript Document


var totYearIncome = 0;

function calculateValues()
{


	surveys_day = getCtl('surveys_day123');

	surveys_pay = getCtl('surveys_pay123');

	surveys_unitval = getCtl('surveys_unitval123');

	ctl1 = parseInt(surveys_day.value)*parseInt(surveys_pay.value)*parseInt(surveys_unitval.value);
	
	tot = ctl1;
	
	we = tot;
	
	mo = tot*4;
	
	ye = tot*52;

	week = getCtl('week');

	month = getCtl('month');
	
	year = getCtl('year');
	
	tincome = getCtl('totoincome');
	
	week.value = we+'.00 €';
	
	month.value = mo+'.00 €';
	
	year.value = ye+'.00 €';
	
	tincome.innerHTML = "&nbsp;"+ye+'.00&nbsp;€';

}