
 function openBrWindow(theURL,winName,features)
 {
     // If this is just a user initiated 'popup' window, then generate a unique name so that
     // the user can have multiple windows popped up.  Otherwise, the same popup
     // window would be reused.
     stamp = new Date();
     var randomnumber=Math.floor(Math.random()*1001)
     if (winName == 'popup'){
         winName += stamp.getHours() + stamp.getMinutes() + stamp.getSeconds() + randomnumber;
     }
     window.open(theURL,winName,features);
 }
