      function ShowVideoStar(VideoID)
       {
        try
         {document.getElementById('imgVideoStar' + VideoID).style.display='';}
        catch (ex) {}
       }

      function HideVideoStar(VideoID)
       {
        try
         {document.getElementById('imgVideoStar' + VideoID).style.display='none';}
        catch (ex) {}
       }

      function ShowNextAspectStars()
       { 
        try
         {document.getElementById('imgNextAspectStar').style.display='';}
        catch (ex) {}
        try
         {document.getElementById('imgNextGoalAspectStar').style.display='';}
        catch (ex) {}
       }

      function StopVideo(VideoID, DescriptionID)
       {
        document.getElementById('divVideo' + VideoID).style.display='none';
        document.getElementById(DescriptionID).style.display='';

        var els = getElementsByClass('Content', null, 'div');

        for (i = 0; i < els.length; i++)
         {els[i].style.overflow = '';}

        try
         {
          var strURL;
          var a;
          strURL = "s_record_video.php?PageName=" + escape(location.href) + "&VideoID=" + escape(VideoID) + "&Action=Stop"

          a = new AJAX('Video'+VideoID, strURL, null);
          a.execute();
         }
        catch (ex)
         {}
       }

      function PlayVideo(VideoID, DescriptionID)
       {
        var divVideo = document.getElementById('divVideo' + VideoID);

        divVideo.style.display='';
        document.getElementById(DescriptionID).style.display='none';

        ShowHideStars(VideoID);

        var els = getElementsByClass('Content', null, 'div');

        for (i = 0; i < els.length; i++)
         {els[i].style.overflow = 'visible';}

        try
         {
          var LCV;

          for (LCV=0;LCV<divVideo.childNodes.length;LCV++)
           {
            if (divVideo.childNodes[LCV].tagName == 'OBJECT')
             {setTimeout("document.getElementById('divVideo" + VideoID + "').childNodes[" + LCV + "].playVideo()", 2000);}
           }
         }
        catch (ex)
         {}

        try
         {
          var strURL;
          var a;
          strURL = "s_record_video.php?PageName=" + escape(location.href) + "&VideoID=" + escape(VideoID);

          a = new AJAX('Video'+VideoID, strURL, null);
          a.execute();
         }
        catch (ex)
         {}
       }

      var arrElements = document.getElementsByTagName("*");

      for(var i=0; i<arrElements.length; i++)
       {
	if(arrElements[i].className == "PlayVideo" || arrElements[i].className == "CloseVideo")
         {arrElements[i].href="#";}
       }

