/***************************
NEXT SCRIPT WAS MADE FOR TESTING ONLY.
COULD BE USED AS REFERENCE. (Tom)
****************************/
/* <![CDATA[ */
document.write('<style type="text/css">.hidden{display:none;}</style>');
/* ]]> */
$(function() {
    // do something
    /*$("#tabbedcontent .tabsnavigation ul li a").click(function() {
        $("#tabbedcontent .tabsnavigation .selected").removeClass("selected");

        // should not be implemented because it's not styled
        $("#tabbedcontent .tabscontainer > div").hide();
        $($(this).attr("href")).show();

        $(this).parent().addClass("selected");
        
        /*if($($(this).attr("href")).height() < $("#tabbedcontent .tabsnavigation").height()+50){
        	$("#tabbedcontent").height($("#tabbedcontent .tabsnavigation").height()+50);
        	if ( $.browser.msie && $.browser.version == "6.0" ) {
        		$("#tabbedcontent .tabsnavigation").css({top:"54px", left:"10px"});
			}

        }*/
        
        //return false;
    //});*/

    $.each($('ul.files li span.description'), function(index, value) {
        var myText = $(this).text();
        if (myText.length > 100) {
            var newSubString = myText.substring(0, 99);
            $(this).text(newSubString + '...')
        }
    });
    
});


