function hashize (id) {
    if (id != null && id != '') {
        if (id.toString().substr(0, 1) != '#') {
            return ('#'.concat(id));
        } else {
            return id;
        }
    } else if (id != null && id == '') {
        return '';
    } else {
        return null;
    }
}

//prida funkci func jako onload akci
function addLoadEvent(func) {
    $(document).ready(func);
}

function getPageLoadTimeCategory(plload) {
    if(plload < 2000)
        lc = "Very Fast";
    else if (plload < 5000)
        lc = "Fast";
    else if (plload < 10000)
        lc = "Medium";
    else if (plload < 30000)
        lc = "Sluggish";
    else if (plload < 45000)
        lc = "Slow";
    else
        lc="Very Slow";

    return lc;
}


