var hmContextIds = new Array();
function hmGetContextId(query) {
    var urlParams;
    var match,
        pl = /\+/g,
        search = /([^&=]+)=?([^&]*)/g,
        decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); },
    params = {};
    while (match = search.exec(query))
       params[decode(match[1])] = decode(match[2]);
    if (params["contextid"]) return decodeURIComponent(hmContextIds[params["contextid"]]);
    else return "";
}

hmContextIds["1032"]="04_05_01_supported_photos.htm";
hmContextIds["1033"]="04_05_02_viewing_photos_library.htm";
hmContextIds["1014"]="04_09_00_playing_shared_media.htm";
hmContextIds["1025"]="06_01_00_tt_effects.htm";
hmContextIds["1026"]="06_02_00_3d_playback.htm";
hmContextIds["1028"]="06_03_00_bookmark_functions.htm";
hmContextIds["1029"]="06_04_00_more_functions.htm";
hmContextIds["1041"]="10_01_00_movie_info.htm";
hmContextIds["1042"]="10_01_01_moovielive.htm";
hmContextIds["1043"]="10_01_02_movie_information.htm";
hmContextIds["1044"]="10_01_03_moviemarks.htm";
hmContextIds["1045"]="10_01_04_personal_notes.htm";
hmContextIds["1046"]="10_01_05_disc_info.htm";
hmContextIds["1047"]="10_02_00_movie_collection.htm";
hmContextIds["1048"]="10_02_01_collection.htm";
hmContextIds["1049"]="10_02_02_moviemarks.htm";
hmContextIds["1050"]="10_02_03_watched_with.htm";
hmContextIds["123456"]="11_00_00_player_settings.htm";
hmContextIds["1018"]="11_01_00_general_settings.htm";
hmContextIds["1055"]="11_02_00_vas_settings.htm";
hmContextIds["1056"]="11_02_01_more_video.htm";
hmContextIds["1057"]="11_02_02_more_audio_settings.htm";
hmContextIds["1058"]="11_02_03_subtitles_settings.htm";
hmContextIds["1061"]="11_03_00_bd_settings.htm";
hmContextIds["1062"]="11_03_01_more_bd.htm";
hmContextIds["1063"]="11_07_00_movie_info_settings.htm";
hmContextIds["1064"]="11_08_00_information.htm";
hmContextIds["1019"]="12_02_00_media_library_preferences.htm";
hmContextIds["1035"]="13_00_00_hotkeys.htm";
