function xMailReportBug()
{
 var newloc = "mailreport.php";
 var ih = 490; 
 var iw = 550; 
 var features = "menubar=no,location=no,toolbar=no,scrollbars=yes" + ",width=" + iw + "px ,height=" + ih + "px"; 
 features += ", top="+((screen.availHeight-ih)/2)+"px, left="+((screen.availWidth-iw)/2)+"px"; 

 window.open (newloc, "Bug_report", features); 
 //Define current window 
 parentwin = window.self; 
 //Declare current window as its own child 
 parentwin.opener = window.self; 
 //Close current window 
 //parentwin.close(); 
}  
