/**
 * 
 */
jQuery.jQueryRandom = 0;
jQuery.extend(jQuery.expr[":"],
{
    random: function(a, i, m, r) {
        if (i == 0) {
            jQuery.jQueryRandom = Math.floor(Math.random() * r.length);
        };
        return i == jQuery.jQueryRandom;
    }
});

var ContentSupport = new JS.Class({
	
	initialize: function() {
		this.buildIntroText();
		
	},
	
	buildIntroText: function() {
		var projectHighlights = $('#projecthighlights li:random');
		if (projectHighlights.length > 0) {
			$('.introheading span').html(projectHighlights.text());
		}
	}
});


