:: $pcs_outfit_image
<<set $here = '$pcs_outfit_image'>>
<<set $ARGS = $location_var[$here]>>
<!-- !! get the image for clothing-->
<!-- !! ARGS 0 - clothing group name-->
<!-- !! ARGS 1 - clothing index-->
<<set $shop_name = mid($ARGS[0],1,STRPOS($ARGS[0],'_')-1)>>
<<set $class_name = mid($ARGS[0],STRPOS($ARGS[0],'_')+1,LEN($ARGS[0])-STRPOS($ARGS[0],'_'))>>
<<if $location_var[$here][0] == 'misc_outfits'>>
	<<set $result = 'pc/items/misc/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'allure_swimsuit'>>
	<<set $result = 'pc/items/allure/one/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'allure_bikinis'>>
	<<set $result = 'pc/items/allure/two/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'scandalicious_swimsuit'>>
	<<set $result = 'pc/items/scandalicious/swim/one/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'scandalicious_bikinis'>>
	<<set $result = 'pc/items/scandalicious/swim/two/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'danilovich_swimsuit'>>
	<<set $result = 'pc/items/danilovich/swimwear/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'market_outfits'>>
	<<set $result = 'pc/items/market/clothes/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'materinstvo_dress'>>
	<<set $result = 'pc/items/mommy/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'nerdvana_bikinis'>>
	<<set $result = 'pc/items/nerdvana/swim/two/'+$location_var[$here][1]+'.jpg'>>
<<elseif $location_var[$here][0] == 'nerdvana_swimsuit'>>
	<<set $result = 'pc/items/nerdvana/swim/one/'+$location_var[$here][1]+'.jpg'>>
<<else>>
	<<set $result = 'images/pc/items/$shop_name/$class_name/ARGS[1].jpg'>>
<</if>>
