function StateSuggestions() {
    this.states = [
"Abbeville",
"Abita Springs",
"Albany",
"Alexandria",
"Amite",
"Anacoco",
"Angie",
"Arcadia",
"Avondale",
"Baker",
"Bastrop",
"Baton Rouge",
"Belle Chasse",
"Benton",
"Bogalusa",
"Bordelonville",
"Bossier City",
"Boutte",
"Boyce",
"Breaux Bridge",
"Broussard",
"Bunkie",
"Buras",
"Calhoun",
"Cameron",
"Carencro",
"Chalmette",
"Chauvin",
"Columbia",
"Coushatta",
"Covington",
"Creole",
"Crowley",
"Cut Off",
"Delcambre",
"Delhi",
"Denham Springs",
"Dequincy",
"Deridder",
"Donaldsonville",
"Duson",
"Ethel",
"Eunice",
"Farmerville",
"Ferriday",
"Florien",
"Folsom",
"Franklin",
"Franklinton",
"Galliano",
"Golden Meadow",
"Gonzales",
"Grand Isle",
"Gray",
"Greensburg",
"Greenwood",
"Gretna",
"Hackberry",
"Hammond",
"Harahan",
"Harvey",
"Homer",
"Houma",
"Iowa",
"Jefferson",
"Jena",
"Jennings",
"Jonesboro",
"Jonesville",
"Kaplan",
"Keithville",
"Kenner",
"Kentwood",
"Kinder",
"La Place",
"Lacombe",
"Lafayette",
"Lafitte",
"Lake Charles",
"Lake Providence",
"Larose",
"Leesville",
"Livonia",
"Lockport",
"Luling",
"Mamou",
"Mandeville",
"Mansfield",
"Mansura",
"Many",
"Marksville",
"Marrero",
"Metairie",
"Minden",
"Monroe",
"Morgan City",
"Natchitoches",
"New Iberia",
"New Orleans",
"New Roads",
"Oak Grove",
"Oakdale",
"Oberlin",
"Opelousas",
"Paradis",
"Pearl River",
"Pineville",
"Plaquemine",
"Ponchatoula",
"Port Allen",
"Port Barre",
"Raceland",
"Rayne",
"Rayville",
"Robeline",
"Ruston",
"Saint Francisville",
"Saint Joseph",
"Saint Martinville",
"Saline",
"Scott",
"Shreveport",
"Simmesport",
"Slidell",
"Springfield",
"Springhill",
"Sulphur",
"Tallulah",
"Terrytown",
"Thibodaux",
"Tunica",
"Venice",
"Vidalia",
"Ville Platte",
"Vinton",
"Vivian",
"West Monroe",
"Westlake",
"Westwego",
"Winnfield",
"Winnsboro",
"Woodworth",
"Zachary",
"Zwolle"];
}

StateSuggestions.prototype.requestSuggestions = function (oAutoSuggestControl /*:AutoSuggestControl*/,
                                                          bTypeAhead /*:boolean*/) {
    var aSuggestions = [];
    var sTextboxValue = oAutoSuggestControl.textbox.value;
    
    if (sTextboxValue.length > 0){
    	topsuggestion = null;
        for (var i=0; i < this.states.length; i++) { 
            if (this.states[i].toLowerCase().indexOf(sTextboxValue.toLowerCase()) == 0) {
                aSuggestions.push(this.states[i]);
		if (!topsuggestion) {topsuggestion = this.states[i];}
            } 
        }
    }

    oAutoSuggestControl.autosuggest(aSuggestions, bTypeAhead);
};

