/* [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','601',jdecode('Home'),jdecode(''), jdecode('%2F601.html'), 'true',[],'',''],
	['PAGE','5501',jdecode('%C3%9Cber+mich'),jdecode(''), jdecode('%2F5501.html'), 'true',[],'',''],
	['PAGE','7701',jdecode('Dackel'),jdecode(''), jdecode('%2F7701%2Findex.html'), 'true',[ 
		['PAGE','7722',jdecode('Standart'),jdecode(''), jdecode('%2F7701%2F7722.html'), 'true',[],'',''],
		['PAGE','7743',jdecode('Nubja'),jdecode(''), jdecode('%2F7701%2F7743.html'), 'true',[],'',''],
		['PAGE','7764',jdecode('Amalia'),jdecode(''), jdecode('%2F7701%2F7764.html'), 'true',[],'',''],
		['PAGE','182212',jdecode('Felicitas'),jdecode(''), jdecode('%2F7701%2F182212.html'), 'true',[],'',''],
		['PAGE','219533',jdecode('Diva'),jdecode(''), jdecode('%2F7701%2F219533.html'), 'true',[],'',''],
		['PAGE','386712',jdecode('Iduna'),jdecode(''), jdecode('%2F7701%2F386712.html'), 'true',[],'',''],
		['PAGE','532012',jdecode('Namacu'),jdecode(''), jdecode('%2F7701%2F532012.html'), 'true',[],'',''],
		['PAGE','7785',jdecode('Ali'),jdecode(''), jdecode('%2F7701%2F7785.html'), 'true',[],'',''],
		['PAGE','477312',jdecode('Uranus'),jdecode(''), jdecode('%2F7701%2F477312.html'), 'true',[],'',''],
		['PAGE','522512',jdecode('Fidelio'),jdecode(''), jdecode('%2F7701%2F522512.html'), 'true',[],'','']
	],'',''],
	['PAGE','12801',jdecode('Aktuelles'),jdecode(''), jdecode('%2F12801.html'), 'true',[],'',''],
	['PAGE','146512',jdecode('Wurfplanung'),jdecode(''), jdecode('%2F146512.html'), 'true',[],'',''],
	['PAGE','310912',jdecode('O-Welpen'),jdecode(''), jdecode('%2F310912.html'), 'true',[],'',''],
	['PAGE','534012',jdecode('P-Welpen'),jdecode(''), jdecode('%2F534012.html'), 'true',[],'',''],
	['PAGE','177912',jdecode('W%C3%BCrfe'),jdecode(''), jdecode('%2F177912.html'), 'true',[],'',''],
	['PAGE','5627',jdecode('Wer+will+mich'),jdecode(''), jdecode('%2F5627.html'), 'true',[],'',''],
	['PAGE','5669',jdecode('Galerie+von+.....'),jdecode(''), jdecode('%2F5669.html'), 'true',[],'',''],
	['PAGE','17001',jdecode('Info'),jdecode(''), jdecode('%2F17001.html'), 'true',[],'',''],
	['PAGE','15201',jdecode('In+Erinnerung'),jdecode(''), jdecode('%2F15201.html'), 'true',[],'',''],
	['PAGE','8801',jdecode('Kontakt'),jdecode(''), jdecode('%2F8801.html'), 'true',[],'',''],
	['PAGE','19601',jdecode('Ihr+Weg+zu+uns'),jdecode(''), jdecode('%2F19601.html'), 'true',[],'',''],
	['PAGE','155712',jdecode('Banner'),jdecode(''), jdecode('%2F155712.html'), 'true',[],'',''],
	['PAGE','6322',jdecode('Links'),jdecode(''), jdecode('%2F6322.html'), 'true',[],'','']];
var siteelementCount=26;
theSitetree.topTemplateName='Orbit';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='172';
theSitetree.graphicsetId='206';
theSitetree.contentColor='A6A6A6';
theSitetree.contentBGColor='000000';
var localeDef={
  language: 'de',
  country: 'CH'
};
var prodDef={
  wl_name: 'bluewin',
  product: 'WSCBLUSSSLYTC2MX'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Orbit',
				paletteFamily: 	'000000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'172',
				graphicsetId: 	'206',
				contentColor: 	'A6A6A6',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20120122-223247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5501',
internalId:  '',
customField: '20091210-184647'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '19601',
internalId:  'routing',
customField: 'de_CH'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7701',
internalId:  '',
customField: '20111023-164057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7722',
internalId:  '',
customField: '20090716-164145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7743',
internalId:  '',
customField: '20090716-164204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7764',
internalId:  '',
customField: '20090716-164217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '182212',
internalId:  '',
customField: '20100904-115741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '219533',
internalId:  '',
customField: '20110905-145624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7785',
internalId:  '',
customField: '20090716-164311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '522512',
internalId:  '',
customField: '20110804-194317'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '532012',
internalId:  '-',
customField: '20120110-190249'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '534012',
internalId:  '-',
customField: '20120122-223054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '477312',
internalId:  '',
customField: '20111023-164251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12801',
internalId:  '',
customField: '20120122-221913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '146512',
internalId:  '',
customField: '20120122-223234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '310912',
internalId:  '',
customField: '20120122-221953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '177912',
internalId:  '',
customField: '20120122-223206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5627',
internalId:  '',
customField: '20120116-184827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5669',
internalId:  '',
customField: '20090529-122253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17001',
internalId:  '',
customField: '20090529-122313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15201',
internalId:  '',
customField: '20090626-155423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8801',
internalId:  '',
customField: '20101003-100155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19601',
internalId:  '',
customField: '20090529-122427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '155712',
internalId:  '',
customField: '20100420-155008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6322',
internalId:  '',
customField: '20110804-195405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '386712',
internalId:  '',
customField: '20101201-131953'
};
var webAppHostname = 'cgi.hpt001.bluewin.ch:80';
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0IN274R';
var companyName   = 'Prodomo-Zucht+';
var htmlTitle	  = 'Prodomo-Zucht';
var metaKeywords  = 'Dobermann%2C+Deutsche+Dogge%2C+Dackel%2C+Zucht%2C+Hund%2C+Prodomo%2C+Braun%2C+Welpen%2C+H%C3%BCndin%2C+R%C3%BCde%2C+Adresse%2C+St%C3%BCsslingerstr.+27%2C+5015+Erlinsbach+SO%2C+Telefon%2C+E-mail+Mutter%2C+Tochter%2C+Schweiz%2C+Choco%2C+Schwarz-rot%2C+schokobraun%2C+schwarz-tiger%2C+braun-tiger%2C+schoko-tiger%2C+Braun%2C+Gefleckt%2C+Schwarz%2C+Blau%2C+Gelb%2C+Gestromt%2C+Grautiger%2C+Mantel%2C+Platten%2C+Zwingername%2C+Familienhund%2C+Arbeitshund%2C+W%C3%BCrfe%2C+Welpen%2C+Zuchth%C3%BCndin%2C+Deckr%C3%BCde%2C+Austellungen%2C+Pr%C3%BCfungen%2C+Bildergalerie%2C+Nubja+vom+F%C3%B6rsterhaus%2C+Amalia+di+cioccolato%2C+Ali+vom+Honigbach%2C+Puella+du+domaine+do+Dobermann%2C+Umbra+vom+Schloss+Habsburg%2C+Belinda+des+Terres+de+la+Rairie%2C+Grace+vom+Reele%2C+%28Feli%29+Felicitas+Prodomo%2C+Desteeny+des+Terres+de+la+Rairie%2C+Darleen+des+Terres+de+la+Rairie%2C+Idefix+Prodomo%2C+Iduna+Prodomo%2C+HO+R%C3%BCd+HO+Ovomaltine%2C+Babulus+Prodomo%2C+%28Lary%29+Charli-Brown+Prodomo%2C+Homepage%2C+Freunde%2C+Wer+will+mich%2C+Info%2C+In+Erinnerung%2C+Links%2C+Farben%2C+Tabatha%2C+R%C3%B6sli%2C+Rosa%2C+Niedererlinsbach%2C+Kontakt%2C+G%C3%A4stebuch%2C+Weg%2C+Home%2C+Drei+Rassen%2C+Sieger%2C+News%2C+Zuchthunde%2C+Zuchh%C3%BCndin%2C+Deckr%C3%BCde%2C+Royal+Canin%2C+Pro+Plan%2C+www.rpicard.ch+%2C+www.hundeweb.org+%2C+www.tomasonigroup.ch+%2C+www.kurt-stalder.ch+%2C+www.vomreele.de+%2C+www.castellodellerocche.it+%2C+www.el-barbudo.com+%2C+http%3A%2F%2Fdeutsche-dogge.rairie.com+%2C+www.rairie.com+%2C+www.deutsche-doggen.li+%2C+www.deutsche-doggen.ch+%2C+www.doggen-neugel.ch+%2C+www.doggen-schloss-habsburg.ch+%2C+www.deutschedoggenforum.ch+%2C+www.deutscher-doggen-club.ch+%2C+www.best-dobermann.com+%2C+www.dobermannclub.ch+%2C+http%3A%2F%2Fwww.teckelzucht.info%2Finhalte%2Findex.php+%2C+www.dackel.ch+%2C+www.vom-margelchopf.ch+%2C+www.trollburg.com+%2C+www.kurzhaarteckelzucht.de+%2C+www.kurzhaarteckel-vom-rehsprung.de+%2C+www.jagdvermittlung-wohlfahrt.de+%2C+www.kurzhaardackel.net+%2C+http%3A%2F%2Fkurzhaarteckel.org+%2C+www.dackel-boutique.ch+%2C+http%3A%2F%2Fwww.great-danes-of-the-world.info+%2C+http%3A%2F%2Fwww.vom-hause-aramis.ch+%2C+http%3A%2F%2Fwww.wolfshoehle-doggen.de+%2C+http%3A%2F%2Fwww.kurzhaarteckel-trakehner.de+%2C+v.d.+Hallwanger+Pferdekoppel+%2C+http%3A%2F%2Fwww.dogge24.de+%2C+vom+Stubental+%2C+Ashira+Prodomo+%2C+www.veras.li+%2C+Akari+Prodomo+%2C+Arthus-Odin+Prodomo+%2C+http%3A%2F%2Fwww.vomreele.de+%2C+Quintus+von+der+Porta+Romana+%2C+www.quinti.ch+%2C+http%3A%2F%2Fwww.koenigsgutdogs.ch+%2C+http%3A%2F%2Fwww.anynails.ch+%2C+http%3A%2F%2Fwww.die-besten-tierseiten.de+%2C+';
var metaContents  = 'Prodomo-Zucht+%3B+Dackel+-+Dobermann+-+Deutsche+Dogge++Braun+Rosa%2C+St%C3%BCsslingerstr.+27%2C++5015+Erlinsbach+SO++Tel.+0041+%280%29+62+844+14+80%2C+E-mail+%3A+prodomo-zucht%40gmx.ch';
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();
};

