/* Find all programlistings, but ignore anything not in userinput, *UNLESS* the block doesn't contain a userinput block */

$(document).ready(function () {
        $("pre.programlisting").find("strong.userinput").parent().css({
                "-moz-user-select" : "none", 
                    "-webkit-user-select" : "none",
                    "-ms-user-select" : "none",
                    "-khtml-user-select" : "none",
                    "-o-user-select" : "none",
                    "user-select" : "none",
                    });
        $("pre.programlisting").find("strong.userinput").parent().attr('unselectable','true');
    });
