var iAllNotPayThroCC=0,iIndividualPrice = 1,iShownBelow = 2,iUniqueAttributes = 3
,iCallForPrice = 4
,iCartSpaces = 5
,iValidInvNo = 6
,iValidNo = 7
,iValidQuantity = 8
,iGuest = 9
,iValidPriceComb = 10
,iSelectOtherInv = 11
,iKitPrice = 12
,iLoginName = 13
,iLoginPassNoSpace = 14
,iLoginEmpty = 15
,iMaxPriceGTMinPrice = 16
,iMoreInfoNotAvail = 17
,iChgSecretInfo = 18
,iRepCallForShipDetail = 19
,iRepCallForPayOption = 20
,iChooseDelMethods = 21
,iChooseCartName = 22
,iEnterSearchText = 23
,iValidCardNumber = 24
,iValidEmail = 25
,iValidInteger = 26
,iValidPrice = 27
,iValidReasonForReturn = 28
,iValidText = 29
,iEnterCartName = 30
,iEnterCustSurvDet = 31
,iEnterSecretAns = 32
,iValidEntry = 33
,iValidFaxNo = 34
,iLoginEmail = 35
,iValidPhoneNo = 36
,iValidStateCode = 37
,iValidZipCode = 38
,iMandatory = 39
,iPass4Char = 40
,iLogin4Char = 41
,iPassCPassSame = 42
,iEnterZipCode = 43
,iAddressType = 44
,iLoginNoSpace = 45
,iPassNoSpace = 46
,iSecretAnsNoSpace = 47
,iSecretAnsStartNoSpace = 48
,iEnterNewPass = 49
,iEnterNewSecretAns = 50
,iEnterNewSecretQue = 51
,iSelectCountry = 52
,iSelectShipAddr = 53
,iSelectChgPass = 54
,iSelectExpMonth = 55
,iSelectExpYear = 56
,iSelectItems = 57
,iSelectRMAType = 58
,iValidExpMonth = 59
,iPrintVerKit = 60
,iQtyEqualSerial = 61
,iQty = 62
,iSearchNoStartSpace = 63
,iOneItemToCont = 64
,iItemToBeReturned = 65
,iSerialNotSelected = 66
,iNotPayThroCC = 67
,iStAddrGT255 = 68
,iStAddrStartSpace = 69
,iKitItem = 70
,iQtyGreaterThanShipQty = 71
,iQtyLessThanOne = 72
,iMatrixCombNotPresent  = 73
,iMoreThanOneSecretAns = 74
,iSelectCity = 75
,iTotalQtyExceed = 76
,iRemoveItemFromCart = 77
,iEmptyCart = 78
,iDelSavedCart = 79
,iItemCode = 80
,iNext = 81
,iPrevious = 82
,iEmptyWishCart = 83
,iBuyValidQuantity = 84
,iRemoveItemFromWishCart = 85
,iEnterName = 86
,iSelectEvent = 87
,iEndDateVal = 88
,iEventDateVal = 89
,iFirstName = 90
,iLastName = 91
,iGroomFirst = 92
,iGroomLast = 93
,iBrideFirst = 94
,iBrideLast = 95
,iNonWishListItemsInCartPresent = 96
,iCannotEditEventHoldAddr = 97
,iEventRemove = 98
,iEventCurrent = 99
,iWishSearchDateValidate = 100
,iAllNotPayThroCOD = 101
,iAllNotPayThroCOD_NoPayment = 102
,iSelectAddress = 103
,iValidSecurityCode = 104
,iRemoveCard=105
,iDefaultCard=106
,iNonEditableAddresses=107
,iInValidStartDate=108
,iInvalidLoginId = 109
,iInvalidCartname = 110
,iSpouseFirstName = 111
,iSpouseLastName= 112
,iAccessCode = 113
,iCC_Expiry_Msg1 = 114
,iCC_Expiry_Msg2 = 115
,iCC_Expiry_Msg3 = 116
,iCC_Expiry_Msg4 = 117
,iCC_Expiry_Msg5 = 118
,iCC_Expiry_Msg6 = 119
,iCC_Expiry_Msg7 = 120
,iCC_Expiry_Msg8 = 121
,iValidCity = 122
,iValidState = 123
,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]="Login name or Password cannot have spaces";
aMessageStrings[15]="Login name 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. Required 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. Required fields cannot be empty";
aMessageStrings[40]="Please make sure that entered new password has atleast 4 characters";
aMessageStrings[41]="Please make sure that login name 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 login name 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."
aMessageStrings[122]="Please enter valid city";
aMessageStrings[123]="Please enter valid state";

//@@@
//@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){
return eval("aMessageStrings["+iMessageID+"]");
}
