Sub counteraspage
If counterpage = 0 Then
Activity.LoadLayout("A")
End If
If counterpage = 1 Then
Activity.LoadLayout("B")
End If
If counterpage = 2 Then
Activity.LoadLayout("C")
End If
If counterpage = 3 Then
Activity.LoadLayout("D")
End If
If counterpage = 4 Then
Activity.LoadLayout("E")
End If
If counterpage = 5 Then
Activity.LoadLayout("F")
End If
If counterpage = 6 Then
Activity.LoadLayout("G")
End If
If counterpage = 7 Then
Activity.LoadLayout("H")
End If
If counterpage = 8 Then
Activity.LoadLayout("I")
End If
If counterpage = 9 Then
Activity.LoadLayout("J")
End If
If counterpage = 10 Then
Activity.LoadLayout("K")
End If
If counterpage = 11 Then
Activity.LoadLayout("L")
End If
If counterpage = 12 Then
Activity.LoadLayout("M")
End If
If counterpage = 13 Then
Activity.LoadLayout("N")
End If
If counterpage = 14 Then
Activity.LoadLayout("O")
End If
If counterpage = 15 Then
Activity.LoadLayout("P")
End If
If counterpage = 16 Then
Activity.LoadLayout("Q")
End If
If counterpage = 17 Then
Activity.LoadLayout("R")
End If
If counterpage = 18 Then
Activity.LoadLayout("S")
End If
If counterpage = 19 Then
Activity.LoadLayout("T")
End If
If counterpage = 20 Then
Activity.LoadLayout("U")
End If
If counterpage = 21 Then
Activity.LoadLayout("V")
End If
If counterpage = 22 Then
Activity.LoadLayout("W")
End If
If counterpage = 23 Then
Activity.LoadLayout("X")
End If
If counterpage = 24 Then
Activity.LoadLayout("Y")
End If
If counterpage = 25 Then
Activity.LoadLayout("Z")
End If
If counterpage > 25 Then
Activity.LoadLayout("A")
counterpage = 0
counter = 0
End If
End Sub