﻿// JScript File

var errmsgs = new Object;
var errmsg='Unknown ErrorCode';
 //Error code e1 - e100  Generic errors
errmsgs.e1="Please select the category";
errmsgs.e2="Please enter your name";
errmsgs.e3="Please enter your email address";
errmsgs.e4="Please enter your question";
errmsgs.e5="Please select the file to upload";
errmsgs.e6="Please enter valid email address";
errmsgs.e7="Please enter your question to search";
errmsgs.e8="Please enter the correct text.";
errmsgs.e9="Speical character is not allowed";
errmsgs.e10="Please enter your question";
errmsgs.e11="Please enter valid character";
errmsgs.e12="Please avoid using $@#%^&*<>?:;{}!+[ ]|/";
errmsgs.e13="Please enter your e-mail address";
errmsgs.e14="Please enter your valid e-mail address";
errmsgs.e15="Please enter your password";
errmsgs.e16="Please enter your confirm password";
errmsgs.e17="Please enter your mobile number";
errmsgs.e18="Please select your gender";
errmsgs.e19="The e-mail already exists.";
errmsgs.e20="Password doesn't match";
errmsgs.e21="Do you agree with the terms and conditions";
errmsgs.e22="Please select the category";
errmsgs.e23="Please enter the recipe title";
errmsgs.e24="Please enter the description";
errmsgs.e25="Please upload the image";
errmsgs.e26="Please upload the gif,jpg,jpeg and png files only";
errmsgs.e27="Please enter valid recipe title";
errmsgs.e28="Please enter valid description";
errmsgs.e29="Please enter the column heading";
errmsgs.e30="Please enter valid column heading";
errmsgs.e31="Please select the city";
errmsgs.e32="Please select the region";
errmsgs.e33="Please select the another city or region";
errmsgs.e34="Please enter the address";
errmsgs.e35="Please enter the text that you see in the image";
errmsgs.e36="Please enter the text that you see in the image";



errmsgs.e37="Please enter your height";
errmsgs.e38="Please enter your weight";
errmsgs.e39="Please enter your waist size";
errmsgs.e40="Please enter your hip size";
errmsgs.e41="Please enter your age";
errmsgs.e42="Please enter nature of job";
errmsgs.e43="Please enter your medical history";
errmsgs.e44="Please enter your frequency (days) of exercise per week";
errmsgs.e45="Please enter your duration (hrs) of exercise per day ";
errmsgs.e46="Please select your nature of job";
errmsgs.e47="Please select alcohol intake";
errmsgs.e48="Please fill in the your question or consult our nutrition form";








// Error code e101 - e200  for __ page

function geterrmsg(errcode)
{

    if (!errmsgs[errcode]){return errmsg;}
    errmsg=errmsgs[errcode];
    return errmsg;

}

