/* [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','801',jdecode('Home'),jdecode(''),'/801.html','true',[],'',''],
	['PAGE','119585',jdecode('Females'),jdecode(''),'/119585.html','true',[],'',''],
	['PAGE','47892',jdecode('Miya+vom+Linmarc'),jdecode(''),'/47892.html','false',[],'',''],
	['PAGE','47913',jdecode('Ali+vom+Linmarc'),jdecode(''),'/47913.html','false',[],'',''],
	['PAGE','111585',jdecode('Hemi+vom+Polizeihaus'),jdecode(''),'/111585.html','false',[],'',''],
	['PAGE','125885',jdecode('Bomba+z+Jankinej+str%C3%A1ze'),jdecode(''),'/125885.html','false',[],'',''],
	['PAGE','119785',jdecode('Males'),jdecode(''),'/119785.html','true',[],'',''],
	['PAGE','119806',jdecode('Havoc+vom+Polizeihaus'),jdecode(''),'/119806.html','false',[],'',''],
	['PAGE','936',jdecode('Photos'),jdecode(''),'/936.html','true',[],'',''],
	['PAGE','47955',jdecode('Photos+II'),jdecode(''),'/47955.html','true',[],'',''],
	['PAGE','77285',jdecode('more+photos'),jdecode(''),'/77285.html','true',[],'',''],
	['PAGE','90785',jdecode('Working+Photos'),jdecode(''),'/90785.html','true',[],'',''],
	['PAGE','8901',jdecode('Planned+breedings'),jdecode(''),'/8901.html','true',[],'',''],
	['PAGE','9301',jdecode('Retired%2FSold'),jdecode(''),'/9301.html','true',[],'',''],
	['PAGE','978',jdecode('In+Memory'),jdecode(''),'/978.html','true',[],'',''],
	['PAGE','46471',jdecode('Honor+Roll%2FPhotos'),jdecode(''),'/46471.html','true',[],'',''],
	['PAGE','14801',jdecode('Warranty'),jdecode(''),'/14801.html','true',[],'',''],
	['PAGE','14822',jdecode('Payment+Info'),jdecode(''),'/14822.html','true',[],'',''],
	['PAGE','873',jdecode('Contact+Us%2FLinks'),jdecode(''),'/873.html','true',[],'',''],
	['PAGE','97385',jdecode('Vom+Polizeihaus+'),jdecode(''),'/97385.html','true',[],'','']];
var siteelementCount=20;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='936251';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10450';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='936251';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Akropolis',
				paletteFamily: 	'936251',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10450',
				contentColor: 	'FFFFFF',
				contentBGColor: '936251',
				a_color: 		'936251',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '801',
internalId:  '',
customField: '20100827-172019'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '936',
internalId:  '',
customField: '20100821-232658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8901',
internalId:  '',
customField: '20100826-214701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9301',
internalId:  '',
customField: '20100327-223932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '978',
internalId:  '',
customField: '20091201-221907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '873',
internalId:  '',
customField: '20100826-214921'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-16211059']={
webappId:    '1501',
documentId:  '801',
internalId:  '16211059',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14801',
internalId:  '',
customField: '20091201-235852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14822',
internalId:  '',
customField: '20100826-214759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47955',
internalId:  '',
customField: '20100821-232749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77285',
internalId:  '',
customField: '20100821-233015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47913',
internalId:  '',
customField: '20100708-211039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47892',
internalId:  '',
customField: '20100825-212709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119585',
internalId:  '',
customField: '20100822-125441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119785',
internalId:  '',
customField: '20100821-234828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46471',
internalId:  '',
customField: '20100816-222145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125885',
internalId:  '',
customField: '20100822-100239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119806',
internalId:  '',
customField: '20100802-152145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '111585',
internalId:  '',
customField: '20100825-211359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '97385',
internalId:  '',
customField: '20100327-121505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90785',
internalId:  '',
customField: '20100728-133419'
};
var canonHostname = 'cmworker02.yourhostingaccount.com';
var accountId     = 'AENDU0INXHH1';
var companyName   = 'Von+Eintze+Shepherds+Working+Dogs';
var htmlTitle	  = 'Von+Eintze+Shepherds';
var metaKeywords  = 'German+Shepherd+Dogs%2C+Working+German+Shepherds%2C+German+Shepherd+Breeders%2C+DDR+German+Shepherds%2C+East+German+Shepherd%2C+West+German+Shepherds%2C+Czech+German+Shepherds%2C+Schutzhund%2C+Personal+Protection+Dogs%2C+Search+and+Rescue+Dogs%2C+Competition%2C+Obedience%2C+Agility%2C+Family+Companions%2C+Puppies%2C+Puppies+For+Sale%2C+German+Shepherds+For+Sale%2C+Narcotics%2C+Explosives+Detection%2CHRD+dogs%2CPolice+Dogs%2CPolizeihaus%2CWorking+dogs%2C+Police+K9%2C+Military+Dogs%2C+German+Shepherd+Dog%2CGerman+shepherds%2CProtection+dogs%2Cguard+dogs%2Cdog+import%2C+export+dogs%2C+Dogs+for+sale%2C+show+dogs%2Cworking+dogs%2Ctracking%2C+obedience%2C+protection%2C+protection+dogs%2Cguard+dogs%2Cpolice+dogs+%2C+schutzhund%2Cbrood+bitch%2C+German+shepherd+puppies%2Cdrug+detection%2C+expolosive+detection%2C+security%2Cstud+dogs+german+shepherds%2C+uran+wildsteiger+land%2C+bundessieger%2Cbundessieger+zuchtschau%2Cweltsieger%2Csiegerschau%2C+schutzhund+usa%2Cimport+german+shepherds%2C+club+sieger%2C+zauberberg%2C+zauberschloss%2Cobedience+training%2C+protection+training%2C+training+supply%2Ctraining+equipment%2C+bite+suit%2C+bite+sleeve%2C+schutzhund+club%2Cworldclass+german+shepherds%2C+schutzhund+equipment%2Cdogsgerman+imports%2C+police+dog+training%2C+k9+training%2C+import+k9%2Cimport+canine%2CZauberschloss%2C+German+Shepherd+Breeders%2CBlack+German+Shepherd+breeder%2CWorking+Dogs%2C+Puppies%2C+Dog+Training%2C++Police+K-9%27s%2C+Sport+Dogs%2C+Schutzhund%2C+Ringsport%2C+Obedience+training%2C+Working+Lines%2C+Czech+Belgium+German+Lines%2C+Adults%2C++Personal+Protection%2C+Property+Protection%2CPedigree%2C+Shipping+Available%2C+Solid+Black%2C+Sable%2C+Bi-color%2C+Hip+Guarantee%2C++Health+Guarantee%2C+SV%2C+SchH3%2C+IPO3%2C+ZVV%2CStud+Service%2C+For+Sale%2C+Links%2C+Border+Patrol%2C++High+Country%2C+Search+%26amp%3B+Rescue%2C+Deutscher+Schaeferhund%2C+Boarding%2C+Max+von+Stephanitz%2C+Web+Rings%2C+book+store%2C+videos%2C+dogs%2C++puppy%2C+puppies%2C+working+dogs%2C+sporting+dogs%2C+German+shepherd%2C+for+sale%2C+Schutzhund%2C+K9%2C+police%2C+Ring+Sport%2C+litter%2C+whelp%2C++bite%2C+testing%2C+herding%2C+search+and+rescue%2C+protection%2C+SAR%2C+aid%2C+assistance+dogs%2C+ability+dogs%2C+agility%2C+service+dogs%2C+breeding%2C++tracking%2C+cadaver+dogs%2C+arson+detection%2C+drugs%2C+narcotics%2C+sled%2C+mushing%2C+GSD%2C+videos%2C+veterinary%2C++training%2C+canines%2C+DVG%2C+SV%2C+law%2C+natural%2C+BARF%2C+raw+bones%2C+diet%2C+nutrition%2C+Billinghurst%2C+Stephanitz%2C++Lanting%2C+Joanne+Plumb%2C+Karen+Pryor%2C+Dildei%2C+Balabanov%2C+Barwig%2C+Koehler%2C+kennel%2C+avalanche%2C+KNPV%2C+trial%2C+show%2C+sieger%2C+conformation%2C++AKC%2C+genetic%2C+hip+dysplasia%2C+von+willebrands+disease%2C+manwork%2C+bitework%2C+scent%2C+disaster%2C+mondioring%2C+bomb%2C+arson%2C+Forrest%2C+Dogs%2C++dog%2C+dogs%2C+schutzhund%2C+Schutzhund%2C+K9%2C+ring+sport%2C+Ring+Sport%2C++breeding%2C+tracking%2C+German+shepherd%2C+German+Shepherd%2C++German+Shepherd+Dogs%2C+GSD%2C+kennels%2C+veterinary%2C+dog+training%2C+puppy+training%2C+puppy%2C+zwinger%2Ccanine%2C+Stephanitz%2C+breed+standard%2C+WUSV%2CSV%2C+BSP%2C+CHD%2C+prey%2C+defense%2C+dogs+sales%2C+buy+dogs%2C++schutzhund%2C+K9%2C+ring+sport%2C+breeding%2C+tracking%2C+German+Shepgerd+Dogs%2C+GSD%2C+veterinary%2C+training%2C+puppy%2C+zwinger%2C++canine%2C+Stephanitz%2C+breed+standard%2C+WUSV%2CSV%2C+BSP%2C+defense%2C+sales%2C+buy%2C+Peterburg%2C+arlett+%2C+leerburg+%2C+german+shepherd+%2C+german+shepherds+%2C++german+%2C+germans+%2C+shepherd+%2C+shepherds+%2C+dog+%2C+dogs+%2C+pup+%2C+pupp+%2C+puppy+%2C+pups+%2C+puppies+%2C+puppys+%2C+k9+%2C+canine+%2C+canines+%2C+k9s+%2C++pedigree+%2C+Uran+V+Wildsteigerland+%2C+Wildsteigerland+%2C+Arminius+%2C+Uran+%2C+Uran+Von+Wildsteigerland+%2C+Uran+V+Wildsteiger+Land+%2C+Uran+%2C+bloodline+%2C++bloodlines+%2C+Sieger%2C+Italian+%2C+Schutzhund+%2C+Schutzhund+3+%2C+SchH3+%2C+V-Rated+%2C+V+Rated+%2C+Rated+%2C+Quality+%2C+high+quality+%2C+top+lines+%2C+Siegerin+%2C++Champion+%2C+Good-Natured+%2C+good+natured+%2C+well-behaved+%2C+well+behaved+%2C+disciplined+%2C+hip+dysplasia+%2C+good+hips+%2C+black+%26amp%3B+tan+%2C+black+and+tan+%2C++white+%2C+black+%2C+vom+rheinlander+%2C+von+rheinlander+%2C+kennel+%2C+kennels+%2C+welp+%2C+whelp+%2C+ron+hudson+%2C+ron+%2C+hudson+%2C+akc+%2C+american+kennel+club+%2C++high+lines+%2C+working+%2C+working+dog+%2C+working+dogs+%2C+Pfeffer+von+bern+%2C+for+sale+%2C+sale+%2C+buy+%2C+purchase+%2C+paluca+%2C+paluca+vom+hagenberg+%2C++hagenberg+%2C+sindy+%2C+sindy+vd+westfalenmetropole+%2C+westfalenmetropole+%2C+wenke+%2C+wenke+vom+gothaer+tor+%2C+gothaer+tor+%2C+yessi+%2C+yessi+vd+gundorfer+hohe+%2C++gundorfer+%2C+zandy+%2C+zandy+vom+praester-land+%2C+praester-land+%2C+iso+%2C+iso+vd+ajona+hutte+%2C+ajona+hutte+%2C+southern+california+%2C+california+%2C+ca+%2C+training+%2C+trainer+%2C+steve+welch+%26amp%3B+associates+%2C+show+dog+%2C+show+dogs+%2C+law+enforcement+%2C+law+enforcement+officer+%2C+officers+%2C+good+dog+%2C+german+shepherd+dog+%2C+german+shepherd+dogs+%2C+german+shepherd+pup+%2C+german+shepherd+pups+%2C++german+shepherd+puppies+%2C+german+shephard+dog+%2C+german+shephard+dogs+%2C+german+shephard+pup+%2C+german+shephard+pups+%2C+german+shephard+puppies+%2C++World+Class+%2C+world+class+litters+%2C+working+dogs+%2C+youth+seiger+%2C+winner+%2C+champion+%2C+breeding+%2C+breed+%2C+breeder+%2C+show+%2C+guard+dog+%2C+pet+%2C++companion+%2C+import+%2C+security+%2C+show+dogs+%2C+GSD+%2C+litter+%2C+protection+dog+%2C+protection+%2C+service+dog+%2C+service+dogs+%2C+blood+line+%2C+blood+lines+%2C++police+%2C+police+dog+%2C+police+dogs+%2C+puppy+for+sale+%2C+puppies+for+sale+%2C+dog+for+sale+%2C+dogs+for+sale+%2C+dog+breeder+%2C+dog+breeders+%2C+conformation+%2C+++obedience+training+%2C+obedience+%2C+schutzhund+usa+%2C+breed+standard+%2C+german+imports+%2C+purebred+%2C+pure+bred+%2C+temperament+%2C+pets+%2C+herding+dog+%2C+herding+%2C+++herd+%2C+herding+dogs+%2C+tracking+%2C+drug+sniffing+dog+%2C+search+and+rescue+dog+%2C+gait+%2C+bite+%2C+rescue+dog+%2C+rescue+%2C+bitch+%2C+bitches+%2C+female+%2C+male+%2C+++bomb+dog+%2C+bomb+%2C+bombs+%2C+bomb+dogs%2C+german+shepherd+dog%2C+german+shepherd%2C+german+shepherd+puppies%2C+german+shepard%2C+protection+dogs%2C++++security+dogs%2C+guard+dogs%2C+puppies+for+sale%2C+Czech+dogs%2C+DDR+dogs%2C+Schutzhund%2C+SchH%2C+Czech+bloodlines%2C+DDR+bloodlines%2C++++german+shepherd+breeders%2C+German+Shepherd+Trainers%2C+bomb+dogs%2C+police+dog%2C+personal+protection+dog%2C+german+shepard+puppy%2C+++german+shepherd+puppy%2C+search+and+rescue%2C+SAR+dog';
var metaContents  = 'German+Shepherd+breeders+and+puppy+breeders+of+quality+working+German+Shepherd+dogs+and+DDR+German+Shepherds+in+Oklahoma';
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();
};
