//  Copyright (C) 2005-2006  Xenno Group group.xennobb.com.
//  Visit XennoBB at www.xennobb.com.
//
//  XennoBB 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.
//
//  XennoBB 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
function UpdateUploadSlots(){var html = '';if (document.forms[1]) var form = document.forms[1]; else var form = document.forms[0];var slot_count = form.upload_slots.value;var i = 0;for (i = 0; i < slot_count; i++) html += "\t\t\t\t\t\t\t\t<p><input type='file' name='image_upload[]' size='70' /></p>\n";document.getElementById("image_upload").innerHTML = html;}function ClearUploadSlots(){if (document.getElementById("image_upload")){document.getElementById("image_upload").innerHTML = '';}}
