isOpera = navigator.userAgent.search(/opera/ig) > -1;
function changeDivsPosition()  {
  aHeaderIcons = document.getElementById('headerIcons');
  aMen         = document.getElementById('men');
  if (isOpera)  {
    aHeaderIcons.style.left = document.body.clientWidth - 86;
    aMen.style.top          = document.body.clientHeight - 343;
    setTimeout("changeDivsPosition()", 200)
  }
  else  {
    aMen.style.top = document.body.scrollHeight - 343;
  }
  
  aMen.style.display = 'block';
  aHeaderIcons.style.display = 'block';
}


function windowOpen(newLoc, width, height, resizable, scrollbars)  {
  if (!width)  
    width = 750;
  if (!height)  
    height = 500;
  if (!resizable)  
    resizable = 'no';
  if (!scrollbars)  
    scrollbars = 'no';
  if (!newLoc)
    newLoc = "about:blank";

  var params = 'toolbar=no, location=no, directories=no, menubar=no, scrollbars=' + scrollbars + ', resizable=' + resizable + ', status=no, top=20, left=60, height=' + height + ', width='+ width;
  
  newWin = window.open(newLoc, 'newWin', params);
  newWin.window.focus();
}

function checkUncheckCheckbox(formObj, status)  {
  for (i = 0; i < formObj.length; i++)  {
    if (formObj[i].type == 'checkbox')  {
      formObj[i].checked = status;
    }
  }
}

function Go(url)  {
  if (url)  {
    window.location.href = url;
  }
}
