function profit3(f1, f2, f3) {
if (f1>1&&f2>1&&f3>1) {
        var sxema=document.getElementById('sxema').innerHTML;

        switch (sxema) {
	case "b_b_b5_" :
	     var profit=b_b_b5_(f1, f2, f3);
	break;
	case "b_b_b5_1x" :
	     var profit=b_b_b5_1x(f1, f2, f3);
	break;
	case "b_b_b50_" :
	     var profit=b_b_b50_(f1, f2, f3);
	break;
	case "b_b_b50pl" :
	     var profit=b_b_b50pl(f1, f2, f3);
	break;
	case "b_b_b5pl" :
	     var profit=b_b_b5pl(f1, f2, f3);
	break;
	case "b_b_b5pl1x" :
	     var profit=b_b_b5pl1x(f1, f2, f3);
	break;
	case "b_b_b5_5pl0" :
	     var profit=b_b_b5_5pl0(f1, f2, f3);
	break;
	case "b_b_b0" :
	     var profit=b_b_b0(f1, f2, f3);
	break;
	case "b_b_b01x" :
	     var profit=b_b_b01x(f1, f2, f3);
	break;
	case "b_b_b3" :
	     var profit=b_b_b3(f1, f2, f3);
	break;
	case "b_b_b32x" :
	     var profit=b_b_b32x(f1, f2, f3);
	break;
	case "b_b_b5_x_5" :
	     var profit=b_b_b5_x_5(f1, f2, f3);
	break;
	}
	return profit;
}
else return false;
}
