/* [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','17501',jdecode('Home'),jdecode(''),'/17501.html','true',[],'',''],
	['PAGE','17552',jdecode('Mission'),jdecode(''),'/17552.html','true',[],'',''],
	['PAGE','17573',jdecode('Vision'),jdecode(''),'/17573.html','true',[],'',''],
	['PAGE','17594',jdecode('Customer+Orientation'),jdecode(''),'/17594.html','true',[],'',''],
	['PAGE','17615',jdecode('Introduction'),jdecode(''),'/17615.html','true',[],'',''],
	['PAGE','17636',jdecode('Services+in+Detail'),jdecode(''),'/17636/index.html','true',[ 
		['PAGE','17657',jdecode('Export+and+Imports'),jdecode(''),'/17636/17657.html','true',[],'',''],
		['PAGE','17678',jdecode('Logistics+%26+Projects'),jdecode(''),'/17636/17678.html','true',[],'',''],
		['PAGE','17699',jdecode('Customs+Clearance'),jdecode(''),'/17636/17699.html','true',[],'',''],
		['PAGE','17720',jdecode('Excess+Baggage+'),jdecode(''),'/17636/17720.html','true',[],'',''],
		['PAGE','17741',jdecode('Warehousing'),jdecode(''),'/17636/17741.html','true',[],'',''],
		['PAGE','17762',jdecode('Trading+%26+Procurement'),jdecode(''),'/17636/17762.html','true',[],'',''],
		['PAGE','17783',jdecode('Chartering%2C+Aviation+Consultants+%2F+Support'),jdecode(''),'/17636/17783.html','true',[],'','']
	],'',''],
	['PAGE','33501',jdecode('Nigeria+Specialist'),jdecode(''),'/33501.html','true',[],'',''],
	['PAGE','30401',jdecode('Our+Clients'),jdecode(''),'/30401.html','true',[],'',''],
	['PAGE','17804',jdecode('Staff'),jdecode(''),'/17804.html','true',[],'',''],
	['PAGE','17825',jdecode('Operating+Hours'),jdecode(''),'/17825.html','true',[],'',''],
	['PAGE','17846',jdecode('Fundamentals+'),jdecode(''),'/17846.html','true',[],'',''],
	['PAGE','20601',jdecode('INCO+Terms'),jdecode(''),'/20601.html','true',[],'',''],
	['PAGE','20643',jdecode('Capital+Cities'),jdecode(''),'/20643/index.html','true',[ 
		['PAGE','31801',jdecode('Africa'),jdecode(''),'/20643/31801.html','true',[],'',''],
		['PAGE','31822',jdecode('Europe'),jdecode(''),'/20643/31822.html','true',[],'',''],
		['PAGE','31843',jdecode('Asia'),jdecode(''),'/20643/31843.html','true',[],'',''],
		['PAGE','31864',jdecode('North+America'),jdecode(''),'/20643/31864.html','true',[],'',''],
		['PAGE','31885',jdecode('South+America'),jdecode(''),'/20643/31885.html','true',[],'',''],
		['PAGE','31906',jdecode('Oceanic'),jdecode(''),'/20643/31906.html','true',[],'','']
	],'',''],
	['PAGE','45301',jdecode('International+Dialing+Codes'),jdecode(''),'/45301.html','true',[],'',''],
	['PAGE','51001',jdecode('Request+for+Quotation'),jdecode(''),'/51001.html','true',[],'',''],
	['PAGE','51301',jdecode('Collection+Slip'),jdecode(''),'/51301.html','true',[],'',''],
	['PAGE','51022',jdecode('Contact+Us'),jdecode(''),'/51022.html','true',[],'',''],
	['PAGE','17888',jdecode('Contact+Details'),jdecode(''),'/17888.html','true',[],'',''],
	['PAGE','17909',jdecode('Disclaimer'),jdecode(''),'/17909.html','true',[],'','']];
var siteelementCount=32;
theSitetree.topTemplateName='Case';
theSitetree.paletteFamily='10224E';
theSitetree.keyvisualId='11334';
theSitetree.keyvisualName='kv_11334.jpg';
theSitetree.fontsetId='31938';
theSitetree.graphicsetId='13780';
theSitetree.contentColor='707683';
theSitetree.contentBGColor='F6FBFE';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Case',
				paletteFamily: 	'10224E',
				keyvisualId: 	'11334',
				keyvisualName: 	'kv_11334.jpg',
				fontsetId: 		'31938',
				graphicsetId: 	'13780',
				contentColor: 	'707683',
				contentBGColor: 'F6FBFE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30401',
internalId:  '',
customField: '20100906-201011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17501',
internalId:  '',
customField: '20100905-155629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17636',
internalId:  '',
customField: '20100906-203322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17552',
internalId:  '',
customField: '20100905-160047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17573',
internalId:  '',
customField: '20100906-203204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17594',
internalId:  '',
customField: '20100905-160410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17615',
internalId:  '',
customField: '20100905-160555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17657',
internalId:  '',
customField: '20100905-161250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17678',
internalId:  '',
customField: '20100905-161341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17699',
internalId:  '',
customField: '20100905-161454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17720',
internalId:  '',
customField: '20100906-195914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17741',
internalId:  '',
customField: '20100906-200147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17762',
internalId:  '',
customField: '20100906-200300'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17783',
internalId:  '',
customField: '20100906-200421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17804',
internalId:  '',
customField: '20100906-201107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17825',
internalId:  '',
customField: '20100906-201200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17846',
internalId:  '',
customField: '20080819-125428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20601',
internalId:  '',
customField: '20100906-201408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17888',
internalId:  '',
customField: '20100906-202814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17909',
internalId:  '',
customField: '20100906-202851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20643',
internalId:  '',
customField: '20100906-201504'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '17501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31801',
internalId:  '',
customField: '20100906-201739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31822',
internalId:  '',
customField: '20100906-201700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31843',
internalId:  '',
customField: '20100906-201826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31864',
internalId:  '',
customField: '20100906-201915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31885',
internalId:  '',
customField: '20100906-202002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31906',
internalId:  '',
customField: '20100906-202049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33501',
internalId:  '',
customField: '20100906-200700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45301',
internalId:  '',
customField: '20100906-202159'
};
webappMappings['7008']=webappMappings['7008-922']={
webappId:    '7008',
documentId:  '51001',
internalId:  '922',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-923']={
webappId:    '7008',
documentId:  '51022',
internalId:  '923',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51001',
internalId:  '',
customField: '20100906-202249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51022',
internalId:  '',
customField: '20100906-202424'
};
webappMappings['7008']=webappMappings['7008-924']={
webappId:    '7008',
documentId:  '51301',
internalId:  '924',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51301',
internalId:  '',
customField: '20100906-202343'
};
var canonHostname = 'sitebuilder1.jnb2.host-h.net';
var accountId     = 'AHTZ10INX2T2';
var companyName   = 'VICTORY+SKY+INTERNATIONAL';
var htmlTitle	  = 'VICTORY+SKY+INTERNATIONAL';
var metaKeywords  = 'Imports%2C+Exports%2C+Trading%2C+Aviation+Consulting+%2F+Support%2C+Procurement+and+Project+Management%2C+for+all+Industries+around+the+Globe%21%21%21';
var metaContents  = 'VICTORY+SKY+INTERNATIONAL+++++++++++++++++++++++++........THE+BENCHMARK+OF+PERFECTIONSpecializing+in+%3A+Imports%2C+Exports%2C+Trading%2C+Aviation+Consulting+%2F+Support%2C+Procurement+and+Project+Management%2C+for+all+Industries+around+the+Globe%21%21%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) {
	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();
};
