/* [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','1513',jdecode('Quienes+Somos'),jdecode(''), jdecode('%2F1513%2Findex.html'), 'true',[ 
		['PAGE','32943',jdecode('Visi%C3%B3n'),jdecode(''), jdecode('%2F1513%2F32943.html'), 'true',[],'',''],
		['PAGE','32952',jdecode('Misi%C3%B3n'),jdecode(''), jdecode('%2F1513%2F32952.html'), 'true',[],'',''],
		['PAGE','34846',jdecode('Garant%C3%ADas'),jdecode(''), jdecode('%2F1513%2F34846.html'), 'true',[],'','']
	],'',''],
	['PAGE','247745',jdecode('%C2%A1Febrero+de+Amor%21'),jdecode(''), jdecode('%2F247745.html'), 'true',[],'',''],
	['PAGE','93801',jdecode('Productos'),jdecode(''), jdecode('%2F93801%2Findex.html'), 'true',[ 
		['PAGE','101501',jdecode('Pl%C3%A1sticos+ESD'),jdecode(''), jdecode('%2F93801%2F101501.html'), 'true',[],'',''],
		['PAGE','210401',jdecode('Corte+L%C3%A1ser'),jdecode(''), jdecode('%2F93801%2F210401.html'), 'true',[],'',''],
		['PAGE','223201',jdecode('Productos+3M'),jdecode(''), jdecode('%2F93801%2F223201.html'), 'true',[],'',''],
		['PAGE','163701',jdecode('Mantenimiento+Industrial'),jdecode(''), jdecode('%2F93801%2F163701.html'), 'true',[],'',''],
		['PAGE','163806',jdecode('Lavadoras+EMC'),jdecode(''), jdecode('%2F93801%2F163806.html'), 'false',[],'',''],
		['PAGE','134301',jdecode('Lubricantes'),jdecode(''), jdecode('%2F93801%2F134301.html'), 'true',[],'',''],
		['PAGE','163785',jdecode('Consumibles+ESD'),jdecode(''), jdecode('%2F93801%2F163785.html'), 'true',[],'',''],
		['PAGE','163827',jdecode('Productos+Omron'),jdecode(''), jdecode('%2F93801%2F163827.html'), 'true',[],'',''],
		['PAGE','163764',jdecode('Sist.+de+Producci%C3%B3n'),jdecode(''), jdecode('%2F93801%2F163764.html'), 'true',[],'',''],
		['PAGE','163722',jdecode('Termopares'),jdecode(''), jdecode('%2F93801%2F163722.html'), 'true',[],'',''],
		['PAGE','233245',jdecode('Consumibles+SMT'),jdecode(''), jdecode('%2F93801%2F233245.html'), 'false',[],'',''],
		['PAGE','200601',jdecode('Ref.+Fuji+IP3+y+MTU'),jdecode(''), jdecode('%2F93801%2F200601.html'), 'false',[],'','']
	],'',''],
	['PAGE','158401',jdecode('Especiales+Hi-Len+%21%21%21'),jdecode(''), jdecode('%2F158401.html'), 'false',[],'',''],
	['PAGE','34599',jdecode('%C2%BFQu%C3%A9+hacemos%3F'),jdecode(''), jdecode('%2F34599.html'), 'true',[],'',''],
	['PAGE','34058',jdecode('Informaci%C3%B3n'),jdecode(''), jdecode('%2F34058.html'), 'true',[],'',''],
	['PAGE','1759',jdecode('%C2%BFD%C3%B3nde+estamos%3F'),jdecode(''), jdecode('%2F1759%2Findex.html'), 'true',[ 
		['PAGE','1786',jdecode('Direcci%C3%B3n+y+Tel%C3%A9fono'),jdecode(''), jdecode('%2F1759%2F1786.html'), 'true',[],'','']
	],'',''],
	['PAGE','32001',jdecode('Clientes'),jdecode(''), jdecode('%2F32001.html'), 'true',[],'',''],
	['PAGE','34918',jdecode('Trabaja+Aqu%C3%AD'),jdecode(''), jdecode('%2F34918.html'), 'true',[],'',''],
	['PAGE','33994',jdecode('%C2%BFQu%C3%A9+opinas%3F'),jdecode(''), jdecode('%2F33994%2Findex.html'), 'true',[ 
		['PAGE','33993',jdecode('Libro+de+Visitas'),jdecode(''), jdecode('%2F33994%2F33993.html'), 'true',[],'','']
	],'','']];
var siteelementCount=27;
theSitetree.topTemplateName='Groove';
theSitetree.paletteFamily='F36969';
theSitetree.keyvisualId='6024';
theSitetree.keyvisualName='kv_6024.jpg';
theSitetree.fontsetId='11125';
theSitetree.graphicsetId='12921';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E4E4E6';
var localeDef={
  language: 'es',
  country: 'ES'
};
var prodDef={
  wl_name: 'grp13-hostin',
  product: 'WSCSYSSSSLY0XJEZ'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Groove',
				paletteFamily: 	'F36969',
				keyvisualId: 	'6024',
				keyvisualName: 	'kv_6024.jpg',
				fontsetId: 		'11125',
				graphicsetId: 	'12921',
				contentColor: 	'000000',
				contentBGColor: 'E4E4E6',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163827',
internalId:  '',
customField: '20120130-125939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '134301',
internalId:  '',
customField: '20120130-125901'
};
webappMappings['1002']=webappMappings['1002-33994avec10inxxpq']={
webappId:    '1002',
documentId:  '33994',
internalId:  '33994avec10inxxpq',
customField: 'icq=false'
};
webappMappings['7008']=webappMappings['7008-1553']={
webappId:    '7008',
documentId:  '34058',
internalId:  '1553',
customField: 'language:es;country:ES;'
};
webappMappings['7060']=webappMappings['7060-579e2aab8bba97d39b9d485ca09d92ab']={
webappId:    '7060',
documentId:  '34599',
internalId:  '579e2aab8bba97d39b9d485ca09d92ab',
customField: 'language:es;country:ES;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93801',
internalId:  '',
customField: '20120130-125712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1513',
internalId:  '',
customField: '20120103-145449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32943',
internalId:  '',
customField: '20111221-145218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32952',
internalId:  '',
customField: '20111124-114040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34846',
internalId:  '',
customField: '20111124-114130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '200601',
internalId:  '',
customField: '20111124-150047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163806',
internalId:  '',
customField: '20111030-214344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163764',
internalId:  '',
customField: '20120130-125956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163785',
internalId:  '',
customField: '20120130-125920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34599',
internalId:  '',
customField: '20120130-130057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34058',
internalId:  '',
customField: '20120130-130121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1759',
internalId:  '',
customField: '20120130-130157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1786',
internalId:  '',
customField: '20111229-182759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32001',
internalId:  '',
customField: '20111124-125512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34918',
internalId:  '',
customField: '20120103-143731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33994',
internalId:  '',
customField: '20111229-182943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33993',
internalId:  '',
customField: '20070228-183046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101501',
internalId:  '',
customField: '20120130-125740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '158401',
internalId:  '',
customField: '20111030-214731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163701',
internalId:  '',
customField: '20120130-125843'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '247745',
internalId:  '1501',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '233245',
internalId:  '',
customField: '20111124-150030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163722',
internalId:  '',
customField: '20120130-130016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '223201',
internalId:  '',
customField: '20120130-125823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '210401',
internalId:  '',
customField: '20120130-125803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '247745',
internalId:  '',
customField: '20120130-125611'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INXXPQ';
var companyName   = '%C2%A1Febrero+2012%3A+Mes+del+Amor+y+la+Amistad%21';
var htmlTitle	  = 'HI-LEN+S+DE+RL+DE+CV';
var metaKeywords  = 'ACEITE+GRASA+LUBRICANTE+lubricante+aceite+grasaACRILICO++ANTIESTATICO++ESD++POLICARBONATO++PELICULA+ANTIESTATICA++FILTRACION++EXTRACCION+CONSUMIBLES';
var metaContents  = 'GRASA+ACEITE+LUBRICANTE+ACRILICOS+Y+POLICARBONATOS+ANTIESTATICOS+SCICRON++PELICULA+ESD+SCICRON';
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();
};

