// Manifesto: $Id: utilities.js,v 1.2 2009/03/13 00:28:04 spud Exp $ // license: GNU LGPL // copyright 2001-2008: dada typo and contributors if (js_library == 'Manifesto') { /* ------------------------------------------------------------------------ // Collapsable module boxes in the left and right sidebars // This script works on the principle that the drop arrow has an ID of [module]_droparrow // and it toggles the visibility of an element whose ID is [module]_modbox ------------------------------------------------------------------------ */ function collapsableModboxes() { var arr; if (getObjectRef("leftbar")) { arr = dtDOM.getElementsByClass("leftbar","droparrow"); for(var i=0;i= 5.5) && (version < 7) && (document.body.filters)) { for(var i=0; i"; img.outerHTML = strNewHTML; i = i-1; } } /* ------------------------------------------------------------------------ // Uncomment the section below to check every DIV element for a background image // You can easily add more element tags to the array to check other types of element (P, SPAN, etc) ------------------------------------------------------------------------ */ /* // The bgarr array will hold all the elements having a PNG backgroundImage var bgarr = new Array; // The bgtags array contains all the tags that might have a background image var bgtags = array("DIV","H1"); for(var i=0;i