function flipset() { var flipped = false; var hidden = false; for (var i=0; i