var catArray = new Array(4); var catIDtoName = new Array(); var SubCatLabels = new Array(4); SubCatLabels['Mac OS'] = new Array(); SubCatLabels['PalmOS'] = new Array(); SubCatLabels['Mac OS X'] = new Array(); SubCatLabels['Windows'] = new Array(); SubCatLabels['iPhone'] = new Array(); var SubCatValues = new Array(4); SubCatValues['Mac OS'] = new Array(); SubCatValues['PalmOS'] = new Array(); SubCatValues['Mac OS X'] = new Array(); SubCatValues['Windows'] = new Array(); SubCatValues['iPhone'] = new Array(); var catArrayValues = new Array(4); catArray['Mac OS'] = new Array("All", "Audio", "Business", "Developer Tools", "Drivers", "DTP/Prepress", "Educational", "Finance", "Font Tools", "Games", "Graphics", "HTML Tools", "Internet Utilities", "Math/Scientific", "Multimedia", "Network/Admin", "Screensavers", "Security", "System Utilities", "Utilities", "Word Processing"); catArray['PalmOS'] = new Array("All", "Business", "Developer Tools", "Educational", "Finance", "Games", "Graphics", "Internet Utilities", "Math/Scientific", "Network/Admin", "Security", "System Utilities", "Utilities", "Word Processing"); // catArray['iPhone'] = new Array("All", "Audio", "Blogs / Forums", "Business", "Calculate / Convert", "Calendar", "Developer Tools", "Email / Messaging", "Food", "Games", "International", "Miscellaneous", "Networking / Security", "News", "Photo", "Radio / Podcasts", "Reference", "Shopping", "Sports", "Travel", "Video"); catArray['iPhone'] = new Array("All", "Business", "Education", "Entertainment", "Finance", "Games", "Healthcare / Fitness", "Lifestyle", "Music", "Navigation", "News", "Photography", "Productivity", "Reference", "Social Networking", "Sports", "Travel", "Utilities", "Weather"); catArrayValues['Mac OS'] = new Array("all", "audio", "business", "developertools", "drivers", "prepress", "educational", "finance", "fonttools", "games", "graphics", "htmltools", "internetutilities", "mathscientific", "multimedia", "networkadmin", "screensavers", "security", "systemutilities", "utilities", "wordprocessing"); catArrayValues['PalmOS'] = new Array("all", "business", "developertools", "educational", "finance", "games", "graphics", "internetutilities", "mathscientific", "networkadmin", "security", "systemutilities", "utilities", "wordprocessing"); // catArrayValues['iPhone'] = new Array("All", "audio", "blogs", "business", "calculate", "calendar", "developertools", "msg", "food", "games", "intl", "misc", "networking", "news", "photo", "podcast", "reference", "shopping", "sports", "travel", "video"); catArrayValues['iPhone'] = new Array("all", "business", "education", "entertainment", "finance", "games", "healthcare", "lifestyle", "music", "navigation", "news", "photography", "productivity", "reference", "socialnetworking", "sports", "travel", "utilities", "weather"); SubCatLabels['Mac OS X']['audio'] = new Array("All", "Converters", "Editors", "Management", "Other Audio / Video", "Players", "Rip / Burn / Image"); SubCatValues['Mac OS X']['audio'] = new Array("all", "converters", "editors", "manage", "other", "players", "rip-burn"); SubCatLabels['Mac OS X']['business'] = new Array("All", "Calendars / Organizers", "Contact Management / CRM", "Database", "Finance", "Office Suites", "Other Business / Productivity", "Planning / Project Management", "Presentation", "Spreadsheet", "Word Processing"); SubCatValues['Mac OS X']['business'] = new Array("all", "calendars-organizers", "crm", "database", "finance", "office-suites", "other", "project-management", "present", "spreadsheet", "word-process"); SubCatLabels['Mac OS X']['graphics'] = new Array("All", "3D / Animation / Flash", "CAD / Technical", "Font", "Illustration", "Image Edit / Optimize / Convert", "Image Viewers", "Other Design / Graphics", "Photoshop Filters / Plugins", "Publishing"); SubCatValues['Mac OS X']['graphics'] = new Array("all", "animation", "technical", "font", "illustration", "image-edit", "image-view", "other", "photoshop-plugins", "publishing"); SubCatLabels['Mac OS X']['desktop'] = new Array("All", "Automator Actions", "Other Desktop Enhancements", "Screensavers", "Themes", "Tweaks"); SubCatValues['Mac OS X']['desktop'] = new Array("all", "automator", "other", "screensavers", "themes", "tweaks"); SubCatLabels['Mac OS X']['drivers'] = new Array("All", "Audio", "Camera", "CD-ROM / DVD", "Game Controllers", "Keyboard", "Modem", "Mouse", "Network", "Other Drivers", "Other Input Devices", "Printer", "Scanner", "USB", "Video"); SubCatValues['Mac OS X']['drivers'] = new Array("all", "audio", "camera", "cd-dvd", "gaming", "keyboard", "modem", "mouse", "network", "other", "other", "printer", "scanner", "usb", "video"); SubCatLabels['Mac OS X']['games'] = new Array("All", "Action / FPS", "Arcade", "Cards / Board", "Other Games", "Puzzle", "Strategy / RPG"); SubCatValues['Mac OS X']['games'] = new Array("all", "action-fps", "arcade", "cards-board", "other", "puzzle", "strategy-rpg"); SubCatLabels['Mac OS X']['home-edu'] = new Array("All", "Assistive Technology", "Food / Beverage", "Health", "Hobbies", "Language", "Math / Science", "Other Home / Education", "Teaching / Training"); SubCatValues['Mac OS X']['home-edu'] = new Array("all", "assistive-tech", "food-bev", "health", "hobbies", "language", "math-scientific", "other", "educational"); SubCatLabels['Mac OS X']['internetutilities'] = new Array("All", "Browsers", "Chat / IM / SMS", "Email", "File Sharing", "FTP", "Other Internet", "RSS / Podcast / Blog", "Telephony / VoIP"); SubCatValues['Mac OS X']['internetutilities'] = new Array("all", "browsers", "chat-im-sms", "email", "file-share", "ftp", "other", "rss-podcast-blog", "telephony-voip"); SubCatLabels['Mac OS X']['ipod-itunes'] = new Array("All", "iPod Backup/Copy", "iPod Utilities", "iPod Video", "iTunes Artwork", "iTunes Controllers", "iTunes Sharing", "iTunes Utilities", "iTunes Visualizers", "Other iPod / iTunes"); SubCatValues['Mac OS X']['ipod-itunes'] = new Array("all", "backup-copy", "ipod-utilities", "video", "artwork", "controllers", "sharing", "itunes-utilities", "visualizers", "other"); SubCatLabels['Mac OS X']['networkadmin'] = new Array("All", "Database", "File / Print Servers", "Helpdesk", "Internet / Web Servers", "Other Network / Admin", "Remote Access", "Utility"); SubCatValues['Mac OS X']['networkadmin'] = new Array("all", "database", "file-print-servers", "helpdesk", "internet-web-servers", "other", "remote-access", "utility"); SubCatLabels['Mac OS X']['mobile-media'] = new Array("All", "Backup", "Data Transfer / Sync", "Mobile Phones", "Other Mobile / Media Devices", "PSP Utilities"); SubCatValues['Mac OS X']['mobile-media'] = new Array("all", "backup", "data-transfer-sync", "mobile-phones", "other", "psp-utilities"); SubCatLabels['Mac OS X']['security'] = new Array("All", "Antivirus", "Encryption / File Protection", "Firewall", "Monitor / Keylog", "Other Security / Privacy", "Password Managers", "Spyware / Adware Detect / Remove"); SubCatValues['Mac OS X']['security'] = new Array("all", "antivirus", "encryption-file-protection", "firewall", "monitor-keylog", "other", "password", "remove-spyware-adware"); SubCatLabels['Mac OS X']['systemutilities'] = new Array("All", "Backup / Sync / Recover", "Compression", "Disk / File Managers / Uninstallers", "Maintenance / Optimization", "OS Updates", "Other System / Utilities", "Shutdown / Launch Utilities", "Tweaks / Enhancements"); SubCatValues['Mac OS X']['systemutilities'] = new Array("all", "backup-sync-recover", "compress", "managers-uninstaller", "maintenance-optimization", "os-updates", "other", "shutdown-launch", "tweaks-enhance"); SubCatLabels['Mac OS X']['web-software-dev'] = new Array("All", "Compiler", "Components / Libraries", "Debug / Profile", "E-Commerce", "HTML / Text Editors", "IDEs", "Other Developer Tools", "Site Creation / Management"); SubCatValues['Mac OS X']['web-software-dev'] = new Array("all", "compiler", "components-libraries", "debug-profile", "e-commerce", "html-text-editors", "ide", "other", "site-creation-management"); SubCatLabels['Mac OS X']['widgets'] = new Array("All", "Blogs / Forums", "Business", "Calculate / Convert", "Developer", "Email / Messaging", "Food", "Games", "Information", "International", "Movies / TV", "Music", "Networking / Security", "News", "Other Widgets", "Radio / Podcasts", "Reference", "Search", "Shopping", "Status", "Transportation", "Travel", "Webcams"); SubCatValues['Mac OS X']['widgets'] = new Array("all", "blogs-forums", "business", "calculate-convert", "developer", "email-messaging", "food", "games", "info", "international", "movies-tv", "music", "network-security", "news", "other", "radio-podcasts", "reference", "search", "shopping", "status", "transportation", "travel", "webcams"); catArray['Mac OS X'] = new Array("All", "Audio / Video", "Business / Productivity", "Design / Graphics", "Desktop Enhancements", "Drivers", "Games", "Home / Education", "Internet", "iPod / iTunes", "IT & Network Administration", "Mobile / Media Devices", "Security / Privacy", "System / Utilities", "Web & Software Development", "Widgets"); catArrayValues['Mac OS X'] = new Array("all", "audio", "business", "graphics", "desktop", "drivers", "games", "home-edu", "internetutilities", "ipod-itunes", "networkadmin", "mobile-media", "security", "systemutilities", "web-software-dev", "widgets"); SubCatLabels['Windows']['audio'] = new Array("All", "Converters", "Editors", "Management", "Other Audio / Video", "Players", "Rip / Burn / Image"); SubCatValues['Windows']['audio'] = new Array("all", "converters", "editors", "manage", "other", "players", "rip-burn"); SubCatLabels['Windows']['business'] = new Array("All", "Calendars / Organizers", "Contact Management / CRM", "Database", "Finance", "Office Suites", "Other Business / Productivity", "Planning / Project Management", "Presentation", "Spreadsheet", "Word Processing"); SubCatValues['Windows']['business'] = new Array("all", "calendars-organizers", "crm", "database", "finance", "office-suites", "other", "project-management", "present", "spreadsheet", "word-process"); SubCatLabels['Windows']['graphics'] = new Array("All", "3D / Animation / Flash", "CAD / Technical", "Font", "Illustration", "Image Edit / Optimize / Convert", "Image Viewers", "Other Design / Graphics", "Photoshop Filters / Plugins", "Publishing"); SubCatValues['Windows']['graphics'] = new Array("all", "animation", "technical", "font", "illustration", "image-edit", "image-view", "other", "photoshop-plugins", "publishing"); SubCatLabels['Windows']['desktop'] = new Array("All", "Cursors / Icons", "Other Desktop Enhancements", "Screensavers", "Shells", "Toolbars / Search Tools"); SubCatValues['Windows']['desktop'] = new Array("all", "cursors-icons", "other", "screensavers", "shells", "search-toolbars"); SubCatLabels['Windows']['drivers'] = new Array("All", "Audio", "BIOS / Motherboard", "Camera", "CD-ROM / DVD", "Game Controllers", "Keyboard", "Modem", "Mouse", "Network", "Other Drivers", "Other Input Devices", "Printer", "Scanner", "SCSI", "Storage", "USB", "Video"); SubCatValues['Windows']['drivers'] = new Array("all", "audio", "bios", "camera", "cd-dvd", "gaming", "keyboard", "modem", "mouse", "network", "other", "other", "printer", "scanner", "scsi", "storage", "usb", "video"); SubCatLabels['Windows']['gadget'] = new Array("All", "Blogs / Forums", "Business", "Calculate / Convert", "Developer", "Email / Messaging", "Food", "Games", "Information", "International", "Movies / TV", "Music", "Networking / Security", "News", "Other Gadgets", "Radio / Podcasts", "Reference", "Search", "Shopping", "Status", "Transportation", "Travel", "Webcams"); SubCatValues['Windows']['gadget'] = new Array("all", "blogs-forums", "business", "calculate-convert", "developer", "email-messaging", "food", "games", "info", "international", "movies-tv", "music", "network-security", "news", "other", "radio-podcasts", "reference", "search", "shopping", "status", "transportation", "travel", "webcams"); SubCatLabels['Windows']['games'] = new Array("All", "Action / FPS", "Arcade", "Cards / Board", "Other Games", "Puzzle", "Strategy / RPG"); SubCatValues['Windows']['games'] = new Array("all", "action-fps", "arcade", "cards-board", "other", "puzzle", "strategy-rpg"); SubCatLabels['Windows']['home-edu'] = new Array("All", "Assistive Technology", "Food / Beverage", "Health", "Hobbies", "Language", "Math / Science", "Other Home / Education", "Teaching / Training"); SubCatValues['Windows']['home-edu'] = new Array("all", "assistive-tech", "food-bev", "health", "hobbies", "language", "math-scientific", "other", "educational"); SubCatLabels['Windows']['internetutilities'] = new Array("All", "Browsers", "Chat / IM / SMS", "Email", "File Sharing", "FTP", "Other Internet", "RSS / Podcast / Blog", "Telephony / VoIP"); SubCatValues['Windows']['internetutilities'] = new Array("all", "browsers", "chat-im-sms", "email", "file-share", "ftp", "other", "rss-podcast-blog", "telephony-voip"); SubCatLabels['Windows']['ipod-itunes'] = new Array("All", "iPod Backup/Copy", "iPod Utilities", "iPod Video", "iTunes Artwork", "iTunes Controllers", "iTunes Sharing", "iTunes Utilities", "iTunes Visualizers", "Other iPod / iTunes"); SubCatValues['Windows']['ipod-itunes'] = new Array("all", "backup-copy", "ipod-utilities", "video", "artwork", "controllers", "sharing", "itunes-utilities", "visualizers", "other"); SubCatLabels['Windows']['networkadmin'] = new Array("All", "Database", "File / Print Servers", "Helpdesk", "Internet / Web Servers", "Other Network / Admin", "Remote Access", "Utility"); SubCatValues['Windows']['networkadmin'] = new Array("all", "database", "file-print-servers", "helpdesk", "internet-web-servers", "other", "remote-access", "utility"); SubCatLabels['Windows']['mobile-media'] = new Array("All", "Backup", "Data Transfer / Sync", "Mobile Phones", "Other Mobile / Media Devices", "PSP Utilities"); SubCatValues['Windows']['mobile-media'] = new Array("all", "backup", "data-transfer-sync", "mobile-phones", "other", "psp-utilities"); SubCatLabels['Windows']['security'] = new Array("All", "Antivirus", "Encryption / File Protection", "Firewall", "Monitor / Keylog", "Other Security / Privacy", "Password Managers", "Pop-up Management", "Spyware / Adware Detect / Remove"); SubCatValues['Windows']['security'] = new Array("all", "antivirus", "encryption-file-protection", "firewall", "monitor-keylog", "other", "password", "pop-up", "remove-spyware-adware"); SubCatLabels['Windows']['systemutilities'] = new Array("All", "Backup / Sync / Recover", "Compression", "Disk / File Managers / Uninstallers", "Maintenance / Optimization", "OS Updates", "Other System / Utilities", "Shutdown / Launch Utilities", "Tweaks / Enhancements"); SubCatValues['Windows']['systemutilities'] = new Array("all", "backup-sync-recover", "compress", "managers-uninstaller", "maintenance-optimization", "os-updates", "other", "shutdown-launch", "tweaks-enhance"); SubCatLabels['Windows']['web-software-dev'] = new Array("All", "Compiler", "Components / Libraries", "Debug / Profile", "E-Commerce", "HTML / Text Editors", "IDEs", "Other Developer Tools", "Site Creation / Management"); SubCatValues['Windows']['web-software-dev'] = new Array("all", "compiler", "components-libraries", "debug-profile", "e-commerce", "html-text-editors", "ide", "other", "site-creation-management"); catArray['Windows'] = new Array("All", "Audio / Video", "Business / Productivity", "Design / Graphics", "Desktop Enhancements", "Drivers", "Gadgets", "Games", "Home / Education", "Internet", "iPod / iTunes", "IT & Network Administration", "Mobile / Media Devices", "Security / Privacy", "System / Utilities", "Web & Software Development"); catArrayValues['Windows'] = new Array("all", "audio", "business", "graphics", "desktop", "drivers", "gadget", "games", "home-edu", "internetutilities", "ipod-itunes", "networkadmin", "mobile-media", "security", "systemutilities", "web-software-dev"); catIDtoName[1] = "Audio/Video"; catIDtoName[2] = "Business"; catIDtoName[3] = "Design / Graphics"; catIDtoName[4] = "Audio/Video"; catIDtoName[5] = "Audio/Video"; catIDtoName[6] = "Audio/Video"; catIDtoName[7] = "Audio/Video"; catIDtoName[8] = "Audio/Video"; catIDtoName[9] = "Audio/Video"; catIDtoName[10] = "Business"; catIDtoName[11] = "Business"; catIDtoName[12] = "Business"; catIDtoName[13] = "Business"; catIDtoName[14] = "Business"; catIDtoName[15] = "Business"; catIDtoName[16] = "Business"; catIDtoName[17] = "Business"; catIDtoName[18] = "Business"; catIDtoName[19] = "Business"; catIDtoName[20] = "Design / Graphics"; catIDtoName[21] = "Design / Graphics"; catIDtoName[22] = "Design / Graphics"; catIDtoName[23] = "Design / Graphics"; catIDtoName[24] = "Design / Graphics"; catIDtoName[25] = "Design / Graphics"; catIDtoName[26] = "Design / Graphics"; catIDtoName[27] = "Design / Graphics"; catIDtoName[28] = "Design / Graphics"; catIDtoName[29] = "Drivers"; catIDtoName[30] = "Games"; catIDtoName[31] = "Internet"; catIDtoName[32] = "iPod/iTunes"; catIDtoName[33] = "Utilities"; catIDtoName[34] = "Web & Software"; catIDtoName[35] = "Home/EDU"; catIDtoName[36] = "IT & Net Admin"; catIDtoName[37] = "Mobile/Media"; catIDtoName[38] = "Security"; catIDtoName[39] = "Desktop"; catIDtoName[40] = "Gadget"; catIDtoName[41] = "Widgets"; catIDtoName[110] = "Games"; catIDtoName[111] = "Games"; catIDtoName[112] = "Games"; catIDtoName[113] = "Games"; catIDtoName[114] = "Games"; catIDtoName[115] = "Games"; catIDtoName[116] = "Internet"; catIDtoName[117] = "Internet"; catIDtoName[118] = "Internet"; catIDtoName[119] = "Internet"; catIDtoName[120] = "Internet"; catIDtoName[121] = "Internet"; catIDtoName[122] = "Internet"; catIDtoName[123] = "Internet"; catIDtoName[124] = "iPod/iTunes"; catIDtoName[125] = "iPod/iTunes"; catIDtoName[126] = "iPod/iTunes"; catIDtoName[127] = "iPod/iTunes"; catIDtoName[128] = "iPod/iTunes"; catIDtoName[129] = "iPod/iTunes"; catIDtoName[130] = "iPod/iTunes"; catIDtoName[131] = "iPod/iTunes"; catIDtoName[132] = "iPod/iTunes"; catIDtoName[133] = "Utilities"; catIDtoName[134] = "Utilities"; catIDtoName[135] = "Utilities"; catIDtoName[136] = "Utilities"; catIDtoName[137] = "Utilities"; catIDtoName[138] = "Utilities"; catIDtoName[139] = "Utilities"; catIDtoName[140] = "Utilities"; catIDtoName[141] = "Web & Software"; catIDtoName[142] = "Web & Software"; catIDtoName[143] = "Web & Software"; catIDtoName[144] = "Web & Software"; catIDtoName[145] = "Web & Software"; catIDtoName[146] = "Web & Software"; catIDtoName[147] = "Web & Software"; catIDtoName[148] = "Web & Software"; catIDtoName[149] = "Home/EDU"; catIDtoName[150] = "Home/EDU"; catIDtoName[151] = "Home/EDU"; catIDtoName[152] = "Home/EDU"; catIDtoName[153] = "Home/EDU"; catIDtoName[154] = "Home/EDU"; catIDtoName[155] = "Home/EDU"; catIDtoName[156] = "Home/EDU"; catIDtoName[157] = "IT & Net Admin"; catIDtoName[158] = "IT & Net Admin"; catIDtoName[159] = "IT & Net Admin"; catIDtoName[160] = "IT & Net Admin"; catIDtoName[161] = "IT & Net Admin"; catIDtoName[162] = "IT & Net Admin"; catIDtoName[163] = "IT & Net Admin"; catIDtoName[164] = "Mobile/Media"; catIDtoName[165] = "Mobile/Media"; catIDtoName[166] = "Mobile/Media"; catIDtoName[167] = "Mobile/Media"; catIDtoName[168] = "Mobile/Media"; catIDtoName[169] = "Security"; catIDtoName[170] = "Security"; catIDtoName[171] = "Security"; catIDtoName[172] = "Security"; catIDtoName[173] = "Security"; catIDtoName[174] = "Security"; catIDtoName[175] = "Security"; catIDtoName[176] = "Security"; catIDtoName[177] = "Desktop"; catIDtoName[178] = "Desktop"; catIDtoName[179] = "Desktop"; catIDtoName[180] = "Desktop"; catIDtoName[181] = "Desktop"; catIDtoName[182] = "Gadget"; catIDtoName[183] = "Gadget"; catIDtoName[184] = "Gadget"; catIDtoName[185] = "Gadget"; catIDtoName[186] = "Gadget"; catIDtoName[187] = "Gadget"; catIDtoName[188] = "Gadget"; catIDtoName[189] = "Gadget"; catIDtoName[190] = "Gadget"; catIDtoName[191] = "Gadget"; catIDtoName[192] = "Gadget"; catIDtoName[193] = "Gadget"; catIDtoName[194] = "Gadget"; catIDtoName[195] = "Gadget"; catIDtoName[196] = "Gadget"; catIDtoName[197] = "Gadget"; catIDtoName[198] = "Gadget"; catIDtoName[199] = "Gadget"; catIDtoName[200] = "Gadget"; catIDtoName[201] = "Gadget"; catIDtoName[202] = "Gadget"; catIDtoName[203] = "Gadget"; catIDtoName[204] = "Drivers"; catIDtoName[205] = "Drivers"; catIDtoName[206] = "Drivers"; catIDtoName[207] = "Drivers"; catIDtoName[208] = "Drivers"; catIDtoName[209] = "Drivers"; catIDtoName[210] = "Drivers"; catIDtoName[211] = "Drivers"; catIDtoName[212] = "Drivers"; catIDtoName[213] = "Drivers"; catIDtoName[214] = "Drivers"; catIDtoName[215] = "Drivers"; catIDtoName[216] = "Drivers"; catIDtoName[217] = "Drivers"; catIDtoName[218] = "Drivers"; catIDtoName[219] = "Drivers"; catIDtoName[220] = "Drivers"; catIDtoName[221] = "Widgets"; catIDtoName[222] = "Widgets"; catIDtoName[223] = "Widgets"; catIDtoName[224] = "Widgets"; catIDtoName[225] = "Widgets"; catIDtoName[226] = "Widgets"; catIDtoName[227] = "Widgets"; catIDtoName[228] = "Widgets"; catIDtoName[229] = "Widgets"; catIDtoName[230] = "Widgets"; catIDtoName[231] = "Widgets"; catIDtoName[232] = "Widgets"; catIDtoName[233] = "Widgets"; catIDtoName[234] = "Widgets"; catIDtoName[235] = "Widgets"; catIDtoName[236] = "Widgets"; catIDtoName[237] = "Widgets"; catIDtoName[238] = "Widgets"; catIDtoName[239] = "Widgets"; catIDtoName[240] = "Widgets"; catIDtoName[241] = "Widgets"; catIDtoName[242] = "Widgets"; catIDtoName[243] = "Desktop"; catIDtoName[244] = "Desktop"; catIDtoName[245] = "Desktop"; catIDtoName[246] = "Web & Software"; catIDtoName[247] = "Web & Software";