var queryFailedString = "\'^1\': No matching names were found in the directory. Try using fewer characters: for example 'sm' matches smythe. ";
var queryPending=false;
var queryString = "";
var queryType = null;
function makeSubject(ID, enabled, type, size, style) {
ID=ID?ID:7;
var output = srcwin.validateFormat(arguments,false,null,40,"plain");
for(var index=0; index < output.length; index++)
arguments[index] = output[index];
if(typeof(field[ID])=="undefined") {
return "";
} else if(arguments[1])
return "";
else
return "
" + field[ID] + "
";
}
function makeRecipients(ID, enabled, type, size, style) {
var fieldName = "";
switch(parseInt(ID)) {
case 9: fieldName="To";
break;
case 11: fieldName="Cc";
break;
case 30: fieldName="Bcc";
break;
default: fieldName="FieldID:" + ID + "=LITERALSTRING";
break;
}
var output = srcwin.validateFormat(arguments, false, null, 40, "plain");
for(var index=0; index < output.length; index++)
arguments[index] = output[index];
if(typeof(field[ID])=="undefined") {
return "";
} else {
if(field[ID].length > 0 || !arguments[1]) {
var outString = "