// JavaScript Document
function MM_openBrWindow(theURL,winName,features) { //v2.0
 new_width = features.substring(features.indexOf("width=")+6,features.indexOf("width=")+9) * 1
 new_height = features.substring(features.indexOf("height=")+7,features.indexOf("height=")+10) * 1
 var left = Math.floor( (screen.width - new_width) / 2);
 var top = Math.floor( (screen.height - new_height) / 2)
 var winParms = "top=" + top + ",left=" + left
 if (features) { winParms += "," + features; }
 window.open(theURL, winName, winParms);
 }

