msg=''
msg1="Country is a required field.";
msg2=" characters long.";

function GetMsg(typeField, elementName)
{

var msg = "";
if (typeField=='RequiredField') msg=elementName + ' is a required field.';
if (typeField=='ExactFieldSize') msg=elementName + " must be exactly " + GetMsg.arguments[2].value + " characters long";
if (typeField=='MinimumFieldSize') msg=elementName + " must be at least " + GetMsg.arguments[2].value + " characters";
if (typeField=='MaximumFieldSize') msg=elementName + " cannot excede " + GetMsg.arguments[2].value + " characters";
if (typeField=='ConfirmPaymentHead') msg="You have chosen to buy the following item:\n\n";
if (typeField=='ConfirmPaymentBottom') msg="\n\nThis amount will be deducted from your account.\nDo you want to continue?";
if (typeField=='ConfirmPaymentBottomCC') msg="\n\nYou will now be prompted to fill in the data from your credit card.\nDo you want to continue?";



if (typeField=='NoItemSelect') msg="Select at least one item";
if (typeField=='AtLeastOneWarning') msg="You must specify at least one of the search fields.";
if (typeField=='onlynumbers') msg="You must use only digits in this field.";

return msg;
}






//Search a Company
/*setLocalized("CompanyName", "Company Name");
setLocalized("TickerSymbol", "Ticker Symbol");
setLocalized("Country", "Country");
setLocalized("State", "State");


setLocalized("RequiredField", "\'{1}\' is a required field.");
setLocalized("ExactFieldSize", "\'{1}\' must be no more than {2}.");
setLocalized("MinimumFieldSize", "\'{1}\' must be at least {2} characters long.");
setLocalized("MaximumFieldSize", "\'{1}\' must be no more than {2} characters long.");
setLocalized("NumericField", "\'{1}\' must be numeric.");
setLocalized("MinimumNumericValue", "\'{1}\' must be at least {2}.");
setLocalized("MaximumNumericValue", "\'{1}\' must be no more than {2}.");
setLocalized("IllegalCharacters", "\'{1}\' have an invalid character.");
setLocalized("NoOfNews", "Number of news items");

setLocalized("PaymentIntro", "You have chosen to buy the following item:");
setLocalized("PaymentItem", "Item: {1}");
setLocalized("PaymentPrice", "Price: {1}");
setLocalized("CreditCardPayment", "This amount will be deducted from your account.");
setLocalized("AccountPayment", "This amount will be deducted from your SkyMinder account.");
setLocalized("PaymentConfirm", "Do you want to continue?");
setLocalized("SearchSaved", "Your search has been saved.");
setLocalized("LastNameAndFirstName", "Last Name And First Name");
setLocalized("Industry", "Industry");
setLocalized("First Name", "First Name");
setLocalized("Last Name", "Last Name");
setLocalized("IndustryCode", "Industry Code");
setLocalized("Keyword", "Keyword");
setLocalized("Period", "Period");
setLocalized("FromDate", "From");
setLocalized("ToDate", "To");
setLocalized("PaymentConfirm", "Do you want to continue?");
setLocalized("DeleteQueryConfirm", "Are you sure you want to delete these queries?");
setLocalized("MoreDetailWarning", "You must select a category first.");
setLocalized("OneOrMoreWarning", "You must select at least one additional criteria.");
setLocalized("AtLeastOneWarning", "You must specify at least one of the search fields.");
setLocalized("FirstSic", "Select a general description AND click on More Detail");
*/