﻿    var Msg = new Array(2000);


	Msg[15] = "Please enter %S1";
	Msg[16] = "Please enter valid %S1";	
	Msg[19] = "Please select %S1";
	
	Msg[20]="Please enter the number of advertisements";
	Msg[21]="Please select the Category from lookup";
	Msg[29] = "No changes to save.";
	
	Msg[501] = "Password must match with Confirm password";
	Msg[502] = "Order# should not be duplicated within the tier%S1";
	Msg[504] = "Order# must be less than or equal to %S1 for tier%S2";
    Msg[505] = "Not possible to define Tiers";
    Msg[506] = "Please save the changes";
    Msg[507] = "No Tier Defined for this Category. Press Add button to define the Tier";
    Msg[509] = "Advertisement could not be published untill publish button clicked";
    Msg[510] = "The number of advertisements must be greater than zero";
    Msg[511] = "Problem to Execute Admin Page.Please Contact Adminsitrator";
    Msg[512] = "No Rank is Defined for this Category. Press Add button to define the Rank";
    Msg[513] = "Keyword Rank must be greater than Zero";
    Msg[514] = "SortNumber Must be greater than Zero";
    Msg[515] = "Please enter the Numeric Values";
    Msg[516] = "Order# should not be duplicated within related category";
    Msg[517] = "Related category is not available";
    Msg[518] = "No records to Delete";
    Msg[519] = "Save the client details before you click the profile";
    Msg[520] = "%S1 Date should be greater than Previous Contract %S2 Date";
    Msg[521] = "Begin Date should be Less than or equal to Expiration Date";
    Msg[522] = "Please enter %S1 in %S2 format";
    Msg[523] = "There was an error on this page.\n\n Click OK to continue viewing this page,\n or Cancel to return to the home page.\n\n";
    Msg[524] = "Description cannot be empty...!";
    Msg[525] = "Please enter One of the Position Domain or Directory..!";
    Msg[526] = "Given Sort Number is already Exists."  ;
    Msg[527] = "Editorial Begin Date should be less than Editorial Complete Date";
    Msg[528] = "Transaction Failure...!";
    Msg[529] = "Given Description already Exists.";
    Msg[530] = "Keyword could not be published untill publish button clicked";
    Msg[531] = "Rank should have Unique Values";
    Msg[532] = "Order# should not be duplicated within the page%S1";
    Msg[534] = "Session Expired. Please close the page and reopen.";
    Msg[535] = "Folder already exists with this Category Name";
    Msg[536] = "Publish the information to display it in domain and directory site";
    Msg[537] = "You dont have the priveledge to save the details";
    Msg[538] = "You dont have the priveledge to delete the details";
    Msg[539] = "From Date should be less than To Date";
    Msg[540] = "Keyword is not defined for the selected category in keyword Admin screen. Still do you want to Publish?";
    Msg[542] = "Category Name Contains Illegal Charaters. you cannot create a Sections for this Category \n\n Do your want to Proceed ?" 
    Msg[543] = "Upload Gif or Jpg images only";
    Msg[544] = "Sections could not be published untill publish button clicked"; 
    Msg[545] = "%S1 URL description available in %S2 Website";
    Msg[546] = "No Of URL must be less than or equal to %S1";
    
    
    
     //added for profile capcha
    Msg[100]="Please enter the Zip Code";
    Msg[101]="Please enter the Company Name";
    Msg[102]="Please enter valid Email Address";
    Msg[103]="Please enter the Email Address";
    Msg[104]="Please enter the Last Name";
    Msg[105]="Please enter the First Name";
    Msg[106]="Please enter the Code";
    
    function error(errno,s1,s2)
    {
	    if ((s1 == "") && (s2 == ""))
	    {
		    alert(Msg[parseInt(errno)]);
	    }
	    else if ((s1 != "") || (s2 != ""))
	    {
		    var str = new String(Msg[parseInt(errno)]);
		    str = str.replace('%S1',s1);
		    str = str.replace('%S2',s2);
		    alert(str);
	    }
    }
    // JScript File


