public final int atAdPos(final int pos){
  final int take_int=(int)Math.floor((pos + 1) / adfrequency);
  Log.d("atAdPosE2",take_int + "");
  return take_int;
}

public final int atAdPos ( final int pos ) { final int take_int = ( int ) Math . floor ( ( pos + 1 ) / adfrequency ) ; Log . d ( "atAdPosE2" , take_int + "" ) ; return take_int ; }
to display the accumulator for the ad position
