/* [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','501',jdecode('Home'),jdecode(''),'/501.html','true',[],'',''],
	['PAGE','552',jdecode('Service'),jdecode(''),'/552.html','true',[],'',''],
	['PAGE','573',jdecode('Models'),jdecode(''),'/573/index.html','true',[ 
		['PAGE','594',jdecode('Fotos'),jdecode(''),'/573/594.html','true',[],'','']
	],'',''],
	['PAGE','615',jdecode('Preise+%26+Kontakt'),jdecode(''),'/615.html','true',[],'',''],
	['PAGE','636',jdecode('Links'),jdecode(''),'/636.html','true',[],'',''],
	['PAGE','678',jdecode('Impressum'),jdecode(''),'/678.html','true',[],'',''],
	['PAGE','14401',jdecode('+++++++++'),jdecode(''),'/14401.html','true',[],'','']];
var siteelementCount=8;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='5E5E5E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10448';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='5e5e5e';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Akropolis',
				paletteFamily: 	'5E5E5E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10448',
				contentColor: 	'FFFFFF',
				contentBGColor: '5e5e5e',
				a_color: 		'5E5E5E',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				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:  '14401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14401',
internalId:  '',
customField: '20100430-113740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '636',
internalId:  '',
customField: '20100402-125008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '615',
internalId:  '',
customField: '20100402-124929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20100122-005725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20090926-174005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '573',
internalId:  '',
customField: '20100430-114006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '594',
internalId:  '',
customField: '20100428-174843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '678',
internalId:  '',
customField: '20090901-172101'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '501',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '552',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '573',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '594',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '615',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '636',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '678',
internalId:  '',
customField: 'language:de;country:CH;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '14401',
internalId:  '',
customField: 'language:de;country:CH;'
};
var canonHostname = 'webomat02.hostpoint.ch';
var accountId     = 'AHOPT0IN3EW6';
var companyName   = 'Sexlimousine+%26+Sexyacht';
var htmlTitle	  = 'Deutsches+Luxusgirl+Laura';
var metaKeywords  = 'Bodensee%2C+sex%2C+limousine%2C+stretch%2C+schweiz%2C+st.+gallen%2C+ficken%2C+Laura%2C+sexlimousine%2C+rorschach%2C+staad%2C+escort%2C++luzern%2C+stretchlimousine%2C+hergiswil%2C+nidwalden%2C+immobilien%2C+miete%2C+kauf%2C+hotel%2C+zimmer%2C+pension%2C+urlaub%2C+boot%2C+z%C3%BCrich%2C+restaurant%2C+bar%2C+girls%2C+girls%2C+steuer%2C+steueroase%2C+glasi%2C+pilatus%2C+all+inclusive%2C+abo%2C+kartenzahlung%2C+topliste%2C+sextourismus%2C+nr.1%2C++k%C3%BCssen%2C+schmusen%2C+schlucken%2C+anal%2C+gangbang%2C+creampie%2C+bukake%2C+paar%2C+tabulos%2C+luxusgirl%2C+deutsch%2C+tabulos%2C+AO%2C+ficken%2C+Zungenanal%2C+Ficksahne%2C+Mundfick%2C+POV%2C+Analsex%2C+Live%2C+WebCam%2C+Teenies%2C+Tenny%2C+Teenys%2C+Hardcore%2C+Erotik%2C+Porno%2C+Video%2C+VOD%2C+Video+on+Demand%2C+Pornactress%2C+Pornoactress%2C+Sex%2C+Erotikjob%2C+Mallorca%2C+Live%2C+Striptease%2C+Webcam%2C+Webcamgirl%2C+Nutten%2C+Callgirl%2C+Hure%2C+Hobbynutte%2C+Hobbienutte%2C+Hobbyhure%2C+Hobbiehure%2C+Sexkontakte%2C+Swinger%2C+Salon%2C+Bordell%2C+Sexinserate%2C+Blowjob%2C+Facial%2C+Gesichtsbesammung%2C+Sperma%2C+schlucken%2C+Handjob%2C+Escort%2C+Hausbesuch%2C+Schlampen%2C+Strapon%2C+Dildoshow%2C+Deepthroat%2C+Lesboshow%2C+69%2C+GV%2C+Creampie%2C+Sex+im+Freien%2C+Dicke+Titten%2C+Oralsex%2C+Deepthroating%2C+Extremblasen%2C+Analsex%2C+Gro%C3%9Fe+Schw%C3%A4nze%2C+Sex+mit+2+M%C3%A4nnern%2C+High-Heels%2C+F%C3%BC%C3%9Fe%2C+Trampling%2C+Natursekt%2C+Fisting%2C+Ass+to+Mouth%2C+POV%2C+Analfisting%2C+fickwillig%2C+naturgeil%2C+Lustbolzen%2C+vollbusig%2C+Lutschmund%2C+Studentinnen%2C+Highheels%2C+Gangbang%2C+Porn+Actress%2C+Strassenstrich%2C+Parkplatzsex%2C+Dildoshow%2C+Tabledance%2C+tabulos%2C+AO%2C+Amateursex%2C+Pornostar%2C+Camshow%2C+Outdoor%2C+masturbieren%2C+Rollenspiel%2C+Tittenfick%2C+Natursekt%2C+Face-Sitting%2C+Arsch%2C+Plug%2C+Bukkake%2C+Squirting%2C+Quickie%2C+MILF%2C+Ficken+ohne+GummiSexkontakte%2C+Gratis%2C+Deutschland%2C+Schweiz%2C+%C3%96sterreich%2C+Sexanzeigen%2C+Sextreffs%2C+Seitensprung%2C+Private+Kontakte%2C+Studio%2C+Salon%2C+Sauna%2C+Club%2C+Massage-Salon%2C+Kontaktanzeigen%2C+Swinger+Club%2C+Hausfrauen%2C+Escort%2C+Begleitservice%2C+Prostituierte%2C+xdate.ch%2C+xdate%2C+Sex+Kontakte%2C+Treffpunkt%2C+Erotik%2C+Parkplatztreff%2C+Parkplatzsex%2C+Aargau%2C+Solothurn%2C+Z%C3%BCrich%2C+Bern%2C+Basel%2C+Graub%C3%BCnden%2C+Luzern%2C+Genf%2C+Stellen%2C+Immobilien%2C+Fickkontakte%2C+Ficken%2C+Massagen%2C+Suisse%2C+Huren%2C+Fotos%2C+Videos%2C+Pornos%2C+xxx';
var metaContents  = 'Bodensee%2C+sex%2C+limousine%2C+stretch%2C+schweiz%2C+st.+gallen%2C+ficken%2C+Laura%2C+sexlimousine%2C+rorschach%2C+staad%2C+escort%2C+luzern%2C+stretchlimousine%2C+hergiswil%2C+nidwalden%2C+immobilien%2C+miete%2C+kauf%2C+hotel%2C+zimmer%2C+pension%2C+urlaub%2C+boot%2C+z%C3%BCrich%2C+restaurant%2C+bar%2C+girls%2C+girls%2C+steuer%2C+steueroase%2C+glasi%2C+pilatus%2C+all+inclusive%2C+abo%2C+kartenzahlung%2C+topliste%2C+sextourismus%2C+nr.1%2C+k%C3%BCssen%2C+schmusen%2C+schlucken%2C+anal%2C+gangbang%2C+creampie%2C+bukake%2C+paar%2C+tabulos%2C+luxusgirl%2C+deutsch%2C+tabulos%2C+AO%2C+ficken%2C+Zungenanal%2C+Ficksahne%2C+Mundfick%2C+POV%2C+Analsex%2C+Live%2C+WebCam%2C+Teenies%2C+Tenny%2C+Teenys%2C+Hardcore%2C+Erotik%2C+Porno%2C+Video%2C+VOD%2C+Video+on+Demand%2C+Pornactress%2C+Pornoactress%2C+Sex%2C+Erotikjob%2C+Mallorca%2C+Live%2C+Striptease%2C+Webcam%2C+Webcamgirl%2C+Nutten%2C+Callgirl%2C+Hure%2C+Hobbynutte%2C+Hobbienutte%2C+Hobbyhure%2C+Hobbiehure%2C+Sexkontakte%2C+Swinger%2C+Salon%2C+Bordell%2C+Sexinserate%2C+Blowjob%2C+Facial%2C+Gesichtsbesammung%2C+Sperma%2C+schlucken%2C+Handjob%2C+Escort%2C+Hausbesuch%2C+Schlampen%2C+Strapon%2C+Dildoshow%2C+Deepthroat%2C+Lesboshow%2C+69%2C+GV%2C+Creampie%2C+Sex+im+Freien%2C+Dicke+Titten%2C+Oralsex%2C+Deepthroating%2C+Extremblasen%2C+Analsex%2C+Gro%C3%9Fe+Schw%C3%A4nze%2C+Sex+mit+2+M%C3%A4nnern%2C+High-Heels%2C+F%C3%BC%C3%9Fe%2C+Trampling%2C+Natursekt%2C+Fisting%2C+Ass+to+Mouth%2C+POV%2C+Analfisting%2C+fickwillig%2C+naturgeil%2C+Lustbolzen%2C+vollbusig%2C+Lutschmund%2C+Studentinnen%2C+Highheels%2C+Gangbang%2C+Porn+Actress%2C+Strassenstrich%2C+Parkplatzsex%2C+Dildoshow%2C+Tabledance%2C+tabulos%2C+AO%2C+Amateursex%2C+Pornostar%2C+Camshow%2C+Outdoor%2C+masturbieren%2C+Rollenspiel%2C+Tittenfick%2C+Natursekt%2C+Face-Sitting%2C+Arsch%2C+Plug%2C+Bukkake%2C+Squirting%2C+Quickie%2C+MILF%2C+Ficken+ohne+Gummi%2C+sex+in+der+limousine%2C+weltweiter+service%2C+schweizweit%2C+mobiles+kartenger%C3%A4t%2C+kartenzahlung+m%C3%B6glich%2C+Rabattaktion%2C+10+%25+auf+alles%2C+sexboot%2C+swinger%2C+geht+nicht+gibts+nicht%2C+heidi%2C+Sexkontakte%2C+Gratis%2C+Deutschland%2C+Schweiz%2C+%C3%96sterreich%2C+Sexanzeigen%2C+Sextreffs%2C+Seitensprung%2C+Private+Kontakte%2C+Studio%2C+Salon%2C+Sauna%2C+Club%2C+Massage-Salon%2C+Kontaktanzeigen%2C+Swinger+Club%2C+Hausfrauen%2C+Escort%2C+Begleitservice%2C+Prostituierte%2C+xdate.ch%2C+xdate%2C+Sex+Kontakte%2C+Treffpunkt%2C+Erotik%2C+Parkplatztreff%2C+Parkplatzsex%2C+Aargau%2C+Solothurn%2C+Z%C3%BCrich%2C+Bern%2C+Basel%2C+Graub%C3%BCnden%2C+Luzern%2C+Genf%2C+Stellen%2C+Immobilien%2C+Fickkontakte%2C+Ficken%2C+Massagen%2C+Suisse%2C+Huren%2C+Fotos%2C+Videos%2C+Pornos%2C+xxx';
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();
};
