
var objLC = new Object();

objLC['Autec Power Systems'] =	['autec.jpg', 'www.autec.com', 'Power Supplies Open Frame 12W -150W, Mid Power 500W - 750W,High Power 600W – 3KW.  Desktop Supplies, Walmount, and ATX with N+1, Battery and Battery Paks.', 
						 []
						];
objLC['Citizen Crystals'] = ['citizen.jpg', 'www.citizencrystal.com', 'Quartz Crystal and Oscillators in cylindrical, plastic, metal, and ceramic packages.', 
						 []
						];
objLC['Microtips'] = ['microtips.jpg', 'www.microtipsusa.com', 'Monochrome, Character, Graphic, and Custom LCD Modules. Selection of TFT, STN, FSTN, COG, COB, and Integrated Touch Panels.', 
						 []
						];
objLC['Feller'] =		['feller.jpg', 'www.feller-us.net', 'Power Cords, Ungrounded Plugs, Grounded Plugs, Ungrounded Connectors, Grounded Connectors, Bulk Cable Cords, Special Moldings, Assembly.', 
						 []
						];
objLC['WECO'] =			['weco.jpg', 'www.weco.ca', 'Terminal Blocks, DIN Rail and PCB Mounted, Panel Mounted Terminal Strips.', 
						 []
						];
objLC['Nichicon'] =			['nichicon.jpg', 'www.nichicon-us.com', 'Surface Mount and Thru Hole Capacitors.  Aluminum Electrolytic, Tantalum, Plastic Film, Low ESR, and Diode Arrays.', 
						 []
						];
objLC['JAE'] =			['jae.jpg', 'www.jae.com', 'Connectors: Board to Board, Wire to Board, PCB to Cable, Input/Output, Socket/Memory Products:  PCMCIA, Compact Flash, Sockets, Memory Modules, Smart Card.', 
						 []
						];
/*objLC['-'] =			['spacer.gif', '', 'LINE TO BE SPECIFIED', []];*/

var _Products = 
[
	['All',
	 'Line Card',				'Autec Power Systems', 'Citizen Crystals', 'Microtips', 'Feller', 'WECO', 'Nichicon', 'JAE']
]; 

function getLineCard(x) {
	document.write('<h3>' + _Products[x][1] + '</h3><br />');
	for( var i = 2; i <= _Products[x].length-1; i++) {
		writeLC(_Products[x][i]);
		//document.write('<div style="padding-top:5px;"></div><hr />');
		writeDisti1(_Products[x][i], i);
	}
}
function writeLC(lc) {
	document.write('<table border="0" cellpadding="0" cellspacing="0" style="width: 99%; padding: 10px 0px 7px 0px;"><tr><td valign="top" style="width: 50%;">' + 
				   '<a href="http:/' + '/' + objLC[lc][1] + '" target="_blank"><img src="images/line/' + objLC[lc][0] + '" /></a>' + 
				   '</td><td align="right" valign="top">' + 
				   '<strong>' + lc + '</strong><br /><a href="http:/' + '/' + objLC[lc][1] + '" target="_blank">' + objLC[lc][1] + '</a>' + 
				   '</td></tr></table>' + 
				   objLC[lc][2] + '<br />'
				   );
}
function getLineCardAll() {		// LOOP thru each LC property
	document.write('<h3>Line Card</h3><br />');
	for (prop in objLC) {
		writeLC(prop);
		document.write('<hr />');
	}
}

function menuProducts(x) {
	var a = "";
	for( var i = 0; i <= _Products.length-1; i++) {
		a = (x == i)? "class='active'": "";
		document.write('<a ' + a + ' href="products.asp?prodcat=' + i + '"><img src="images/navi/leftmenuarrow.gif" />' + _Products[i][0] + '</a>');
	}
}

