/* Droppably, version 1.0 RC2 * (c) 2007 EC A L / Lionel Tardy * * http://www.droppably.com/ * * Droppably is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * /*--------------------------------------------------------------------------*/ var general_serverUrl = "http://poz.ch/i/"; var general_serverUrlUser = "http://poz.ch/i/"; var root_LoginLogged = ''; var root_LoginUsername = ''; var root_site_closeonopen = 'true'; var root_site_gird = '50'; var root_site_sdc = '0'; var root_prefix = 'droppably_'; /* Function: desktopizer_writeScriptTag écrit les tags script dans le fichier Parameters: libraryName - fichier de script */ function desktopizer_writeScriptTag(libraryName) { document.write('\t\t\n'); } /* Function: desktopizer_addScripts ajoute les scriptes */ function desktopizer_addScripts() { desktopizer_writeScriptTag("includes/js/prototype.js"); desktopizer_writeScriptTag("includes/js/desktopizer/general.js"); desktopizer_writeScriptTag("includes/js/desktopizer/contextmenu.js"); desktopizer_writeScriptTag("includes/js/desktopizer/elements.js"); desktopizer_writeScriptTag("includes/js/desktopizer/windows.js"); desktopizer_writeScriptTag("includes/js/desktopizer/system.js"); desktopizer_writeScriptTag("includes/js/desktopizer/requests.js"); desktopizer_writeScriptTag("includes/js/desktopizer/files.js"); desktopizer_writeScriptTag("includes/js/desktopizer/events.js"); desktopizer_writeScriptTag("includes/js/desktopizer/igallery.js"); desktopizer_writeScriptTag("includes/js/desktopizer/helpers.js"); desktopizer_writeScriptTag("includes/js/desktopizer/tooltips.js"); desktopizer_writeScriptTag("includes/js/desktopizer/url.js"); desktopizer_writeScriptTag("includes/js/scriptaculous/effects.js"); desktopizer_writeScriptTag("includes/js/scriptaculous/dragdrop.js"); desktopizer_writeScriptTag("includes/js/scriptaculous/controls.js"); desktopizer_writeScriptTag("includes/js/windowsManager/window.js"); desktopizer_writeScriptTag("includes/js/windowsManager/debug.js"); desktopizer_writeScriptTag("includes/js/colorpicker/jquery.js"); desktopizer_writeScriptTag("includes/js/colorpicker/farbtastic.js"); desktopizer_writeScriptTag("includes/js/niceforms/niceforms.js"); } /* Function: desktopizer_addLogin remplit les deux

';
}
else
{
document.getElementById("login").innerHTML = '
';
}
}
/*
Function: buildPage
construit la page web
*/
function desktopizer_buildPage()
{
document.onkeypress = function(event) { return events_keyPress(event); };
document.onkeydown = function(event) { return events_keyDown(event); };
document.onkeyup = function(event) { return events_keyUp(event); };
document.onclick = function(event) { events_click(event, 0, 'desktop'); };
if (root_LoginLogged == 1) document.oncontextmenu = function(event) { contextMenu_Show(event,'contextMenu_TypeDesktop', 'desktop', 'desktop', false); return false; };
}
desktopizer_addScripts();