/* [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 theSitetree=[ 
	['PAGE','4601',jdecode('Home'),jdecode(''),'/4601.html','true',[],''],
	['PAGE','4652',jdecode('Lista+de+Precios'),jdecode(''),'/4652.html','true',[],''],
	['PAGE','6801',jdecode('Colores'),jdecode(''),'/6801.html','true',[],''],
	['PAGE','8401',jdecode('Interface'),jdecode(''),'/8401.html','true',[],''],
	['PAGE','8901',jdecode('Preguntas+del+Trivial'),jdecode(''),'/8901.html','true',[],''],
	['PAGE','7101',jdecode('Camfrog+TOS'),jdecode(''),'/7101.html','true',[],''],
	['PAGE','7501',jdecode('Forum'),jdecode(''),'/7501.html','false',[],''],
	['PAGE','6201',jdecode('Correo+Electronico'),jdecode(''),'/6201.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Mazy';
theSitetree.paletteFamily='E58919';
theSitetree.keyvisualId='11098';
theSitetree.keyvisualName='kv_11098.jpg';
theSitetree.fontsetId='31988';
theSitetree.graphicsetId='13821';
theSitetree.contentColor='CF7B3D';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Mazy',
				paletteFamily: 	'E58919',
				keyvisualId: 	'11098',
				keyvisualName: 	'kv_11098.jpg',
				fontsetId: 		'31988',
				graphicsetId: 	'13821',
				contentColor: 	'CF7B3D',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['4001']=webappMappings['4001-12110562']={
webappId:    '4001',
documentId:  '4652',
internalId:  '12110562',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4601',
internalId:  '',
customField: '20090212-212514'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4652',
internalId:  '',
customField: '20080917-140343'
};
webappMappings['7008']=webappMappings['7008-8635']={
webappId:    '7008',
documentId:  '6201',
internalId:  '8635',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6201',
internalId:  '',
customField: '20080917-140455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6801',
internalId:  '',
customField: '20080917-140527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7101',
internalId:  '',
customField: '20080917-135754'
};
webappMappings['1003']=webappMappings['1003-aendu0ine40z11c7184bc28']={
webappId:    '1003',
documentId:  '7501',
internalId:  'aendu0ine40z11c7184bc28',
customField: 'en:US'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7501',
internalId:  '',
customField: '20080917-141821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8401',
internalId:  '',
customField: '20090212-210130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8901',
internalId:  '',
customField: '20080918-211831'
};
var canonHostname = 'cmworker03.yourhostingaccount.com';
var accountId     = 'AENDU0INE40Z';
var companyName   = 'ccalderon.com';
var htmlTitle	  = '';
var metaKeywords  = 'servidores+netmeetingservidores+server+metservidores+netmetingservidores+neetmeetingmu+servidoresservidores+gnutellaconfigurar+camfrogcamfrog+crackservidores+ldapdescargar+camfrogservidores+messengercamfrog+adultcamfrog+serialservidores+irccamfrog+activation+codeservidores+onlinecamfrog+serverservidores+muonlinecamfrog+keygencamfrog+3.2camfrog+3.0servidores+serverservidores+videocamfrog+2.5camfrog+3.4camfrog+userscamfrog+betacamfrog+patchcamfrog+3.1camfrog+proservidores+listaservidores+descargarservidores+crackvideo+camfrogservidores+camfrogservidor+camfcamfrog+activation+codecamfrog+crackcamfrog+serialcamfrog+keygencamfrog+3.2camfrog+3.0trivia+friendscamfrog+2.5camfrog+chat+roomcamfrog+3.4camfrog+betacamfrog+patchcamfrog+3.1camfrog+procamfrog+adultcamfrog+freecracks+camfrogcamfrog+serial+numberquiz+triviatrivia+moviecamfrog+roomsvideo+camfrogcamfrog+keyserials+camfrogtriviaduenos+alquilaalquila+madridsalas+madridpisos+alquilasalas+casasapartamentos+alquilacasas+alquilaen+alquilaalquila+rentalquila+vacacionessalas+argentinapiso+alquilasala+de+chatearsalas+de+xatsalas+de+chattsala+de+chattsala+de+xatsalas+de+cahtsalas+de+amigossalas+de+arnetsalas+de+chateosalas+de+charlassalas+de+amistadsalas+terrasalas+de+para+chatearsalas+de+webchatsalas+de+amorsalas+de+ircsalas+de+mircsalas+de+contactossalas+de+forossalas+de+cordobasalas+de+usuariossalas+de+conversasalas+de+chicassalas+de+personassalas+de+gentesalas+de+rosariosalas+de+mujeressalas+de+venezuelasalas+de+adultossalas+argentinasalas+de+latinchatsalas+de+chatssalas+de+chatearsala+de+chatssalas+de+chats+gratishost+roomcolocation+hostingdata+center+hostingdatacenter+hostingcheap+hostingoperation+hostingdata+hostingfree+hostingdedicated+server+hostingdedicated+hostingrack+hostingwebsite+hostingroom+unlimiteddedicated+servers+hostingcomputer+hostingftp+hostingnoc+hostingreseller+hostingdomain+hostingroom+planningvps+hostingfree+web+space+hostingasp+hostingweb+hostingserver+hostingsun+hostingunlimited+hostingnetwork+hostingweb+site+hostingphp+hostingequipment+hostingmanaged+hostinghosting+serverswebspace+hostinginfrastructure+hostinghosting+roomchat+room+hostingroom+401+hostchat+room+hosthost+of+room+401romper+room+hostfree+chat+room+hostingroom+designserver+roomdesign+a+roomspace+roomhost+roomcolocation+hostingdata+center+hostingdatacenter+hostingcheap+hostingoperation+hostingdata+hostingfree+hostingdedicated+server+hostingdedicated+hostingrack+hostingwebsite+hostingroom+unlimiteddedicated+servers+hostingcomputer+hostingftp+hostingnoc+hostingreseller+hostingdomain+hostingroom+planningvps+hostingfree+web+space+hostingasp+hostingweb+hostingserver+hostingsun+hostingunlimited+hostingnetwork+hostingweb+site+hostingphp+hostingequipment+hostingmanaged+hostinghosting+serverswebspace+hostinginfrastructure+hostingcrack+girlsadult+camfrogchat+rooms+girlscamfrog+cracklive+girlscamfrog+keygencamfrog+serialcamfrog+livecamfrog+chat+roomscamfrog+crackscamfrog+betacamfrog+activation+codebeta+girlsteen+girlsfree+girlschat+girlsfree+camfrogcamfrog+serial+numbercamfrog+3.1camfrog+patchcamfrog+chatamsterdam+girlsasian+girlspictures+of+girlscamfrog+3.4camfrog+3.2adult+girlschat+room+girlscamfrog+serialsrussian+girlsserial+girlsteens+girlscamfrog+chat+roomcamfrog+proshow+girlsvideo+girlscamfrog+keygirls+fuckingcamfrog+servercamfrog+girlscamfrog+girlvideoconferencelive+chat+roomslive+chatchat+roomslive+showsprivate+chatsingles+chat+roomsvideo+emailfree+live+chatvideo+datingvidio+chatchat+roomfree+chatadultvedio+chatdatinglive+girlsvideo+conferencingonline+chatvideoonline+datingchatfree+chat+roomssingleschat+linevideo+chattpersonalswomenfree+online+datingsingles+chatvideo+clipsfunny+videolive+videostreaming+videochatroomsvideos+chatsonline+chat+roomsgirlschat+siteslive+chatschattinglivelive+chat+roomvidio+chatsdating+sitesvideo+conferenceaudio+chatdating+servicesfree+videofree+datingvideo+imvedio+chattingweb+chatvideo+messengervideo+callingchatsvedio+chatschat+sitevideo+calleyeball+chatdwyco+chaticu+chatispq+chaticuii+chatteen+chatimlive+chatmsn+chateye+chatvideo+instant+messagingvideo+softwarewebcamnow+chatvideo+eyeballvideo+lanicq+chatvideo+sitesvideo+communityvideo+programsnetmeeting+chatp2p+chatmusic+chatvideo+messagingvideo+phoneinstant+messaging+chatvideo+eyeconference+chatchat+with+videovideo+game+chatchat+and+videovideo+game+chat+roomsvideo+games+chatvideo+game+chat+roomvideo+voice+chatchat+videosfree+video+game+chatchat+rooms+with+videovideo+chatroomsvideo+chattingvideo+chatsfree+video+chatslive+video+chatscamfrog+chat+roomscamfrog+hackscamfrog+hackcamfrog+crackcamfrog+programsbuild+botchat+botcamfrog+toolscamfrog+serialtrillian+bottalk+botcamfrog+betaserial+botvoice+botchat+room+botcamfrog+keybot+hacksmirc+botim+botcamfrog+bancamfrog+chatgreeter+botcamfrog+codemsn+botcrack+botaim+botpro+botroom+botcamfrog+downloadcamfrog+chat+roomhacker+botblue+botkey+botmessenger+bothacking+botcamfrog+registeranti+botcamfrog+3.2camfrog+3.4icq+botcamfrog+proprogram+botregister+botbeta+botcamfrog+botcamfrog+trivia+botcamfrog+botscamfrog+bot+downloadcamfrog+dj+botcamfrog+bot+3.71trivial+camfrogcamfrog+triviacamfrog+trivia+bottrivia+chattrivia+chat+roomschristmas+triviamovie+triviatrivia+chatroomsfun+triviatrivia+chat+roomtrivia+quizzescamfrog+crackcamfrog+keygencamfrog+serialtrivia+quizcamfrog+chat+roomstrivia+chatscamfrog+crackstrivia+teentrivia+sitesadult+camfrogtrivia+for+kidskids+triviatrivia+quizescool+triviacamfrog+betatrivia+questions+and+answersbible+triviasports+triviatrivia+questionstrivia+factscamfrog+activation+codetrivia+servertrivia+adultfriends+triviatv+triviaimdb+triviatrivia+quiz+questionscamfrog+chatcamfrog+3.1camfrog+patchcamfrog+3.4camfrog+3.2camfrog+chat+roomtrivia+roomscamfrog+roomscamfrog+serialstrivia+teenscamfrog+serial+numbertrivia+freecamfrog+procamfrog+keypub+triviatrivia+progeneral+knowledge+triviacamfrog+userssoundtrack+triviatrivia+questioncamfrog+servercamfrog+crackcamfrog+serial+numbercamfrog+keygencamfrog+serialsalas+de+chat+latinocamfrog+crackscamfrog+betasalas+de+chat+freefree+chatcamfrog+3.1camfrog+patchcamfrog+3.4camfrog+3.2salas+de+chat+gratiscamfrog+proirc+chatcamfrog+keycamfrog+serverBronx+GuyBronxBronx_guyBronx_GuyAlkilo+salasAlquilo+salasSalas+de+Alkiler';
var metaContents  = 'Camfrog.+Salas+de+Chat.+Bajos+Precios';
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();
};
