var messages = new Array()

var GEN_MANDATORY = 1
var GEN_CONTENT_LENGTH = 2
var GEN_MANDATORY_NAME = 3
var GEN_MANDATORY_EMAIL = 4
var GEN_MANDATORY_PARTNER_NAME = 5
var GEN_MANDATORY_PARTNER_EMAIL = 6
var GEN_INVALID_EMAIL_ID = 7
var GEN_NUMERIC_VALUE = 8
var GEN_NUMERIC_VALUE_LESS_THAN_12 = 9

messages[GEN_MANDATORY] = "Please enter the PARA0";
messages[GEN_CONTENT_LENGTH] = "PARA0 should not exceed PARA1 characters";
messages[GEN_MANDATORY_NAME] = "Please enter your name";
messages[GEN_MANDATORY_EMAIL] = "Please enter your email address";
messages[GEN_MANDATORY_PARTNER_NAME] = "Please enter your partner's name";
messages[GEN_MANDATORY_PARTNER_EMAIL] = "Please enter your partner's email address";
messages[GEN_INVALID_EMAIL_ID] = "Please enter a valid email address. It should be in name@isp.xyz format.";
messages[GEN_NUMERIC_VALUE] = "Please enter only numbers. Letters are not allowed";
messages[GEN_NUMERIC_VALUE_LESS_THAN_12] = "Please enter a value less than 12";

var GEN_DATE_FORMAT=10
var GEN_MONTH_RANGE=11
var GEN_DAY_RANGE=12
var GEN_30_DAYS_LIMIT=13
var GEN_LEAP_YEAR=14

messages[GEN_DATE_FORMAT] = "Please enter date as dd/mm/yyyy.";
messages[GEN_MONTH_RANGE] = "Month must be between 1 and 12. Please change.";
messages[GEN_DAY_RANGE] = "Day must be between 1 and 31. Please change.";
messages[GEN_30_DAYS_LIMIT] = "Month PARA0 doesn't have 31 days. Please change.";
messages[GEN_LEAP_YEAR] = "February PARA0 doesn't have PARA1 days. Please change.";

var GEN_TIME_INVALID_FORMAT = 15;
var GEN_TIME_HOUR_RANGE = 16;
var GEN_TIME_MINUTE_RANGE = 17;
var GEN_TIME_SECOND_RANGE = 18;

messages[GEN_TIME_INVALID_FORMAT] = "Please enter time as hh:mm.";
messages[GEN_TIME_HOUR_RANGE] = "Hour must be between 1 and 12.";
messages[GEN_TIME_MINUTE_RANGE] = "Minutes must be between 0 and 59.";
messages[GEN_TIME_SECOND_RANGE] = "Seconds must be between 0 and 59.";

var GEN_PLEASE_SELECT_ITEM=19
var GEN_PUBLISH=20
var GEN_REJECT=21
var GEN_DELETE=22
var GEN_ADD = 23

messages[GEN_PLEASE_SELECT_ITEM] = "Please select entries before you perform any action.";
messages[GEN_PUBLISH] = "Are you sure you want to publish the selected entries? Click \"OK\" to proceed.";
messages[GEN_REJECT] = "Are you sure you want to reject the selected entries? Click \"OK\" to proceed.";
messages[GEN_DELETE] = "Are you sure you want to delete the selected entries? Click \"OK\" to proceed.";
messages[GEN_ADD] = "Are you sure you want to add the selected entries? Click \"OK\" to proceed.";

var GEN_RECPT_EMAIL_MANDATORY = 24
var GEN_SENDER_EMAIL_MANDATORY = 25
var GEN_RECPT_NAME = 26
var GEN_SENDER_NAME = 27

messages[GEN_RECPT_EMAIL_MANDATORY] = "Please enter recipient's email address";
messages[GEN_SENDER_EMAIL_MANDATORY] = "Please enter your email address";
messages[GEN_RECPT_NAME] = "Please enter recipient's name";
messages[GEN_SENDER_NAME] = "Please enter your name";

var GEN_VIEWE=28
var GEN_START_DATE_END_DATE_COMPARE=29

messages[GEN_VIEWE] = "Are you sure you want to change the status of the selected entries?";
messages[GEN_START_DATE_END_DATE_COMPARE] = "Start date and end date are not selected properly.";

var GEN_NAME_NON_NUMERIC =30
messages[GEN_NAME_NON_NUMERIC] = "Name cannot have only numbers. Please use letters or combination of letters and numbers .";

var GEN_MANDATORY_DOB = 31
var GEN_MANDATORY_POB = 32
var GEN_MANDATORY_TOB = 33

messages[GEN_MANDATORY_DOB] = "Please enter your date of birth";
messages[GEN_MANDATORY_POB] = "Please enter your place of birth";
messages[GEN_MANDATORY_TOB] = "Please enter your time of birth";

var GEN_MANDATORY_PARTNER_DOB = 34
var GEN_MANDATORY_PARTNER_POB = 35
var GEN_MANDATORY_PARTNER_TOB = 36

messages[GEN_MANDATORY_PARTNER_DOB] = "Please enter your partner's date of birth";
messages[GEN_MANDATORY_PARTNER_POB] = "Please enter your partner's  place of birth";
messages[GEN_MANDATORY_PARTNER_TOB] = "Please enter your partner's  time of birth";

var GEN_SEARCH_CRITERIA = 37

messages[GEN_SEARCH_CRITERIA] = "Please enter the search criteria";

var CMA_TOPMENU_MSG = 50
messages[CMA_TOPMENU_MSG] = "You are visiting the hosting site for Online Interactives.";


var ASTRO_GEN_INSERT_FOR_WEEK = 60
var ASTRO_BIRTHDAY_DATA_SAVE = 61
var ASTRO_CAREER_DATA_SAVE = 62
var ASTRO_FORECAST_DAY_DATA_SAVE =63
var ASTRO_FORECAST_WEEK_DATA_SAVE =64
var ASTRO_FORECAST_MONTH_DATA_SAVE =65
var ASTRO_FORECAST_YEAR_DATA_SAVE =66

messages[ASTRO_GEN_INSERT_FOR_WEEK] = "Are you sure you want to add/update data for week starting from PARA0 to PARA1.Click \"OK\" to proceed.";
messages[ASTRO_BIRTHDAY_DATA_SAVE] = "Are you sure you want to add/update birthday forecast for the day PARA0. Click \"OK\" to proceed.";
messages[ASTRO_CAREER_DATA_SAVE] = "Are you sure you want to update the weekly forecast from PARA0 to PARA1. Click \"OK\" to proceed.";
messages[ASTRO_FORECAST_DAY_DATA_SAVE] = "Are you sure you want to update forecast for the day PARA0. Click \"OK\" to proceed.";
messages[ASTRO_FORECAST_WEEK_DATA_SAVE] = "Are you sure you want to update the weekly forecast from PARA0 to PARA1. Click \"OK\" to proceed.";
messages[ASTRO_FORECAST_MONTH_DATA_SAVE] = "Are you sure you want to update forecast for the month PARA0 PARA1. Click \"OK\" to proceed.";
messages[ASTRO_FORECAST_YEAR_DATA_SAVE] = "Are you sure you want to update the yearly forecast for the year PARA0. Click \"OK\" to proceed.";

var ASTRO_RUNESTONE_CLICK_ONCE = 67
var ASTRO_RUNESTONE_SELECT_THREE_STONES = 68
var ASTRO_RUNESTONE_SELECTED_ONE =69
var ASTRO_RUNESTONE_SELECTED_TWO =70
messages[ASTRO_RUNESTONE_CLICK_ONCE] = "Sorry ! You can click a stone once";
messages[ASTRO_RUNESTONE_SELECT_THREE_STONES] = "Please click three stones to see results";
messages[ASTRO_RUNESTONE_SELECTED_ONE] = "You have selected one stone so far. Please choose another two.";
messages[ASTRO_RUNESTONE_SELECTED_TWO] = "You have chosen two stones so far .Please select one more.";

var ASTRO_DREAM_NOTE = 71
messages[ASTRO_DREAM_NOTE] = "Note: Use only two keywords. Seperate the multiple keywords with comma e.g. sword, snake.";

var RECIPE_SEARCH_PLEASE_SELECT=80
messages[RECIPE_SEARCH_PLEASE_SELECT] = "Please enter either a Dish Name or Ingredients";
var RECIPE_INGREDIENT_NAME_UNIQUE_CONSTRAINT=81
messages[RECIPE_INGREDIENT_NAME_UNIQUE_CONSTRAINT] = "Ingredient names should be unique";

var QUIZ_QUESTION_MINIMUM_NUMBER=90
var POLL_OPINION_UNIQUE_ERROR=91

messages[QUIZ_QUESTION_MINIMUM_NUMBER] = "Quiz should have atleast one question.";
messages[POLL_OPINION_UNIQUE_ERROR] = "Poll opinions should be unique";

var REG_USER_ID_MANDATORY = 92
var REG_USER_ID_RANGE = 93
var REG_USER_ID_INVALID = 94
var REG_PASSWD_MANDATORY = 95
var REG_CNFPASSWD_MANDATORY = 96
var REG_PASSWD_MATCH = 97
var REG_FIRST_NAME = 98
var REG_GENDER = 99


messages[REG_USER_ID_MANDATORY] = "Please enter a user id.";
messages[REG_USER_ID_RANGE] = "User id has to be of 4-20 characters";
messages[REG_USER_ID_INVALID] = "Special characters are not allowed in user id.";
messages[REG_PASSWD_MANDATORY] = "Please enter a password.";
messages[REG_CNFPASSWD_MANDATORY] = "Please enter the confirm password.";
messages[REG_PASSWD_MATCH] = "Password does not match.";
messages[REG_FIRST_NAME] = "Please enter your first name.";
messages[REG_GENDER] = "Please select the gender.";

var QUIZ_SELECT_CORRECT_ANSWER = 100

messages[QUIZ_SELECT_CORRECT_ANSWER] = "Please enter the Answer.";


var GEN_DATE_SEARCH = 101

messages[GEN_DATE_SEARCH] = "Please enter date.";

