/* $Id: custom.js,v 1.1.2.2 2006/04/06 11:25:25 aldbab Exp $ */

//Open a popup without position, scrollbars=no and resizable=no
var popUpWin1=0;
function openPopUpWindow(URLStr, width, height)
{
  if(popUpWin1)
  {
    if(!popUpWin1.closed) popUpWin1.close();
  }
  popUpWin1 = open(URLStr, 'OOH', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height);
}

//Open a popup with position, scrollbars=no and resizable=no
var popUpWin2=0;
function openPopUpWindowWithPosition(URLStr, width, height, top, left)
{
  if(popUpWin2)
  {
    if(!popUpWin2.closed) popUpWin2.close();
  }
  popUpWin2 = open(URLStr, 'OOH', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',top='+top+',left='+left);
}

//Open a popup with position, scrollbars=yes and resizable=no
var popUpWin3=0;
function openPopUpWindowWithPositionAndScrollbars(URLStr, width, height, top, left)
{
  if(popUpWin3)
  {
    if(!popUpWin3.closed) popUpWin3.close();
  }
  popUpWin3 = open(URLStr, 'OOH', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',top='+top+',left='+left);
}

//Open a popup with position, scrollbars=yes and resizable=yes
var popUpWin4=0;
function openPopUpWindowWithPositionScrollbarsAndResizable(URLStr, width, height, top, left)
{
  if(popUpWin4)
  {
    if(!popUpWin4.closed) popUpWin4.close();
  }
  popUpWin4 = open(URLStr, 'OOH', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',top='+top+',left='+left);
}



