User:OrbFu/global.js

if (wgPageName == "User:OrbFu/Sandbox") { var fileref=document.createElement('script'); fileref.setAttribute("type","text/javascript"); fileref.setAttribute("src", "http://funorb.wikia.com/index.php?title=User:OrbFu/DACalc.js&action=raw&ctype=text/javascript"); document.getElementsByTagName("head")[0].appendChild(fileref); }

if (themeName) { var cssref=document.createElement('link'); cssref.setAttribute("rel", "stylesheet"); cssref.setAttribute("type", "text/css"); cssref.setAttribute("href", "http://funorb.wikia.com/index.php?title=MediaWiki:"+skin+"_"+themename+".css&action=raw&ctype=text/css"); document.getElementsByTagName("head")[0].appendChild(cssref); }