 	import flash.geom.Rectangle;
 	import flash.net.URLRequest;
 	import flash.net.navigateToURL;
-	
+
 	import org.puremvc.as3.interfaces.INotification;
 	import org.puremvc.as3.interfaces.IProxy;
 

				case NotificationType.MEDIA_READY:
					var entry:Object = ((facade.retrieveProxy(MediaProxy.NAME) as MediaProxy).vo.entry);
					creationDate = entry["createdAt"];
					
					var today:Date = new Date();
					var cd:Date = new Date ();
					cd.setTime(creationDate*1000);
					createdAtOffset = int((today.time-cd.time)/(24*60*60*1000));
					
					var ud:Date = new Date ();
					ud.setTime(entry["updatedAt"]*1000);
					updatedAtOffset = int((today.time-ud.time)/(24*60*60*1000));
					
					if(entry.hasOwnProperty('startDate') && entry["startDate"] > 0)
					{
						var sd:Date = new Date ();
						sd.setTime(entry["startDate"]*1000);
						startedAtOffset = int((today.time-sd.time) / (24*60*60*1000));
					}
					
					dispatcher.dispatchEvent(new Event(NEW_ENTRY));
					
				break;
			}
		}

			try
			{
				if (ExternalInterface.available)
				{
					if(_kdpObjectId)
						ExternalInterface.call("hideCompanionBanners" , _kdpObjectId);
					else
						ExternalInterface.call("hideCompanionBanners");
				}
			} catch (e:Error)
			{
				trace("ExternalInterface error");
			}
		}

		private function onAdsEvent(event:AdEvent):void {
			switch (event.type) {
				case AdEvent.OVERLAYSHOWN:
