/* [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','801',jdecode('Home'),jdecode(''),'/801.html','true',[],'',''],
	['PAGE','852',jdecode('About+us'),jdecode(''),'/852.html','true',[],'',''],
	['PAGE','894',jdecode('Products'),jdecode(''),'/894/index.html','true',[ 
		['PAGE','17301',jdecode('1658+Boot+'),jdecode(''),'/894/17301.html','true',[],'',''],
		['PAGE','24101',jdecode('6126+Boot+'),jdecode(''),'/894/24101.html','true',[],'',''],
		['PAGE','26401',jdecode('40%2F509+Boot+'),jdecode(''),'/894/26401.html','true',[],'',''],
		['PAGE','55712',jdecode('Flo+Laces'),jdecode(''),'/894/55712.html','true',[],'',''],
		['PAGE','28701',jdecode('Shoe+and+Boot+Laces'),jdecode(''),'/894/28701.html','true',[],'',''],
		['PAGE','9001',jdecode('Insole+Range'),jdecode(''),'/894/9001.html','true',[],'',''],
		['PAGE','2827',jdecode('Woly+Range'),jdecode(''),'/894/2827.html','true',[],'',''],
		['PAGE','83412',jdecode('Woly+Creams'),jdecode(''),'/894/83412.html','true',[],'',''],
		['PAGE','2869',jdecode('Accessories'),jdecode(''),'/894/2869.html','true',[],'',''],
		['PAGE','64812',jdecode('Packaging'),jdecode(''),'/894/64812.html','true',[],'','']
	],'',''],
	['PAGE','978',jdecode('Promotions'),jdecode(''),'/978.html','true',[],'',''],
	['PAGE','79012',jdecode('Clearance++Items'),jdecode(''),'/79012.html','true',[],'',''],
	['PAGE','999',jdecode('Contact'),jdecode(''),'/999/index.html','true',[ 
		['PAGE','15501',jdecode('Directions'),jdecode(''),'/999/15501.html','true',[],'','']
	],'',''],
	['PAGE','38606',jdecode('Guestbook'),jdecode(''),'/38606/index.html','true',[ 
		['PAGE','38601',jdecode('Read+Guestbook'),jdecode(''),'/38606/38601.html','false',[],'','']
	],'',''],
	['PAGE','78712',jdecode('Tips+and+Hints'),jdecode(''),'/78712.html','true',[],'','']];
var siteelementCount=20;
theSitetree.topTemplateName='Blades';
theSitetree.paletteFamily='466AD2';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='31704';
theSitetree.graphicsetId='13467';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='608DFE';
var localeDef={
  language: 'en',
  country: 'GB'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Blades',
				paletteFamily: 	'466AD2',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'31704',
				graphicsetId: 	'13467',
				contentColor: 	'FFFFFF',
				contentBGColor: '608DFE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '15501',
internalId:  'location',
customField: 'language:en;country:GB;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '801',
internalId:  '',
customField: '20110428-115117'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-38606anbt10inxvlx']={
webappId:    '1002',
documentId:  '38606',
internalId:  '38606anbt10inxvlx',
customField: 'icq=false'
};
webappMappings['7008']=webappMappings['7008-5182']={
webappId:    '7008',
documentId:  '999',
internalId:  '5182',
customField: 'language:en;country:GB;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '894',
internalId:  '',
customField: '20090810-121720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38606',
internalId:  '',
customField: '20070313-175825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55712',
internalId:  '',
customField: '20091014-110804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '852',
internalId:  '',
customField: '20090910-144506'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '64812',
internalId:  '',
customField: '20091102-144045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17301',
internalId:  '',
customField: '20110413-113419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24101',
internalId:  '',
customField: '20070313-171904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26401',
internalId:  '',
customField: '20070313-172113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20090917-144329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79012',
internalId:  '',
customField: '20101202-132756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9001',
internalId:  '',
customField: '20091007-144053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2827',
internalId:  '',
customField: '20090911-112714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2869',
internalId:  '',
customField: '20110413-124642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '978',
internalId:  '',
customField: '20101202-132657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '999',
internalId:  '',
customField: '20091007-144949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15501',
internalId:  '',
customField: '20070313-183408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78712',
internalId:  '',
customField: '20100412-110444'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38601',
internalId:  '',
customField: '20070313-175825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83412',
internalId:  '',
customField: '20110427-143315'
};
webappMappings['1501']=webappMappings['1501-10547183']={
webappId:    '1501',
documentId:  '801',
internalId:  '10547183',
customField: '1501'
};
var canonHostname = 'coucm4all01.netbenefit.co.uk';
var accountId     = 'ANBT10INXVLX';
var companyName   = '';
var htmlTitle	  = 'Shukare+Ltd';
var metaKeywords  = 'Shukare%2C+Laces%2C+Insoles%2C+Polish%2C+Brushes%2C+Shoe+Horns%2C+Heel+Grips%2C+Dusters%2C+Shoe+Shine%2C+Dubbin%2C+Protector%2C+Renovator';
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) {
	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();
};

