/** jQuery Functions
 * by Jason "Palamedes" Ellis <palamedes[at]rocketmail.com>
 * 
 * This file contains all those jquery functions I find useful and wanted to make part of jquery itself.
 */

$(function() {

	// @TODO How do we get this?
	var filePath = "http://info.rsow.com/wp-content/themes/microblue/";


	// loadCSS -- Dynamic loading of a CSS file.
    jQuery.fn.loadCSS = function(filename) {
        var file = document.createElement("link");
        file.setAttribute("rel", "stylesheet");
        file.setAttribute("type", "text/css");
        file.setAttribute("href", filePath + filename);
        if (typeof file != 'undefined') $("head").append(file);
    }

});
