/* jQuery getCSS Plugin * Copyright 2013, intesso, Matko Jun * MIT license. * * Version: 0.1 * */ (function(){var e=function(e,t){var n=false;if(typeof t==="boolean"){n=t}if(typeof e==="string"){var r=e;e={href:r}}if(!e.rel){e.rel="stylesheet"}if(!e.id&&!n){e.id="getCSS"}else if(e.id&&n){delete e.id}var i=document.createElement("link");for(var s in e){i.setAttribute(s,e[s])}var o;if(!n){o=document.getElementById(e.id)}if(o&&!n){o.parentNode.replaceChild(i,o)}else{var u=document.getElementsByTagName("head")[0];u.appendChild(i)}};if(typeof jQuery==="undefined"){window.getCSS=e}else{jQuery.getCSS=e}})()