function createImages()
	if (conf.guiUseSystemIcons ~= 'on') then -- integrated icons
		btn0Data	= 'iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmNJREFUeNq0lUmqIkEQhsN65YTijCsXulEv4MJ7vD6AR3hn8BK98ADtohd9AHEnuBBERBeCgoiCGwecx84/+kWRVWV3r15AmFlVmV+MmXqezyd9hZj4qdfrPzwez/ubEjVaH2EU+ng8WO/3O4+32431er3yeLlcZH5S8+/VavXD+GR8U8A3HQiAEwoFSEanKmhAGXi3PFYAQyDiMea8wDQpkUiQ3+/nzdvtlhaLhc1rqHit1LDA8ABgQKGSAkDz+Txls1kKhUJsbL1eU7fbpV6vZwFFxRjEEO/0UEVTqRQVCgUKh8NsUJWAkskklUol8vl8NqhuxObxq6Llcjnyer10Op1oMBhQMBjkCCKRCEeBlGiFc3usv5ScQdPpNC9arVYc+nA45BxDAD6fz64cC9gUsLMjkFPD+NM0h8OBlssle455PB7n9EheBSjpdIH1NkPhJD34DiDSIhvRKc4U/BUsPQsw3smpxDsJW9oQ4gRLE9jA+mGASnUFLBUXMNbjWT80LjAsC1jC2Ww2lscCkXUQeZb1L8G6RZmjULIIpw7FDAQCPIfM53MLLEAYtYElJD0s6Gw2o2KxSNFolDKZDB+YWCzGG0ejkQ0stZGI/glut9t8INDPlUqFN8BzrO90Oi6wLobk2Hnuoa1Wi/r9Pn8DELrf76nZbFp3he6Iq93EsvMaRO/WajUql8ucBrybTqfUaDToeDy6wodI75uvjrR4gfl4PKbJZML3BJ53u53Vz3rXCNQJfig1nA2vhwnv9T7XPZUrV9reyrHa+PMTTv9TZ9/qRpSe1P3yi73/qj/T3wIMACfohDWeoqk8AAAAAElFTkSuQmCC'
		btn1Data	= 'iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR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mxmxsy3UCNPBPSMSaXCtdbqCXqjTT1tn7rxVr26+KGtAlcJIGLwjJMga08QQU3leM441CqlU3dMlT/aeIQowmLz6vP16l9fm/qlPwfzYgGSTuuM0z/KMlrLoLZSPL9cunqs73WjtvdxaP2x9O2B6tKlD5Ts6r5vQRTIGHMVYf+lUnZVZeni25XKd0+Nz0D3ll8Q9zyw0jd7j/i5sRcHCg/dz5PbMfGclYGaCsyTKjvXdasy/31j5ZfX7py88v5/fpribW4OxE41Np3JjU+JVOEunhzIY1Steo1K2F5ZCGqXv5iv/3Ym+mLc3P4RYACDwQxefMfYYwAAAABJRU5ErkJggg=='

		local imgType	= 'png'

		btn0		= decodeImage(btn0Data,		imgType, pluginTmpPath)
		btn1		= decodeImage(btn1Data,		imgType, pluginTmpPath)
		btn2		= decodeImage(btn2Data,		imgType, pluginTmpPath)
		btn3		= decodeImage(btn3Data,		imgType, pluginTmpPath)
		btn4		= decodeImage(btn4Data,		imgType, pluginTmpPath)
		btn5		= decodeImage(btn5Data,		imgType, pluginTmpPath)
		btn6		= decodeImage(btn6Data,		imgType, pluginTmpPath)
		btn7		= decodeImage(btn7Data,		imgType, pluginTmpPath)
		btn8		= decodeImage(btn8Data,		imgType, pluginTmpPath)
		btn9		= decodeImage(btn9Data,		imgType, pluginTmpPath)
		btnBlue		= decodeImage(btnBlueData,	imgType, pluginTmpPath)
		btnGreen	= decodeImage(btnGreenData,	imgType, pluginTmpPath)
		btnRed		= decodeImage(btnRedData,	imgType, pluginTmpPath)
		btnYellow	= decodeImage(btnYellowData,	imgType, pluginTmpPath)
		iconOk = nil
		iconMenu = nil
		iconInfo = nil
		iconExit = nil
	else -- neutrino system icons
		-- TODO: get path to icons from build environment
		local systemIconDir = conf.iconSystemPath or '/usr/share/tuxbox/neutrino/icons/'
		local userIconDir = conf.iconUserPath or '/var/tuxbox/icons/'

		local function userIcon(name)
			local candidate = userIconDir .. name
			if H.fileExist(candidate) == true then
				return candidate
			end
			return nil
		end

		local function resolveIcon(name)
			return userIcon(name) or (systemIconDir .. name)
		end

		btn0		= resolveIcon('0.png')
		btn1		= resolveIcon('1.png')
		btn2		= resolveIcon('2.png')
		btn3		= resolveIcon('3.png')
		btn4		= resolveIcon('4.png')
		btn5		= resolveIcon('5.png')
		btn6		= resolveIcon('6.png')
		btn7		= resolveIcon('7.png')
		btn8		= resolveIcon('8.png')
		btn9		= resolveIcon('9.png')
		btnBlue		= resolveIcon('btn_blue.png')
		btnGreen	= resolveIcon('btn_green.png')
		btnRed		= resolveIcon('btn_red.png')
		btnYellow	= resolveIcon('btn_yellow.png')

		local function pickIcon(candidates)
			for _, name in ipairs(candidates) do
				local candidate = userIcon(name)
				if candidate ~= nil then
					return candidate
				end
			end
			for _, name in ipairs(candidates) do
				local path = systemIconDir .. name
				if H.fileExist(path) == true then
					return path
				end
			end
			return nil
		end

		iconOk = pickIcon({
			'ok.png',
			'btn_ok.png'
		})
		iconMenu = pickIcon({
			'menu.png',
			'mainmenue.png'
		})
		iconInfo = pickIcon({
			'info.png',
			'information.png'
		})
		iconExit = pickIcon({
			'home.png',
			'home.jpg',
			'exit.png',
			'power.png',
			'shutdown.png',
			'shutdown.jpg'
		})
	end -- icon types

	local candidates = {
		'/usr/share/tuxbox/neutrino/icons/marker_dialog_off.png',
		'/usr/share/tuxbox/neutrino/icons/marker_lock.png',
		'/usr/share/tuxbox/neutrino/icons/lock.png'
	}
	geoIcon = nil
	for _, path in ipairs(candidates) do
		if H.fileExist(path) == true then
			geoIcon = path
			break
		end
	end
end
