<?php
//get db data first
require_once('sql-arrays.php');
?>
<html>
<?php
//set opacity depending on text fragment order
if($array_pos[239]=='246'){$opacity = 0.25;}
elseif($array_pos[239]=='247'){$opacity = 0.25;}
elseif($array_pos[239]=='248'){$opacity = 0.25;}
elseif($array_pos[239]=='249'){$opacity = 0.25;}
elseif($array_pos[239]=='250'){$opacity = 0.30;}
elseif($array_pos[239]=='251'){$opacity = 0.30;}
elseif($array_pos[239]=='252'){$opacity = 0.35;}
elseif($array_pos[239]=='253'){$opacity = 0.35;}
//set color profile depending on text fragment order and random number
if($array_pos[245]=='246' && round(1/$array_random[245]*100) %2 == 0){
//light blue profile
$pick_c1 = '#0080ff';
$pick_c2 = '#33d6ff';
$pick_c3 = '#ccd9ff';
$background_color = 'rgb(38, 0, 77)';}
elseif($array_pos[245]=='246' && round(1/$array_random[245]*100) %2 !== 0){
//dark blue profile
$pick_c1 = '#002699';
$pick_c2 = '#000080';
$pick_c3 = '#0000e6';
$background_color = 'rgb(0, 0, 51)';}
elseif($array_pos[245]=='247' && round(1/$array_random[245]*100) %2 == 0){
//dark red profile
$pick_c1 = '#991f00';
$pick_c2 = '#ff3300';
$pick_c3 = '#ff0000';
$background_color = 'rgb(77, 0, 0)';}
elseif($array_pos[245]=='247' && round(1/$array_random[245]*100) %2 !== 0){
//light red profile
$pick_c1 = '#e65c00';
$pick_c2 = '#ff8c1a';
$pick_c3 = '#ffad33';
$background_color = 'rgb(102, 0, 0)';}
elseif($array_pos[245]=='248' && round(1/$array_random[245]*100) %2 == 0){
//dark green profile
$pick_c1 = '#006600';
$pick_c2 = '#004d00';
$pick_c3 = '#558000';
$background_color = 'rgb(0, 26, 0)';}
elseif($array_pos[245]=='248' && round(1/$array_random[245]*100) %2 !== 0){
//light green profile
$pick_c1 = '#4dff4d';
$pick_c2 = '#99e600';
$pick_c3 = '#ace600';
$background_color = 'rgb(51, 51, 0)';}
elseif($array_pos[245]=='249' && round(1/$array_random[245]*100) %2 == 0){
//dark violet profile
$pick_c1 = '#8a00e6';
$pick_c2 = '#8600b3';
$pick_c3 = '#600080';
$background_color = 'rgb(51, 0, 51)';}
elseif($array_pos[245]=='249' && round(1/$array_random[245]*100) %2 !== 0){
//light violet profile
$pick_c1 = '#b366ff';
$pick_c2 = '#d11aff';
$pick_c3 = '#e6b3ff';
$background_color = 'rgb(77, 0, 77)';}
elseif($array_pos[245]=='250' && round(1/$array_random[245]*100) %2 == 0){
//light yellow profile
$pick_c1 = '#e6e600';
$pick_c2 = '#ffff99';
$pick_c3 = '#d9ff66';
$background_color = 'rgb(77, 51, 0)';}
elseif($array_pos[245]=='250' && round(1/$array_random[245]*100) %2 !== 0){
//yellow profile
$pick_c1 = '#bfff00';
$pick_c2 = '#ace600';
$pick_c3 = '#ffff00';
$background_color = 'rgb(51, 34, 0)';}
elseif($array_pos[245]=='251' && round(1/$array_random[245]*100) %2 == 0){
//pink profile
$pick_c1 = '#ff3399';
$pick_c2 = '#cc3399';
$pick_c3 = '#a3297a';
$background_color = 'rgb(51, 0, 51)';}
elseif($array_pos[245]=='251' && round(1/$array_random[245]*100) %2 !== 0){
//turquoise profile
$pick_c1 = '#00e6b8';
$pick_c2 = '#00cc99';
$pick_c3 = '#009999';
$background_color = 'rgb(0, 26, 51)';}
elseif($array_pos[245]=='252' && round(1/$array_random[245]*100) %2 == 0){
//orange profile
$pick_c1 = '#ff6600';
$pick_c2 = '#ff5c33';
$pick_c3 = '#ff8533';
$background_color = 'rgb(102, 0, 0)';}
elseif($array_pos[245]=='252' && round(1/$array_random[245]*100) %2 !== 0){
//dark brown profile
$pick_c1 = '#663300';
$pick_c2 = '#b35900';
$pick_c3 = '#805500';
$background_color = 'rgb(26, 13, 0)';}
elseif($array_pos[245]=='253' && round(1/$array_random[245]*100) %2 == 0){
//rose profile
$pick_c1 = '#ff9999';
$pick_c2 = '#ff6666';
$pick_c3 = '#ff80aa';
$background_color = 'rgb(51, 0, 26)';}
elseif($array_pos[245]=='253' && round(1/$array_random[245]*100) %2 !== 0){
//dark pink profile
$pick_c1 = '#b30059';
$pick_c2 = '#cc0044';
$pick_c3 = '#73264d';
$background_color = 'rgb(26, 0, 26)';}
else{
//blank profile
$pick_c1 = 'black';
$pick_c2 = 'black';
$pick_c3 = 'black';
$background_color = 'white';}
//set dominant color within color profile depending on text fragment order
if($array_pos[245]=='246' && round(1/$array_random[245]*100) %2 == 0){
$c1 = $pick_c1;
$c2 = $pick_c2;
$c3 = $pick_c3;
}
elseif($array_pos[245]=='247' && round(1/$array_random[245]*100) %2 == 0){
$c1 = $pick_c3;
$c2 = $pick_c1;
$c3 = $pick_c2;
}
elseif($array_pos[245]=='248' && round(1/$array_random[245]*100) %2 == 0){
$c1 = $pick_c2;
$c2 = $pick_c3;
$c3 = $pick_c1;
}
elseif($array_pos[245]=='249' && round(1/$array_random[245]*100) %2 == 0){
$c1 = $pick_c1;
$c2 = $pick_c3;
$c3 = $pick_c2;
}
elseif($array_pos[245]=='250' && round(1/$array_random[245]*100) %2 == 0){
$c1 = $pick_c2;
$c2 = $pick_c1;
$c3 = $pick_c3;
}
else{
$c1 = $pick_c3;
$c2 = $pick_c2;
$c3 = $pick_c1;
}
//set color per rectangle depending on text fragment order
if($array_unit[0] %2 ==0){$color1 = $c1;}
elseif($array_unit[0] %3 ==0){$color1 = $c2;}
else{$color1 = $c3;}
if($array_unit[1] %2 ==0){$color2 = $c1;}
elseif($array_unit[1] %3 ==0){$color2 = $c2;}
else{$color2 = $c3;}
if($array_unit[2] %2 ==0){$color3 = $c1;}
elseif($array_unit[2] %3 ==0){$color3 = $c2;}
else{$color3 = $c3;}
if($array_unit[3] %2 ==0){$color4 = $c1;}
elseif($array_unit[3] %3 ==0){$color4 = $c2;}
else{$color4 = $c3;}
if($array_unit[4] %2 ==0){$color5 = $c1;}
elseif($array_unit[4] %3 ==0){$color5 = $c2;}
else{$color5 = $c3;}
if($array_unit[5] %2 ==0){$color6 = $c1;}
elseif($array_unit[5] %3 ==0){$color6 = $c2;}
else{$color6 = $c3;}
if($array_unit[6] %2 ==0){$color7 = $c1;}
elseif($array_unit[6] %3 ==0){$color7 = $c2;}
else{$color7 = $c3;}
if($array_unit[7] %2 ==0){$color8 = $c1;}
elseif($array_unit[7] %3 ==0){$color8 = $c2;}
else{$color8 = $c3;}
if($array_unit[8] %2 ==0){$color9 = $c1;}
elseif($array_unit[8] %3 ==0){$color9 = $c2;}
else{$color9 = $c3;}
if($array_unit[9] %2 ==0){$color10 = $c1;}
elseif($array_unit[9] %3 ==0){$color10 = $c2;}
else{$color10 = $c3;}
if($array_unit[10] %2 ==0){$color11 = $c1;}
elseif($array_unit[10] %3 ==0){$color11 = $c2;}
else{$color11 = $c3;}
if($array_unit[11] %2 ==0){$color12 = $c1;}
elseif($array_unit[11] %3 ==0){$color12 = $c2;}
else{$color12 = $c3;}
if($array_unit[12] %2 ==0){$color13 = $c1;}
elseif($array_unit[12] %3 ==0){$color13 = $c2;}
else{$color13 = $c3;}
if($array_unit[13] %2 ==0){$color14 = $c1;}
elseif($array_unit[13] %3 ==0){$color14 = $c2;}
else{$color14 = $c3;}
if($array_unit[14] %2 ==0){$color15 = $c1;}
elseif($array_unit[14] %3 ==0){$color15 = $c2;}
else{$color15 = $c3;}
if($array_unit[15] %2 ==0){$color16 = $c1;}
elseif($array_unit[15] %3 ==0){$color16 = $c2;}
else{$color16 = $c3;}
if($array_unit[16] %2 ==0){$color17 = $c1;}
elseif($array_unit[16] %3 ==0){$color17 = $c2;}
else{$color17 = $c3;}
if($array_unit[17] %2 ==0){$color18 = $c1;}
elseif($array_unit[17] %3 ==0){$color18 = $c2;}
else{$color18 = $c3;}
if($array_unit[18] %2 ==0){$color19 = $c1;}
elseif($array_unit[18] %3 ==0){$color19 = $c2;}
else{$color19 = $c3;}
if($array_unit[19] %2 ==0){$color20 = $c1;}
elseif($array_unit[19] %3 ==0){$color20 = $c2;}
else{$color20 = $c3;}
if($array_unit[20] %2 ==0){$color21 = $c1;}
elseif($array_unit[20] %3 ==0){$color21 = $c2;}
else{$color21 = $c3;}
if($array_unit[21] %2 ==0){$color22 = $c1;}
elseif($array_unit[21] %3 ==0){$color22 = $c2;}
else{$color22 = $c3;}
if($array_unit[22] %2 ==0){$color23 = $c1;}
elseif($array_unit[22] %3 ==0){$color23 = $c2;}
else{$color23 = $c3;}
if($array_unit[23] %2 ==0){$color24 = $c1;}
elseif($array_unit[23] %3 ==0){$color24 = $c2;}
else{$color24 = $c3;}
if($array_unit[24] %2 ==0){$color25 = $c1;}
elseif($array_unit[24] %3 ==0){$color25 = $c2;}
else{$color25 = $c3;}
if($array_unit[25] %2 ==0){$color26 = $c1;}
elseif($array_unit[25] %3 ==0){$color26 = $c2;}
else{$color26 = $c3;}
if($array_unit[26] %2 ==0){$color27 = $c1;}
elseif($array_unit[26] %3 ==0){$color27 = $c2;}
else{$color27 = $c3;}
if($array_unit[27] %2 ==0){$color28 = $c1;}
elseif($array_unit[27] %3 ==0){$color28 = $c2;}
else{$color28 = $c3;}
if($array_unit[28] %2 ==0){$color29 = $c1;}
elseif($array_unit[28] %3 ==0){$color29 = $c2;}
else{$color29 = $c3;}
if($array_unit[29] %2 ==0){$color30 = $c1;}
elseif($array_unit[29] %3 ==0){$color30 = $c2;}
else{$color30 = $c3;}
if($array_unit[30] %2 ==0){$color31 = $c1;}
elseif($array_unit[30] %3 ==0){$color31 = $c2;}
else{$color31 = $c3;}
if($array_unit[31] %2 ==0){$color32 = $c1;}
elseif($array_unit[31] %3 ==0){$color32 = $c2;}
else{$color32 = $c3;}
if($array_unit[32] %2 ==0){$color33 = $c1;}
elseif($array_unit[32] %3 ==0){$color33 = $c2;}
else{$color33 = $c3;}
if($array_unit[33] %2 ==0){$color34 = $c1;}
elseif($array_unit[33] %3 ==0){$color34 = $c2;}
else{$color34 = $c3;}
if($array_unit[34] %2 ==0){$color35 = $c1;}
elseif($array_unit[34] %3 ==0){$color35 = $c2;}
else{$color35 = $c3;}
if($array_unit[35] %2 ==0){$color36 = $c1;}
elseif($array_unit[35] %3 ==0){$color36 = $c2;}
else{$color36 = $c3;}
if($array_unit[36] %2 ==0){$color37 = $c1;}
elseif($array_unit[36] %3 ==0){$color37 = $c2;}
else{$color37 = $c3;}
if($array_unit[37] %2 ==0){$color38 = $c1;}
elseif($array_unit[37] %3 ==0){$color38 = $c2;}
else{$color38 = $c3;}
if($array_unit[38] %2 ==0){$color39 = $c1;}
elseif($array_unit[38] %3 ==0){$color39 = $c2;}
else{$color39 = $c3;}
if($array_unit[39] %2 ==0){$color40 = $c1;}
elseif($array_unit[39] %3 ==0){$color40 = $c2;}
else{$color40 = $c3;}
if($array_unit[40] %2 ==0){$color41 = $c1;}
elseif($array_unit[40] %3 ==0){$color41 = $c2;}
else{$color41 = $c3;}
if($array_unit[41] %2 ==0){$color42 = $c1;}
elseif($array_unit[41] %3 ==0){$color42 = $c2;}
else{$color42 = $c3;}
if($array_unit[42] %2 ==0){$color43 = $c1;}
elseif($array_unit[42] %3 ==0){$color43 = $c2;}
else{$color43 = $c3;}
if($array_unit[43] %2 ==0){$color44 = $c1;}
elseif($array_unit[43] %3 ==0){$color44 = $c2;}
else{$color44 = $c3;}
if($array_unit[44] %2 ==0){$color45 = $c1;}
elseif($array_unit[44] %3 ==0){$color45 = $c2;}
else{$color45 = $c3;}
if($array_unit[45] %2 ==0){$color46 = $c1;}
elseif($array_unit[45] %3 ==0){$color46 = $c2;}
else{$color46 = $c3;}
if($array_unit[46] %2 ==0){$color47 = $c1;}
elseif($array_unit[46] %3 ==0){$color47 = $c2;}
else{$color47 = $c3;}
if($array_unit[47] %2 ==0){$color48 = $c1;}
elseif($array_unit[47] %3 ==0){$color48 = $c2;}
else{$color48 = $c3;}
if($array_unit[48] %2 ==0){$color49 = $c1;}
elseif($array_unit[48] %3 ==0){$color49 = $c2;}
else{$color49 = $c3;}
if($array_unit[49] %2 ==0){$color50 = $c1;}
elseif($array_unit[49] %3 ==0){$color50 = $c2;}
else{$color50 = $c3;}
if($array_unit[50] %2 ==0){$color51 = $c1;}
elseif($array_unit[50] %3 ==0){$color51 = $c2;}
else{$color51 = $c3;}
if($array_unit[51] %2 ==0){$color52 = $c1;}
elseif($array_unit[51] %3 ==0){$color52 = $c2;}
else{$color52 = $c3;}
if($array_unit[52] %2 ==0){$color53 = $c1;}
elseif($array_unit[52] %3 ==0){$color53 = $c2;}
else{$color53 = $c3;}
if($array_unit[53] %2 ==0){$color54 = $c1;}
elseif($array_unit[53] %3 ==0){$color54 = $c2;}
else{$color54 = $c3;}
if($array_unit[54] %2 ==0){$color55 = $c1;}
elseif($array_unit[54] %3 ==0){$color55 = $c2;}
else{$color55 = $c3;}
if($array_unit[55] %2 ==0){$color56 = $c1;}
elseif($array_unit[55] %3 ==0){$color56 = $c2;}
else{$color56 = $c3;}
if($array_unit[56] %2 ==0){$color57 = $c1;}
elseif($array_unit[56] %3 ==0){$color57 = $c2;}
else{$color57 = $c3;}
if($array_unit[57] %2 ==0){$color58 = $c1;}
elseif($array_unit[57] %3 ==0){$color58 = $c2;}
else{$color58 = $c3;}
if($array_unit[58] %2 ==0){$color59 = $c1;}
elseif($array_unit[58] %3 ==0){$color59 = $c2;}
else{$color59 = $c3;}
if($array_unit[59] %2 ==0){$color60 = $c1;}
elseif($array_unit[59] %3 ==0){$color60 = $c2;}
else{$color60 = $c3;}
if($array_unit[60] %2 ==0){$color61 = $c1;}
elseif($array_unit[60] %3 ==0){$color61 = $c2;}
else{$color61 = $c3;}
if($array_unit[61] %2 ==0){$color62 = $c1;}
elseif($array_unit[61] %3 ==0){$color62 = $c2;}
else{$color62 = $c3;}
if($array_unit[62] %2 ==0){$color63 = $c1;}
elseif($array_unit[62] %3 ==0){$color63 = $c2;}
else{$color63 = $c3;}
if($array_unit[63] %2 ==0){$color64 = $c1;}
elseif($array_unit[63] %3 ==0){$color64 = $c2;}
else{$color64 = $c3;}
if($array_unit[64] %2 ==0){$color65 = $c1;}
elseif($array_unit[64] %3 ==0){$color65 = $c2;}
else{$color65 = $c3;}
if($array_unit[65] %2 ==0){$color66 = $c1;}
elseif($array_unit[65] %3 ==0){$color66 = $c2;}
else{$color66 = $c3;}
if($array_unit[66] %2 ==0){$color67 = $c1;}
elseif($array_unit[66] %3 ==0){$color67 = $c2;}
else{$color67 = $c3;}
if($array_unit[67] %2 ==0){$color68 = $c1;}
elseif($array_unit[67] %3 ==0){$color68 = $c2;}
else{$color68 = $c3;}
if($array_unit[68] %2 ==0){$color69 = $c1;}
elseif($array_unit[68] %3 ==0){$color69 = $c2;}
else{$color69 = $c3;}
if($array_unit[69] %2 ==0){$color70 = $c1;}
elseif($array_unit[69] %3 ==0){$color70 = $c2;}
else{$color70 = $c3;}
if($array_unit[70] %2 ==0){$color71 = $c1;}
elseif($array_unit[70] %3 ==0){$color71 = $c2;}
else{$color71 = $c3;}
if($array_unit[71] %2 ==0){$color72 = $c1;}
elseif($array_unit[71] %3 ==0){$color72 = $c2;}
else{$color72 = $c3;}
if($array_unit[72] %2 ==0){$color73 = $c1;}
elseif($array_unit[72] %3 ==0){$color73 = $c2;}
else{$color73 = $c3;}
if($array_unit[73] %2 ==0){$color74 = $c1;}
elseif($array_unit[73] %3 ==0){$color74 = $c2;}
else{$color74 = $c3;}
if($array_unit[74] %2 ==0){$color75 = $c1;}
elseif($array_unit[74] %3 ==0){$color75 = $c2;}
else{$color75 = $c3;}
if($array_unit[75] %2 ==0){$color76 = $c1;}
elseif($array_unit[75] %3 ==0){$color76 = $c2;}
else{$color76 = $c3;}
if($array_unit[76] %2 ==0){$color77 = $c1;}
elseif($array_unit[76] %3 ==0){$color77 = $c2;}
else{$color77 = $c3;}
if($array_unit[77] %2 ==0){$color78 = $c1;}
elseif($array_unit[77] %3 ==0){$color78 = $c2;}
else{$color78 = $c3;}
if($array_unit[78] %2 ==0){$color79 = $c1;}
elseif($array_unit[78] %3 ==0){$color79 = $c2;}
else{$color79 = $c3;}
if($array_unit[79] %2 ==0){$color80 = $c1;}
elseif($array_unit[79] %3 ==0){$color80 = $c2;}
else{$color80 = $c3;}
if($array_unit[80] %2 ==0){$color81 = $c1;}
elseif($array_unit[80] %3 ==0){$color81 = $c2;}
else{$color81 = $c3;}
if($array_unit[81] %2 ==0){$color82 = $c1;}
elseif($array_unit[81] %3 ==0){$color82 = $c2;}
else{$color82 = $c3;}
if($array_unit[82] %2 ==0){$color83 = $c1;}
elseif($array_unit[82] %3 ==0){$color83 = $c2;}
else{$color83 = $c3;}
if($array_unit[83] %2 ==0){$color84 = $c1;}
elseif($array_unit[83] %3 ==0){$color84 = $c2;}
else{$color84 = $c3;}
if($array_unit[84] %2 ==0){$color85 = $c1;}
elseif($array_unit[84] %3 ==0){$color85 = $c2;}
else{$color85 = $c3;}
if($array_unit[85] %2 ==0){$color86 = $c1;}
elseif($array_unit[85] %3 ==0){$color86 = $c2;}
else{$color86 = $c3;}
if($array_unit[86] %2 ==0){$color87 = $c1;}
elseif($array_unit[86] %3 ==0){$color87 = $c2;}
else{$color87 = $c3;}
if($array_unit[87] %2 ==0){$color88 = $c1;}
elseif($array_unit[87] %3 ==0){$color88 = $c2;}
else{$color88 = $c3;}
if($array_unit[88] %2 ==0){$color89 = $c1;}
elseif($array_unit[88] %3 ==0){$color89 = $c2;}
else{$color89 = $c3;}
if($array_unit[89] %2 ==0){$color90 = $c1;}
elseif($array_unit[89] %3 ==0){$color90 = $c2;}
else{$color90 = $c3;}
if($array_unit[90] %2 ==0){$color91 = $c1;}
elseif($array_unit[90] %3 ==0){$color91 = $c2;}
else{$color91 = $c3;}
if($array_unit[91] %2 ==0){$color92 = $c1;}
elseif($array_unit[91] %3 ==0){$color92 = $c2;}
else{$color92 = $c3;}
if($array_unit[92] %2 ==0){$color93 = $c1;}
elseif($array_unit[92] %3 ==0){$color93 = $c2;}
else{$color93 = $c3;}
if($array_unit[93] %2 ==0){$color94 = $c1;}
elseif($array_unit[93] %3 ==0){$color94 = $c2;}
else{$color94 = $c3;}
if($array_unit[94] %2 ==0){$color95 = $c1;}
elseif($array_unit[94] %3 ==0){$color95 = $c2;}
else{$color95 = $c3;}
if($array_unit[95] %2 ==0){$color96 = $c1;}
elseif($array_unit[95] %3 ==0){$color96 = $c2;}
else{$color96 = $c3;}
if($array_unit[96] %2 ==0){$color97 = $c1;}
elseif($array_unit[96] %3 ==0){$color97 = $c2;}
else{$color97 = $c3;}
if($array_unit[97] %2 ==0){$color98 = $c1;}
elseif($array_unit[97] %3 ==0){$color98 = $c2;}
else{$color98 = $c3;}
if($array_unit[98] %2 ==0){$color99 = $c1;}
elseif($array_unit[98] %3 ==0){$color99 = $c2;}
else{$color99 = $c3;}
if($array_unit[99] %2 ==0){$color100 = $c1;}
elseif($array_unit[98] %3 ==0){$color100 = $c2;}
else{$color100 = $c3;}
if($array_unit[100] %2 ==0){$color101 = $c1;}
elseif($array_unit[100] %3 ==0){$color101 = $c2;}
else{$color101 = $c3;}
if($array_unit[101] %2 ==0){$color102 = $c1;}
elseif($array_unit[101] %3 ==0){$color102 = $c2;}
else{$color102 = $c3;}
if($array_unit[102] %2 ==0){$color103 = $c1;}
elseif($array_unit[102] %3 ==0){$color103 = $c2;}
else{$color103 = $c3;}
if($array_unit[103] %2 ==0){$color104 = $c1;}
elseif($array_unit[103] %3 ==0){$color104 = $c2;}
else{$color104 = $c3;}
if($array_unit[104] %2 ==0){$color105 = $c1;}
elseif($array_unit[104] %3 ==0){$color105 = $c2;}
else{$color105 = $c3;}
if($array_unit[105] %2 ==0){$color106 = $c1;}
elseif($array_unit[105] %3 ==0){$color106 = $c2;}
else{$color106 = $c3;}
if($array_unit[106] %2 ==0){$color107 = $c1;}
elseif($array_unit[106] %3 ==0){$color107 = $c2;}
else{$color107 = $c3;}
if($array_unit[107] %2 ==0){$color108 = $c1;}
elseif($array_unit[107] %3 ==0){$color108 = $c2;}
else{$color108 = $c3;}
if($array_unit[108] %2 ==0){$color109 = $c1;}
elseif($array_unit[108] %3 ==0){$color109 = $c2;}
else{$color109 = $c3;}
if($array_unit[109] %2 ==0){$color110 = $c1;}
elseif($array_unit[109] %3 ==0){$color110 = $c2;}
else{$color110 = $c3;}
if($array_unit[110] %2 ==0){$color111 = $c1;}
elseif($array_unit[110] %3 ==0){$color111 = $c2;}
else{$color111 = $c3;}
if($array_unit[111] %2 ==0){$color112 = $c1;}
elseif($array_unit[111] %3 ==0){$color112 = $c2;}
else{$color112 = $c3;}
if($array_unit[112] %2 ==0){$color113 = $c1;}
elseif($array_unit[112] %3 ==0){$color113 = $c2;}
else{$color113 = $c3;}
if($array_unit[113] %2 ==0){$color114 = $c1;}
elseif($array_unit[113] %3 ==0){$color114 = $c2;}
else{$color114 = $c3;}
if($array_unit[114] %2 ==0){$color115 = $c1;}
elseif($array_unit[114] %3 ==0){$color115 = $c2;}
else{$color115 = $c3;}
if($array_unit[115] %2 ==0){$color116 = $c1;}
elseif($array_unit[115] %3 ==0){$color116 = $c2;}
else{$color116 = $c3;}
if($array_unit[116] %2 ==0){$color117 = $c1;}
elseif($array_unit[116] %3 ==0){$color117 = $c2;}
else{$color117 = $c3;}
if($array_unit[117] %2 ==0){$color118 = $c1;}
elseif($array_unit[117] %3 ==0){$color118 = $c2;}
else{$color118 = $c3;}
if($array_unit[118] %2 ==0){$color119 = $c1;}
elseif($array_unit[118] %3 ==0){$color119 = $c2;}
else{$color119 = $c3;}
if($array_unit[119] %2 ==0){$color120 = $c1;}
elseif($array_unit[119] %3 ==0){$color120 = $c2;}
else{$color120 = $c3;}
if($array_unit[120] %2 ==0){$color121 = $c1;}
elseif($array_unit[120] %3 ==0){$color121 = $c2;}
else{$color121 = $c3;}
if($array_unit[121] %2 ==0){$color122 = $c1;}
elseif($array_unit[121] %3 ==0){$color122 = $c2;}
else{$color122 = $c3;}
if($array_unit[122] %2 ==0){$color123 = $c1;}
elseif($array_unit[122] %3 ==0){$color123 = $c2;}
else{$color123 = $c3;}
if($array_unit[123] %2 ==0){$color124 = $c1;}
elseif($array_unit[123] %3 ==0){$color124 = $c2;}
else{$color124 = $c3;}
if($array_unit[124] %2 ==0){$color125 = $c1;}
elseif($array_unit[124] %3 ==0){$color125 = $c2;}
else{$color125 = $c3;}
if($array_unit[125] %2 ==0){$color126 = $c1;}
elseif($array_unit[125] %3 ==0){$color126 = $c2;}
else{$color126 = $c3;}
if($array_unit[126] %2 ==0){$color127 = $c1;}
elseif($array_unit[126] %3 ==0){$color127 = $c2;}
else{$color127 = $c3;}
if($array_unit[127] %2 ==0){$color128 = $c1;}
elseif($array_unit[127] %3 ==0){$color128 = $c2;}
else{$color128 = $c3;}
if($array_unit[128] %2 ==0){$color129 = $c1;}
elseif($array_unit[128] %3 ==0){$color129 = $c2;}
else{$color129 = $c3;}
if($array_unit[129] %2 ==0){$color130 = $c1;}
elseif($array_unit[129] %3 ==0){$color130 = $c2;}
else{$color130 = $c3;}
if($array_unit[130] %2 ==0){$color131 = $c1;}
elseif($array_unit[130] %3 ==0){$color131 = $c2;}
else{$color131 = $c3;}
if($array_unit[131] %2 ==0){$color132 = $c1;}
elseif($array_unit[131] %3 ==0){$color132 = $c2;}
else{$color132 = $c3;}
if($array_unit[132] %2 ==0){$color133 = $c1;}
elseif($array_unit[132] %3 ==0){$color133 = $c2;}
else{$color133 = $c3;}
if($array_unit[133] %2 ==0){$color134 = $c1;}
elseif($array_unit[133] %3 ==0){$color134 = $c2;}
else{$color134 = $c3;}
if($array_unit[134] %2 ==0){$color135 = $c1;}
elseif($array_unit[134] %3 ==0){$color135 = $c2;}
else{$color135 = $c3;}
if($array_unit[135] %2 ==0){$color136 = $c1;}
elseif($array_unit[135] %3 ==0){$color136 = $c2;}
else{$color136 = $c3;}
if($array_unit[136] %2 ==0){$color137 = $c1;}
elseif($array_unit[136] %3 ==0){$color137 = $c2;}
else{$color137 = $c3;}
if($array_unit[137] %2 ==0){$color138 = $c1;}
elseif($array_unit[137] %3 ==0){$color138 = $c2;}
else{$color138 = $c3;}
if($array_unit[138] %2 ==0){$color139 = $c1;}
elseif($array_unit[138] %3 ==0){$color139 = $c2;}
else{$color139 = $c3;}
if($array_unit[139] %2 ==0){$color140 = $c1;}
elseif($array_unit[139] %3 ==0){$color140 = $c2;}
else{$color140 = $c3;}
if($array_unit[140] %2 ==0){$color141 = $c1;}
elseif($array_unit[140] %3 ==0){$color141 = $c2;}
else{$color141 = $c3;}
if($array_unit[141] %2 ==0){$color142 = $c1;}
elseif($array_unit[141] %3 ==0){$color142 = $c2;}
else{$color142 = $c3;}
if($array_unit[142] %2 ==0){$color143 = $c1;}
elseif($array_unit[142] %3 ==0){$color143 = $c2;}
else{$color143 = $c3;}
if($array_unit[143] %2 ==0){$color144 = $c1;}
elseif($array_unit[143] %3 ==0){$color144 = $c2;}
else{$color144 = $c3;}
if($array_unit[144] %2 ==0){$color145 = $c1;}
elseif($array_unit[144] %3 ==0){$color145 = $c2;}
else{$color145 = $c3;}
if($array_unit[145] %2 ==0){$color146 = $c1;}
elseif($array_unit[145] %3 ==0){$color146 = $c2;}
else{$color146 = $c3;}
if($array_unit[146] %2 ==0){$color147 = $c1;}
elseif($array_unit[146] %3 ==0){$color147 = $c2;}
else{$color147 = $c3;}
if($array_unit[147] %2 ==0){$color148 = $c1;}
elseif($array_unit[147] %3 ==0){$color148 = $c2;}
else{$color148 = $c3;}
if($array_unit[148] %2 ==0){$color149 = $c1;}
elseif($array_unit[148] %3 ==0){$color149 = $c2;}
else{$color149 = $c3;}
if($array_unit[149] %2 ==0){$color150 = $c1;}
elseif($array_unit[149] %3 ==0){$color150 = $c2;}
else{$color150 = $c3;}
if($array_unit[150] %2 ==0){$color151 = $c1;}
elseif($array_unit[150] %3 ==0){$color151 = $c2;}
else{$color151 = $c3;}
if($array_unit[151] %2 ==0){$color152 = $c1;}
elseif($array_unit[151] %3 ==0){$color152 = $c2;}
else{$color152 = $c3;}
if($array_unit[152] %2 ==0){$color153 = $c1;}
elseif($array_unit[152] %3 ==0){$color153 = $c2;}
else{$color153 = $c3;}
if($array_unit[153] %2 ==0){$color154 = $c1;}
elseif($array_unit[153] %3 ==0){$color154 = $c2;}
else{$color154 = $c3;}
if($array_unit[154] %2 ==0){$color155 = $c1;}
elseif($array_unit[154] %3 ==0){$color155 = $c2;}
else{$color155 = $c3;}
if($array_unit[155] %2 ==0){$color156 = $c1;}
elseif($array_unit[155] %3 ==0){$color156 = $c2;}
else{$color156 = $c3;}
if($array_unit[156] %2 ==0){$color157 = $c1;}
elseif($array_unit[156] %3 ==0){$color157 = $c2;}
else{$color157 = $c3;}
if($array_unit[157] %2 ==0){$color158 = $c1;}
elseif($array_unit[157] %3 ==0){$color158 = $c2;}
else{$color158 = $c3;}
if($array_unit[158] %2 ==0){$color159 = $c1;}
elseif($array_unit[158] %3 ==0){$color159 = $c2;}
else{$color159 = $c3;}
if($array_unit[159] %2 ==0){$color160 = $c1;}
elseif($array_unit[159] %3 ==0){$color160 = $c2;}
else{$color160 = $c3;}
if($array_unit[160] %2 ==0){$color161 = $c1;}
elseif($array_unit[160] %3 ==0){$color161 = $c2;}
else{$color161 = $c3;}
if($array_unit[161] %2 ==0){$color162 = $c1;}
elseif($array_unit[161] %3 ==0){$color162 = $c2;}
else{$color162 = $c3;}
if($array_unit[162] %2 ==0){$color163 = $c1;}
elseif($array_unit[162] %3 ==0){$color163 = $c2;}
else{$color163 = $c3;}
if($array_unit[163] %2 ==0){$color164 = $c1;}
elseif($array_unit[163] %3 ==0){$color164 = $c2;}
else{$color164 = $c3;}
if($array_unit[164] %2 ==0){$color165 = $c1;}
elseif($array_unit[164] %3 ==0){$color165 = $c2;}
else{$color165 = $c3;}
if($array_unit[165] %2 ==0){$color166 = $c1;}
elseif($array_unit[165] %3 ==0){$color166 = $c2;}
else{$color166 = $c3;}
if($array_unit[166] %2 ==0){$color167 = $c1;}
elseif($array_unit[166] %3 ==0){$color167 = $c2;}
else{$color167 = $c3;}
if($array_unit[167] %2 ==0){$color168 = $c1;}
elseif($array_unit[167] %3 ==0){$color168 = $c2;}
else{$color168 = $c3;}
if($array_unit[168] %2 ==0){$color169 = $c1;}
elseif($array_unit[168] %3 ==0){$color169 = $c2;}
else{$color169 = $c3;}
if($array_unit[169] %2 ==0){$color170 = $c1;}
elseif($array_unit[169] %3 ==0){$color170 = $c2;}
else{$color170 = $c3;}
if($array_unit[170] %2 ==0){$color171 = $c1;}
elseif($array_unit[170] %3 ==0){$color171 = $c2;}
else{$color171 = $c3;}
if($array_unit[171] %2 ==0){$color172 = $c1;}
elseif($array_unit[171] %3 ==0){$color172 = $c2;}
else{$color172 = $c3;}
if($array_unit[172] %2 ==0){$color173 = $c1;}
elseif($array_unit[172] %3 ==0){$color173 = $c2;}
else{$color173 = $c3;}
if($array_unit[173] %2 ==0){$color174 = $c1;}
elseif($array_unit[173] %3 ==0){$color174 = $c2;}
else{$color174 = $c3;}
if($array_unit[174] %2 ==0){$color175 = $c1;}
elseif($array_unit[174] %3 ==0){$color175 = $c2;}
else{$color175 = $c3;}
if($array_unit[175] %2 ==0){$color176 = $c1;}
elseif($array_unit[175] %3 ==0){$color176 = $c2;}
else{$color176 = $c3;}
if($array_unit[176] %2 ==0){$color177 = $c1;}
elseif($array_unit[176] %3 ==0){$color177 = $c2;}
else{$color177 = $c3;}
if($array_unit[177] %2 ==0){$color178 = $c1;}
elseif($array_unit[177] %3 ==0){$color178 = $c2;}
else{$color178 = $c3;}
if($array_unit[178] %2 ==0){$color179 = $c1;}
elseif($array_unit[178] %3 ==0){$color179 = $c2;}
else{$color179 = $c3;}
if($array_unit[179] %2 ==0){$color180 = $c1;}
elseif($array_unit[179] %3 ==0){$color180 = $c2;}
else{$color180 = $c3;}
if($array_unit[180] %2 ==0){$color181 = $c1;}
elseif($array_unit[180] %3 ==0){$color181 = $c2;}
else{$color181 = $c3;}
if($array_unit[181] %2 ==0){$color182 = $c1;}
elseif($array_unit[181] %3 ==0){$color182 = $c2;}
else{$color182 = $c3;}
if($array_unit[182] %2 ==0){$color183 = $c1;}
elseif($array_unit[182] %3 ==0){$color183 = $c2;}
else{$color183 = $c3;}
if($array_unit[183] %2 ==0){$color184 = $c1;}
elseif($array_unit[183] %3 ==0){$color184 = $c2;}
else{$color184 = $c3;}
if($array_unit[184] %2 ==0){$color185 = $c1;}
elseif($array_unit[184] %3 ==0){$color185 = $c2;}
else{$color185 = $c3;}
if($array_unit[185] %2 ==0){$color186 = $c1;}
elseif($array_unit[185] %3 ==0){$color186 = $c2;}
else{$color186 = $c3;}
if($array_unit[186] %2 ==0){$color187 = $c1;}
elseif($array_unit[186] %3 ==0){$color187 = $c2;}
else{$color187 = $c3;}
if($array_unit[187] %2 ==0){$color188 = $c1;}
elseif($array_unit[187] %3 ==0){$color188 = $c2;}
else{$color188 = $c3;}
if($array_unit[188] %2 ==0){$color189 = $c1;}
elseif($array_unit[188] %3 ==0){$color189 = $c2;}
else{$color189 = $c3;}
if($array_unit[189] %2 ==0){$color190 = $c1;}
elseif($array_unit[189] %3 ==0){$color190 = $c2;}
else{$color190 = $c3;}
if($array_unit[190] %2 ==0){$color191 = $c1;}
elseif($array_unit[190] %3 ==0){$color191 = $c2;}
else{$color191 = $c3;}
if($array_unit[191] %2 ==0){$color192 = $c1;}
elseif($array_unit[191] %3 ==0){$color192 = $c2;}
else{$color192 = $c3;}
if($array_unit[192] %2 ==0){$color193 = $c1;}
elseif($array_unit[192] %3 ==0){$color193 = $c2;}
else{$color193 = $c3;}
if($array_unit[193] %2 ==0){$color194 = $c1;}
elseif($array_unit[193] %3 ==0){$color194 = $c2;}
else{$color194 = $c3;}
if($array_unit[194] %2 ==0){$color195 = $c1;}
elseif($array_unit[194] %3 ==0){$color195 = $c2;}
else{$color195 = $c3;}
if($array_unit[195] %2 ==0){$color196 = $c1;}
elseif($array_unit[195] %3 ==0){$color196 = $c2;}
else{$color196 = $c3;}
if($array_unit[196] %2 ==0){$color197 = $c1;}
elseif($array_unit[196] %3 ==0){$color197 = $c2;}
else{$color197 = $c3;}
if($array_unit[197] %2 ==0){$color198 = $c1;}
elseif($array_unit[197] %3 ==0){$color198 = $c2;}
else{$color198 = $c3;}
if($array_unit[198] %2 ==0){$color199 = $c1;}
elseif($array_unit[198] %3 ==0){$color199 = $c2;}
else{$color199 = $c3;}
if($array_unit[199] %2 ==0){$color200 = $c1;}
elseif($array_unit[199] %3 ==0){$color200 = $c2;}
else{$color200 = $c3;}
if($array_unit[200] %2 ==0){$color201 = $c1;}
elseif($array_unit[200] %3 ==0){$color201 = $c2;}
else{$color201 = $c3;}
if($array_unit[201] %2 ==0){$color202 = $c1;}
elseif($array_unit[201] %3 ==0){$color202 = $c2;}
else{$color202 = $c3;}
if($array_unit[202] %2 ==0){$color203 = $c1;}
elseif($array_unit[202] %3 ==0){$color203 = $c2;}
else{$color203 = $c3;}
if($array_unit[203] %2 ==0){$color204 = $c1;}
elseif($array_unit[203] %3 ==0){$color204 = $c2;}
else{$color204 = $c3;}
if($array_unit[204] %2 ==0){$color205 = $c1;}
elseif($array_unit[204] %3 ==0){$color205 = $c2;}
else{$color205 = $c3;}
if($array_unit[205] %2 ==0){$color206 = $c1;}
elseif($array_unit[205] %3 ==0){$color206 = $c2;}
else{$color206 = $c3;}
if($array_unit[206] %2 ==0){$color207 = $c1;}
elseif($array_unit[206] %3 ==0){$color207 = $c2;}
else{$color207 = $c3;}
if($array_unit[207] %2 ==0){$color208 = $c1;}
elseif($array_unit[207] %3 ==0){$color208 = $c2;}
else{$color208 = $c3;}
if($array_unit[208] %2 ==0){$color209 = $c1;}
elseif($array_unit[208] %3 ==0){$color209 = $c2;}
else{$color209 = $c3;}
if($array_unit[209] %2 ==0){$color210 = $c1;}
elseif($array_unit[209] %3 ==0){$color210 = $c2;}
else{$color210 = $c3;}
if($array_unit[210] %2 ==0){$color211 = $c1;}
elseif($array_unit[210] %3 ==0){$color211 = $c2;}
else{$color211 = $c3;}
if($array_unit[211] %2 ==0){$color212 = $c1;}
elseif($array_unit[211] %3 ==0){$color212 = $c2;}
else{$color212 = $c3;}
if($array_unit[212] %2 ==0){$color213 = $c1;}
elseif($array_unit[212] %3 ==0){$color213 = $c2;}
else{$color213 = $c3;}
if($array_unit[213] %2 ==0){$color214 = $c1;}
elseif($array_unit[213] %3 ==0){$color214 = $c2;}
else{$color214 = $c3;}
if($array_unit[214] %2 ==0){$color215 = $c1;}
elseif($array_unit[214] %3 ==0){$color215 = $c2;}
else{$color215 = $c3;}
if($array_unit[215] %2 ==0){$color216 = $c1;}
elseif($array_unit[215] %3 ==0){$color216 = $c2;}
else{$color216 = $c3;}
if($array_unit[216] %2 ==0){$color217 = $c1;}
elseif($array_unit[216] %3 ==0){$color217 = $c2;}
else{$color217 = $c3;}
if($array_unit[217] %2 ==0){$color218 = $c1;}
elseif($array_unit[217] %3 ==0){$color218 = $c2;}
else{$color218 = $c3;}
if($array_unit[218] %2 ==0){$color219 = $c1;}
elseif($array_unit[218] %3 ==0){$color219 = $c2;}
else{$color219 = $c3;}
if($array_unit[219] %2 ==0){$color220 = $c1;}
elseif($array_unit[219] %3 ==0){$color220 = $c2;}
else{$color220 = $c3;}
if($array_unit[220] %2 ==0){$color221 = $c1;}
elseif($array_unit[220] %3 ==0){$color221 = $c2;}
else{$color221 = $c3;}
if($array_unit[221] %2 ==0){$color222 = $c1;}
elseif($array_unit[221] %3 ==0){$color222 = $c2;}
else{$color222 = $c3;}
if($array_unit[222] %2 ==0){$color223 = $c1;}
elseif($array_unit[222] %3 ==0){$color223 = $c2;}
else{$color223 = $c3;}
if($array_unit[223] %2 ==0){$color224 = $c1;}
elseif($array_unit[223] %3 ==0){$color224 = $c2;}
else{$color224 = $c3;}
if($array_unit[224] %2 ==0){$color225 = $c1;}
elseif($array_unit[224] %3 ==0){$color225 = $c2;}
else{$color225 = $c3;}
if($array_unit[225] %2 ==0){$color226 = $c1;}
elseif($array_unit[225] %3 ==0){$color226 = $c2;}
else{$color226 = $c3;}
if($array_unit[226] %2 ==0){$color227 = $c1;}
elseif($array_unit[226] %3 ==0){$color227 = $c2;}
else{$color227 = $c3;}
if($array_unit[227] %2 ==0){$color228 = $c1;}
elseif($array_unit[227] %3 ==0){$color228 = $c2;}
else{$color228 = $c3;}
if($array_unit[228] %2 ==0){$color229 = $c1;}
elseif($array_unit[228] %3 ==0){$color229 = $c2;}
else{$color229 = $c3;}
if($array_unit[229] %2 ==0){$color230 = $c1;}
elseif($array_unit[229] %3 ==0){$color230 = $c2;}
else{$color230 = $c3;}
if($array_unit[230] %2 ==0){$color231 = $c1;}
elseif($array_unit[230] %3 ==0){$color231 = $c2;}
else{$color231 = $c3;}
if($array_unit[231] %2 ==0){$color232 = $c1;}
elseif($array_unit[231] %3 ==0){$color232 = $c2;}
else{$color232 = $c3;}
if($array_unit[232] %2 ==0){$color233 = $c1;}
elseif($array_unit[232] %3 ==0){$color233 = $c2;}
else{$color233 = $c3;}
if($array_unit[233] %2 ==0){$color234 = $c1;}
elseif($array_unit[233] %3 ==0){$color234 = $c2;}
else{$color234 = $c3;}
if($array_unit[234] %2 ==0){$color235 = $c1;}
elseif($array_unit[234] %3 ==0){$color235 = $c2;}
else{$color235 = $c3;}
if($array_unit[235] %2 ==0){$color236 = $c1;}
elseif($array_unit[235] %3 ==0){$color236 = $c2;}
else{$color236 = $c3;}
if($array_unit[236] %2 ==0){$color237 = $c1;}
elseif($array_unit[236] %3 ==0){$color237 = $c2;}
else{$color237 = $c3;}
if($array_unit[237] %2 ==0){$color238 = $c1;}
elseif($array_unit[237] %3 ==0){$color238 = $c2;}
else{$color238 = $c3;}
if($array_unit[238] %2 ==0){$color239 = $c1;}
elseif($array_unit[238] %3 ==0){$color239 = $c2;}
else{$color239 = $c3;}
if($array_unit[239] %2 ==0){$color240 = $c1;}
elseif($array_unit[239] %3 ==0){$color240 = $c2;}
else{$color240 = $c3;}
if($array_unit[240] %2 ==0){$color241 = $c1;}
elseif($array_unit[240] %3 ==0){$color241 = $c2;}
else{$color241 = $c3;}
if($array_unit[241] %2 ==0){$color242 = $c1;}
elseif($array_unit[241] %3 ==0){$color242 = $c2;}
else{$color242 = $c3;}
if($array_unit[242] %2 ==0){$color243 = $c1;}
elseif($array_unit[242] %3 ==0){$color243 = $c2;}
else{$color243 = $c3;}
if($array_unit[243] %2 ==0){$color244 = $c1;}
elseif($array_unit[243] %3 ==0){$color244 = $c2;}
else{$color244 = $c3;}
if($array_unit[244] %2 ==0){$color245 = $c1;}
elseif($array_unit[244] %3 ==0){$color245 = $c2;}
else{$color245 = $c3;}
if($array_unit[245] %2 ==0){$color246 = $c1;}
elseif($array_unit[245] %3 ==0){$color246 = $c2;}
else{$color246 = $c3;}
if($array_unit[246] %2 ==0){$color247 = $c1;}
elseif($array_unit[246] %3 ==0){$color247 = $c2;}
else{$color247 = $c3;}
if($array_unit[247] %2 ==0){$color248 = $c1;}
elseif($array_unit[247] %3 ==0){$color248 = $c2;}
else{$color248 = $c3;}
if($array_unit[248] %2 ==0){$color249 = $c1;}
elseif($array_unit[248] %3 ==0){$color249 = $c2;}
else{$color249 = $c3;}
if($array_unit[249] %2 ==0){$color250 = $c1;}
elseif($array_unit[249] %3 ==0){$color250 = $c2;}
else{$color250 = $c3;}
if($array_unit[250] %2 ==0){$color251 = $c1;}
elseif($array_unit[250] %3 ==0){$color251 = $c2;}
else{$color251 = $c3;}
if($array_unit[251] %2 ==0){$color252 = $c1;}
elseif($array_unit[251] %3 ==0){$color252 = $c2;}
else{$color252 = $c3;}
if($array_unit[252] %2 ==0){$color253 = $c1;}
elseif($array_unit[252] %3 ==0){$color253 = $c2;}
else{$color253 = $c3;}
if($array_unit[253] %2 ==0){$color254 = $c1;}
elseif($array_unit[253] %3 ==0){$color254 = $c2;}
else{$color254 = $c3;}
if($array_unit[254] %2 ==0){$color255 = $c1;}
elseif($array_unit[254] %3 ==0){$color255 = $c2;}
else{$color255 = $c3;}
if($array_unit[255] %2 ==0){$color256 = $c1;}
elseif($array_unit[255] %3 ==0){$color256 = $c2;}
else{$color256 = $c3;}
if($array_unit[256] %2 ==0){$color257 = $c1;}
elseif($array_unit[256] %3 ==0){$color257 = $c2;}
else{$color257 = $c3;}
if($array_unit[257] %2 ==0){$color258 = $c1;}
elseif($array_unit[257] %3 ==0){$color258 = $c2;}
else{$color258 = $c3;}
if($array_unit[258] %2 ==0){$color259 = $c1;}
elseif($array_unit[258] %3 ==0){$color259 = $c2;}
else{$color259 = $c3;}
if($array_unit[259] %2 ==0){$color260 = $c1;}
elseif($array_unit[259] %3 ==0){$color260 = $c2;}
else{$color260 = $c3;}
if($array_unit[260] %2 ==0){$color261 = $c1;}
elseif($array_unit[260] %3 ==0){$color261 = $c2;}
else{$color261 = $c3;}
if($array_unit[261] %2 ==0){$color262 = $c1;}
elseif($array_unit[261] %3 ==0){$color262 = $c2;}
else{$color262 = $c3;}
if($array_unit[262] %2 ==0){$color263 = $c1;}
elseif($array_unit[262] %3 ==0){$color263 = $c2;}
else{$color263 = $c3;}
if($array_unit[263] %2 ==0){$color264 = $c1;}
elseif($array_unit[263] %3 ==0){$color264 = $c2;}
else{$color264 = $c3;}
if($array_unit[264] %2 ==0){$color265 = $c1;}
elseif($array_unit[264] %3 ==0){$color265 = $c2;}
else{$color265 = $c3;}
if($array_unit[265] %2 ==0){$color266 = $c1;}
elseif($array_unit[265] %3 ==0){$color266 = $c2;}
else{$color266 = $c3;}
if($array_unit[266] %2 ==0){$color267 = $c1;}
elseif($array_unit[266] %3 ==0){$color267 = $c2;}
else{$color267 = $c3;}
if($array_unit[267] %2 ==0){$color268 = $c1;}
elseif($array_unit[267] %3 ==0){$color268 = $c2;}
else{$color268 = $c3;}
if($array_unit[268] %2 ==0){$color269 = $c1;}
elseif($array_unit[268] %3 ==0){$color269 = $c2;}
else{$color269 = $c3;}
if($array_unit[269] %2 ==0){$color270 = $c1;}
elseif($array_unit[269] %3 ==0){$color270 = $c2;}
else{$color270 = $c3;}
?>