

function GetStr(nID)
{
    if( top.strLang == null )
    {
        alert( "Error: It seems that you forget: ResMgr.Initialize<T>(this);" );
        return "";
    };
    
    if( g_aryEnglish[nID] == null ||
        typeof(g_aryEnglish[nID]) == "undefined" ||
        g_aryFrench[nID] == null ||
        typeof(g_aryFrench[nID]) == "undefined" )
    {
        alert( "Error: can not find the Resource {" + nID + "}" );
        return "";
    }
    
    return  (top.strLang == "English") ? g_aryEnglish[nID] : g_aryFrench[nID];
}


var g_aryEnglish = new Array();
var g_aryFrench = new Array();


g_aryEnglish[000]   = "Records: $1-$2 of $3 | Pages: $4 of $5";
g_aryEnglish[001]   = "$1 / $2";
g_aryEnglish[002]   = "You need enter the new card number if you want to change it.";
g_aryEnglish[003]   = "Please enter a Card Number.";
g_aryEnglish[004]   = "The credit card number is invalid.";
g_aryEnglish[005]   = "This card has already expired.";
g_aryEnglish[006]   = "This card number is not a VISA card.";
g_aryEnglish[007]   = "This card number is not a Master Card.";


g_aryEnglish[010]   = "Please choose one of the adjustment type.";
g_aryEnglish[011]   = "Please enter a positive number as the currency.";
g_aryEnglish[012]   = "The percent should range from 1 to 100.";
g_aryEnglish[013]   = "Please enter a positive number as the movies count.";
g_aryEnglish[014]   = "<span style='font-size:20px;'><br/>No results found.</span>";
g_aryEnglish[015]   = "This card number is not a AmericanExpress card.";

g_aryEnglish[016]   = "This license is currently assigned to $1 - do you wish to revoke the license from $2 and issue it to $3?";


g_aryFrench[000]   = "Records: $1-$2 of $3 | Pages: $4 of $5";
g_aryFrench[001]   = "$1 / $2";
g_aryFrench[002]   = "You need enter the new card number if you want to change it.";
g_aryFrench[003]   = "Please enter a Card Number.";
g_aryFrench[004]   = "La carte de cr¨¦dit est inadmissible.";
g_aryFrench[005]   = "This card has already expired.";
g_aryFrench[006]   = "This card number is not a VISA card.";
g_aryFrench[007]   = "This card number is not a Master Card.";


g_aryFrench[010]   = "Please choose one of the adjustment type.";
g_aryFrench[011]   = "Please enter a positive number as the currency.";
g_aryFrench[012]   = "The percent should range from 1 to 100.";
g_aryFrench[013]   = "Please enter a positive number as the movies count.";
g_aryFrench[014]   = "<span style='font-size:20px;'><br/>No results found.</span>";
g_aryFrench[015]   = "This card number is not a AmericanExpress card.";


g_aryFrench[016]   = "This license is currently assigned to $1 - do you wish to revoke the license from $2 and issue it to $3?";


g_aryEnglish[020]   = "You have chose to perform the following operation:suspend. Are you sure you want to continue?";
g_aryFrench[020]   = "You have chose to perform the following operation:suspend. Are you sure you want to continue?";
g_aryEnglish[021]   = "You have chose to perform the following operation:cancel. Are you sure you want to continue?";
g_aryFrench[021]   = "You have chose to perform the following operation:cancel. Are you sure you want to continue?";
g_aryEnglish[022]   = "Please confirm the refund for invoice number:$1. Are you sure you want to continue?";
g_aryFrench[022]   = "Please confirm the refund for invoice number:$1. Are you sure you want to continue?";
g_aryEnglish[023]   = "You have chose to perform the following operation:reactivate. Are you sure you want to continue?";
g_aryFrench[023]   = "You have chose to perform the following operation:reactivate. Are you sure you want to continue?";







