function openBrWindowFever(theURL,winName,features,ref,center){
  eval("var "+winName);	if (eval(winName)==true && !winName.closed)
  {winName.focus();}else{if(ref){

//  var refURL=theURL+"?URL="+document.location;}else{var refURL=theURL;
//  var refURL=document.location+"?URL="+document.location;}else{var refURL=theURL;
//  var refURL=document.location+"?print=true";}else{var refURL=theURL;


}
  if(center!="vals"){a=new Array();a=center.split('|');
  t=((screen.height)-a[0])/2;l=((screen.width)-a[1])/2;
  features=features+",top="+t+",left="+l;}

var refURL=document.location.href;
var pos=refURL.indexOf("?");
if (pos>=0)
{
refURL=document.location+"&print=true"
}
else
{
refURL=document.location+"?print=true"
}


  winName=window.open(refURL,winName,features);
  winName.focus();winName = true;}
}
