          */
         private var _ad:*;
 
+        private var _isPaused: Boolean = false;
+
+
         ////////////////////////////////////////////////////////////
         //   CONSTRUCTOR 
         ////////////////////////////////////////////////////////////

            var results: Object = checkViewability();
			raiseLog(results);

            _intervalsUnMeasurable = (results.viewabilityState == OVVCheck.UNMEASURABLE) ? _intervalsUnMeasurable + 1 : 0;
            _intervalsInView = (results.viewabilityState == OVVCheck.VIEWABLE && results.focus == true) ? _intervalsInView + 1 : 0;

            if (_impressionEventRaised == false && _intervalsInView >= VIEWABLE_IMPRESSION_THRESHOLD) {
                raiseImpression(results);
            }
            else if (_impressionUnmeasurableEventRaised == false && _intervalsUnMeasurable >= UNMEASURABLE_IMPRESSION_THRESHOLD) {
                raiseImpressionUnmeasurable(results);
            }
        }


					_intervalTimer.stop();
					_intervalTimer.removeEventListener(TimerEvent.TIMER, onIntervalCheck);
					_intervalTimer = null;
					break;
				case VPAIDEvent.AdPaused:
                    _isPaused = true;
                    break;
                case VPAIDEvent.AdPlaying:
                    _isPaused = false;
                    break;
                default:
					// do nothing
					break;					
			}			
			publishToJavascript(event.type, getEventData(event), ovvData);
		}		
		
