:: avtonorm
<<set $here = 'avtonorm'>>
<<set $ARGS = $location_var[$here]>>
<<if getvar("$car") == 1>>
	<<set $normhour = 20>>

<</if>>
<<if getvar("$car") == 2>>
	<<set $normhour = 20>>

<</if>>
<<if getvar("$car") == 3>>
	<<set $normhour = 20>>

<</if>>
<<if getvar("$car") == 4>>
	<<set $normhour = 20>>

<</if>>
<<if getvar("$car") == 5>>
	<<set $normhour = 20>>

<</if>>
<<if getvar("$car") == 6>>
	<<set $normhour = 20>>

<</if>>
<<if getvar("$car") == 7>>
	<<set $normhour = 20>>

<</if>>
<<if getvar("$car") == 8>>
	<<set $normhour = 20>>

<</if>>
<<if getvar("$car") == 9>>
	<<set $normhour = 15>>

<</if>>
<<if getvar("$car") == 10>>
	<<set $normhour = 18>>

<</if>>
<<if getvar("$car") == 11>>
	<<set $normhour = 15>>

<</if>>
<<if getvar("$car") == 13>>
	<<set $normhour = 15>>

<</if>>
<<if getvar("$car") >= 95>>
	<<set $normhour = 50>>

<</if>>
<<if getvar("$wrek") == 0>>
	<<set $normneed = 0 - ($car['current_condition'] - $car['new_condition'])>>
	<<set $normrem = $normneed * $normhour>>
<<elseif getvar("$wrek") == 1>>
	<<set $normneed = 0 - ($car['current_condition'] - $car['new_condition'])>>
	<<set $normremK = ($normneed * $normhour) * 8>>
<</if>>
