/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40427',jdecode('News'),jdecode(''),'/40427.html','true',[],''],
	['PAGE','40436',jdecode('Stuten'),jdecode(''),'/40436/home.html','true',[ 
		['PAGE','42657',jdecode('Golden+C+Moonlight'),jdecode(''),'/40436/42657.html','true',[],''],
		['PAGE','42827',jdecode('Ysselvliedts+Sisley'),jdecode(''),'/40436/42827.html','true',[],''],
		['PAGE','42666',jdecode('Talon+Lorna'),jdecode(''),'/40436/42666.html','true',[],''],
		['PAGE','42675',jdecode('Dycott+Welsh+Maid'),jdecode(''),'/40436/42675.html','true',[],''],
		['PAGE','42684',jdecode('Tyssul+Anwylaf'),jdecode(''),'/40436/42684.html','true',[],''],
		['PAGE','42693',jdecode('Deroks+Lady+Janet'),jdecode(''),'/40436/42693.html','true',[],''],
		['PAGE','42702',jdecode('Golden+C+Lady+Geenie'),jdecode(''),'/40436/42702.html','true',[],'']
	],''],
	['PAGE','40445',jdecode('Hengste'),jdecode(''),'/40445/home.html','true',[ 
		['PAGE','42711',jdecode('Golden+C+Touch+of+Fame'),jdecode(''),'/40445/42711.html','true',[],'']
	],''],
	['PAGE','40454',jdecode('Nachwuchs'),jdecode(''),'/40454/home.html','true',[ 
		['PAGE','42720',jdecode('Golden+C+Lady+Georgina'),jdecode(''),'/40454/42720.html','true',[],''],
		['PAGE','42729',jdecode('Golden+C+Rocky+Balboa'),jdecode(''),'/40454/42729.html','true',[],'']
	],''],
	['PAGE','40463',jdecode('Verkauf'),jdecode(''),'/40463.html','true',[],''],
	['PAGE','40472',jdecode('Kontakt'),jdecode(''),'/40472.html','true',[],''],
	['PAGE','40481',jdecode('Links'),jdecode(''),'/40481.html','true',[],''],
	['PAGE','42639',jdecode('G%C3%A4stebuch'),jdecode(''),'/42639/home.html','true',[ 
		['PAGE','42638',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42639/42638.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Widget';
theSitetree.paletteFamily='65728A';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33461';
theSitetree.graphicsetId='14308';
theSitetree.contentColor='2F394C';
theSitetree.contentBGColor='DEDEDE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Widget',
				paletteFamily: 	'65728A',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33461',
				graphicsetId: 	'14308',
				contentColor: 	'2F394C',
				contentBGColor: 'DEDEDE',
				a_color: 		'2F394C',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20111222-152401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40427',
internalId:  '',
customField: '20111015-094559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40436',
internalId:  '',
customField: '20110730-094050'
};
webappMappings['1002']=webappMappings['1002-42639atoix0i7ravg']={
webappId:    '1002',
documentId:  '42639',
internalId:  '42639atoix0i7ravg',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42639atoix0i7ravg']={
webappId:    '1002',
documentId:  '42638',
internalId:  '42639atoix0i7ravg',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42639',
internalId:  '',
customField: '20110728-194553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40454',
internalId:  '',
customField: '20110730-181556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40445',
internalId:  '',
customField: '20110729-205944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40463',
internalId:  '',
customField: '20120129-111720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42657',
internalId:  '',
customField: '20110730-101701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42675',
internalId:  '',
customField: '20110730-124104'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42666',
internalId:  '',
customField: '20110730-102424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42684',
internalId:  '',
customField: '20110804-093704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42693',
internalId:  '',
customField: '20110730-102923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42702',
internalId:  '',
customField: '20110804-093907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42711',
internalId:  '',
customField: '20110729-202256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42720',
internalId:  '',
customField: '20110730-173341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42729',
internalId:  '',
customField: '20110804-094107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40472',
internalId:  '',
customField: '20110804-095257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40481',
internalId:  '',
customField: '20110728-192041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42638',
internalId:  '',
customField: '20110728-194553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42827',
internalId:  '',
customField: '20110730-123629'
};
webappMappings['1008']=webappMappings['1008-76176865']={
webappId:    '1008',
documentId:  '40472',
internalId:  '76176865',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7RAVG';
var companyName   = 'FMS+GOLDEN+C+GEST%C3%9CT';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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) {														 
    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();
}
/* EOF */					                                                            

