(function($) {

var CSSFiles = [];

$.appendCSSFile = function(href) {
	var exists = false;
	jQuery('head > link').each(function(i) {
		if ($(this).attr('href') == href) {
			exists = true;
			return false;
		}
	});

	jQuery('head').append('<link type="text/css" rel="stylesheet" href="' + href + '"/>');
}

$.prependCSSFile = function(href) {
	/* not implemented yet */
}

})(jQuery);
