﻿function startMovie(mURL, mCaption)
{
   var so = new SWFObject("/images/movies/" + mURL, "_film", "860", "640", "8", "#ffffff", "high");
   if (so != null)
   {
     so.addParam("wmode", "transparent");
     so.addVariable("flm", mCaption);
     var fc = WebForm_GetElementById("filmcontent");
     so.write(fc);
     fc.style.left = (WebForm_GetScrollX() + Math.max(0, ((document.documentElement.clientWidth - 860) >> 1))) + 'px';
     fc.style.top = (WebForm_GetScrollY() + Math.max(0, ((document.documentElement.clientHeight - 640) >> 1))) + 'px';
     fc.style.display = '';
     urchinTracker('/swf/' + mURL);
   }
}

function flashClose()
{
   var fc = WebForm_GetElementById("filmcontent");
   fc.style.display = 'none';
   fc.innerHTML = '';
}
