function charOrdA(a,b){ a=a.toLowerCase(); b=b.toLowerCase(); try{ if (a>b) return 1; if (a<b) return -1; return 0; }catch(e){ return 0; }}
function charOrdD(a,b){ a=a.toLowerCase(); b=b.toLowerCase(); try{ if (a<b) return 1; if (a>b) return -1; return 0; }catch(e){ return 0; }}

moms=[
{ name:"Charlene Dinkins", file:"CharleneDinkins", orientation:0 },
{ name:"David Preczewski", file:"DavidPreczewski", orientation:0 },
{ name:"Jonathon Willard", file:"JonathonWillard", orientation:0 },
{ name:"Kristina Etheridge", file:"KristinaEtheridge", orientation:0 },
{ name:"Lesli Terzo", file:"LesliTerzo", orientation:0 },
{ name:"Marcia Mattern", file:"MarciaMattern", orientation:0 },
{ name:"Sarah Rivera", file:"SarahRivera", orientation:0 },
{ name:"DeAnn Johnson", file:"DeAnnJohnson", orientation:1 },
{ name:"Katie Andrews", file:"KatieAndrews", orientation:1 },
{ name:"Catherine Weger", file:"CatherineWeger", orientation:0 },
{ name:"Dave Kat", file:"DaveKat", orientation:0 },
{ name:"Kelly Daugherty", file:"KellyDaugherty", orientation:0 },
{ name:"Kristen Koun", file:"KristenKoun", orientation:0 },
{ name:"Sally Gambell", file:"SallyGambell", orientation:0 },
{ name:"Shannan Gref", file:"ShannanGref", orientation:0 },
{ name:"Terry Simon", file:"TerrySimon", orientation:0 },
{ name:"Tina McGrevy", file:"TinaMcGrevy", orientation:0 },
{ name:"Mary Scicluna", file:"MaryScicluna", orientation:1 },
{ name:"Brooke Caputo", file:"BrookeCaputo", orientation:0 },
{ name:"Cynthia Waggoner", file:"CynthiaWaggoner", orientation:0 },
{ name:"Donna Ohlweiler", file:"DonnaOhlweiler", orientation:0 },
{ name:"Hewitt Smith", file:"HewittSmith", orientation:0 },
{ name:"Jenny Swift", file:"JennySwift", orientation:0 },
{ name:"Tania", file:"Tania", orientation:0 },
{ name:"Amber Ramos", file:"AmberRamos", orientation:0 },
{ name:"Beth Rathje", file:"BethRathje", orientation:0 },
{ name:"Carol Miller", file:"CarolMiller", orientation:0 },
{ name:"Cheryl Curry", file:"CherylCurry", orientation:0 },
{ name:"Christine Shannon", file:"ChristineShannon", orientation:0 },
{ name:"Erin Kahley", file:"ErinKahley", orientation:0 },
{ name:"Holly Zorzi", file:"HollyZorzi", orientation:0 },
{ name:"Kari Burfield", file:"KariBurfield", orientation:0 },
{ name:"Kathy Ames", file:"KathyAmes", orientation:0 },
{ name:"Kim North", file:"KimNorth", orientation:0 },
{ name:"Kristin Clark", file:"KristinClark", orientation:0 },
{ name:"Linda Hales", file:"LindaHales", orientation:0 },
{ name:"Linda Sanders", file:"LindaJoSanders", orientation:0 },
{ name:"Lisa Cashman", file:"LisaCashman", orientation:0 },
{ name:"Lori Loose", file:"LoriLoose", orientation:0 },
{ name:"Lyndsi Bowman", file:"LyndsiBowman", orientation:0 },
{ name:"Nichole Terron", file:"NicholeTerron", orientation:0 },
{ name:"Rachel Rather", file:"RachelRather", orientation:0 },
{ name:"Randall Curran", file:"RandallCurran", orientation:0 },
{ name:"Sandra Alvarez", file:"SandraAlvarez", orientation:0 },
{ name:"Sarah Kelly", file:"SarahKelly", orientation:0 },
{ name:"Tera Ciupak", file:"TeraCiupak", orientation:1 },
{ name:"Tyler Etheridge", file:"TylerandKristinaEtheridge", orientation:0 },
{ name:"Christi Walsh", file:"ChristiWalsh", orientation:1 },
{ name:"Jane McCormack", file:"JaneMcCormack", orientation:1 },
{ name:"Jenny Mehus", file:"JennyMehus", orientation:1 },
{ name:"Kim Soloman", file:"KimSoloman", orientation:1 },
{ name:"Nonja Hayden", file:"NonjaHayden", orientation:1 },
{ name:"Robin Fredrickson", file:"RobinFredrickson", orientation:1 },
{ name:"Amy Beeman", file:"AmyBeeman", orientation:1 },
{ name:"Anne McClusky", file:"AnneMcClusky", orientation:1 },
{ name:"Ashley Brock", file:"AshleyBrock", orientation:1 },
{ name:"Chelsea Brumfield", file:"ChelseaBrumfield", orientation:1 },
{ name:"Chris Hardy", file:"ChrisHardy", orientation:1 },
{ name:"Christine", file:"Christine", orientation:1 },
{ name:"Diane Ieppert", file:"DianeIeppert", orientation:1 },
{ name:"Jennifer Christensen", file:"JessicaSpicer", orientation:1 },
{ name:"Josephine Leone", file:"JosephineLeone", orientation:1 },
{ name:"Laure Miller", file:"LaureMiller", orientation:1 },
{ name:"Linda Weber", file:"LindaWeber", orientation:1 },
{ name:"Marsha Octave", file:"MarshaOctave", orientation:1 },
{ name:"Natalie Hicks", file:"NatalieHicks", orientation:1 },
{ name:"Sonya Boyd", file:"SonyaBoyd", orientation:1 },
{ name:"Terra Thrower", file:"TerraThrower", orientation:1 },
{ name:"Tina Morgan", file:"TinaMorgan", orientation:1 },
{ name:"Amanda Kepner", file:"AmandaKepner", orientation:0 },
{ name:"Amanda Pelkola", file:"AmandaPelkola", orientation:0 },
{ name:"Amy Horton", file:"AmyMcGillHorton", orientation:0 },
{ name:"Autumn Nyby", file:"AutumnNyby", orientation:0 },
{ name:"Becky Lockwood", file:"BeckyLockwood", orientation:0 },
{ name:"BJ Conatser", file:"BJConatser", orientation:0 },
{ name:"Brenda DeVries", file:"BrendaDeVries", orientation:0 },
{ name:"Britne McBride", file:"BritneMcBride", orientation:0 },
{ name:"Brooke Moore", file:"BrookeAllisonMoore", orientation:0 },
{ name:"Charles Kiess", file:"CharlesKiess", orientation:0 },
{ name:"Christina Smith", file:"ChristinaSmith", orientation:0 },
{ name:"Cynthia Mediate", file:"CynthiaMediate", orientation:0 },
{ name:"Diane Ash", file:"DianeAsh", orientation:0 },
{ name:"Doug Hartley", file:"DougHartley", orientation:0 },
{ name:"Erin Sanders", file:"ErinSanders", orientation:0 },
{ name:"Glenda Linss", file:"GlendaLinss", orientation:0 },
{ name:"Heather Lynn", file:"HeatherLynn", orientation:0 },
{ name:"Janet", file:"Janet", orientation:0 },
{ name:"Jennifer Degenhardt", file:"JenniferDegenhardt", orientation:0 },
{ name:"JenniLee Winchester", file:"JenniLeeWinchester", orientation:0 },
{ name:"Jessica DeGrandi", file:"JessicaDeGrandi", orientation:0 },
{ name:"Joanna Hipolito", file:"JoannaHipolito", orientation:0 },
{ name:"Jodi Denis", file:"JodiDenis", orientation:0 },
{ name:"Kaitlyn Dunn", file:"KaitlynDunn", orientation:0 },
{ name:"Kathy Partak", file:"KathyPartak", orientation:0 },
{ name:"Katie Malandrino", file:"KatieMalandrino", orientation:0 },
{ name:"Kevin Churchman", file:"KevinChurchman", orientation:0 },
{ name:"Kelly Hunsucker", file:"KellyHunsucker", orientation:0 },
{ name:"Kelley Park", file:"KelleyPark", orientation:0 },
{ name:"Katie Verhalen", file:"KatieVerhalen", orientation:0 },
{ name:"Leland Butler", file:"LelandButler", orientation:0 },
{ name:"Laronda Maddox", file:"LarondaMaddox", orientation:0 },
{ name:"Kim Trecida", file:"KimTrecida", orientation:0 },
{ name:"Kim Reno", file:"KimReno", orientation:0 },
{ name:"Marcia Breen", file:"MarciaBreen", orientation:0 },
{ name:"Luane Martin", file:"LuaneMartin", orientation:0 },
{ name:"Linda Pope", file:"LindaSPope", orientation:0 },
{ name:"Leslie Roland", file:"LeslieRoland", orientation:0 },
{ name:"Mary Lindauer", file:"MaryLindauer", orientation:0 },
{ name:"Mary Brayton", file:"MaryBrayton", orientation:0 },
{ name:"Maria Swieciki", file:"MariaSwieciki", orientation:0 },
{ name:"Marianne Unger", file:"MarianneUnger", orientation:0 },
{ name:"Rebecca", file:"Rebecca", orientation:0 },
{ name:"Nicole Quarles", file:"NicoleQuarles", orientation:0 },
{ name:"Mike Michelson", file:"MikeMichelson", orientation:0 },
{ name:"Megan Earle", file:"MeganEarle", orientation:0 },
{ name:"Sharon Zammiello", file:"SharonZammiello", orientation:0 },
{ name:"Shannon Housey", file:"ShannonHousey", orientation:0 },
{ name:"Sarah Feipel", file:"SarahFeipel", orientation:0 },
{ name:"Sandra Kiess", file:"SandraKiess", orientation:0 },
{ name:"Tracy Martin", file:"TracyMartin", orientation:0 },
{ name:"Stacie North", file:"StacieNorth", orientation:0 },
{ name:"Sheena Church", file:"SheenaMChurch", orientation:0 },
{ name:"Wendy Gonzalez", file:"WendyGonzalez", orientation:0 },
{ name:"Vikki Venekamp", file:"VikkiVenekamp", orientation:0 },
{ name:"Ve Gois", file:"VeGois", orientation:0 },
{ name:"Trish Murphy", file:"TrishMurphy", orientation:0 },
{ name:"Wendy Wallace", file:"WendyWallace", orientation:0 }
]

sortedmamas=[];
mamaobject={};
for (i=0; i<moms.length; i++){
	try{
		thisid=moms[i].name.replace(/[ _\.\-]/g,"").toLowerCase();
		if (mamaobject[thisid]==null){
			mamaobject[thisid]=moms[i];
			sortedmamas.push(thisid);
		}
	}catch(e){}
}

sortedmamas.sort(charOrdA);
for (i=0; i<sortedmamas.length; i++){ mamaobject[sortedmamas[i]].index=i; }

//{ name:"", file:"", orientation:, message:"" }