var opened_windows = new Object();

function show_member(url,name,w,h,t,l,scroll,objectname)
{

  if(name==''){name='lepop'};
  if(scroll==''){scroll='no'};
  if(isNaN(w)){w=300};
  if(isNaN(h)){h=400};
  if(isNaN(t)){t=(screen.height - h) / 2};
  if(isNaN(l)){l=(screen.width - w) / 2};
  props="location=no,toolbar=no,menubar=no,resizable=no";
  props+=",scrollbars="+scroll;
  props+=",width="+w;
  props+=",height="+h;
  props+=",top="+t;
  props+=",left="+l;   
  myFloater = window.open(url,name,props);
  myFloater.location.href = url;

  if(typeof(objectname) != 'string' || objectname == '')
  {
    if(name != '')
	objectname = name;
  }

  if(typeof(objectname) == 'string' && objectname != '')
    opened_windows[objectname] = myFloater;

  opened_windows[name] = myFloater;
}
function popUp(strURL,strType,strHeight,strWidth) {
var strOptions="";
if (strType=="console") strOptions="scrollbars=yes, resizable,height="+strHeight+",width="+strWidth;
if (strType=="fixed") strOptions="status,height="+strHeight+",width="+strWidth;
if (strType=="elastic") strOptions="toolbar,menubar,scrollbars,resizable,location,height="+strHeight+",width="+strWidth;
window.open(strURL, 'newWin', strOptions);
}
