/*
tmpload jQuery Plugin v1.0
Copyright 2011, Mark Dalgleish

This content is released under the MIT License
github.com/markdalgleish/tmpload/blob/master/MIT-LICENSE.txt
*/
(function(d,f){var b={};d.tmpload=function(a,e){if(e===f)if(typeof a==="object")if(a.length)for(var c=0;c<a.length;c++)b[a[c].name]=a[c].url;else b[a.name]=a.url;else{if(typeof a==="string")return typeof b[a]==="string"?d.Deferred(function(c){d.get(b[a]).success(function(g){b[a]=d.template(g);c.resolve(b[a])}).error(function(a){c.reject(a)})}).promise():b[a]}else b[a]=e}})(jQuery);
