if(L.RESTICON_NUM > 1){
            var n = 1 + Math.floor(Math.rand(L.RESTICON_NUM));
            path += "rest" + n + ".gif";
        } else {
            path += "rest.gif";