def getMapping ( mapDict, curV, ii ):

    for k in mapDict.keys():
        if ( k.lower() == curV.lower() ):
            return ( mapDict[k][ii] )

    print " FAILED TO GET MAPPING ??? ", curV, ii
    print mapDict

    sys.exit(-1)