// ----------------------------------------------------------------------------------- // echonetGRID v 0.1 - 2007-12-19 // by Norbert Adenberger - adenberger@echonet.at // Sindre Wimberger - wimberger@echonet.at // // ----------------------------------------------------------------------------------- // // EchonetGRID.init(x1); // // Configuration // x1 || CustomerID // ----------------------------------------------------------------------------------- var EchonetGRID = { css: "http://grid.echonet.at/assets/style/default.css", iframe: "http://grid.echonet.at/iframe/8/start", init: function() { if(!EchonetGRID.$('echonetgrid')) { EchonetGRID.browserCheck(); EchonetGRID.CSSload(); EchonetGRID.create(); } }, // Insert style tag into header CSSload: function() { var headTag = document.getElementsByTagName("head")[0]; var tag = document.createElement("link"); tag.rel = "stylesheet"; tag.type = "text/css"; tag.href = EchonetGRID.css; headTag.appendChild(tag); }, create: function() { // The rest of this code inserts html at the bottom of the page that looks similar to this: //
//