/* [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','4558',jdecode('HOME'),jdecode(''),'/4558.html','true',[],'',''],
	['PAGE','484701',jdecode('Lama+3%2C4m+%28S%C3%B6llner%29'),jdecode(''),'/484701.html','true',[],'',''],
	['PAGE','515801',jdecode('Lama+3%2C4m+im+Flug'),jdecode(''),'/515801.html','true',[],'',''],
	['PAGE','517801',jdecode('FLUGTAGE'),jdecode(''),'/517801/index.html','true',[ 
		['PAGE','525631',jdecode('A.L.K+Flugtage+2010'),jdecode(''),'/517801/525631.html','true',[],'',''],
		['PAGE','517822',jdecode('8.+Ostschw.+Helitreff'),jdecode(''),'/517801/517822.html','true',[],'',''],
		['PAGE','472801',jdecode('2.+SCALE-TREFFEN'),jdecode(''),'/517801/472801.html','true',[],'',''],
		['PAGE','362970',jdecode('1.+SCALE-TREFFEN'),jdecode(''),'/517801/362970.html','true',[],'','']
	],'',''],
	['PAGE','328018',jdecode('EC145+Baubericht'),jdecode(''),'/328018.html','true',[],'',''],
	['PAGE','420501',jdecode('Fotos+EC145'),jdecode(''),'/420501.html','true',[],'',''],
	['PAGE','284529',jdecode('VIDEOS+EC145'),jdecode(''),'/284529.html','true',[],'',''],
	['PAGE','75110',jdecode('Lama+1%3A6+Baubericht'),jdecode(''),'/75110.html','true',[],'',''],
	['PAGE','281565',jdecode('Fotoalbum+Lama'),jdecode(''),'/281565.html','true',[],'',''],
	['PAGE','362594',jdecode('VIDEO+LAMA'),jdecode(''),'/362594.html','true',[],'',''],
	['PAGE','296375',jdecode('Elektroflug'),jdecode(''),'/296375.html','true',[],'',''],
	['PAGE','444801',jdecode('VIDEOS+Elektroflug'),jdecode(''),'/444801.html','true',[],'',''],
	['PAGE','75083',jdecode('Wasserflug'),jdecode(''),'/75083.html','true',[],'',''],
	['PAGE','284502',jdecode('VIDEO+Wasserflug'),jdecode(''),'/284502.html','true',[],'',''],
	['PAGE','75137',jdecode('LINKS'),jdecode(''),'/75137.html','true',[],'',''],
	['PAGE','256058',jdecode('Veranstaltungen'),jdecode(''),'/256058.html','true',[],'',''],
	['PAGE','300897',jdecode('Zu+verkaufen'),jdecode(''),'/300897.html','true',[],'',''],
	['PAGE','75164',jdecode('Kontakt'),jdecode(''),'/75164/index.html','true',[ 
		['PAGE','84412',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/75164/84412.html','false',[],'','']
	],'',''],
	['PAGE','432201',jdecode('FOREN'),jdecode(''),'/432201.html','true',[],'','']];
var siteelementCount=24;
theSitetree.topTemplateName='Mosaic';
theSitetree.paletteFamily='F3F2BE';
theSitetree.keyvisualId='2591';
theSitetree.keyvisualName='hubschrauber.jpg';
theSitetree.fontsetId='10713';
theSitetree.graphicsetId='10518';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='F3F2BE';
var localeDef={
  language: 'de',
  country: 'CH'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Mosaic',
				paletteFamily: 	'F3F2BE',
				keyvisualId: 	'2591',
				keyvisualName: 	'hubschrauber.jpg',
				fontsetId: 		'10713',
				graphicsetId: 	'10518',
				contentColor: 	'000000',
				contentBGColor: 'F3F2BE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'D85161',
				e_color: 		'A1A05C',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4558',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '472801',
internalId:  '',
customField: '20091027-221614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4558',
internalId:  '',
customField: '20100905-151905'
};
webappMappings['4001']=webappMappings['4001-NF3E_S5uV_UdOA']={
webappId:    '4001',
documentId:  '300897',
internalId:  'NF3E_S5uV_UdOA',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '362970',
internalId:  '',
customField: '20090928-212005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '362594',
internalId:  '',
customField: '20081115-203848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '328018',
internalId:  '',
customField: '20091016-115943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '420501',
internalId:  '',
customField: '20090413-195941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '444801',
internalId:  '',
customField: '20090707-215121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75110',
internalId:  '',
customField: '20081115-200943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '296375',
internalId:  '',
customField: '20091016-001424'
};
webappMappings['7008']=webappMappings['7008-2837']={
webappId:    '7008',
documentId:  '75164',
internalId:  '2837',
customField: 'language:de;country:CH;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75137',
internalId:  '',
customField: '20100704-141407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '300897',
internalId:  '',
customField: '20090104-171624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '256058',
internalId:  '',
customField: '20100905-151714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '484701',
internalId:  '',
customField: '20100905-145242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '515801',
internalId:  '',
customField: '20100905-145344'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '284529',
internalId:  '',
customField: '20090917-194311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '281565',
internalId:  '',
customField: '20090522-221742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '517801',
internalId:  '',
customField: '20100709-215929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '432201',
internalId:  '',
customField: '20090808-154810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75083',
internalId:  '',
customField: '20060219-180728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '284502',
internalId:  '',
customField: '20060311-205810'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '517822',
internalId:  '',
customField: '20100709-225946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '525631',
internalId:  '',
customField: '20100804-101916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75164',
internalId:  '',
customField: '20080624-233124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84412',
internalId:  '',
customField: '20030801-153151'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXEJB';
var companyName   = 'IG+Modellsport+Sisikon';
var htmlTitle	  = 'Modellsport+Sisikon';
var metaKeywords  = 'Big-Lama%3B+S%C3%B6llner-Lama%3B+S%C3%B6llner+Lama%3B+Lama+von+Martin+S%C3%B6llner%3B+Large-Scale+Lama+mit+3%2C5m+Rotor%3B+Lama+SA315B+mit+3%2C5m+Rotor+und+Turbine+Jakadofsky+PRO+5000%3B+Jakadofsky+PRO+5000%3B+Lama+mit+Turbinenantrieb%3B+EC+145+mit+PHT3%3B+Semi-Scale+Modell+EC+145+Rega%2C+Massstab+1%3A5%2C6%3B+EC+145+Rega+mit+Turbine+im+Massstab+1%3A5%2C6%3B+EC+145+Rega+mit+Turbine%3B+eflight.ch%3B+e-helishop.ch%3B+rc-lipo%3B+Alouette+%2F+Lama+SA315B+mit+Elektro-Antrieb%3B+Elektro-Helikopter%3B+Wasserflugzeuge%3B+Flugboote%3B+Indoor-Fliegen%3B+Speedboote%3B+Hughes+500E+im+Massstab+1%3A4%2C5%3B+Hughes+mit+JetCat+PHT3%3BTurbinen-Hughes%3B+Hughes+500E+mit+JetCat+PHT3%3B+Hughes+500+mit+Turbinenantrieb%3B+PHT3%3B+JetCat+PHT3%3B+MD+500E+mit+Turbine%3B+Elektro-Lama%3B+Lama+im+Massstab+1%3A6%3B+Lama+SA315B+im+Massstab+1%3A6%3B+Schn%C3%A4ppchen-Shop%3B+Lama+mit+Elektroantrieb%3B+MD+500+mit+Turbine%3B+JetCat%3B+ThunderPower%3B+Hughes%3B+Lama%3B+OF-Mehrblattkopf%3B+OF+3-Blattkopf%3B+OF+5-Blattkopf%3B+Feuerl%C3%B6schboot%3B+Raven+400+SE%3B+T-Rex+600%3B+Eco7+Jet+Ranger%3B+Eco+7%3B+Jet+Ranger%3B+Eco+7+JR+von+Ikarus%3B+Eco+7+Ikarus%3B';
var metaContents  = 'Modellsport+mit+elektrisch+betriebenen+Modellen+wie+Helikopter%2C+Flugzeuge%2C+Speedboote+und+Wasserflugzeuge%2C+Modellhubschrauber+mit+Turbinenantrieb%2C+Modellhelis+mit+Turbine%2C+Schn%C3%A4ppchen-Shop.';
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();
};
