
var  iAllNotPayThroCC = 0;
var  iIndividualPrice = 1;
var  iShownBelow = 2;
var  iUniqueAttributes = 3;
var  iCallForPrice = 4;
var  iCartSpaces = 5;
var  iValidInvNo = 6;
var  iValidNo = 7;
var  iValidQuantity = 8;
var  iGuest = 9
var  iValidPriceComb = 10;
var  iSelectOtherInv = 11;
var  iKitPrice = 12;
var  iLoginName = 13;
var  iLoginPassNoSpace = 14;
var  iLoginEmpty = 15;
var  iMaxPriceGTMinPrice = 16;
var  iMoreInfoNotAvail = 17;
var  iChgSecretInfo = 18;
var  iRepCallForShipDetail = 19;
var  iRepCallForPayOption = 20;
var  iChooseDelMethods = 21;
var  iChooseCartName = 22;
var  iEnterSearchText = 23;
var  iValidCardNumber = 24;
var  iValidEmail = 25;
var  iValidInteger = 26;
var  iValidPrice = 27;
var  iValidReasonForReturn = 28;
var  iValidText = 29;
var  iEnterCartName = 30;
var  iEnterCustSurvDet = 31;
var  iEnterSecretAns = 32;
var  iValidEntry = 33;
var  iValidFaxNo = 34;
var  iLoginEmail = 35;
var  iValidPhoneNo = 36;
var  iValidStateCode = 37;
var  iValidZipCode = 38;
var  iMandatory = 39;
var  iPass4Char = 40;
var  iLogin4Char = 41;
var  iPassCPassSame = 42;
var  iEnterZipCode = 43;
var  iAddressType = 44;
var  iLoginNoSpace = 45;
var  iPassNoSpace = 46;
var  iSecretAnsNoSpace = 47;
var  iSecretAnsStartNoSpace = 48;
var  iEnterNewPass = 49;
var  iEnterNewSecretAns = 50;
var  iEnterNewSecretQue = 51;
var  iSelectCountry = 52;
var  iSelectShipAddr = 53;
var  iSelectChgPass = 54;
var  iSelectExpMonth = 55;
var  iSelectExpYear = 56;
var  iSelectItems = 57;
var  iSelectRMAType = 58;
var  iValidExpMonth = 59;
var  iPrintVerKit = 60;
var  iQtyEqualSerial = 61;
var  iQty = 62;
var  iSearchNoStartSpace = 63;
var  iOneItemToCont = 64;
var  iItemToBeReturned = 65;
var  iSerialNotSelected = 66;
var  iNotPayThroCC = 67;
var  iStAddrGT255 = 68;
var  iStAddrStartSpace = 69;
var  iKitItem = 70;
var  iQtyGreaterThanShipQty = 71;
var  iQtyLessThanOne = 72;
var  iMatrixCombNotPresent  = 73;
var  iMoreThanOneSecretAns = 74;
var  iSelectCity = 75;
var  iTotalQtyExceed = 76;
var  iRemoveItemFromCart = 77;
var  iEmptyCart = 78;
var  iDelSavedCart = 79;
var  iItemCode = 80;
var  iNext = 81;
var  iPrevious = 82;
var iEmptyWishCart = 83
var  iBuyValidQuantity = 84
var  iRemoveItemFromWishCart = 85
var  iEnterName = 86;
var  iSelectEvent = 87;
var  iEndDateVal = 88;
var  iEventDateVal = 89;
var  iFirstName = 90;
var  iLastName = 91;
var  iGroomFirst = 92;
var  iGroomLast = 93;
var  iBrideFirst = 94;
var  iBrideLast = 95;
var  iNonWishListItemsInCartPresent = 96;
var  iCannotEditEventHoldAddr = 97;
var  iEventRemove = 98;
var  iEventCurrent = 99;
var  iWishSearchDateValidate = 100;
var  iAllNotPayThroCOD = 101;
var  iAllNotPayThroCOD_NoPayment = 102;
var iSelectAddress = 103;
var iValidSecurityCode = 104;
var iRemoveCard=105;
var iDefaultCard=106;
var iNonEditableAddresses=107;
var iInValidStartDate=108;
var iInvalidLoginId = 109;
var iInvalidCartname = 110;
var iSpouseFirstName = 111;
var iSpouseLastName	= 112;
var iAccessCode = 113;
var iCC_Expiry_Msg1 = 114;
var iCC_Expiry_Msg2 = 115;
var iCC_Expiry_Msg3 = 116;
var iCC_Expiry_Msg4 = 117;
var iCC_Expiry_Msg5 = 118;
var iCC_Expiry_Msg6 = 119;
var iCC_Expiry_Msg7 = 120;
var iCC_Expiry_Msg8 = 121;

var aMessageStrings = new Array();

aMessageStrings[0]  = "All the items in your Shopping Cart are not payable through Credit Card. Please select a different payment method";
aMessageStrings[1]  = "and their individual prices";
aMessageStrings[2]  = "are shown below";
aMessageStrings[3]  = "Attributes are same. Please select unique attributes";
aMessageStrings[4]  = "Call for price";
aMessageStrings[5]  = "Cart name should not start with spaces";
aMessageStrings[6] = "Enter a valid Invoice Number";
aMessageStrings[7] = "Enter a valid number";
aMessageStrings[8] = "Enter valid quantity";
aMessageStrings[9] = "guest";
aMessageStrings[10] = "Invalid price combination";
aMessageStrings[11] = "Items in this invoice are invalid.Click on back to select other invoice";
aMessageStrings[12] = "KIT PRICE";
aMessageStrings[13] = "Login Name cannot be";
aMessageStrings[14] = "Loginname or Password cannot have spaces";
aMessageStrings[15] = "Loginname should not be empty";
aMessageStrings[16] = "Maximum Price should be greater than Minimum Price";
aMessageStrings[17] = "More information is not available for this item";
aMessageStrings[18] = "or Change Secret Info";
aMessageStrings[19] = "Our representative will call you for shipping details";
aMessageStrings[20] = "Our representative will contact you for your preferred payment option";
aMessageStrings[21] = "Please choose delivery method";
aMessageStrings[22] = "Please choose the Cart Name";
aMessageStrings[23] = "Please enter a text to be searched";
aMessageStrings[24] = "Please enter a valid card number";
aMessageStrings[25] = "Please enter a valid Email address";
aMessageStrings[26] = "Please enter a valid integer";
aMessageStrings[27] = "Please enter a valid price";
aMessageStrings[28] = "Please enter a valid reason for return";
aMessageStrings[29] = "Please enter a valid text";
aMessageStrings[30] = "Please enter Cart Name";
aMessageStrings[31] = "Please enter Customer Survey details. Mandatory fields cannot be empty";
aMessageStrings[32] = "Please enter the secret answer";
aMessageStrings[33] = "Please enter valid entry";
aMessageStrings[34] = "Please enter valid Fax number";
aMessageStrings[35] = "Please enter valid Login/Email id";
aMessageStrings[36] = "Please enter valid Phone number";
aMessageStrings[37] = "Please enter valid State Code";
aMessageStrings[38] = "Please enter valid zipcode";
aMessageStrings[39] = "Please enter value. Mandatory fields cannot be empty";
aMessageStrings[40] = "Please make sure that entered new password has atleast 4 characters";
aMessageStrings[41] = "Please make sure that loginname has atleast 4 characters";
aMessageStrings[42] = "Please make sure that password and confirm password are same";
aMessageStrings[43] = "Please enter the zipcode";
aMessageStrings[44] = "Please select address type";
aMessageStrings[45] = "Please make sure that the loginname does not contain any spaces";
aMessageStrings[46] = "Please make sure that the password does not contain any spaces";
aMessageStrings[47] = "Secret answer field should not start with spaces";
aMessageStrings[48] = "Please make sure that the Secret Answer should not start with space";
aMessageStrings[49] = "Please make sure that you have entered new password";
aMessageStrings[50] = "Please make sure that you have entered Secret Answer";
aMessageStrings[51] = "Please make sure that you have entered Secret Question";
aMessageStrings[52] = "Please select a Country";
aMessageStrings[53] = "Please select a shipping address";
aMessageStrings[54] = "Please select Change password";
aMessageStrings[55] = "Please select Expiry Month";
aMessageStrings[56] = "Please select Expiry Year";
aMessageStrings[57] = "Please select one or more Items";
aMessageStrings[58] = "Please select RMA types";
aMessageStrings[59] = "Please select valid Expiry Month";
aMessageStrings[60] = "Printable Version of Kit";
aMessageStrings[61] = "Qty to be returned should be equal to the number of serial selected";
aMessageStrings[62] = "Qty";
aMessageStrings[63] = "Search field should not start with spaces";
aMessageStrings[64] = "Select atleast one item to continue";
aMessageStrings[65] = "Select the items to be returned by clicking the corresponding checkbox";
aMessageStrings[66] = "Serial numbers are not selected for the quantity specified";
aMessageStrings[67] = "Some Items selected are Not Payable through Credit card. Click OK to Create the Order without these items. Click Cancel to change Payment Method";
aMessageStrings[68] = "Street address should not be greater than 255 characters";
aMessageStrings[69] = "Street address should not start with spaces";
aMessageStrings[70] = "The Items of the kit";
aMessageStrings[71] = "The quantity to be returned cannot be greater than the shipped qty";
aMessageStrings[72] = "The quantity to be returned cannot be less than one";
aMessageStrings[73] = "The selected matrix combination is not present";
aMessageStrings[74] = "You have entered more than one secret answer";
aMessageStrings[75] = "Please select a city";
aMessageStrings[76] = "Total quantity in the cart cannot exceed";
aMessageStrings[77] = "Are you sure you want to remove this item from your shopping cart?";
aMessageStrings[78] = "Are you sure you want to empty your shopping cart?";
aMessageStrings[79] = "Are you sure you want to delete this saved cart?";
aMessageStrings[80] = "Item Code";
aMessageStrings[81] = "Next";
aMessageStrings[82] = "Previous";
aMessageStrings[83] = "Are you sure you want to remove all items?";
aMessageStrings[84] = "Enter valid quantity";
aMessageStrings[85] = "Are you sure you want to remove this item?";
aMessageStrings[86] = "Please enter a name";
aMessageStrings[87] = "Please select an event name";
aMessageStrings[88] = "End date should be greater than or same as start date";
aMessageStrings[89] = "Event date should be greater than start date";
aMessageStrings[90] = "First Name";
aMessageStrings[91] = "Last Name";
aMessageStrings[92] = "Groom's First Name";
aMessageStrings[93] = "Groom's Last Name";
aMessageStrings[94] = "Bride's First Name";
aMessageStrings[95] = "Bride's Last Name";
aMessageStrings[96] = "Your cart contains some of the items, which are not in the event holder's list. These items will also be shipped to the event holder's shipping address. Click OK if you wish to proceed";
aMessageStrings[97] = "You cannot edit event holder's shipping address";
aMessageStrings[98] = "Are you sure you want to remove this event?";
aMessageStrings[99] = "Please select the event to make it current";
aMessageStrings[100] = "Event to date should be greater than event from date";
aMessageStrings[101] = "Your cart contains some downloadable item(s) which cannot be paid through COD Payment Method. Please select a different payment method";
aMessageStrings[102] = "A payment method is required to proceed further as your cart contains some downloadable item(s). Please remove the downloadable item(s) to proceed";
aMessageStrings[103] = "Please select an address.";
aMessageStrings[104] = "Please enter a valid security code.";
aMessageStrings[105] = "Are you sure you want to delete this card?";
aMessageStrings[106] = "Please select the card to make it default";
aMessageStrings[107] = "This address cannot be edited since it is used in the final document";
aMessageStrings[108] = "Start date should be greater than or same as current date";
aMessageStrings[109] = "Only the following characters are allowed for Login" + ":  \n [0-9 A-Z a-z #:;,/_><-]";
aMessageStrings[110] = "Enter a valid cart name";
aMessageStrings[111] = "Spouse's First Name";
aMessageStrings[112] = "Spouse's Last Name";
aMessageStrings[113] = "Please enter a valid access code";
aMessageStrings[114] = "The credit card you selected has expired.";
aMessageStrings[115] = "To continue, you can do one of the following";
aMessageStrings[116] = "select another valid card from the list.";
aMessageStrings[117] = "pay using a new card.";
aMessageStrings[118] = "click on EDIT to update your card details.";
aMessageStrings[119] = "Invalid expiry date.";
aMessageStrings[120] = "Please verify and try again.";
aMessageStrings[121] = "This option is available for credit cards only."

//	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
//	@	Description			: This function gets the message thats to be displayed in alert,
//  @						  confirm and other texts in Library files.
//  @   Pages Affected		: All pages
//  @	Function Name		: getMessage(iMessageID)									
//	@	Input Parameters	: iMessageID --> Constant string
//	@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

function getMessage(iMessageID){
try{
	 return eval("aMessageStrings["+iMessageID+"]");
}
catch(e)
{
window.alert("EoSTring Error");
}
}
