<? switch($variable){case 'Cold':$grafica="cold.gif"break;case 'Warm':$grafica="warm.gif"break;case 'Hot':$grafica="hot.gif"break;}?>