/* [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','401',jdecode('Ana+Sayfa'),jdecode(''),'/401.html','true',[],'',''],
	['PAGE','88901',jdecode('Kongre+%26+Kurs'),jdecode(''),'/88901.html','true',[],'',''],
	['PAGE','452',jdecode('Sar%C4%B1l%C4%B1k+%C4%B0daresi'),jdecode(''),'/452/index.html','true',[ 
		['PAGE','473',jdecode('neoBLUE'),jdecode(''),'/452/473.html','true',[],'',''],
		['PAGE','494',jdecode('neoBLUE+mini'),jdecode(''),'/452/494.html','true',[],'',''],
		['PAGE','515',jdecode('neoBLUE+cozy'),jdecode(''),'/452/515.html','true',[],'',''],
		['PAGE','536',jdecode('Biliband'),jdecode(''),'/452/536.html','true',[],'',''],
		['PAGE','557',jdecode('Bilimed'),jdecode(''),'/452/557.html','true',[],'','']
	],'',''],
	['PAGE','599',jdecode('%C4%B0%C5%9Fitme+Tarama'),jdecode(''),'/599/index.html','true',[ 
		['PAGE','4001',jdecode('Algo'),jdecode(''),'/599/4001.html','true',[],'',''],
		['PAGE','13801',jdecode('ALGO3i'),jdecode(''),'/599/13801.html','true',[],'',''],
		['PAGE','4022',jdecode('ABaer'),jdecode(''),'/599/4022.html','true',[],'',''],
		['PAGE','4043',jdecode('AuDX'),jdecode(''),'/599/4043.html','true',[],'',''],
		['PAGE','13822',jdecode('AuDX+PRO'),jdecode(''),'/599/13822.html','true',[],'',''],
		['PAGE','77601',jdecode('Scout+Sport'),jdecode(''),'/599/77601.html','true',[],'',''],
		['PAGE','77501',jdecode('EchoScreen'),jdecode(''),'/599/77501.html','true',[],'','']
	],'',''],
	['PAGE','89201',jdecode('Klinik+ABR'),jdecode(''),'/89201/index.html','true',[ 
		['PAGE','89222',jdecode('Navigator+PRO'),jdecode(''),'/89201/89222.html','true',[],'',''],
		['PAGE','89243',jdecode('MASTER'),jdecode(''),'/89201/89243.html','true',[],'','']
	],'',''],
	['PAGE','620',jdecode('Beyin+Hasar%C4%B1'),jdecode(''),'/620/index.html','true',[ 
		['PAGE','4064',jdecode('Olympic+CFM+6000'),jdecode(''),'/620/4064.html','true',[],'',''],
		['PAGE','54501',jdecode('BrainZ+BRM3'),jdecode(''),'/620/54501.html','true',[],'',''],
		['PAGE','89101',jdecode('OBM'),jdecode(''),'/620/89101.html','true',[],'',''],
		['PAGE','4085',jdecode('Cool-Cap'),jdecode(''),'/620/4085.html','true',[],'',''],
		['PAGE','4106',jdecode('Tecotherm'),jdecode(''),'/620/4106.html','true',[],'','']
	],'',''],
	['PAGE','641',jdecode('Yenido%C4%9Fan+Bak%C4%B1m'),jdecode(''),'/641/index.html','true',[ 
		['PAGE','4127',jdecode('Oxygen+Hood'),jdecode(''),'/641/4127.html','true',[],'',''],
		['PAGE','4148',jdecode('MiniMuffs'),jdecode(''),'/641/4148.html','true',[],'',''],
		['PAGE','4169',jdecode('STG'),jdecode(''),'/641/4169.html','true',[],'',''],
		['PAGE','89501',jdecode('Circumstraint'),jdecode(''),'/641/89501.html','true',[],'',''],
		['PAGE','61901',jdecode('Neat+Nick'),jdecode(''),'/641/61901.html','true',[],'',''],
		['PAGE','61922',jdecode('Sugar+Plum'),jdecode(''),'/641/61922.html','true',[],'',''],
		['PAGE','61943',jdecode('Gum+Drop'),jdecode(''),'/641/61943.html','true',[],'',''],
		['PAGE','61964',jdecode('StarBaby+Pozisyon'),jdecode(''),'/641/61964.html','true',[],'',''],
		['PAGE','61985',jdecode('Shell-O+Jel'),jdecode(''),'/641/61985.html','true',[],'',''],
		['PAGE','62006',jdecode('Life+Guard+ECG+Pad'),jdecode(''),'/641/62006.html','true',[],'',''],
		['PAGE','62027',jdecode('Life+Guard+Electrod'),jdecode(''),'/641/62027.html','true',[],'',''],
		['PAGE','62048',jdecode('LilyPad'),jdecode(''),'/641/62048.html','true',[],'',''],
		['PAGE','62069',jdecode('CookieCap'),jdecode(''),'/641/62069.html','true',[],'',''],
		['PAGE','89264',jdecode('Inspire+nCPAP'),jdecode(''),'/641/89264.html','true',[],'','']
	],'',''],
	['PAGE','4190',jdecode('T%C3%9CM+%C3%9CR%C3%9CN+%C4%B0NDEKS%C4%B0'),jdecode(''),'/4190.html','true',[],'',''],
	['PAGE','4211',jdecode('Ebeveynler'),jdecode(''),'/4211/index.html','true',[ 
		['PAGE','53401',jdecode('Bebe%C4%9Fim+%C4%B0%C5%9Fitiyormu%3F'),jdecode(''),'/4211/53401.html','true',[],'',''],
		['PAGE','84901',jdecode('Premat%C3%BCre+CPAP+Emzi%C4%9Fi'),jdecode(''),'/4211/84901.html','true',[],'','']
	],'',''],
	['PAGE','8601',jdecode('%C4%B0leti%C5%9Fim'),jdecode(''),'/8601/index.html','true',[ 
		['PAGE','8622',jdecode('Teknik+Servis+Talebi'),jdecode(''),'/8601/8622.html','true',[],'','']
	],'','']];
var siteelementCount=46;
theSitetree.topTemplateName='Common';
theSitetree.paletteFamily='E7AF4C';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='26634';
theSitetree.graphicsetId='13446';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Common',
				paletteFamily: 	'E7AF4C',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'26634',
				graphicsetId: 	'13446',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-4122375']={
webappId:    '1501',
documentId:  '401',
internalId:  '4122375',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53401',
internalId:  '',
customField: '20091201-234426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20110106-203543'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '599',
internalId:  '',
customField: '20110106-040957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '620',
internalId:  '',
customField: '20091003-050806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20090113-105502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20110106-035821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '494',
internalId:  '',
customField: '20091230-033138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '515',
internalId:  '',
customField: '20091230-033207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '536',
internalId:  '',
customField: '20090207-032150'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '557',
internalId:  '',
customField: '20080311-053505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4001',
internalId:  '',
customField: '20080311-054403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20080311-054445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4022',
internalId:  '',
customField: '20090712-063234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4043',
internalId:  '',
customField: '20090713-025825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13822',
internalId:  '',
customField: '20091201-232023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4064',
internalId:  '',
customField: '20090113-111442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4085',
internalId:  '',
customField: '20080311-055732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4106',
internalId:  '',
customField: '20091218-164336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '641',
internalId:  '',
customField: '20110106-063717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4127',
internalId:  '',
customField: '20080311-060014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4148',
internalId:  '',
customField: '20090207-042239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4169',
internalId:  '',
customField: '20080311-060119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61922',
internalId:  '',
customField: '20100629-212128'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61901',
internalId:  '',
customField: '20100629-211906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4190',
internalId:  '',
customField: '20110106-065743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4211',
internalId:  '',
customField: '20091201-234343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8601',
internalId:  '',
customField: '20110106-203908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8622',
internalId:  '',
customField: '20110106-204949'
};
webappMappings['7008']=webappMappings['7008-589']={
webappId:    '7008',
documentId:  '8622',
internalId:  '589',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-591']={
webappId:    '7008',
documentId:  '8601',
internalId:  '591',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54501',
internalId:  '',
customField: '20100226-103949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61943',
internalId:  '',
customField: '20100629-211656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61964',
internalId:  '',
customField: '20100629-213422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61985',
internalId:  '',
customField: '20100629-215651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62006',
internalId:  '',
customField: '20100629-222304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62027',
internalId:  '',
customField: '20100629-223043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62048',
internalId:  '',
customField: '20100629-224029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62069',
internalId:  '',
customField: '20100629-225014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77501',
internalId:  '',
customField: '20100105-062542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77601',
internalId:  '',
customField: '20091230-160053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84901',
internalId:  '',
customField: '20100629-202228'
};
webappMappings['7060']=webappMappings['7060-e85ea7f7e4f6e465ef0a04db6ceebb84']={
webappId:    '7060',
documentId:  '88901',
internalId:  'e85ea7f7e4f6e465ef0a04db6ceebb84',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88901',
internalId:  '',
customField: '20110107-035744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89201',
internalId:  '',
customField: '20101227-040636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89501',
internalId:  '',
customField: '20110106-061937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89222',
internalId:  '',
customField: '20101227-040636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89243',
internalId:  '',
customField: '20101227-040636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89101',
internalId:  '',
customField: '20101227-035641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89264',
internalId:  '',
customField: '20101227-040636'
};
var canonHostname = 'cmworker01.yourhostingaccount.com';
var accountId     = 'AENDU0IN20R7';
var companyName   = 'Yenido%C4%9Fanlar+i%C3%A7in+%C3%87%C3%B6z%C3%BCmler';
var htmlTitle	  = 'Astek+-+LED+Yo%C4%9Fun+fototerapi+Yenido%C4%9Fan+i%C5%9Fitme+Tarama+Otoakustik+Emisyon+ABR';
var metaKeywords  = 'led%2C+led+fototerapi%2C+otoakustik+emisyon%2C+yenido%C4%9Fan%2C+yenido%C4%9Fan+i%C5%9Fitme+tarama%2C+yo%C4%9Fun+fototerapi%2C+CFM%2C+serebral+fonksiyon+monit%C3%B6r%C3%BC%2C+bebek+i%C5%9Fitme%2C+echoscreen%2C+accuscreen%2C+gno%2C+madsen%2C+abr+testi%2C+bera+testi';
var metaContents  = 'yenido%C4%9Fan+yo%C4%9Fun+bak%C4%B1m+%C3%BCnitelerinde+kullan%C4%B1lan+cihazlar%2C+yo%C4%9Fun+LED+fototerapi+cihazlar%C4%B1%2C+i%C5%9Fitme+tarama+cihazlar%C4%B1%2C+ensefalopati%2C+HIE+tedavisi%2C+bebek+i%C5%9Fitme+testi%2C+ABR%2C+accuscreen%2C+gno%2C+serebral+fonksiyon+monit%C3%B6r%C3%BC%2C+yenido%C4%9Fan+bak%C4%B1m%2C+g%C3%BCma%C5%9F';
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();
};

