onload = function() {
action = window.setInterval("position()",500);
}

function position() 
  {
  if (document.body.clientWidth>1000) {document.getElementById('osn').style.width=780}
  if ((document.body.clientWidth>1000)&&(document.body.clientWidth<1200)) {document.getElementById('osn').style.width=document.body.clientWidth-250}
  if (document.body.clientWidth>1200) {document.getElementById('osn').style.width=950}
  }


function pokaz(name) 
  {
  document.getElementById('vm_'+name).style.left=document.getElementById('gk_'+name).offsetLeft + 219;
  document.getElementById('vm_'+name).style.visibility='visible';
  }
  
function nepokaz(name) 
  {
  document.getElementById('vm_'+name).style.visibility='hidden';
  }