private void AddPicture(Ras ras)
 {
     if (!IsolatedStorageFile.GetUserStoreForApplication().FileExists(Constants.RasImageName(ras.Naam)))
     {
         var webClient = new WebClient();
         webClient.OpenReadCompleted += (s,e)=>bitmapImageDownloaded(ras.Naam, e);
         webClient.OpenReadAsync(new Uri(ras.Foto));
     }
 }
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            _preAnimation = true;
            if (PhoneApplicationService.Current.State.ContainsKey(Constants.OpenRas))
            {
                _ras = (Ras)PhoneApplicationService.Current.State[Constants.OpenRas];
                PhoneApplicationService.Current.State.Remove(Constants.OpenRas);
                DataContext = _ras;
                TitlePanel.Opacity = 0;
                _listbox.Opacity = 0;
                _beschrijving.Opacity = 0;
                _image.Opacity = 0;
                _link.Opacity = 0;
                LoadImage();
                var keywords = GenerateKeyWords();
                keywords.AddRange(_ras.Naam.Split(' '));

                ColorfullTextBlockMaker.MakeTextblockColorfull(_beschrijving, _ras.Beschrijving, keywords, FontWeights.Normal);
                Animator.Wait(100, (o, s) =>
                                       {
                                           CoolAnimations.SlideInner(TitlePanel, 150);
                                           TitlePanel.Opacity = 1;
                                       });
                Animator.Wait(200, (o, s) =>
                                       {
                                           CoolAnimations.SlideInner(_listbox, 150);
                                           _listbox.Opacity = 1;
                                       });
                Animator.Wait(250, (o, s) =>
                                       {
                                           CoolAnimations.SlideInner(_beschrijving, 150);
                                           _beschrijving.Opacity=1;

                                       });
                Animator.Wait(250, (o, s) =>
                {
                    CoolAnimations.SlideInner(_image, 150);
                    _image.Opacity = 1;

                });

                Animator.Wait(500, (o, s) =>
                {
                    CoolAnimations.MoveInner(_link, 550, MoveOrientation.Down);
                    _link.Opacity = 1;

                });
            }
            base.OnNavigatedTo(e);
        }