/* if desktop/server/movile no longer support...put a place holder '99' or '9999' in front*/
tdff_selectArrLine = new Array();

tdff_selectArrLine[0] = "1100#$100#$Procesadores para PCs"
tdff_selectArrLine[1] = "1100#$101#$Desktop Boards"
tdff_selectArrLine[2] = "9999#$102#$Adaptadores para PCs"
tdff_selectArrLine[3] = "1200#$200#$Procesadores para notebooks"
tdff_selectArrLine[4] = "1200#$201#$Plataformas móveis"
tdff_selectArrLine[5] = "9999#$202#$Chipsets móveis"
tdff_selectArrLine[6] = "9999#$203#$Adaptadores móveis"
tdff_selectArrLine[7] = "1300#$300#$Procesadores para servidores"
tdff_selectArrLine[8] = "1300#$301#$Placas para servidores"
tdff_selectArrLine[9] = "1300#$302#$Sistemas para servidores"
tdff_selectArrLine[10] = "1300#$303#$Gabinetes para servidores"
tdff_selectArrLine[11] = "1300#$304#$Controladoras RAID"
tdff_selectArrLine[12] = "1300#$305#$Intel® Modular Server"
tdff_selectArrLine[13] = "1300#$306#$Sistemas de armazenamento"

tdff_selectArrProduct = new Array();

/*
	EXPLANATION
	what you see : 100#$2112#$Intel® Pentium® D processor||/test/URL/file.htm
	broken down:
	ID1					==	100
	Seperator for ID1	==	#$
	ID2					==	2112
	Seperator for ID2	==	#$
	Title of Product	==	Intel® Pentium® D processor
	seperator for URL 	== 	||
	URL 				== 	/test/URL/file.htm
*/

/*New list*/
/* Desktop Processors */
tdff_selectArrProduct[0] = "100#$49#$Procesador Intel® Celeron® (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/processor/processors/celprocessor/tech/index.htm"
tdff_selectArrProduct[1] = "100#$2841#$Procesador Intel® Pentium® (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/processor/processors/pent_dual/tech/index.htm"
tdff_selectArrProduct[2] = "100#$2308#$Procesador Intel® Core™2 Duo (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/processor/processors/core2duo/tech/index.htm"
tdff_selectArrProduct[3] = "100#$2578#$Procesador Intel® Core™2 Quad (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/processor/processors/core2quad/tech/index.htm"
tdff_selectArrProduct[4] = "100#$2309#$Procesador Intel® Core™2 Extreme (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/processor/processors/core2extreme/tech/index.htm"
tdff_selectArrProduct[5] = "100#$3059#$Procesador Intel® Core™ i7 Extreme Edition (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/processor/processors/corei7-900/feature/index.htm"
tdff_selectArrProduct[6] = "100#$3052#$Procesador Intel® Core™ i7 (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/processor/processors/corei7-800/feature/index.htm"

/* Desktop Boards */
tdff_selectArrProduct[7] = "101#$2926#$Intel® Desktop Board D945GCLF2 (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/d945gclf2-d945gclf2d/tech/index.htm"
tdff_selectArrProduct[8] = "101#$2916#$Intel® Desktop Board D945GCLF (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/d945gclf/tech/index.htm"
tdff_selectArrProduct[9] = "101#$2839#$Intel® Desktop Board DG31PR (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg31pr/tech/index.htm"
tdff_selectArrProduct[10] = "101#$3058#$Intel® Desktop Board DG41RQ (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg41rq/tech/index.htm"
tdff_selectArrProduct[11] = "101#$3030#$Intel® Desktop Board DG41TY (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg41ty/tech/index.htm"
tdff_selectArrProduct[12] = "101#$2781#$Intel® Desktop Board DG33FB (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg33fb/tech/index.htm"
tdff_selectArrProduct[13] = "101#$2929#$Intel® Desktop Board DG35EC (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg35ec/tech/index.htm"
tdff_selectArrProduct[14] = "101#$2783#$Intel® Desktop Board DQ35JO (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dq35jo/tech/index.htm"
tdff_selectArrProduct[15] = "101#$2934#$Intel® Desktop Board DQ45EK (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dq45ek/tech/index.htm"
tdff_selectArrProduct[16] = "101#$2933#$Intel® Desktop Board DQ45CB (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dq45cb/tech/index.htm"
tdff_selectArrProduct[17] = "101#$2979#$Intel® Desktop Board DG43NB (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg43nb/tech/index.htm"
tdff_selectArrProduct[18] = "101#$2930#$Intel® Desktop Board DG45FC (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg45fc/tech/index.htm"
tdff_selectArrProduct[19] = "101#$2931#$Intel® Desktop Board DG45ID (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg45id/tech/index.htm"
tdff_selectArrProduct[20] = "101#$2980#$Intel® Desktop Board DP43TF (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dp43tf/tech/index.htm"
tdff_selectArrProduct[21] = "101#$2932#$Intel® Desktop Board DP45SG (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dp45sg/tech/index.htm"
tdff_selectArrProduct[22] = "101#$2864#$Intel® Desktop Board D5400XS (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/d5400xs/tech/index.htm"
tdff_selectArrProduct[23] = "101#$3018#$Intel® Desktop Board DX58SO (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dx58so/tech/index.htm"

/* Storage Systems */
tdff_selectArrProduct[24] = "306#$2816#$Sistema Intel® de almacenamiento SSR212MC2 (i)||http://www.intel.com/support/motherboards/server/ssr212mc2/index.htm"

/* Server chasis */
tdff_selectArrProduct[25] = "303#$2135#$Chasis de servidor de entrada SC5295-E (i)||http://www.intel.com/support/motherboards/server/chassis/sc5295-e/index.htm"
tdff_selectArrProduct[26] = "303#$2486#$Chasis de servidor de entrada SC5299-E (i)||http://www.intel.com/support/motherboards/server/chassis/sc5299-e/index.htm"
tdff_selectArrProduct[27] = "303#$2414#$Chasis de servidor Intel® SC5400 (i)||http://www.intel.com/support/motherboards/server/chassis/sc5400/index.htm"

/* Intel® Modular Server (formely Blade Servers) */
tdff_selectArrProduct[28] = "305#$2860#$Intel® Compute Module MFS5000SI (i)||http://support.intel.com/support/motherboards/server/MFS5000SI/index.htm"
tdff_selectArrProduct[29] = "305#$2861#$Sistemas Intel® Modular Server MFSYS25 y MFSYS35 (i)||http://www.intel.com/support/motherboards/server/mfsys25/index.htm"

/* RAID Server */
tdff_selectArrProduct[30] = "304#$2501#$Controladora RAID Intel® SRCSAS144E (i)||http://www.intel.com/support/motherboards/server/srcsas144e/index.htm"
tdff_selectArrProduct[31] = "304#$3054#$Controladora RAID Intel® SASWT4I (i)||http://www.intel.com/support/motherboards/server/SASWT4I/index.htm"
tdff_selectArrProduct[32] = "304#$3053#$Controladora RAID Intel® SASUC8I (i)||http://www.intel.com/support/motherboards/server/SASUC8I/index.htm"
tdff_selectArrProduct[33] = "304#$2972#$Controladora RAID Intel® SASMF8I (i)||http://www.intel.com/support/motherboards/server/sasmf8i/index.htm"
tdff_selectArrProduct[34] = "304#$2858#$Controladora RAID Intel® SRCSATAWB (i)||http://www.intel.com/support/motherboards/server/srcsatawb/index.htm"
tdff_selectArrProduct[35] = "304#$2970#$Controladora RAID Intel® SRCSASLS4I (i)||http://www.intel.com/support/motherboards/server/srcsasls4i/index.htm"
tdff_selectArrProduct[36] = "304#$2857#$Controladora RAID Intel® SRCSASRB (i)||http://www.intel.com/support/motherboards/server/srcsasrb/index.htm"
tdff_selectArrProduct[37] = "304#$2969#$Controladora RAID Intel® SRCSASBB8I (i)||http://www.intel.com/support/motherboards/server/srcsasbb8i/index.htm"
tdff_selectArrProduct[38] = "304#$2856#$Controladora RAID Intel® SRCSASJV (i)||http://www.intel.com/support/motherboards/server/srcsasjv/index.htm"
tdff_selectArrProduct[39] = "304#$2971#$Controladora RAID Intel® SRCSASPH16I (i)||http://support.intel.com/Products/Server/RAID-controllers/SRCSASPH16I/SRCSASPH16I-overview.htm"

/* Server Systems */
tdff_selectArrProduct[40] = "302#$2867#$Sistema Intel® 4-Procesador para servidor S7000FC4UR (i)||http://www.intel.com/support/motherboards/server/S7000FC4UR/index.htm"
tdff_selectArrProduct[41] = "302#$2872#$Sistema para servidor Intel® SR1520ML (i)||http://www.intel.com/support/motherboards/server/x38ml/sb/CS-028663.htm"
tdff_selectArrProduct[42] = "302#$2487#$Sistema para servidores Intel® SR2520SAF, SR2520SAS y SR2520SASX (i)||http://www.intel.com/support/motherboards/server/s5000vsa/index.htm"
tdff_selectArrProduct[43] = "302#$2801#$Sistema para servidores Intel® SR1530CL, SR1530HCL, y SR1530HCLS (i)||http://www.intel.com/support/motherboards/server/s5000vcl/sb/CS-023372.htm"
tdff_selectArrProduct[44] = "302#$2834#$Sistema para servidores Intel® SR1530AH, SR1530AHLX, y SR1530HAHLX (i)||http://www.intel.com/support/motherboards/server/s3000ah/sb/CS-023731.htm"
tdff_selectArrProduct[45] = "302#$2850#$Sistema para servidor Intel® SR1560SF (i)||http://www.intel.com/support/motherboards/server/s5400SF/index.htm"

/* Server Boards */
tdff_selectArrProduct[46] = "301#$2869#$Intel® Entry Server Boards S3200SHV, S3210SHLC, y S3210SHLX (i)||http://www.intel.com/support/motherboards/server/s3200sh/index.htm"
tdff_selectArrProduct[47] = "301#$2871#$Placa para servidor Intel® X38ML (i)||http://www.intel.com/support/motherboards/server/X38ML/index.htm"
tdff_selectArrProduct[48] = "301#$2451#$Placa para servidor Intel® S5000PAL (i)||http://www.intel.com/support/motherboards/server/s5000pal/index.htm"
tdff_selectArrProduct[49] = "301#$2487#$Placa para servidor Intel® S5000VSA (i)||http://www.intel.com/support/motherboards/server/s5000vsa/index.htm"
tdff_selectArrProduct[50] = "301#$2308#$Placa Intel® para estacións de trabajo S5000XVN (i)||http://www.intel.com/support/motherboards/server/s5000xvn/index.htm"
tdff_selectArrProduct[51] = "301#$2305#$Placa para servidor Intel® S5000PSL (i)||http://www.intel.com/support/motherboards/server/s5000psl/index.htm"
tdff_selectArrProduct[52] = "301#$2859#$Placa para servidor Intel® S5400SF (i)||http://www.intel.com/support/motherboards/server/s5400sf/index.htm"

/* Server Processors */
tdff_selectArrProduct[53] = "300#$2676#$Procesador Intel® Xeon® secuencia 7000||http://www.intel.com/support/sp/processors/xeon7k/"
tdff_selectArrProduct[54] = "300#$2371#$Procesador Intel® Xeon® secuencia 5000||http://www.intel.com/support/sp/processors/xeon5k/"
tdff_selectArrProduct[55] = "300#$528#$Procesador Intel® Xeon® secuencia 3000||http://www.intel.com/support/sp/processors/xeon3k/"
/*End new list*/

/* Remainder of old list */
tdff_selectArrProduct[56] = "102#$820#$Adaptador Intel® PRO/100 M para Desktop (i)||http://www.intel.com/network/connectivity/products/pro100m_adapter.htm"
tdff_selectArrProduct[57] = "102#$871#$Adaptador Intel® PRO/1000 MT para Desktop (i)||http://www.intel.com/network/connectivity/products/pro1000mt_desktop_adapter.htm"
tdff_selectArrProduct[58] = "102#$1058#$Adaptador Intel® PRO/100 S para Management (i)||http://www.intel.com/network/connectivity/products/pro100s_adapter.htm"
tdff_selectArrProduct[59] = "102#$1878#$Adaptador Intel® PRO/1000 GT para Desktop (i)||http://www.intel.com/network/connectivity/products/pro1000gt_desktop_adapter.htm"
tdff_selectArrProduct[60] = "200#$2782#$Procesador Intel® Celeron® ||http://www.intel.com/support/sp/processors/celeron/"
tdff_selectArrProduct[61] = "200#$2277#$Procesador Intel® Core™2 Duo para laptop ||http://www.intel.com/support/sp/processors/core2duo/"	
tdff_selectArrProduct[62] = "202#$2301#$Família de Chipset Intel® 945GM Express para laptop (i)||http://www.intel.com/design/chipsets/mobile/945_fam.htm"	
tdff_selectArrProduct[63] = "201#$2839#$Tecnología de Procesador Intel® Centrino® ||http://www.intel.com/support/sp/notebook/centrino/index.htm"
tdff_selectArrProduct[64] = "200#$2967#$Procesador para laptop Intel® Core™2 Extreme ||http://www.intel.com/support/sp/processors/mobile/core2extreme/"
tdff_selectArrProduct[65] = "200#$3040#$Procesador para laptop Intel® Core™2 Quad ||http://www.intel.com/support/sp/processors/mobile/core2quad/"
tdff_selectArrProduct[66] = "201#$3012#$Tecnología de Procesador Intel® Centrino® 2 ||http://www.intel.com/support/sp/notebook/centrino2/index.htm"
tdff_selectArrProduct[67] = "201#$3013#$Tecnología de Procesador Intel® Centrino® 2 com vPro™ ||http://www.intel.com/support/sp/notebook/centrino2/pro/index.htm"
tdff_selectArrProduct[68] = "201#$2832#$Tecnología de Procesador Intel® Centrino® com vPro™ ||http://www.intel.com/support/sp/notebook/centrino/pro/index.htm"
tdff_selectArrProduct[69] = "101#$3057#$Intel® Desktop Board DG41MJ (i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg41mj/tech/index.htm"
tdff_selectArrProduct[70] = "301#$3076#$Placa para servidor Intel® S5500BC ||http://support.intel.com/support/sp/motherboards/server/s5500bc/"
tdff_selectArrProduct[71] = "301#$3069#$Placa para servidor Intel® S5520HC y S5520HCV ||http://support.intel.com/support/sp/motherboards/server/s5520hc/"
tdff_selectArrProduct[72] = "301#$3068#$Placa para servidor Intel® S5520UR ||http://support.intel.com/support/sp/motherboards/server/s5520ur/"
tdff_selectArrProduct[73] = "301#$3073#$Placa Intel® para estación de trabajo S5520SC ||http://support.intel.com/support/sp/motherboards/server/s5520sc/"
tdff_selectArrProduct[74] = "301#$3115#$Placa para servidor Intel® S5500WB ||http://support.intel.com/support/sp/motherboards/server/S5500wb/"
tdff_selectArrProduct[75] = "303#$3070#$Chasis de servidor SC5600 ||http://support.intel.com/support/sp/motherboards/server/chassis/sc5600/"
tdff_selectArrProduct[76] = "303#$3072#$Chasis de servidor SC5650 ||http://support.intel.com/support/sp/motherboards/server/chassis/sc5650/"
tdff_selectArrProduct[77] = "302#$3078#$Sistema servidor Intel® SR1630BC ||http://support.intel.com/support/sp/motherboards/server/s5500bc/"
tdff_selectArrProduct[78] = "302#$3077#$Sistema servidor Intel® SR1600UR ||http://support.intel.com/support/sp/motherboards/server/s5520ur/"
tdff_selectArrProduct[79] = "302#$3086#$Sistema servidor Intel® SR1625UR ||http://support.intel.com/support/sp/motherboards/server/s5520ur/"
tdff_selectArrProduct[80] = "302#$3116#$Sistema servidor Intel® SR2600 ||http://support.intel.com/support/sp/motherboards/server/s5520ur/"
tdff_selectArrProduct[81] = "302#$3117#$Sistema servidor Intel® SR2625 ||http://support.intel.com/support/sp/motherboards/server/s5520ur/"

/* new products */
tdff_selectArrProduct[82] = "101#$3060#$Intel® Desktop Board D945GSEJT(i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/d945gsejt/tech/index.htm" 
tdff_selectArrProduct[83] = "101#$3121#$Intel® Desktop Board DB43LD(i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/db43ld/tech/index.htm" 
tdff_selectArrProduct[84] = "101#$3119#$Intel® Desktop Board DQ43AP(i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dq43ap/tech/index.htm" 
tdff_selectArrProduct[85] = "301#$3136#$Placa para servidor Intel® WX58BP(i)||http://www.intel.com/support/motherboards/server/wx58bp/index.htm"
tdff_selectArrProduct[86] = "101#$3123#$Intel® Desktop Board DG43GT(i)||/cd/channel/reseller/asmo-na/eng/products/desktop/bdb/dg43gt/tech/index.htm" 



/* Unsupported products 
tdff_selectArrProduct[70] = "9999#$870#$Intel® PRO/1000 T Desktop Adapter"
tdff_selectArrProduct[72] = "9999#$923#$Intel® PRO/100 VM Network Connection"
tdff_selectArrProduct[74] = "9999#$1070#$Intel® PRO/1000 CT Network Connection"
tdff_selectArrProduct[75] = "9999#$1361#$Intel® PRO LAN Adapter - Unknown Model"
tdff_selectArrProduct[77] = "9999#$2247#$Intel® PRO/1000 PT Desktop Adapter"
tdff_selectArrProduct[80] = "999#$2277#$Tecnología de Procesador Intel® Centrino® Duo mobile technology (i)||/cd/channel/reseller/asmo-na/eng/products/mobile/platforms/mobile_duo_tech/253364.htm"	
tdff_selectArrProduct[81] = "999#$2290#$Tecnología de Procesador Intel® Centrino® mobile technology Solo||http://www.intel.com/design/mobile/core/solodocumentation.htm"	
tdff_selectArrProduct[82] = "999#$955#$Tecnología de Procesador Intel® Centrino® mobile technology (i)||/cd/channel/reseller/asmo-na/eng/products/mobile/platforms/mobile_tech/47641.htm"	
tdff_selectArrProduct[84] = "9999#$1862#$Mobile Intel® 915GM/GMS	 910GML Express Chipset Family"
tdff_selectArrProduct[85] = "9999f#$944#$Intel® PRO/Wireless 2100 Network Connection"	
tdff_selectArrProduct[86] = "9999#$1078#$Intel® PRO/Wireless 2100A Network Connection"	
tdff_selectArrProduct[87] = "9999#$1530#$Intel® PRO/Wireless 2011 LAN PCI Carrier"	
tdff_selectArrProduct[88] = "9999#$1637#$Intel® PRO/Wireless 2200BG Network Connection"	
tdff_selectArrProduct[89] = "9999#$1703#$Intel® Wireless Connect Technology"	
tdff_selectArrProduct[90] = "9999#$1779#$Intel® PRO/Wireless 2225BG Network Connection"	
tdff_selectArrProduct[64] = "9999#$1896#$Intel® Desktop Board D915GVWB"
tdff_selectArrProduct[65] = "9999#$1774#$Intel® Desktop Board D925XYT"
tdff_selectArrProduct[66] = "9999#$2350#$Intel® Desktop Board D925XEHY"
tdff_selectArrProduct[67] = "9999#$2158#$Intel® Desktop Board D945PLM"
tdff_selectArrProduct[68] = "9999#$2282#$Intel® Desktop Board D945PLNM"
tdff_selectArrProduct[114] = "9999#$369#$Intel® Server RAID Controller SRCU31"
tdff_selectArrProduct[115] = "9999#$800#$Intel® Server RAID Controller SRCU31A"
tdff_selectArrProduct[116] = "9999#$487#$Intel® Server RAID Controller SRCU31L"
tdff_selectArrProduct[117] = "9999#$801#$Intel® Server RAID Controller SRCU31LA"
tdff_selectArrProduct[111] = "9999#$1059#$Chasis de servidor SBCE"
tdff_selectArrProduct[112] = "9999#$2414#$Chasis de servidor SC5400"
tdff_selectArrProduct[113] = "9999#$1059#$Chasis de servidor SBCE"
tdff_selectArrProduct[114] = "9999#$608#$Controladora RAID Intel® SRCMR"
tdff_selectArrProduct[115] = "9999#$875#$Controladora RAID Intel® SRCMRU"
tdff_selectArrProduct[116] = "9999#$911#$Controladora RAID Intel® SRCS14L"
tdff_selectArrProduct[117] = "9999#$1895#$Controladora RAID Intel® SRCU41L"
tdff_selectArrProduct[118] = "9999#$884#$Controladora RAID Intel® SRCU42L"
tdff_selectArrProduct[119] = "9999#$897#$Controladora RAID Intel® SRCZCR"
tdff_selectArrProduct[120] = "9999#$301#$Intel® Server RAID Controller SRCU21"
tdff_selectArrProduct[91] = "9999#$1847#$Intel® PRO/Wireless 2915ABG Network Connection"	
tdff_selectArrProduct[92] = "9999#$2259#$Intel® PRO/Wireless 3945ABG Network Connection"
tdff_selectArrProduct[93] = "9999#$2260#$Intel® Xeon® processor"
tdff_selectArrProduct[94] = "9999#$528#$Intel® Xeon® processor MP"
tdff_selectArrProduct[95] = "9999#$2305#$Placa para servidor Intel® S5000PSL"
tdff_selectArrProduct[96] = "9999#$2306#$Placa para servidor Intel® S5000XSL"
tdff_selectArrProduct[97] = "9999#$863#$Placa para servidor Intel® SHG2"
tdff_selectArrProduct[98] = "9999#$2095#$Placa para servidor Intel® S845WD1-E"
tdff_selectArrProduct[99] = "9999#$593#$Placa para servidor Intel® S815EBM1"
tdff_selectArrProduct[100] = "9999#$602#$Placa para servidor Intel® SAI2"
tdff_selectArrProduct[101] = "9999#$603#$Placa para servidor Intel® SCB2"
tdff_selectArrProduct[102] = "9999#$802#$Placa para servidor Intel® SDS2"
tdff_selectArrProduct[103] = "9999#$464#$Placa para servidor Intel® STL2"
tdff_selectArrProduct[104] = "9999#$442#$Placa para servidor Intel® SBT2"
tdff_selectArrProduct[105] = "9999#$2307#$Intel® Server Platform SC5400RA"
tdff_selectArrProduct[106] = "9999#$2058#$Intel® Server Platform SR2400SYS (i)||/cd/channel/reseller/asmo-na/eng/products/server/server_systems/2u_rackmount/ser_platform_sr2400sys/technical_reference/index.htm"
tdff_selectArrProduct[107] = "9999#$2059#$Intel® Server Platform SR2400SYSD2"
tdff_selectArrProduct[108] = "9999#$2163#$Intel® Entry Server Platform SR1475NH1-E"
tdff_selectArrProduct[109] = "9999#$431#$Intel® Server Platform SPKA4"
tdff_selectArrProduct[110] = "9999#$803#$Intel® Server Platform SRPL8"
*/

tdff_selectArrProduct.reverse(); //reverse it 

function tdff_UpdateLine() {	// Update Line Dropdown
	var iFirstDash, iSecondDash;
	var iPrdObjIdFamily;
	var famList = document.getElementById("tdff_selFamily");
	var lineList = document.getElementById("tdff_selLine");
	var prodList = document.getElementById("tdff_selProduct");
	//Reset Line dropdown
	lineList.length =  0;
	lineList.options[0] = new Option("Seleccione la línea de productos","none");
	if (famList.selectedIndex!=0) {	//A valid family has been selected, so set line
		iPrdObjIdFamily = famList.options[famList.selectedIndex].value;
		for(var i=0;i<tdff_selectArrLine.length;i++) {
			strLine = tdff_selectArrLine[i];
			iFirstDash = strLine.indexOf("#$");
			if (strLine.substring(0,iFirstDash) == iPrdObjIdFamily) {
				iSecondDash = strLine.indexOf("#$", iFirstDash+2);			
				lineList.options[lineList.options.length] = new Option(strLine.substring(iSecondDash+2),strLine.substring(iFirstDash+2,iSecondDash));				
			}
		}
	}
	if(prodList){
		prodList.length = 0;									
		prodList.options[0] = new Option("Seleccione el producto","none");
	}
}

function tdff_UpdateProduct() {	// Update Product Dropdown
	var iFirstDash, iSecondDash;
	var iPrdObjId;
	var famList = document.getElementById("tdff_selFamily");
	var lineList = document.getElementById("tdff_selLine");
	var prodList = document.getElementById("tdff_selProduct");
	var str = "";
	//Reset Product dropdown
	prodList.length = 0;		
	prodList.options[0] = new Option("Seleccione el producto","none");
	if (lineList.selectedIndex!=0){	//A valid Line has been selected, so set Prod
		iPrdObjId = lineList.options[lineList.selectedIndex].value;
		var count = 0;
		for(var i=0;i<tdff_selectArrProduct.length;i++) {
			strProduct = tdff_selectArrProduct[i];
			iFirstDash = strProduct.indexOf("#$");			
			if (strProduct.substring(0, iFirstDash) == iPrdObjId){
				iSecondDash = strProduct.indexOf("#$", iFirstDash+2);	
				objectURL 	= strProduct.indexOf("||", iFirstDash+2);	

				//legacy urls	
				if(strProduct.substring(0,3)=="100" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/processors/#desktop")
				}
				if(strProduct.substring(0,3)=="101" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/motherboards/desktop/")
				}
				if(strProduct.substring(0,3)=="200" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/processors/#mobile")
				}		
				if(strProduct.substring(0,3)=="201" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/notebook/")
				}		
				if(strProduct.substring(0,3)=="300" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/processors/#server")
				}		
				if(strProduct.substring(0,3)=="301" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/motherboards/server/")
				}		
				if(strProduct.substring(0,3)=="302" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/motherboards/server/")
				}	
				if(strProduct.substring(0,3)=="303" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/motherboards/server/")
				}		
				if(strProduct.substring(0,3)=="304" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/motherboards/server/")
				}	
				if(strProduct.substring(0,3)=="305" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/motherboards/server/")
				}		
				if(strProduct.substring(0,3)=="306" && count==0){
				prodList.options[1] = new Option("Legado productos","http://www.intel.com/support/sp/motherboards/server/")
				}						
				prodList.options[prodList.options.length] = new Option(strProduct.substring(iSecondDash+2,objectURL),strProduct.substring(objectURL+2,strProduct.length));
				count+=1;
			}
		}
	}
}

