﻿/// <reference path="jquery-1.3.2-vsdoc.js" />

String.prototype.trim = function() {
	return this.replace(/^\s+|\s+$/g,"");
}

String.prototype.startsWith = function(str) {
    return this.match("^"+str) == str;
}


$(function() {
    $(".ContentManaged li").each(function() {
        if (!$(this).html().trim().startsWith("<span"))
            $(this).wrapInner("<span></span>");
    });
});
