function print(mylink, windowname)
{
var winleft = (screen.width -750) / 2;
var winUp = (screen.height - 515) / 2;


if (! window.focus)return true;
  var href;
  if(typeof(mylink) == 'string')
    href=mylink;
  else
    href=mylink.href;
    window.open(href, windowname, 'top='+((screen.height - 515) / 2)+',left='+((screen.width -750) / 2)+',toolbar=1,menubar=1,status=1,resizable=1,Width=750,height=515,scrollbars=1');
    
 return false;

}