/* this is a dummy webfxlayout file to be used in download zip files */ /* Do includes */ if (window.pathToRoot == null) pathToRoot = "./"; document.write(''); webfxMenuDefaultImagePath = pathToRoot + "images/"; /* end includes */ /* set up browser checks and add a simple emulation for IE4 */ // check browsers var op = /opera 5|opera\/5/i.test(navigator.userAgent); var ie = !op && /msie/i.test(navigator.userAgent); // preventing opera to be identified as ie var mz = !op && /mozilla\/5/i.test(navigator.userAgent); // preventing opera to be identified as mz if (ie && document.getElementById == null) { // ie4 document.getElementById = function(sId) { return document.all[sId]; }; } /* end browser checks */ webfxLayout = { writeTitle : function (s, s2) { document.write("
"); if (op) { document.write("

" + s + "

"); } else { document.write("

" + s + "

"); } if (s2 == null) s2 = "WebFX - What you never thought possible!"; if (op) { document.write("" + s2 + ""); } else { document.write("" + s2 + ""); } }, writeMainTitle : function () { this.writeTitle("WebFX", "What you never thought possible!"); }, writeTopMenuBar : function () { document.write("
"); if (op) { document.write(""); document.write("
"); } else document.write("
"); document.write("
");// div is closed in writeBottomMenuBar }, writeBottomMenuBar : function () { document.write("
"); if (op) document.write("
"); else document.write("
"); document.write("
"); document.write("
"); }, writeMenu : function () { this.writeTopMenuBar(); //document.write(webfxMenuBar); document.write("
WebFX Home
"); this.writeBottomMenuBar(); }, writeDesignedByEdger : function () { if (ie && document.body.currentStyle.writingMode != null) document.write("
Page designed and maintained by " + "Erik Arvidsson & " + "Emil A Eklund.
"); } }; if (ie && window.attachEvent) { window.attachEvent("onload", function () { var scrollBorderColor = "rgb(120,172,255)"; var scrollFaceColor = "rgb(234,242,255)"; with (document.body.style) { scrollbarDarkShadowColor = scrollBorderColor; scrollbar3dLightColor = scrollBorderColor; scrollbarArrowColor = "black"; scrollbarBaseColor = scrollFaceColor; scrollbarFaceColor = scrollFaceColor; scrollbarHighlightColor = scrollFaceColor; scrollbarShadowColor = scrollFaceColor; scrollbarTrackColor = "white"; } }); } /* we also need some dummy constructors */ webfxMenuBar = { add : function () {} }; function WebFXMenu() { this.add = function () {}; } function WebFXMenuItem() {} function WebFXMenuSeparator() {} function WebFXMenuButton() {}