function StateSuggestions() {
    this.states = [
"Aberdeen",
"Ackerman",
"Amory",
"Ashland",
"Batesville",
"Bay Saint Louis",
"Bay Springs",
"Belden",
"Belmont",
"Belzoni",
"Biloxi",
"Booneville",
"Brandon",
"Brookhaven",
"Bruce",
"Byram",
"Canton",
"Carthage",
"Clarksdale",
"Cleveland",
"Clinton",
"Collins",
"Columbia",
"Columbus",
"Corinth",
"Crystal Springs",
"Diamondhead",
"Diberville",
"Durant",
"Edwards",
"Ellisville",
"Flowood",
"Forest",
"Fulton",
"Gautier",
"Gloster",
"Greenville",
"Greenwood",
"Grenada",
"Gulfport",
"Hattiesburg",
"Hazlehurst",
"Hernando",
"Hollandale",
"Holly Springs",
"Horn Lake",
"Houston",
"Indianola",
"Iuka",
"Jackson",
"Kosciusko",
"Laurel",
"Leakesville",
"Leland",
"Lexington",
"Long Beach",
"Louisville",
"Lucedale",
"Lumberton",
"Maben",
"Macon",
"Madison",
"Magee",
"Marks",
"Mc Cool",
"Mccomb",
"Meridian",
"Mize",
"Monticello",
"Moselle",
"Moss Point",
"Natchez",
"Nesbit",
"New Albany",
"Newton",
"Noxapater",
"Ocean Springs",
"Okolona",
"Olive Branch",
"Oxford",
"Pascagoula",
"Pass Christian",
"Pearl",
"Philadelphia",
"Picayune",
"Pontotoc",
"Poplarville",
"Port Gibson",
"Prentiss",
"Purvis",
"Quitman",
"Rena Lara",
"Richland",
"Richton",
"Ridgeland",
"Ripley",
"Robinsonville",
"Rolling Fork",
"Rosedale",
"Sardis",
"Scooba",
"Senatobia",
"Silver Creek",
"Southaven",
"Starkville",
"Summit",
"Tunica",
"Tupelo",
"Tylertown",
"Verona",
"Vicksburg",
"Walnut",
"Water Valley",
"Waveland",
"Waynesboro",
"West Point",
"Wiggins",
"Winona",
"Woodville",
"Yazoo City"];
}

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);
};

