/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','601',jdecode('Anasayfa'),jdecode(''),'/601.html','true',[],''],
	['PAGE','5601',jdecode('Hakk%C4%B1m%C4%B1zda'),jdecode(''),'/5601.html','true',[],''],
	['PAGE','5622',jdecode('%C3%9Cr%C3%BCnlerimiz'),jdecode(''),'/5622/index.html','true',[ 
		['PAGE','5664',jdecode('3+Lt+Kovalar'),jdecode(''),'/5622/5664.html','true',[],''],
		['PAGE','5643',jdecode('5+Lt+Kovalar'),jdecode(''),'/5622/5643.html','true',[],''],
		['PAGE','5685',jdecode('10+Lt+Kovalar'),jdecode(''),'/5622/5685.html','true',[],''],
		['PAGE','7301',jdecode('19+Lt+Kovalar'),jdecode(''),'/5622/7301.html','true',[],'']
	],''],
	['PAGE','5706',jdecode('M%C3%BC%C5%9Fterilerimiz'),jdecode(''),'/5706.html','true',[],''],
	['PAGE','5727',jdecode('%C4%B0leti%C5%9Fim'),jdecode(''),'/5727.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1742';
theSitetree.keyvisualName='ebusiness2.jpg';
theSitetree.fontsetId='22089';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var theTemplate={
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1742',
				keyvisualName: 	'ebusiness2.jpg',
				fontsetId: 		'22089',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '601',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'wsc.natrohost.com';
var accountId     = 'ANATR0INXL68';
var companyName   = '%C5%9Eirin+Plastik+San.+-+%C5%9EirinPak+Amb.';
var htmlTitle	  = '%C5%9Eirin+Plastik+-+Plastik+Kova+ve+G%C4%B1da+Saklama+Kablar%C4%B1+%C4%B0malat%C4%B1';
var metaKeywords  = 'Boya+kovas%C4%B1%2C+bask%C4%B1l%C4%B1+boya+kovas%C4%B1+%C3%BCretimi%2C+bask%C4%B1l%C4%B1+g%C4%B1da+saklama+kablar%C4%B1%2C+g%C4%B1da+saklama+kab%C4%B1%2C+bask%C4%B1l%C4%B1+yo%C4%9Furt+kovas%C4%B1%2C+yo%C4%9Furt+kab%C4%B1%2C+yo%C4%9Furt+kablar%C4%B1%2C+yo%C4%9Furt+kablar%C4%B1+imalat%C4%B1%2C+g%C4%B1da+kovas%C4%B1%2C+Plastik+Boya+kovas%C4%B1%2C+plastik+boya+kovas%C4%B1+%C3%BCretimi%2C+Boya+kovas%C4%B1+imalat%C4%B1%2C+Plastik+kova+%C3%BCretimi%2C+Plastik+kova+imalat%C4%B1%2C+Plastik+boya+kovas%C4%B1+%C3%BCretimi%2C+Plastik+boya+kovas%C4%B1+imalat%C4%B1%2C+kova+imalat%C4%B1%2C+kova+%C3%BCretimi%2C+yo%C4%9Furt+kab%C4%B1%2C+sanayi+kovas%C4%B1%2C+plastik+sanayi+kovas%C4%B1%2C+3+l%C3%BCk+kova%2C+5+lik+kova%2C+10+luk+kova%2C+18+lik+kova%2C+19+luk+kova%2C+20+lik+kova%2C+3+litre+kova%2C+5+litre+kova%2C+10+litre+kova%2C+15+litre+kova%2C+18+litre+kova%2C+19+litre+kova%2C+20+litre+kova%2C+3+litre+plastik+kova%2C+5+litre+plastik+kova%2C+10+litre+plastik+kova%2C+15+plastik+litre+kova%2C+18+litre+plastik+kova%2C+19+litre+plastik+kova%2C+20+litre+plastik+kova';
var metaContents  = 'Boya+kovas%C4%B1%2C+Bask%C4%B1l%C4%B1+boya+kovas%C4%B1%2C+boya+kovas%C4%B1+%C3%BCretimi%2C+Plastik+boya+kovalar%C4%B1%2C+G%C4%B1da+saklama+kablar%C4%B1%2C+g%C4%B1da+saklama+kab%C4%B1%2C+bask%C4%B1l%C4%B1+yo%C4%9Furt+kovas%C4%B1%2C+bask%C4%B1l%C4%B1+yo%C4%9Furt+kovalar%C4%B1%2C+plastik+yo%C4%9Furt+kovalar%C4%B1%2C+g%C4%B1da+kovas%C4%B1%2C+plastik+Boya+kovas%C4%B1%2C+plastik+boya+kovas%C4%B1+%C3%BCretimi%2C+Boya+kovas%C4%B1+imalat%C4%B1%2C+Plastik+kova+%C3%BCretimi%2C+Plastik+kova+imalat%C4%B1%2C+Plastik+boya+kovas%C4%B1+%C3%BCretimi%2C+Plastik+boya+kovas%C4%B1+imalat%C4%B1%2C+kova+imalat%C4%B1%2C+bask%C4%B1l%C4%B1+kova+%C3%BCretimi%2C+3+l%C3%BCk+kova%2C+5+lik+kova%2C+10+luk+kova%2C+18+lik+kova%2C+19+luk+kova%2C+20+lik+kova%2C+3+litre+kova%2C+5+litre+kova%2C+10+litre+kova%2C+15+litre+kova%2C+18+litre+kova%2C+19+litre+kova%2C+20+litre+kova%2C+3+litre+plastik+kova%2C+5+litre+plastik+kova%2C+10+litre+plastik+kova%2C+15+plastik+litre+kova%2C+18+litre+plastik+kova%2C+19+litre+plastik+kova%2C+20+litre+plastik+kova';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
