/* [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','41687',jdecode('Home'),jdecode(''),'/41687/home.html','true',[ 
		['PAGE','43699',jdecode('About+us'),jdecode(''),'/41687/43699.html','true',[],''],
		['PAGE','41696',jdecode('News'),jdecode(''),'/41687/41696.html','true',[],''],
		['PAGE','44233',jdecode('Press'),jdecode(''),'/41687/44233.html','true',[],''],
		['PAGE','44242',jdecode('History'),jdecode(''),'/41687/44242.html','true',[],''],
		['PAGE','40555',jdecode('Blog'),jdecode(''),'/41687/40555.html','true',[],'']
	],''],
	['PAGE','43993',jdecode('Our+Brands'),jdecode(''),'/43993/home.html','true',[ 
		['PAGE','43708',jdecode('%40Mproductions'),jdecode(''),'/43993/43708.html','true',[],''],
		['PAGE','44260',jdecode('%40Mbusiness'),jdecode(''),'/43993/44260.html','true',[],''],
		['PAGE','44269',jdecode('%40Mcyber'),jdecode(''),'/43993/44269.html','true',[],''],
		['PAGE','44278',jdecode('%40Mnews'),jdecode(''),'/43993/44278.html','true',[],''],
		['PAGE','43973',jdecode('%40Mhelp'),jdecode(''),'/43993/43973.html','true',[],''],
		['PAGE','43982',jdecode('%40Mvirtual'),jdecode(''),'/43993/43982.html','true',[],'']
	],''],
	['PAGE','44288',jdecode('Media'),jdecode(''),'/44288.html','true',[],''],
	['PAGE','42192',jdecode('Partner%26Friends'),jdecode(''),'/42192/home.html','true',[ 
		['PAGE','42201',jdecode('Maudience+Alliance'),jdecode(''),'/42192/42201.html','true',[],'']
	],''],
	['PAGE','40585',jdecode('Gaestebuch'),jdecode(''),'/40585/home.html','false',[ 
		['PAGE','40586',jdecode('eintragen'),jdecode(''),'/40585/40586.html','true',[],'']
	],''],
	['PAGE','41678',jdecode('Members+Area'),jdecode(''),'/41678.html','true',[],''],
	['PAGE','41705',jdecode('Impressum'),jdecode(''),'/41705.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Smoothsurface';
theSitetree.paletteFamily='D85959';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33402';
theSitetree.graphicsetId='14267';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Smoothsurface',
				paletteFamily: 	'D85959',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33402',
				graphicsetId: 	'14267',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '41687',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41678',
internalId:  '',
customField: '20100823-043049'
};
webappMappings['7050']=webappMappings['7050-33353']={
webappId:    '7050',
documentId:  '40555',
internalId:  '33353',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43708',
internalId:  '',
customField: '20100823-042222'
};
webappMappings['7091']=webappMappings['7091-22315']={
webappId:    '7091',
documentId:  '41678',
internalId:  '22315',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1002']=webappMappings['1002-40586atoix0ir4jyy']={
webappId:    '1002',
documentId:  '40586',
internalId:  '40586atoix0ir4jyy',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40586atoix0ir4jyy']={
webappId:    '1002',
documentId:  '40585',
internalId:  '40586atoix0ir4jyy',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20090131-213056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43699',
internalId:  '',
customField: '20100823-041338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42192',
internalId:  '',
customField: '20100823-042851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42201',
internalId:  '',
customField: '20100823-042945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41696',
internalId:  '',
customField: '20100611-030646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40586',
internalId:  '',
customField: '20100420-130237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41687',
internalId:  '',
customField: '20100823-041251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40585',
internalId:  '',
customField: '20100420-130446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41705',
internalId:  '',
customField: '20100823-043244'
};
webappMappings['7091']=webappMappings['7091-22313']={
webappId:    '7091',
documentId:  '41678',
internalId:  '22313',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-46285']={
webappId:    '7091',
documentId:  '41678',
internalId:  '46285',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43973',
internalId:  '',
customField: '20100823-042611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43982',
internalId:  '',
customField: '20100823-042646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43993',
internalId:  '',
customField: '20100823-041823'
};
webappMappings['7060']=webappMappings['7060-d7cd0baba3c762d2f2bd4e808b02b9c9']={
webappId:    '7060',
documentId:  '44288',
internalId:  'd7cd0baba3c762d2f2bd4e808b02b9c9',
customField: 'language:de;country:DE;'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '41678',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44233',
internalId:  '',
customField: '20100823-041509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44242',
internalId:  '',
customField: '20100823-041646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44260',
internalId:  '',
customField: '20100823-042307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44269',
internalId:  '',
customField: '20100823-042127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44278',
internalId:  '',
customField: '20100823-042448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44288',
internalId:  '',
customField: '20100823-025206'
};
webappMappings['1008']=webappMappings['1008-72990567']={
webappId:    '1008',
documentId:  '41705',
internalId:  '72990567',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk08.aul.t-online.de';
var accountId     = 'ATOIX0IR4JYY';
var companyName   = '';
var htmlTitle	  = 'Maudience+Universe+%28mg%29';
var metaKeywords  = 'atmagic%2C+maudience%2C+alliance%2C+Jan%2C+Froeysok%2C+Froysok%2C+JanAR%2C+Youtube%2C+Emes%2C+Emesworld%2C+Charity%2C+Projekte%2C+NGO%2C+Peace%2C+Strategie%2C+Frieden%2C+Politik%2C+Revolution%2C+Y2Wait%2C+Facebook%2CTwitter%2C+Forum%2C+Glaube%2C+Gott%2C+Austausch%2C+Kirche%2C+Religion%2C+Organisation%2C+Wohlt%C3%A4tig%2C+Initiative%2C+Projekte%2C+Hilfe%2C+Netzwerke%2C+Networks%2C+social%2C+web%2C+youtube%2C+online%2C+2000%2C+universe%2C+2010%2C+2011%2C+universation';
var metaContents  = 'The+atMagic.org+%28mg%29+is+part+of+the+Maudience+Universe+%28mg%29+and+one+of+the+fastest+growingn+and+devellopping+social+and+virtual+Networks+on+earth+today.+New+and+innovative+marketing+strategies+are+the+clue+for+our+huge+success+all+over+the+world.+atMagic.org+INTERNATIONAL+Welcome+to+our+world%21';
					                                                                    
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 */					                                                            

