if (myinteract == 0) { if (close == 1) image_index = 0; close = 0; }