/* [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','4598',jdecode('Bicomsc'),jdecode(''),'/4598.html','true',[],'',''],
	['PAGE','10035',jdecode('%C2%BFQuienes+somos%3F'),jdecode(''),'/10035.html','true',[],'',''],
	['PAGE','9372',jdecode('Nuestra+Empresa'),jdecode(''),'/9372.html','true',[],'',''],
	['PAGE','9399',jdecode('Soluciones'),jdecode(''),'/9399/index.html','true',[ 
		['PAGE','101252',jdecode('TRENDnet+'),jdecode(''),'/9399/101252.html','true',[],'',''],
		['PAGE','105152',jdecode('LINKSYS'),jdecode(''),'/9399/105152.html','true',[],'',''],
		['PAGE','108652',jdecode('INTELLINET'),jdecode(''),'/9399/108652.html','true',[],'',''],
		['PAGE','110352',jdecode('MOBOTIX'),jdecode(''),'/9399/110352.html','true',[],'',''],
		['PAGE','122052',jdecode('PLANET'),jdecode(''),'/9399/122052.html','true',[],'',''],
		['PAGE','133277',jdecode('Gateway'),jdecode(''),'/9399/133277.html','true',[],'',''],
		['PAGE','130812',jdecode('BIODEN'),jdecode(''),'/9399/130812.html','true',[],'',''],
		['PAGE','131769',jdecode('Network+Security'),jdecode(''),'/9399/131769.html','true',[],'',''],
		['PAGE','132939',jdecode('RADWIN'),jdecode(''),'/9399/132939.html','true',[],'',''],
		['PAGE','133080',jdecode('Check+Point'),jdecode(''),'/9399/133080.html','true',[],'',''],
		['PAGE','133698',jdecode('Soundwin'),jdecode(''),'/9399/133698.html','true',[],'',''],
		['PAGE','135488',jdecode('Convertidor+de+Medios'),jdecode(''),'/9399/135488.html','true',[],'',''],
		['PAGE','70752',jdecode('+VoIP+%2F+IP+PBX+'),jdecode(''),'/9399/70752.html','true',[],'','']
	],'',''],
	['PAGE','134680',jdecode('Industrial+Networking'),jdecode(''),'/134680.html','true',[],'',''],
	['PAGE','128487',jdecode('Nuevas+Tecnolog%C3%ADas'),jdecode(''),'/128487.html','true',[],'',''],
	['PAGE','9453',jdecode('Promociones'),jdecode(''),'/9453.html','true',[],'',''],
	['PAGE','9426',jdecode('Servicios'),jdecode(''),'/9426.html','true',[],'',''],
	['PAGE','9507',jdecode('Solicitud+de+Cotizacion'),jdecode(''),'/9507/index.html','true',[ 
		['PAGE','10602',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/9507/10602.html','false',[],'','']
	],'',''],
	['PAGE','35448',jdecode('Bolsa+de+trabajo'),jdecode(''),'/35448.html','true',[],'','']];
var siteelementCount=24;
theSitetree.topTemplateName='Stripes';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='1561';
theSitetree.keyvisualName='frau_fenster.jpg';
theSitetree.fontsetId='244';
theSitetree.graphicsetId='322';
theSitetree.contentColor='A00000';
theSitetree.contentBGColor='FCFCFB';
var localeDef={
  language: 'es',
  country: 'ES'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stripes',
				paletteFamily: 	'000000',
				keyvisualId: 	'1561',
				keyvisualName: 	'frau_fenster.jpg',
				fontsetId: 		'244',
				graphicsetId: 	'322',
				contentColor: 	'A00000',
				contentBGColor: 'FCFCFB',
				a_color: 		'000000',
				b_color: 		'DEDECA',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				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:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-62695']={
webappId:    '1501',
documentId:  '4598',
internalId:  '62695',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133277',
internalId:  '',
customField: '20100719-121845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100105-132629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9453',
internalId:  '',
customField: '20100719-113745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10035',
internalId:  '',
customField: '20091210-171444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9372',
internalId:  '',
customField: '20080205-215120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9399',
internalId:  '',
customField: '20100225-195226'
};
webappMappings['7008']=webappMappings['7008-6791']={
webappId:    '7008',
documentId:  '9507',
internalId:  '6791',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132939',
internalId:  '',
customField: '20090504-192147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133080',
internalId:  '',
customField: '20090624-180018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101252',
internalId:  '',
customField: '20090330-170644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105152',
internalId:  '',
customField: '20060905-160012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '108652',
internalId:  '',
customField: '20081021-174533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110352',
internalId:  '',
customField: '20081121-120456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '122052',
internalId:  '',
customField: '20100218-174818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70752',
internalId:  '',
customField: '20100226-131904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '133698',
internalId:  '',
customField: '20090710-162601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '135488',
internalId:  '',
customField: '20100127-212524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134680',
internalId:  '',
customField: '20100430-180149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130812',
internalId:  '',
customField: '20080205-212227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131769',
internalId:  '',
customField: '20100225-194234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9426',
internalId:  '',
customField: '20071101-203419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128487',
internalId:  '',
customField: '20100630-143231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9507',
internalId:  '',
customField: '20050515-131934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10602',
internalId:  '',
customField: '20041124-191401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35448',
internalId:  '',
customField: '20050210-002130'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INXXR3';
var companyName   = '+';
var htmlTitle	  = '';
var metaKeywords  = '+telecomunicaciones%2C+computo%2C+biometricos%2C+BICOM%2C+mantenimiento%2C+servicio.+PCs+Desktop%2C+Workstation+y+Notebook%2C+Servidores%2C+Almacenadores%2C+Impresoras+y+Mini+-printers+para+puntos+de+venta%2C+Accesorios%2C+Consumibles%2C+Ensambladores%2C+Energ%C3%BDa%2C+Camaras+Digitales%2C+Proyectores%2C+Software%2CHubs%2C+Switches%2C++Ruteadores+LAN+y+WAN%2C+Access+Point%2C+Cable%2FDSL+Gateways+inal%C3%BDmbrico%2C++Firewall+cableados%2C+Tarjetas+de+red%2C+Adaptadores+USB%2C+Seguridad%2C+Mantenimiento+preventivo+y+correctivo%2C+Soporte+t%C3%BDcnico%2C+Instalaci%C3%BDn++y+Capacitaci%C3%BDn+%2Credes+Al%C3%BDmbricas+e+Inal%C3%BDmbricas%2C+HEWLETT+PACKARD%2C+LEXMARK%2C+TOSHIBA%2C+3COM%2C+SMC%2C+INTEL%2C+SAMSUNG%2C+XEROX%2C+EPSON%2C+CISCO+SISTEMA%2C+OKIDATA%2C+TRIPP+LITE+%2C+Adobe%2C+Aspel%2C+Microsoft%2C+Symantec%2C+Autodesk%2CMacromedia.+Comunicaciones%2C+telefonia+IP%2C+gateways+voip%2C+SWITCHES+SOHO%2C+SWITCHES19+UNMANAGED%2C+MODEMS+INDUSTRIALES+%2C+MODEMS+COMERCIALES+%2C++VOZ+SOBRE+PROTOCOLO+DE+INTERNET+H.323%2FSIP+%2C+MOBOTIX%2C+Tecnolog%C3%ADa+de+Video+IP+de+alta+resoluci%C3%B3n+%2C+INTERNET+SECURITY+%2C+RUTEADORES+HOT-SPOT%2C+RADIOS+DE+MICROONDAS%2C+NUEVAS+TECNOL%C3%93G%C3%8DAS++INFORM%C3%81TICAS%2C++Relojes+digitales+Bioiden+FPS-OP4-+FPS-OP7+%2C+NETWORK+SECURITY+%2C+RADWIN%2C+Soundwin%2C+ANTENAS%2C+ENLACES+INALAMBRICOS%2C+RADIO+FRECUENCIA%2C+FIBRA+OPTICA%2C+Industrial+Networking+Solutions.+MOXA.CONVERTIDORES+DE+MEDIOS%2C+PheeNet%2C+VoIP+%2F+IP+PBX+%2C+Juniper+NETWORK+%2C+PLANET%2C+Hirschmann%2C+importacion+de+tecnologia%2C++telecomunicaciones+industriales%2C+';
var metaContents  = 'Comercializacion+y+distribucion+de+bienes+y+servicios+de+tecnologia+de+computo%2C+redes%2C+biometrica+y++telecomunicaciones';
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();
};
