var expanderbgcolor= 'white' 
var expanderbackground=''
var expanderborder= '0' 
var expanderbordercolor= '#959595' 
var popupwidth= 600 
var popupheight= 450 
var details_url= 'http://upoint.info/cgi/demo/expander/detailed' 
var messages='<div><a href=javascript:sweeptoggle(\'contract\') class=\'direction\'><font face=arial size=1>Collapse All</font></a> | <a href=javascript:sweeptoggle(\'expand\') class=\'direction\'><font face=arial size=1>Expand All</font></a></div>'

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc29')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Language Files: <img border=\"0\" src=\"new_in_pro32.gif\" width=\"84\" height=\"9\"></h4> <div id='sc29' class='switchcontent'>- All words/phrases are now place in a single language file. You can now easily edit the words/phrases or even create your own language file.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc22')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Bulk Email: <img border=\"0\" src=\"new_in_pro3.gif\" width=\"84\" height=\"9\"></h4> <div id='sc22' class='switchcontent'>- Send bulk emails to selected targets.<br>- Please see <a href=v3.htm target=_blank>Change Log</a> for details.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc23')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Subscription: <img border=\"0\" src=\"new_in_pro3.gif\" width=\"84\" height=\"9\"></h4> <div id='sc23' class='switchcontent'>- Users can choose whether to receive email notification when there is new upload by others.<br>- The email contains a direct link for direct downloading the file.<br>- Please see <a href=v3.htm target=_blank>Change Log</a> for details.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc24')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Make Fields as Required or Optional: <img border=\"0\" src=\"new_in_pro3.gif\" width=\"84\" height=\"9\"></h4> <div id='sc24' class='switchcontent'>- By configurating the config file, you can make fields as required or optional during signup.<br>- Please see <a href=v3.htm target=_blank>Change Log</a> for details.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc25')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Display 10 Last Updated Files on Main Page: <img border=\"0\" src=\"new_in_pro3.gif\" width=\"84\" height=\"9\"></h4> <div id='sc25' class='switchcontent'>- Show latest uploaded files in the system.<br>- Please see <a href=v3.htm target=_blank>Change Log</a> for details.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc26')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> System Suspension Mode: <img border=\"0\" src=\"new_in_pro3.gif\" width=\"84\" height=\"9\"></h4> <div id='sc26' class='switchcontent'>- Turn on suspension mode to temporarily shutdown the system especially during maintenance.<br>- Please see <a href=v3.htm target=_blank>Change Log</a> for details.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc27')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Greetings: <img border=\"0\" src=\"new_in_pro3.gif\" width=\"84\" height=\"9\"></h4> <div id='sc27' class='switchcontent'>- Set up a global message that will be displayed on the main page.<br>- Please see <a href=v3.htm target=_blank>Change Log</a> for details.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc28')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Bulk Delete: <img border=\"0\" src=\"new_in_pro3.gif\" width=\"84\" height=\"9\"></h4> <div id='sc28' class='switchcontent'>- Mass deletion of files based on file age.<br>- Please see <a href=v3.htm target=_blank>Change Log</a> for details.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc8')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Folder Status Icons: <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc8' class='switchcontent'>- 4 new folder icons are adopted.<br>- Now you can easily tell the permission setting of each folder.<br>&nbsp;<table border='0' cellpadding='3' cellspacing='3' width='90%'><tr><td>&nbsp;</td><td width='50%' align='center' bgcolor='#800000'><font color='#FFFFFF'>At least one Group (of Users) has been assigned to access this folder</font></td><td width='50%' align='center' bgcolor='#800000'><font color='#FFFFFF'>Only Admins or Sub-Admins may upload files to this folder</font></td></tr><tr><td><b><img border='0' src='folder.gif' width='16' height='16'></b></td><td width='50%' align='center'><font color='#008000'>Y</font></td><td width='50%' align='center'><font color='#FF0000'>N</font></td></tr><tr><td><b><img border='0' src='folder_admin.gif' width='16' height='16'></b></td><td width='50%' align='center' bgcolor='#E5E5E5'><font color='#008000'>Y</font></td><td width='50%' align='center' bgcolor='#E5E5E5'><font color='#008000'>Y</font></td></tr><tr><td><b><img border='0' src='folder_noaccess.gif' width='16' height='16'></b></td><td width='50%' align='center'><font color='#FF0000'>N</font></td><td width='50%' align='center'><font color='#FF0000'>N</font></td></tr><tr><td><b><img border='0' src='folder_noaccess_admin.gif' width='16' height='16'></b></td><td width='50%' align='center' bgcolor='#E5E5E5'><font color='#FF0000'>N</font></td><td width='50%' align='center' bgcolor='#E5E5E5'><font color='#008000'>Y</font></td></tr></table></div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc6')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Copy &amp; Move <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc6' class='switchcontent'> - You can copy or move files from one folder to another folder - even with the same file name (without overwriting).</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc5')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> File Zipping <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc5' class='switchcontent'> - Provide a zip option for faster download.<p>- This feature can be globally turned off in config file. The <img border='0' src='zip.gif' width='16' height='16'>&nbsp; icons will not be displayed if turned off.<p>- <font color=red><i>safe_mode</i> must be turned off to use this feature</font>. Please read our <a href=http://upoint.info/cgi/helpcenter/docpublisher1039sub1004.html target='_blank'>FAQ</a> regarding turning off safe_mode.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc4')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> \"Pending (3)\" Page <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc4' class='switchcontent'> - This page shows all the files uploaded by Users and awaiting approval from Admins or Sub-Admins. The number in the brackets is the number of files pending approval.<p>- If there is no pending file, Pending will not show up on the left navigation menu.<p>- New \"Confirm All\" operation.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc3')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Access Status Icons <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc3' class='switchcontent'>- In the &quot;Users&quot; page, <img border='0' src='b_admin.gif' width='16' height='16'> denotes Admins and <img border='0' src='b_subadmin.gif' width='16' height='16'> denotes Sub-Admins.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc2')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> New Operation Icons <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc2' class='switchcontent'> &nbsp;<img border='0' src='b_edit.gif' width='16' height='16'>&nbsp;&nbsp; -&nbsp; Edit<p>&nbsp;<img border='0' src='b_delete.gif' width='16' height='16'>&nbsp;&nbsp; -&nbsp; Delete<p> &nbsp;<img border='0' src='b_move.gif' width='16' height='16'>&nbsp;&nbsp; -&nbsp; Move a file to another folder<p> &nbsp;<img border='0' src='b_copy.gif' width='16' height='16'>&nbsp;&nbsp; -&nbsp; Copy a file to another folder or within the same folder<p>&nbsp;<img border='0' src='b_access.gif' width='16' height='16'>&nbsp;&nbsp; -&nbsp; Access group setting</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc1')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> File & Sub-folder Counters <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc1' class='switchcontent'> &nbsp;3 <img border='0' src='c_file.gif' width='12' height='12'> - This folder contains 3 uploaded files<p> &nbsp;5 <img border='0' src='c_folder.gif' width='15' height='12'> - This folder contains 5 sub-folders</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc9')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Users Deleting Own Files <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc9' class='switchcontent'> - This can be set to 1 or 0 in the config file. If set to 1, Users may delete files previously uploaded by himself.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc12')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Browser Issues Fixed <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc12' class='switchcontent'> - In the previous version, most versions of Internet Explorer cannot OPEN the uploaded files directly (without first saving the files to the local drive). This bug is completely fixed and there is no browser issues reported so far.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc13')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Vulnerabilities Patched <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc13' class='switchcontent'> - This script was previously prone to some minor input-validation vulnerabilities. These issues were due to the application's failure to properly sanitize user-supplied input.<p>- The input is now sanitized. The vulnerabilities are fixed.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc14')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> File List Sorting <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc14' class='switchcontent'> - Ascending and descending sort by date, description or file type.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc15')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> User and File Search <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc15' class='switchcontent'> <u>User Search</u>: <p>&nbsp;&nbsp;&nbsp;&nbsp; - User search based on real name, username, email address and group is added.<p>&nbsp;&nbsp;&nbsp;&nbsp; - <img border='0' src='b_admin.gif' width='16' height='16'>(Admins), <img border='0' src='b_subadmin.gif' width='16' height='16'> (Sub-Admins) and Users are sorted together.<p> <u>File Search</u>:<p>&nbsp;&nbsp;&nbsp;&nbsp; - Search result is sorted according to setting in config file.</p></div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc16')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Cookies and Sessions Fixes <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc16' class='switchcontent'> - Improved cookie effect upon logout.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc17')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Email Address Duplication Check <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc17' class='switchcontent'> - Checking email address for duplication during signup and user edit.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc18')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> File Size Units <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc18' class='switchcontent'> - The file are shown in either Bytes, Kb or Mb according to the sizes.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc19')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Directories <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc19' class='switchcontent'> - Accessible groups are displayed on the main Directories page for easier management.<p>- Improved indenting of folder icons.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc21')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Theme Customization <img border=\"0\" src=\"new_in_pro.gif\" width=\"86\" height=\"13\"></h4> <div id='sc21' class='switchcontent'>- The script comes with a <b>header file</b> and a <b>footer file</b> so that you can easily and globally customize the archive system to suit your website.<p>- Furthermore, more than 30 templates are adopted and each interface page has its own template. You can fine-tune each and every page if you know some basic HTML.<p>- Below is an actual screenshot taken from our customer's website (based on version 2.0).<p align='center'><img border='0' src='customization.gif' width='600' height='369'></div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc7')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Same File Names in the Same Folder</h4> <div id='sc7' class='switchcontent'>- You may keep multiple files of the SAME file name in the same folder without renaming and without overwriting the old files. You CANNOT even do this in your desktop computer !</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc20')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Chinese Characters Support</h4> <div id='sc20' class='switchcontent'> - Chinese character input is supported except for user signup. However, it is supported under the User Edit in admin mode.<p>- You may use Chinese characters for group names, folder/sub-folder names and file descriptions.<p>- Other languages are not tested. If you have tried, please feedback to us.<p>| <a target='_blank' href='chinese.gif'>Screenshot 1</a> |<a target='_blank' href='chinese2.gif'>Screenshot 2</a> |<a target='_blank' href='chinese3.gif'>Screenshot 3</a> |<a target='_blank' href='chinese4.gif'>Screenshot 4</a> |</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc10')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Other Features</h4> <div id='sc10' class='switchcontent'> - More detailed access/ upload/ download logs.<b><img border='0' src='new_in_pro.gif' width='86' height='13'><p>- </b>Users can retrieve lost password via email.<p>- Search files based on file description.</div>"

messages+="<h4 class='title' onClick=\"expandcontent(this, 'sc11')\" style=\"cursor:hand; cursor:pointer\"><span class='showstate'></span> Hidden Features</h4> <div id='sc11' class='switchcontent'> - </b>You may create a <b>guest login</b> by giving the username a &quot;<i>guest_</i>&quot; prefix (e.g., &quot;guest_peterson&quot;, &quot;guest_richard&quot; etc) and announce the username/password publicly. This is useful if you want your visitors to be able to access  the archive without signup. The visitors simply enter the username/ password that you tell them. When login as guest, the User Profile is made non-editable.<p>- If you want your visitors to skip entering username/password, you can create a direct link to bring them to the main page. Please see F.A.Q below for details.</div>"
