function fPopUpCalendarDlg(gf, ctrlobj)
{
  showx = event.screenX - event.offsetX - 4 - 210 ; // + deltaX;
  showy = event.screenY - event.offsetY + 18; // + deltaY;
  newWINwidth = 210 + 4 + 18;

  path = new Object(gf); // added by gaofeng 2002/10/25

  retval = window.showModalDialog(path, "", "dialogWidth:197px; dialogHeight:210px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;scrollbars:no;Resizable=no; "  );
  if( retval != null ){
    ctrlobj.value = retval;
  }else{
    //alert("canceled");
  }
}

function over_change(src, clrOver)
{
  if(!src.contains(event.fromElement))
  {
    src.style.cursor = 'hand';
    src.bgColor = clrOver;
  }
}

function out_change(src,clrIn)
{
  if(!src.contains(event.toElement))
  {
    src.style.cursor = 'default';
    src.bgColor = clrIn;
  }
}

function openwin(urladd)
{
  window.open(urladd,'_blank','height=450, width=522,top=20, left=180, toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no')
}