// Menu for Java & JavaScript
// Constants
par="<param name=";
val=" value=";
t=">";
o="3|";
p="2|";
m="maindesc";
d="desc";
u="desturl";
q="\"";
// Menu variables
menu = new Array();
link = new Array();
menuvcl = new Array('Bars and Status Bars','Buttons and Check Boxes','Charts and Graphs','Communications','Component Packs','Data Compress','Date and Time','Dialogs','Edits, Memos','Effects and Multimedia','Experts','Files and Drives','Forms','Graphics','Grids','Indicators and Gauges','Installation','Internet','Labels','LAN','List and Combo Boxes','ListViews and TreeViews','Menus','Misc. Effects','Miscellaneous','Panels','Print VCL','Property Editors','Reports','Science','Security','Shapes','Sizers, Scrollers, etc.','Sound Effects','System','Tabbed Components','Tools');
menu[0] = new Array('Other Bars','Outlook Style','Status Bars','Task Bars','Tool Bars');
link[0] = new Array('otherbars','outlookbars','statusbars','taskbars','toolbars');
menu[1] = new Array('Animated Buttons','Buttons','Buttons with dialogs','Check Boxes','Gradient Buttons','MS Style Buttons','Non-standard form','Other Buttons','Packs','Power Buttons','Radio Buttons','Speed Buttons');
link[1] = new Array('anibuttons','buttons','buttonsdlg','checkboxes','gradientbuttons','msoffice','nsbuttons','otherbuttons','buttonspacks','powerbuttons','radiobuttons','speedbuttons');
menu[2] = new Array('CAD','Charts','Other');
link[2] = new Array('cad','charts','chartsother');
menu[3] = new Array('Cellular','Dial-Up','Fax','GPS','ISDN','MAPI','Other','Packs','Port and Modems','RAS','TAPI','Voice');
link[3] = new Array('cellular','dialup','fax','gps','isdn','mapi','commsother','comm_packs','modems','ras','tapi','commsvoice');
menu[4] = new Array('Interface Huge','Interface Lite','Interface Middle','Multi-purpose Huge','Multi-purpose Lite','Multi-purpose Middle','Other');
link[4] = new Array('interfacehuge','interfacelite','interfacemiddle','huge','packslite','middle','packsother');
menu[5] = new Array('Custom formats','Other','Packs','Standard');
link[5] = new Array('compresscustom','compressother','compresspacks','compressstd');
menu[6] = new Array('Calendars','Clocks','Date and Time','Other','Packs','Schedulers','Timers');
link[6] = new Array('calendar','clocks','dateandtime','dateother','datepack','schedulers','timers');
menu[7] = new Array('Database Dialogs','Extended Dialogs','Message Boxes','Other','Standard Dialogs','Tips');
link[7] = new Array('dbdialogs','extdialogs','msgboxes','othdialogs','stddialogs','dialogs_tips');
menu[8] = new Array('Edit Packs','Edits for different types','Enhanced Edits','Memos','Other','Other Edits','Packs','RichEdits');
link[8] = new Array('poweredits','diffedits','edits_enh','memos','edits_othertools','othedits','edits_packs','edot_rich');
menu[9] = new Array('Animation','Audio','Direct X','OpenGL','Other','Packs','Twain','Video','Voice');
link[9] = new Array('animation','audio','directx','opengl','mmediaother','mmpacks','mmtwain','video','voice');
menu[10] = new Array('Code','Components','DB','Help Tools','IDE','Other','Packs','Tools','Version Controls');
link[10] = new Array('expertscode','expertscomps','tools_db','expertshelp','expertside','expother','experts_packs','expertsutilities','versioncontrols');
menu[11] = new Array('BackUp','Browsers','CD','Disk Access','Disk Information','Log Files','Notification','Operations','Other','Packs','Search');
link[11] = new Array('backup','filedrvbrowsers','cd','diskaccess','driveinformation','logfiles','notification','files','filedrvother','disk_packs','search');
menu[12] = new Array('Appearence','Aspect Ratio','Captions','Complex forms','Effects','Non-rectangular','Other','State savers');
link[12] = new Array('appearence','aspect','captions','complex','effects','nonrect','formsother','savers');
menu[13] = new Array('Animated','Bitmap Images','Capture','Effects','Fax','GIF Images','Icons','Image Conversion','JPG Images','Just Images','Other','Other Formats','Packs','TIFF Images','Transparent','Wallpapers');
link[13] = new Array('animated','bitmap','displaying','graphics_eff','graphics_fax','gif','icons','conversion','jpg','jimages','graphicsother','otherformats','graphicspacks','tiff','transparent','grahics_wallpappers');
menu[14] = new Array('Draw Grids','Other','Packs','Power Grids','Spreadsheets','String Grids');
link[14] = new Array('drawgrids','gridsother','gridpacks','powergrids','spreadsheets','stringgrids');
menu[15] = new Array('BillBoards','Displays','Indicators','Leds','Other','Packs','Progress Bars');
link[15] = new Array('billboards','comp_displays','comp_indicators','leds','indicatother','indicatpacks','comp_meters');
menu[16] = new Array('Installation','Other','Web-based');
link[16] = new Array('install','installother','webupdate');
menu[17] = new Array('Browsers','CGI, ISAPI','Coding','E-Commerce','E-Mail','FTP','Finger','HTML, XML and so on','HTTP','IRC','News','Other','Packs','Server-Side','Sockets');
link[17] = new Array('browsers','cgiisapi','coding','ecommerce','email','ftp','finger','html','http','irc','internetnews','internetother','internetpacks','serverside','sockets');
menu[18] = new Array('3D Labels','Animation Labels','Blink Labels','Enhanced Labels','Formatted Labels','Link Labels','Other','Packs','Rotated Labels','Transparent Labels');
link[18] = new Array('3dlabels','anlabels','blinklabels','enhancedlabels','formattedlabels','linklabels','labelsother','labelspacks','rotatedlabels','transparentlabels');
menu[19] = new Array('Communications','Hardware','MS Networks','Netware','Networks');
link[19] = new Array('lan_comms','lanhardware','msnetworks','netware','networks');
menu[20] = new Array('Check List and Combo Boxes','Color ComboBoxes','Draw Controls','Enhanced List and Combo Boxes','Enhanced Outlines','File-related Controls','Font List and Combo Boxes','Other','Power Controls');
link[20] = new Array('checklistandcomboboxes','colorcomboboxes','drawcontrols','enhancedlistandcomboboxes','enhancedoutlines','filerelatedcontrols','fontlistandcomboboxes','lbcbother','lbcbpowercontrols');
menu[21] = new Array('Enhanced ListViews','Enhanced TreeViews','Other','Packs','Special Views');
link[21] = new Array('enhancedlistviews','enhancedtreeviews','lvtvother','lvtvpacks','specialviews');
menu[22] = new Array('MS-Office like Menus','Menu Enhancements','Power Menus','System Menus');
link[22] = new Array('msofficelikemenus','menuenhancments','menusother','systemmenus');
menu[23] = new Array('Animation','Banners','Games','Hints','Marques','Mouse Cursors','Other','Text','WallPapers');
link[23] = new Array('misceffanimation','banners','megames','hints','marques','mousecursors','misceffother','scrollingtext','wallpapers');
menu[24] = new Array('Bar Codes','Credit Cards','Fonts','GIS','Games','Money','Other','Sort','Tips And Wizards');
link[24] = new Array('barcodes','creditcards','fonts','gis','games','money','misc_other','sort','tips');
menu[25] = new Array('Bevels','Enhanced Panels','Other','Panels with Effects');
link[25] = new Array('bevels','enhancedpanels','panelsother','panelswitheffects');
menu[26] = new Array('Other','Previews','Print Tools','Printers');
link[26] = new Array('printother','previews','printtools','printers');
menu[27] = new Array('Images And Glyphs','Other');
link[27] = new Array('images','editorsother');
menu[28] = new Array('HTML Reports','Other','Quick Report','Report Enhancements','Report Tools');
link[28] = new Array('htmlreports','reportsother','quickreport','reportenhancements','reportdesigners');
menu[29] = new Array('Calculators','Expressions','Input Controls','Logical','Other','Packs','Statistic','Vector');
link[29] = new Array('calculators','expressions','science_input','logical','mathother','mathpacks','statistic','vector');
menu[30] = new Array('Crypting','Crypting Other','Hardware','Other','Passwords','Shareware','User Rights');
link[30] = new Array('cryptstrong','crypting','securityhard','securityother','passwords','shareware','userrights');
menu[31] = new Array('Enhanced Shapes','Gradient Shapes','Other');
link[31] = new Array('enhancedshapes','gradientshapes','shapesother');
menu[32] = new Array('Other','Rulers','Scrollers','Sizers','Splitters','TrackBars');
link[32] = new Array('sizersother','rulers','scrollers','sizers','splitters','trackbars');
menu[33] = new Array('Mixer','Other','PC Speaker');
link[33] = new Array('mixer','soundother','pcspeaker');
menu[34] = new Array('API','Actions','Apps Communications','Apps and Tasks','COM and DCOM','CPU','CRT','DDE','Drag and Drop','Instance','Keys and Keyboard','Memory','Mouse','NT','OLE','Other','Other Hardware','Packs','Port Access','Registry','Resources','Screen Saver','Shell','System','System Info','Threads','Tray Icons','Version Info');
link[34] = new Array('api','actions','appscommunications','tasks','comanddcom','cpu','crt','dde','draganddrop','instance','keysandkeyboard','memory','mouse','nt','ole','systemother','otherhardware','system_packs','portaccess','registry','system_res','screensaver','system_shell','windows','systeminfo','threads','trayicons','sustem_versioninfo');
menu[35] = new Array('Other','Page Controls','Tabs Controls');
link[35] = new Array('tabsother','pagecontrols','tabscontrols');
menu[36] = new Array('Accelerators','Accounting','Apps Settings','Base classes','Conversion','Debug','Events','Exceptions','Help Tools','IDE Extentions','Interpretators','Macro','Multi Language','Other','Patches','Plug-ins','Project','Resources','Run-Time','Scripts','Sort, Search','Spell Checkers','Streams','Text','Tools');
link[36] = new Array('accelerators','accounting','appssettings','classes','unitsconversion','debug','events','exceptions','vclhelp','ide','interpretators','macros','multilanguage','vcltoolsother','patches','plugins','proj','res_tools','objectinspectors','scripts','sorters','spellcheckers','streams','text','codertools');
// Pre-post-applet variables
preappletname = new Array('Notice','bgcolor','onsbtext','loadmsg','loadmsgcolor','offsbtext','muhltextcolor','mbgonmenusonly','mtilebg','mheight','topoffset','mindent','mfont','miconindent','mtextcolor','mhltextcolor','subheight','subindent','subiconindent','subfont','s_bgfile','s_color','s_textcolor','s_outcolor','s_hloutcolor','s_hltextcolor','s_uhlcolor','hlsubtextonly','jumpsize','rfromoff','loadwhere','checkprevlink');
preappletvalue = new Array('Sliding Tree Menu, Copyright (c) 2000, OpenCube Inc.','255,255,255','VCL Menu. Torry\'s Delphi Pages.','Loading VCL menu','0,0,0', 'Torry`s Delphi Pages','0,0,0','false','false','12','0','15','SansSerif,Bold,11','1','0,0,0','180,180,180','13','7','-6','SansSerif,Plain,11','images/lev1.gif','255,255,255','115,115,115','0,0,0','255,255,255','115,110,105','220,220,220','false','30','true','_self','true');postappletname = new Array('s_hltextcolor1','s_hloutcolor1','iconfile0','iconswitchfile0','iconclickfile0','iconfile1','iconswitchfile1','iconfile2','iconswitchfile2','iconclickfile2','iconfile3','iconswitchfile3');
postappletvalue = new Array('180,180,180','120,120,120','images/micon.gif','images/micondown.gif','images/miconup.gif','images/bcircleh.gif','images/bcircleb.gif','images/iright.gif','images/idown.gif','images/iup.gif','images/micon.gif','images/mnosub.gif');
if (navigator.javaEnabled() && location.hostname!="homepages.borland.com" && region=="JavaFree")
{
document.write("<applet code=\"slidem\" codebase=\".\" align=baseline height=850 width=150>");
j=i=0;
while (i<preappletname.length){document.write(par+q+preappletname[i]+q+val+q+preappletvalue[i]+q+t); i++;}
while (j<menuvcl.length){document.write(par+q+m+j+q+val+q+o+menuvcl[j]+q+t); j++;}
j=i=0;
while (i<menuvcl.length) {while (j<menu[i].length) {
document.write(par+q+d+i+"-"+j+q+val+q+p+menu[i][j]+q+t);
document.write(par+q+u+i+"-"+j+q+val+q+link[i][j]+".htm"+q+t);
j++;}
j=0;
i++;}
i=0;
while (i<postappletname.length){document.write(par+q+postappletname[i]+q+val+q+postappletvalue[i]+q+t); i++;}
document.write ("</applet>")
}
else
{
document.write("<table border=0 cellpadding=0 cellspacing=0><tr><td><b><font size=3 class=menu>"+menuvcl[sub]+"</font></b><br>");
i=0;
while (i<menu[sub].length){document.write("<img src=images/iright.gif border=0 width=11 height=11><font size=2><a href="+link[sub][i]+".htm class=submenu>"+menu[sub][i]+"</a></font><br>");i++;}
i=0;
while (i<menuvcl.length)
{
if (i!=sub){document.write("<b><font size=3><a href="+link[i][0]+".htm class=menu>"+menuvcl[i]+"</a></font></b><br>");}
i++;
}
document.write("</td></tr></table>");
}
