/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var POS_TARGET=8;
var theSitetree=[ 
	['PAGE','701',jdecode('Home'),jdecode(''),'/701.html','true',[],'',''],
	['PAGE','21501',jdecode('Ceramic+Capacitors'),jdecode(''),'/21501/index.html','true',[ 
		['PAGE','6422',jdecode('MLCC+Commercial+X7R'),jdecode(''),'/21501/6422.html','true',[],'',''],
		['PAGE','33915',jdecode('MLCC+Commercial+NPO'),jdecode(''),'/21501/33915.html','true',[],'',''],
		['PAGE','31515',jdecode('MLCC+High+Rel+X7R'),jdecode(''),'/21501/31515.html','true',[],'',''],
		['PAGE','73715',jdecode('MLCC+High+Rel+NPO'),jdecode(''),'/21501/73715.html','true',[],'',''],
		['PAGE','30201',jdecode('MLCC+150+%C2%B0C+Class+II+'),jdecode(''),'/21501/30201.html','true',[],'',''],
		['PAGE','78115',jdecode('MLCC+175+%C2%B0C+Class+II'),jdecode(''),'/21501/78115.html','true',[],'',''],
		['PAGE','26701',jdecode('MLCC+200+%C2%B0C+Class+II'),jdecode(''),'/21501/26701.html','true',[],'',''],
		['PAGE','24522',jdecode('MLCC+250+%C2%B0C+Class+II'),jdecode(''),'/21501/24522.html','true',[],'',''],
		['PAGE','24501',jdecode('MLCC+300+%C2%B0C+Class+II'),jdecode(''),'/21501/24501.html','true',[],'',''],
		['PAGE','73736',jdecode('MLCC+150+%C2%B0C+NPO'),jdecode(''),'/21501/73736.html','true',[],'',''],
		['PAGE','79515',jdecode('MLCC+175+%C2%B0C+NPO'),jdecode(''),'/21501/79515.html','true',[],'',''],
		['PAGE','35715',jdecode('MLCC+200+%C2%B0C+NPO'),jdecode(''),'/21501/35715.html','true',[],'',''],
		['PAGE','36915',jdecode('MLCC+250+%C2%B0C+NPO'),jdecode(''),'/21501/36915.html','true',[],'',''],
		['PAGE','37715',jdecode('MLCC+300+%C2%B0C+NPO'),jdecode(''),'/21501/37715.html','true',[],'','']
	],'',''],
	['PAGE','40915',jdecode('Leaded+Ceramic+Capacitors'),jdecode(''),'/40915/index.html','true',[ 
		['PAGE','81815',jdecode('Prong+Lead+Commercial'),jdecode(''),'/40915/81815.html','true',[],'',''],
		['PAGE','34615',jdecode('Radial+Lead+Commercial'),jdecode(''),'/40915/34615.html','true',[],'',''],
		['PAGE','82715',jdecode('Prong+Lead+High+Rel'),jdecode(''),'/40915/82715.html','true',[],'',''],
		['PAGE','74515',jdecode('Radial+Lead+High+Rel'),jdecode(''),'/40915/74515.html','true',[],'',''],
		['PAGE','86015',jdecode('Prong+Lead+150+%C2%B0C'),jdecode(''),'/40915/86015.html','true',[],'',''],
		['PAGE','79536',jdecode('Radial+Lead+150+%C2%B0C'),jdecode(''),'/40915/79536.html','true',[],'',''],
		['PAGE','79557',jdecode('Radial+Lead+175+%C2%B0C'),jdecode(''),'/40915/79557.html','true',[],'',''],
		['PAGE','36315',jdecode('Radial+Lead+200+%C2%B0C'),jdecode(''),'/40915/36315.html','true',[],'',''],
		['PAGE','36936',jdecode('Radial+Lead+250+%C2%B0C'),jdecode(''),'/40915/36936.html','true',[],'',''],
		['PAGE','37736',jdecode('Radial+Lead+300+%C2%B0C'),jdecode(''),'/40915/37736.html','true',[],'','']
	],'',''],
	['PAGE','56415',jdecode('Leaded+Capacitor+Assemblies'),jdecode(''),'/56415/index.html','true',[ 
		['PAGE','69215',jdecode('SMPS+Assembly+Commercial'),jdecode(''),'/56415/69215.html','true',[],'',''],
		['PAGE','79578',jdecode('SMPS+Assembly+Hi+Rel'),jdecode(''),'/56415/79578.html','true',[],'',''],
		['PAGE','68815',jdecode('SMPS+Assembly+150+%C2%B0C'),jdecode(''),'/56415/68815.html','true',[],'',''],
		['PAGE','68836',jdecode('SMPS+Assembly+175+%C2%B0C'),jdecode(''),'/56415/68836.html','true',[],'',''],
		['PAGE','56436',jdecode('SMPS+Assembly+200+%C2%B0C'),jdecode(''),'/56415/56436.html','true',[],'',''],
		['PAGE','56457',jdecode('SMPS+Assembly+250+%C2%B0C'),jdecode(''),'/56415/56457.html','true',[],'',''],
		['PAGE','56478',jdecode('SMPS+Assembly+300+%C2%B0C'),jdecode(''),'/56415/56478.html','true',[],'','']
	],'',''],
	['PAGE','53215',jdecode('Technical+Info'),jdecode(''),'/53215/index.html','true',[ 
		['PAGE','54015',jdecode('Applications+++++++++'),jdecode(''),'/53215/54015.html','true',[],'',''],
		['PAGE','54036',jdecode('Product+Summary'),jdecode(''),'/53215/54036.html','true',[],'','']
	],'',''],
	['PAGE','43315',jdecode('Manufacturers+Rep%26%23x27%3Bs'),jdecode(''),'/43315.html','true',[],'',''],
	['PAGE','47115',jdecode('Distributors'),jdecode(''),'/47115.html','true',[],'',''],
	['PAGE','5206',jdecode('Guestbook'),jdecode(''),'/5206.html','true',[],'',''],
	['PAGE','5201',jdecode('Read+Guestbook'),jdecode(''),'/5201.html','false',[],'',''],
	['PAGE','5722',jdecode('Contacts'),jdecode(''),'/5722.html','true',[],'',''],
	['PAGE','83415',jdecode('test'),jdecode(''),'/83415.html','false',[],'','']];
var siteelementCount=44;
theSitetree.topTemplateName='Global';
theSitetree.paletteFamily='006600';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='85';
theSitetree.graphicsetId='104';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Global',
				paletteFamily: 	'006600',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'85',
				graphicsetId: 	'104',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'176B03',
				b_color: 		'669900',
				c_color: 		'000000',
				d_color: 		'E0EEE3',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '701',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-5206avec10invnb5']={
webappId:    '1002',
documentId:  '5206',
internalId:  '5206avec10invnb5',
customField: 'icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20091124-175115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24522',
internalId:  '',
customField: '20100331-163250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5722',
internalId:  '',
customField: '20100413-122343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5206',
internalId:  '',
customField: '20070530-151014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6422',
internalId:  '',
customField: '20100331-163456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24501',
internalId:  '',
customField: '20100331-163533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5201',
internalId:  '',
customField: '20070530-151014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21501',
internalId:  '',
customField: '20100331-155152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31515',
internalId:  '',
customField: '20100331-163352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30201',
internalId:  '',
customField: '20100406-095453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53215',
internalId:  '',
customField: '20091203-112014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54015',
internalId:  '',
customField: '20091124-144253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26701',
internalId:  '',
customField: '20100331-163212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33915',
internalId:  '',
customField: '20100331-163409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34615',
internalId:  '',
customField: '20100413-100759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35715',
internalId:  '',
customField: '20100406-095801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36315',
internalId:  '',
customField: '20100416-113521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36915',
internalId:  '',
customField: '20100406-100030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36936',
internalId:  '',
customField: '20100412-172304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37715',
internalId:  '',
customField: '20100331-165430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37736',
internalId:  '',
customField: '20100413-092038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40915',
internalId:  '',
customField: '20100331-163759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43315',
internalId:  '',
customField: '20090917-170753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47115',
internalId:  '',
customField: '20090917-140049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54036',
internalId:  '',
customField: '20091124-130005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56415',
internalId:  '',
customField: '20100331-164048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56436',
internalId:  '',
customField: '20100331-164215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56457',
internalId:  '',
customField: '20100331-164230'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56478',
internalId:  '',
customField: '20100331-164250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68815',
internalId:  '',
customField: '20100331-164140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68836',
internalId:  '',
customField: '20100331-164156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69215',
internalId:  '',
customField: '20100331-164111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73736',
internalId:  '',
customField: '20100416-113125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73715',
internalId:  '',
customField: '20100416-112756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74515',
internalId:  '',
customField: '20100416-113340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78115',
internalId:  '',
customField: '20100416-112833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79515',
internalId:  '',
customField: '20100412-160511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79536',
internalId:  '',
customField: '20100412-165520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79557',
internalId:  '',
customField: '20100412-170543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79578',
internalId:  '',
customField: '20100413-092945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81815',
internalId:  '',
customField: '20100416-113215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82715',
internalId:  '',
customField: '20100416-113256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83415',
internalId:  '',
customField: '20100415-122137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86015',
internalId:  '',
customField: '20100416-100735'
};
var canonHostname = 'diywk02.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INVNB5';
var companyName   = 'Eclipse+NanoMed%2C+LLC';
var htmlTitle	  = 'EclipseNanoMed%2C+LLC';
var metaKeywords  = '';
var metaContents  = '';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getParentById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {
			if (ar[i][POS_CHILDS][j][POS_ID] == id) {
				// child found
				return ar[i];
			}
			var result=this.getParentById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getName = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAME];
	}
	return null;
};

theSitetree.getNavigationText = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAVIGATIONTEXT];
	}
	return null;
};

theSitetree.getHREF = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_HREF];
	}
	return null;
};

theSitetree.getIsNavigation = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_ISNAVIGATION];
	}
	return null;
};

theSitetree.getTemplateName = function(id, lastTemplateName, ar) {
	if (typeof(lastTemplateName) == 'undefined'){
		lastTemplateName = this.topTemplateName;
	}
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		var actTemplateName = ar[i][POS_TEMPLATENAME];
		if (actTemplateName == ''){
			actTemplateName = lastTemplateName;
		}
		if (ar[i][POS_ID] == id) {
			return actTemplateName;
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};

