          this.timeRemaining--;
       }
       
-     
-	  public function onAdClick(event:Object = null) : void
-	  {
-		 var data:Object = { "playerHandles":true };
-		 dispatchEvent(new vpaidEvent(vpaidEvent.AdClickThru, data));  
-		 
-		  ExternalInterface.call("function setWMWindow() {window.open('" + this.clickThru + "');}");
-		 stopAd();
-	
-	   }
+     
+	  public function onAdClick(event:Object = null) : void
+	  {
+		 var data:Object = { "playerHandles":true };
+		 dispatchEvent(new vpaidEvent(vpaidEvent.AdClickThru, data));  
+		 
+		  ExternalInterface.call("function setWMWindow() {window.open('" + this.clickThru + "');}");
+		 stopAd();
+	
+	   }
 
       
       public function stopAd() : void

         {
            try
            {
               xmlData = new XML(creativeData);
               this.creativePath = xmlData.setting;
				this.creativeLoadTimeout = xmlData.duration;
				this.clickThru = xmlData.clickThru;
				this.impressionURL = xmlData.impressionURL;
				initWidth = xmlData.creativeWidth;
				initHeight = xmlData.creativeHeight;
				handleVpaidEvent('AdImpression');
				var s:SendAndLoadExample = new SendAndLoadExample();
				s.sendData(impressionURL,'no message');
				
            }
            catch(e:Error)
            {
               onError();
            }
         }
         else

      private function addJsCallbacks() : void
      {
         ExternalInterface.addCallback("handleVpaidEvent",this.handleVpaidEvent);
         ExternalInterface.addCallback("getPlayerVolume",this.getAdPlayerVolume);
         ExternalInterface.call("initVpaid",creativePath,this.initWidth,this.initHeight);
      }
      
      private function getAdPlayerVolume() : void
      {
         //js will come here
      }
	  
      private function addEventListeners() : void
      {
         addEventListener(vpaidEvent.AdUserClose,this.userClose);
