$(document).ready(function() {
$('h1 .PanelText').each(function() {

var st = $(this).text();
$(this).text(st);

});
}); 

//$(document).ready(function() {
//    $('h1 .PanelText').each(function() {
//        if ($(this).children().length > 0) {
//            var txt3 = $(this).children().text();
//            txt3 = rtrim(ltrim(txt3));
//            if (txt3.length >= 22) {
//              //  alert(txt3);
//              //  alert(txt3.length);
//                var newtxt3 = txt3.substr(0, 21) + '...';
//                $(this).children().text(newtxt3);
//            }
//        } else {

//            var txt3 = $(this).text();
//            txt3 = rtrim(ltrim(txt3));
//            if (txt3.length >= 22) {
//              //  alert(txt3);
//              //  alert(txt3.length);
//                var newtxt3 = txt3.substr(0, 21) + '...';
//                $(this).text(newtxt3);
//            }
//        }
//    });


//});

//function ltrim(stringToTrim) {
//	return stringToTrim.replace(/^\s+/,"");
//}
//function rtrim(stringToTrim) {
//	return stringToTrim.replace(/\s+$/,"");
//}



