 	
 	public dynamic class doubleclickPluginCode extends UIComponent implements IPlugin, ISequencePlugin
 	{
-		public var debugMode:Boolean	=	false;
+		public var debugMode:Boolean	=	true;
 		
 		public var contentPlayhead:Object = {};
 		

		 */
		private function contentResumeRequestedHandler(event:AdEvent	= null):void 
		{	
			
			if(_background.parent)
				_background.parent.removeChild(_background);
			
			
			log("contentResumeRequestedHandler	isAdRulex:"+_isAdRule +"		:isLinear : ");
			
			// Rewire controls to affect content instead of the ads manager.
			//tell sequence proxy, hey this sequence item is done. do your thang. 
			
			//we tell it that we're done if the current ad was requested by the sequenceProxy
			if(_sequenceProxy.vo.isInSequence)
				_facade.sendNotification(NotificationType.SEQUENCE_ITEM_PLAY_END);
			
			//adRules are not managed by the sequenceProxy, so we force playback
			if(!_mediator.playbackComplete)
				_facade.sendNotification(NotificationType.DO_PLAY);
			
			//			if(event){
			//				_facade.sendNotification(NotificationType.DO_PLAY);
			//			}
			
			adInProgress		= false;
			_mediator.enableControls();
			
		}
		

				});
				
				adsManager.addEventListener(AdEvent.LOADED, function(e:AdEvent):void{
					log("AdEvent.LOADED	totalAds:"+e.ad.adPodInfo.totalAds );
					log("AdEvent.LOADED	position:"+e.ad.adPodInfo.adPosition );
					log("AdEvent.LOADED	isBumper:"+e.ad.adPodInfo.isBumper );
					if(e.target.cuePoints.length > 0){
						log("cuepont lenght:::: "+e.target.cuePoints.length);
						_isAdRule		= true;
					}
					
					//if overlay or adrule, resume content
					if (!adsManager.linear)
						contentResumeRequestedHandler(e);
				});
				
