/************************************************************
 *
 *  Messages used by app_msg_editor.php
 *
 ************************************************************/
var ERR_NOTHING_SELECTED   = "Please select one";
var PROMPT_DELETE_CONFIRM  = "Are you sure you want to delete?";
var PROMPT_ARCHIVE_CONFIRM = "Are you sure you want to archive?";
var INPUT_ERROR_ALERT_MSG  = "Please correct the highlighted field(s).";
var PASSWORD_SIZE_MISMATCH = "Please enter a valid password of size 6-12 characters.";
var DATA_LOST_WARNING_MSG  = "Are you sure you want to run next test case.\nIf you press ok all data will be lost?";
var INVALID_DECIMAL_NUMBER = "Plaese choose a decimal number.";
var INVALID_INTEGER        = "Plaese choose an integer.";
var MISSING_REQUIRED_FIELDS  = "Please enter value for all the required field(s).";
var INVALID_NOTIFY_TYPE      = 'Please select the notification type\nfrom section 7.';
var INVALID_NUMBER7_MSG      = 'Section 8 contains invalied number format\nplease correct them';
var INVALID_NUMBER5_MSG      = 'Section 6 contains invalied number format\nplease correct them';
var INVALID_NUMBER4_MSG      = 'Section 5 contains invalied number format\nplease correct them';
var INVALID_NUMBER3_MSG      = 'Section 4 contains invalied number format\nplease correct them';
var INVALID_LOGO_TYPE_MSG    = 'The campaign logo file is not a valid\nGIF/JPEG/PNG/JPG type. Choose a valid type.';
var INVALID_URL_MSG          = 'The campaign url is not a valid url\nPlease enter a valid url.';
var INVALID_CAMPAIGN_URL_MSG = 'The campaign url is not a valid url\nPlease enter a valid url.';
var INVALID_PERCENTAGE_MSG   = 'The sum of Sales percentage can not\n be more than 100%. Please correct them.';  
var DUPLICATE_CAMPAIGN_NAME  = 'Duplicate campaign name. Please choose different one.';
var INVALID_START_DATE_MSG   = 'Start date can not follow the end date.\nPlease correct the campaign start date.';

var INVALID_NOTIFOCATION_START_DATE_MSG   = 'Notification start date can not follow the end date.\nPlease correct the notification start date in section 8.';
var NOTIFICATION_START_DATE_MISSING_MSG   = 'Please provide the notification start date in section 8.';
var NOTIFICATION_END_DATE_MISSING_MSG     = 'Please provide the notification end date in section 8.';
var INVALID_URL_MSG                       = 'The url for hosted tracking thank you page is invalid.\nPlease provide a valid url';
var INVALID_CAMPAIGN_URL_MSG              = 'Invalid campaign url.\nPlease provide a valid url';    

var NO_AFFILIATE_SELECTION_MSG            = 'Please choose one or more affiliates.';
var PLEASE_SELECT_CAMPAIGN                = 'Please select a campaign first.';

var ERR_MOVE_REL_COMMON_FIELD_TO_UNIQUE_FIELD       = 'Relative common field can not be moved\nas unique campaign field.';
var ERR_MOVE_COMMON_FIELD_TO_UNIQUE_FIELD           = 'Common field can not be moved\nas unique campaign field.';
var ERR_MOVE_ONE_CAMPAIGN_FIELD_TO_ANOTHER_CAMPAIGN = 'One campaign field can not be moved\nto another campaign.';
var INVALID_MOVE_MSG                                = 'Invalid field movement.';
var DULPICATE_MULTIFORM_MSG                         = 'There is another Multiform with this name.\nPlease provide unique Multiform name.';
var CLONE_FORM_NAME_MSG                             = 'Please provide a valid clone multiform name.'; 
var MULTIFORM_TYPE_MSG                              = 'Please select the Type of the Multiform.'; 

/* Lead Score Message*/

var ERROR_POSITIVE_NUMBER  = "Please enter a valid number.";
var ERROR_NEGATIVE_NUMBER  = "Please enter a valid negative number.";
var ERROR_CHAR             = "Please use character, number, _, - ,() only";
var ERROR_SIMILARITY       = "You are not allowed to use same Field Name and Match Name";
var REQUIRED_FIELD_LEAD    = "Please select the required field: 'If Field', 'Matches','-Score', '+Score'";
var FILL_ALL               = "Please fill the box first";

/* Route Manager*/
var ERROR_NUMBER             = "Please enter a valid number.";
var ERROR_PRIORITY           = "You are not allowed to change priority #1 or default route.";
var ERROR_SAME_ROUTE         = "You are not allowed to select same route";
var REQUIRED_FIELD_ROUTE     = "Please select the required field: 'Route', 'Max','Post Frequency', '(Max) Post Day','Status'";
var DUPLICATE_ROUTE_NAME_MSG = 'Duplicate Route name.\nPlease provide a unique Route name.'; 
var NO_FIELD_EXIST_MSG       = 'There is no Form Field in this campaign.'; 

var INVALID_POST_URL              = 'Please provide a valid post url.'; 
var INVALID_ROUTE_NAME            = 'Please provide a valid Route name.'; 
var INVALID_ACCEPTANCE_STRING     = 'Please provide a valid Acceptance string.'; 
var INVALID_REJECTION_STRING      = 'Please provide a valid Rejection string.'; 
var INVALID_TRANSLATED_FIELD_NAME = 'Please provide a valid translated field name for the field '; 
var INVALID_STATIC_FIELD_NAME     = 'Please provide a valid Static field name for '; 
var INVALID_STATIC_FIELD_VALUE    = 'Please provide a valid Static field value for field '; 

var DUPLICATE_STATIC_FIELD_NAME_MSG = 'Duplicate Static Field name.\nPlease provide unique Static Field name.';
var NO_FIELD_ASSIGNED_MSG           = 'Please select a field name from the unselected dropdown.';
var NO_TRANSLATED_FIELD_NAME_MAS    = 'No translated field name is assigned for the field \"field_name.\"';
var DELETE_EXISTING_FIELD_MSG       = 'Are you sure, You want to delete all the existing field(s)?';
var INVALID_MOVE_UP_MSG             = 'Move up is not possible.';
var INVALID_MOVE_DOWN_MSG           = 'Move down is not possible.';
var INVALID_EMAIL_ADDRESS_MSG       = 'Please provide valid Email address(s).'; 
var INVALID_EMAIL_ADDRESS2_MSG      = ' is not a valid Email address in the email address(es).'; 
var INVALID_FTP_SERVER_ADDRESS_MSG  = 'Please provide a valid FTP Server address.'; 
var INVALID_SFTP_SERVER_ADDRESS_MSG = 'Please provide a valid SFTP Server address.'; 
var INVALID_FTP_UID_MSG             = 'Please provide a valid user name for the FTP Server.'; 
var INVALID_SFTP_UID_MSG            = 'Please provide a valid user name for the SFTP Server.'; 
var INVALID_EXPORT_TYPE_MSG         = 'Please select Email/FTP/SFTP export option(s)\nfrom the Batch Options section.';
var MOVE_UP_NOT_POSSIBLE            = 'Invalid movement.'; 
var MOVE_DOWN_NOT_POSSIBLE          = 'Invalid movement.'; 
var INVALID_BATCH_FILE_NAME         = 'Please provide a valid batch file name.';  
var INVALID_FILE_EXT                = 'Invalid batch file type (file_type) specified.';   
var DEFAULT_EMAIL_SUBJECT           = 'Find your Lead Information in the attachment.';    
var DEFAULT_EMAIL_BODY              = 'You have received a lead as an Email attachment. Please find it.'; 
var EMPTY_EMAIL_BODY_MSG            = 'Please Provide an email body.';

/* Suppression restriction */
var ERR_HIGHLIGHTED = "Fill the highlighted Field"
var ERROR_SUPP_TEXT = "Please use character, number, @, _ only";

/* Affiliate Response */

var ALERT_MSG              = "Please enter the highlighted field(s).";
var INVALID_RESPONSESTRING = "Please use ##FIELD## and ##ERROR_CODE##";
var ERROR_TEXT             = "Please use character, number, ( ), _, and # only";
 
 



/*
 * This section defines the messages for the campaign creative file application
 *
 */ 
 
var NO_FILE_CHOSEN_MSG = 'Please choose a file.';  

/**
 * Message for geo targeted restriction application
 */
var SELECT_FIELD_FIRST_MSG = 'Please select the corresponding \"field_name\"\nfrom the drop down before apply restriction on it.'; 
var INVALID_ZIPCODE_MSG    = 'The following Zipcode(s) are invalid.\n( invalid_zipcode )\nPlease correct them.';
var INVALID_STATE_MSG      = 'The following State(s) are invalid.\n( invalid_state )\nPlease correct them.';
var INVALID_COUNTRY_MSG    = 'The following Country(s) are invalid.\n( invalid_country )\nPlease correct them.';

var DUPLICATE_ZIPCODE_MSG    = 'The following Zipcode(s) are duplicate.\n( duplicate_zipcode )\nPlease correct them.';
var DUPLICATE_STATE_MSG      = 'The following State(s) are duplicate.\n( duplicate_state )\nPlease correct them.';
var DUPLICATE_COUNTRY_MSG    = 'The following Country(s) are duplicate.\n( duplicate_country )\nPlease correct them.';
var INVALID_FILE_MSG        = 'Please provide a valid file_type list file.\nSupported file types are (txt,doc,htm,html).'; 

/**
 * Message for content sensitive fields
 *
 */
var INVALID_BADWORD_FILE_MSG = 'Invalid Badword list file.\nPlease provide a valid list file.'; 

var EMPTY_BADWORD_POPUP_MSG     = 'Please, specify the Badword.'; 
var DUPLICATE_BADWORD_POPUP_MSG = 'Duplicate Badword, Please provide a unique Badword.';

/**
 * Messages for the geo-targeted applications
 *
 */
 
var EMPTY_ZIPCODE_POPUP_MSG     = 'Please, specify the Zipcode.'; 
var INVALID_ZIPCODE_POPUP_MSG   = 'Please provide a valid Zipcode.';
var DUPLICATE_ZIPCODE_POPUP_MSG = 'Duplicate Zipcode, Please provide a unique Zipcode.';

var EMPTY_STATE_POPUP_MSG     = 'Please, specify the State name.'; 
var INVALID_STATE_POPUP_MSG   = 'Please provide a valid State name.';
var DUPLICATE_STATE_POPUP_MSG = 'Duplicate Zipcode, Please provide a unique State name.';

var EMPTY_COUNTRY_POPUP_MSG     = 'Please, specify the Country name.'; 
var INVALID_COUNTRY_POPUP_MSG   = 'Please provide a valid Country name.';
var DUPLICATE_COUNTRY_POPUP_MSG = 'Duplicate Zipcode, Please provide a unique Country name.';

/**
 * Messages for ad unit manager
 */
var INVALID_IMPRESSION_ALLOCATION_MSG = 'Invalid impression allocation.\nMaximum impression allocation for this campaign is '; 
var INVALID_CLICK_ALLOCATION_MSG      = 'Invalid click allocation.\nMaximum click allocation for this campaign is '; 
var INVALID_IMPRESSION_PAYOUT_MSG     = 'Invalid payout per impression specified.'; 
var INVALID_CLICK_PAYOUT_MSG          = 'Invalid payout per click specified.'; 
var INVALID_LEAD_PAYOUT_MSG           = 'Invalid payout per lead specified.'; 
var INVALID_DESTINATION_URL_MSG       = 'Invalid destination URL.\nPlease provide a valid desination URL.';
var INVALID_TARGET_MSG                = 'Invalid target specified.\nPlease provide a valid target.';
var INVALID_WEIGHT_MSG                = 'Invalid weight specified.\nPlease provide a valid weight.';
var INVALID_KEYWORDS_MSG              = 'Invalid keywords specified.\nPlease provide a valid keywords.';
var INVALID_PROPERTY_VALUE_MSG        = 'Invalid property_name specified.\nPlease provide a valid property_name.'; 
var DUPLICATE_BANNER_MSG              = 'This banner is already included in this Ad Rotator.';   
var NO_BANNER_FOUND_MSG               = 'There is no Banner of size banner_size.';  

var BANNER_PROBABILITY_PERCENTAGE_ERROR = 'Banner total runs can not be more than 100.\nPlease correct the runs';
var NO_BANNER_ASSIGNED_MSG              = 'There is no banner in this add rotator.\nPlease assign one or more banner.';    
var NO_IMPRESSION_FOUND_MSG             = 'Do you want to delete this Ad Rotator?.';    
var IMPRESSION_FOUND_MSG                = 'There are some impression with this Ad Rotator.\nDo you want to delete this Ad Rotator?.';    
var BANNER_DISTRIBUTION_MSG             = 'Please choose banner distribution (Randomize/Round-Robin) method.';
var AD_ROTATOR_NAME_MSG                 = 'Please provide a valid Ad Rotator name.'; 
var DUPLICATE_AD_ROTATOR_NAME_MSG       = 'An Ad Rotator with this name exist.Please, \nprovide a valid different Ad Rotator name.'; 
var INVALIDE_BANNER_FILE_MSG            = 'Invalid banner file. Please choose\na valid image file';     
var INVALIDE_SWF_BANNER_FILE_MSG        = 'Invalid banner file. Please choose\na valid flash file';

/**
 * Define messages for the batch importer application
 */
var INVALID_CSV_FILE_MSG = 'The attached file is not a csv/txt file.\nPlease provide a valid file';

var NO_USER_TYPE_SELECTED_MSG = 'Please select the user type.';
var NO_AFFILIATE_SELECTED     = 'Please select an affiliate.';