function Show(link)
{
	var winTop = parseInt((screen.availHeight-600)/2);
	var winLeft = parseInt((screen.availWidth-600)/2);
	window.open(link,'','width=600,height=600,scrollbars=1,resizable=1,top='+winTop+',left='+winLeft);
}

function Show2(link,w,h)
{
	var winTop = parseInt((screen.availHeight-h)/2);
	var winLeft = parseInt((screen.availWidth-w)/2);
	window.open(link,'','width='+w+',height='+h+',scrollbars=1,resizable=1,top='+winTop+',left='+winLeft);
}

function disableRightClick(e)
{
  if(!document.rightClickDisabled)
  {
    if(document.layers) 
    {
      document.captureEvents(Event.MOUSEDOWN);
      document.onmousedown = disableRightClick;
    }
    else document.oncontextmenu = disableRightClick;
    return document.rightClickDisabled = true;
  }
  if(document.layers || (document.getElementById && !document.all))
  {
    if (e.which==2||e.which==3)
    {
      return false;
    }
  }
  else
  {
    return false;
  }
}
disableRightClick();

