(function(n){function l(n){for(u=0;u<n.length;u++){if(r=n[u],f='<link type="text/css" rel="stylesheet" ',typeof r=="object")for(i in r)f+=i+'="'+(i==="href"?c:"")+r[i]+(i==="href"&&s?"?r="+ +new Date:"")+'" ';else f+='href="'+c+r+(s?"?r="+ +new Date:"")+'" ';document.write(f+"/>")}}function y(n){for(u=0;u<n.length;u++){if(r=n[u],f='<script type="text/javascript"',typeof r=="object")for(i in r)f+=" "+i+'="'+(i==="src"?o:"")+r[i]+(i==="src"&&s?"?r="+ +new Date:"")+'"';else f+=' src="'+o+r+(s?"?r="+ +new Date:"")+'"';document.write(f+"><\/script>")}}var e={meta:[],css:["nethelp.css"],js:["jquery.js","jquery-ui.js","nethelp.js"],css2:[],js2:[]},t=document.getElementsByTagName("script");t=t[t.length-1];var o=t.getAttribute("data-js")||/^(.*\/)?[^\/]*$/.exec(t.getAttribute("src"))[1],h=/(^|\/)js\/$/i.test(o)?o.replace(/js\/$/i,""):o+"../",c=t.getAttribute("data-css")||h+"css/",k=t.getAttribute("data-themes")||h+"themes/",w=t.getAttribute("data-docs")||n,p=t.getAttribute("data-settings")||h+"settings.xml",d=t.getAttribute("data-placeholder")||'[data-c1-role="nethelp"], body',tt=t.getAttribute("data-start")||n,b=/true/i.test(t.getAttribute("data-topiconly")),it=/true/i.test(t.getAttribute("data-istopic")),v=/true/i.test(t.getAttribute("data-responsive")),nt=/true/i.test(t.getAttribute("data-server")),g=/true/i.test(t.getAttribute("data-manual")),s=/false/i.test(t.getAttribute("data-cache")),u,i,r,f,a;for(v&&(e.js=["jquery.js","nethelp.responsive.jqm.js","jquery.mobile.js","nethelp.js","nethelp.responsive.js"],e.css=["nethelp.responsive.css"],e.css2.push("jquerymobile/jquery.mobile.structure.css")),nt&&e.js.push("nethelp.server.js"),a=function(){l(e.css2),y(e.js2)},u=0;u<e.meta.length;u++){r=e.meta[u],f="<meta ";for(i in r)f+=i+'="'+r[i]+'" ';document.write(f+"/>")}l(e.css),y(e.js),window.nethelpOptions={paths:{js:o,css:c,themes:k,docs:w},autostart:!g,pureNetHelp:!v,settings:p,placeholder:d,start:tt,topiconly:b,istopic:it,disableCache:s,headCallback:a}})()