function MY_openBrWindow(theURL,winName,features) { //v2.0
	var w = 800, h = 600;
	
	// Parse features from the feature string
	var localfeatures = new String(features);
	var pairs = features.split(",");
	var keyValues = new Array(1);
	
	for(i=0; i<pairs.length; i++) {
		temp = new String(pairs[i]);
		tArray = temp.split("=");
		keyValues[tArray[0]] = tArray[1];
	}
	
	var popW = keyValues["width"];
	var popH = keyValues["height"];
	
	
	if (document.all || document.layers) {
	  w = screen.availWidth;
	  h = screen.availHeight;
	}

	var leftPos = (w-popW)/2, topPos = (h-popH)/2;		
	
	features += ',top='+topPos+',left='+leftPos;
	window.open(theURL,winName,features);
}