function FWidth() { if (window.innerWidth) { return window.innerWidth; } else { if (window.document.documentElement && window.document.documentElement.clientWidth) { return window.document.documentElement.clientWidth; } return window.document.body.offsetWidth; } }
function FHeight() { if (window.innerHeight) { return window.innerHeight; } else { if (window.document.documentElement && window.document.documentElement.clientHeight) { return window.document.documentElement.clientHeight; } return window.document.body.offsetHeight; } }

function showHTML5Video (e, w, h, vs, fi, vl, bi) {
   if (e.success != true && vl != '') {
      document.getElementById(e.id).innerHTML = '<video  width="'+w+'" height="'+h+'" controls="controls" poster="/files/videos/'+vs+'/'+bi+'" src="/files/videos_play/'+fi+'_'+vs+'_2/'+vl+'" type="video/mp4">';
   }
}
