function openPrint( object )
{
  var url = object.href;

  var wname = 'Print';
  var top  = 100;
  var left = 100;
  var width = 600;
  var height = 400;
  var showtoolbox = 1;

  mywindow = window.open(url, wname, 'width='+width+',height='+height+',top='+top+',left='+left+',toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no');
  mywindow.focus();

  return false;
}


function emailSave()
{
  var atchar = $$('a.mailattitute');
  
  atchar.each(function(el, i)
    {
       var ref = el.getProperty('href') ;
       ref = ref.replace('/AT/', '@');
       el.setProperty('href', ref);
       
       var value = el.innerHTML ;
       
       value = value.replace('/AT/', '@');
       el.innerHTML = value;       
       
    }, this);


  return false;
}
window.addEvent('domready', emailSave);
