<!--
var newWin;
function openwin(profile)
{
   if(newWin != null && !newWin.closed)
      newWin.close();
   newWin = null;

   var width = 400;
   var height =300; 
   var left =parseInt( ( screen.width - width ) /2 ); 
   var top = parseInt( ( screen.height - height ) /2 );
   newWin = open(profile,"profile","scrollbars=yes,resizable=yes,status=no,height=" +
            height + ",width=" + width + ",left=" + left + ",top=" + top);
}
function openwin1(profile,w,h)
{
   if(newWin != null && !newWin.closed)
      newWin.close();
   newWin = null;

   var width = w;
   var height =h; 
   var left =100;
   var top = 100;
   newWin = open(profile,"profile","scrollbars=yes,resizable=yes,status=no,height=" +
            height + ",width=" + width + ",left=" + left + ",top=" + top);
}

//-->