function selectDirectory(width, height, multiSelect, param, scriptEndSelect, key, separator) {
   var left =(screen.width - width)/2;
   var top =(screen.height - height - 16)/2;
   var url = getContextPath() + "/cms/infopublic/selectDirectory.shtml";
   url += "?multiSelect=" + multiSelect; 
   url += "&param=" + escape(param); 
   url += (scriptEndSelect && scriptEndSelect!="" ? "&script=" + escape(scriptEndSelect) : ""); 
   url += (key && key!="" ? "&key=" + escape(key) : ""); 
   url += ("&separator=" + (separator && separator!="" ?  escape(separator) : ",")); 
   window.open(url, "selectDialog", "left=" + left + "px,top=" + top + "px,width=" + width + "px,height=" + height + "px,status=0,help=0,scrollbars=1,resizable=1", true).focus();
}
