﻿/* ****************************************************************************** */
/**
 * ACTION: This will involve a *clean up* of current file names, before this widget can be used.
 *   This will be an externalized configuarble list of static exceptions:
 *   The file names are automatically based direclty off of the contant name.
 *   The xml data sources wont be really freely configurable however you can choose eithor static or auto..
 *   You get 2 choices for now.
 *    
 *     For any product not in the 'DataTableRSS.xmlDataSourceStaticOverrideByType' collection,
 *     TOP_ISSUES becomes 'top.issues.xml' which points to a symlink (a.k.a auto generated). 
 *
 *     For products that are listed in the 'DataTableRSS.xmlDataSourceStaticOverrideByType' collection,
 *     such as photoshop, for TOP_ISSUES the file name becomes 'top.issue.static.xml' which points to a physical file. (a.k.a static)
 *     
 *     Note: The containing divs on the client page; their ids are also based off of the DataTableRSS constant types:
 *     TOP_ISSUES becomes 'topIssues'
 *     e.g.  <div id="topIssues"></div>
 */
function DataTableRSS() {}
DataTableRSS.typeConstant =  {};
DataTableRSS.typeConstant.TOP_ISSUES = "TOP_ISSUES"; 
DataTableRSS.typeConstant.RECENT_DOCUMENTS = "RECENT_DOCUMENTS"; 
DataTableRSS.typeConstant.INSTALLATION_HELP = "INSTALLATION_HELP"; 
DataTableRSS.typeConstant.DEVELOPER_DATA = "DEVELOPER_DATA"; 
/* ****************************************************************************** */
var DataTableRSSTypeSequenceInvokation = [
      DataTableRSS.typeConstant.TOP_ISSUES,
      DataTableRSS.typeConstant.RECENT_DOCUMENTS,
      DataTableRSS.typeConstant.INSTALLATION_HELP,
      DataTableRSS.typeConstant.DEVELOPER_DATA
]; 
/* ******************************************************************************
eval("DataTableRSS.xmlDataSourceStaticOverrideByType = {" 
    + DataTableRSS.typeConstant.TOP_ISSUES + ":['photoshop','indesign','dreamweaver','acrobat','creativesuite','bridge','photoshopelements','premiereelements','distiller','flashplayer','acrreader','shockwave','illustrator','photoshop','flash','premiere','acrobatconnect','fireworks','contribute','aftereffects'],"
	+ DataTableRSS.typeConstant.RECENT_DOCUMENTS + ":[''],"
	+ DataTableRSS.typeConstant.INSTALLATION_HELP + ":['techcommsuite'],"
	+ DataTableRSS.typeConstant.DEVELOPER_DATA + ":['air']}");

*/