/* [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','3214',jdecode('Home'),jdecode(''),'/3214.html','true',[],''],
	['PAGE','14001',jdecode('Collection'),jdecode(''),'/14001.html','false',[],''],
	['PAGE','3901',jdecode('Capri+Pants'),jdecode(''),'/3901.html','true',[],''],
	['PAGE','13901',jdecode('Full+Length+Pants'),jdecode(''),'/13901.html','true',[],''],
	['PAGE','14022',jdecode('Tops+-+Upper+Trim'),jdecode(''),'/14022.html','true',[],''],
	['PAGE','14043',jdecode('Tops+-+Lower+Trim'),jdecode(''),'/14043.html','true',[],''],
	['PAGE','46601',jdecode('T-Shirts+-+NEW%21'),jdecode(''),'/46601.html','true',[],''],
	['PAGE','3922',jdecode('Order'),jdecode(''),'/3922.html','false',[],''],
	['PAGE','45201',jdecode('Size+Chart'),jdecode(''),'/45201.html','true',[],''],
	['PAGE','20601',jdecode('Order+Cart'),jdecode(''),'/20601.html','true',[],''],
	['PAGE','3943',jdecode('Contact'),jdecode(''),'/3943.html','true',[],''],
	['PAGE','3964',jdecode('About+Us'),jdecode(''),'/3964.html','true',[],''],
	['PAGE','40901',jdecode('Press'),jdecode(''),'/40901.html','true',[],''],
	['PAGE','36001',jdecode('Coming+Soon-SKIRTS'),jdecode(''),'/36001.html','false',[],''],
	['PAGE','35501',jdecode('Corporate+Branding'),jdecode(''),'/35501.html','true',[],''],
	['PAGE','34701',jdecode('Giving+Back'),jdecode(''),'/34701.html','true',[],''],
	['PAGE','44101',jdecode('Links'),jdecode(''),'/44101.html','true',[],''],
	['PAGE','24701',jdecode('Policies'),jdecode(''),'/24701.html','true',[],''],
	['PAGE','23401',jdecode('Your+Favorites'),jdecode(''),'/23401.html','false',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Fleurist';
theSitetree.paletteFamily='E5ECEF';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10641';
theSitetree.graphicsetId='10908';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='E5ECEF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Fleurist',
				paletteFamily: 	'E5ECEF',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10641',
				graphicsetId: 	'10908',
				contentColor: 	'666666',
				contentBGColor: 'E5ECEF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3214',
internalId:  '',
customField: '20090913-090234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3901',
internalId:  '',
customField: '20091019-110034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3922',
internalId:  '',
customField: '20090708-074206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3943',
internalId:  '',
customField: '20090723-155315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3964',
internalId:  '',
customField: '20090906-183923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40901',
internalId:  '',
customField: '20091004-090228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14001',
internalId:  '',
customField: '20090727-082018'
};
webappMappings['7008']=webappMappings['7008-17809']={
webappId:    '7008',
documentId:  '3943',
internalId:  '17809',
customField: 'language:en;country:US;'
};
webappMappings['4001']=webappMappings['4001-19991220']={
webappId:    '4001',
documentId:  '20601',
internalId:  '19991220',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13901',
internalId:  '',
customField: '20091019-110112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14022',
internalId:  '',
customField: '20091019-110155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14043',
internalId:  '',
customField: '20091019-110233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20601',
internalId:  '',
customField: '20090910-194018'
};
webappMappings['7005']=webappMappings['7005-2169']={
webappId:    '7005',
documentId:  '23401',
internalId:  '2169',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23401',
internalId:  '',
customField: '20090810-182330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24701',
internalId:  '',
customField: '20090723-195454'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34701',
internalId:  '',
customField: '20090908-095532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35501',
internalId:  '',
customField: '20090727-083857'
};
webappMappings['7008']=webappMappings['7008-18995']={
webappId:    '7008',
documentId:  '35501',
internalId:  '18995',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36001',
internalId:  '',
customField: '20090820-115258'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44101',
internalId:  '',
customField: '20090913-205432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45201',
internalId:  '',
customField: '20090910-193855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46601',
internalId:  '',
customField: '20090923-150330'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '3214',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'cmworker03.yourhostingaccount.com';
var accountId     = 'AENDU0IN3B3S';
var companyName   = '+++++Elizabeth+Tucker+Apparel';
var htmlTitle	  = 'Elizabeth+Tucker+Apparel+Fitness+Clothing';
var metaKeywords  = 'custom+yoga+tops%2C+custom+yoga+pants%2C+custom+embroidered+yoga+wear%2C+corporate+branding%2C+apparel%2C+clothing%2C+fitness%2C+exercise+clothing%2C+yoga+clothing%2C+pilates%2C+sexy+exercise+clothes%2C+moms%2C++mermaid%2C+fashionably+fit%2C+OEM%2C+cosmetics+reviews%2C+skin+care+product+reviews';
var metaContents  = 'Fashionably+fit+fitness%2C+yoga%2C+pilates+and+exercise+clothing+stylish+enough+for+everyday+wear.+Custom+corporate+branding+for+designer+yoga++fitness+clothing+to+sell+in+your+businesses+shop%2C+studio%2C+or+gym.+We+offer+the+opportunity+to+brand+our+designer+active+wear+with+your+logo+-+generate+retail+sales%21We+also+review+cosmetic++skin+care+products.';
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();
};
