function OpenBrWindow(theURL,winName,w,h,features) {
 var winl = (screen.width - w) / 2;
 var wint = (screen.height - h) / 2;

 window.open(theURL,winName,'height='+h+',width='+w+',top='+wint+',left='+winl+','+features);
}