Creating Template:USTC-Software/script

window.USTC = {}; USTC.init = function() {

   USTC.load_css("style.css");
   $("#top_menu_under").remove();
   $("#content > h1").remove();
   $("#bodyContent > p").remove();
   $("#bodyContent div.printfooter").remove();
   $("#bodyContent div.visualClear").remove();
   USTC.load_css("//fonts.googleapis.com/css?family=Montserrat|Josefin+Sans");

}; USTC.load_css = function(name) {

   var node = document.createElement("link");
   node.rel = "stylesheet";
   node.href = "/Template:USTC-Software/" + name + "?action=raw&ctype=text/css";
   node.type = "text/css";
   document.head.appendChild(node);

}; $(USTC.init);