/* [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','2201',jdecode('Home'),jdecode(''),'/2201.html','true',[],''],
	['PAGE','2252',jdecode('New+Items'),jdecode(''),'/2252.html','true',[],''],
	['PAGE','2294',jdecode('Craft+Kits-Super+Saturdays'),jdecode(''),'/2294.html','true',[],''],
	['PAGE','26401',jdecode('Vinyl+Lettering+Shop'),jdecode(''),'/26401/index.html','true',[ 
		['PAGE','63301',jdecode('Tiles'),jdecode(''),'/26401/63301.html','true',[],''],
		['PAGE','2399',jdecode('Stackers'),jdecode(''),'/26401/2399.html','true',[],''],
		['PAGE','28322',jdecode('Wall+Vinyl'),jdecode(''),'/26401/28322.html','true',[],''],
		['PAGE','2378',jdecode('Vinyl+%26+Wood+Signs+'),jdecode(''),'/26401/2378.html','true',[],''],
		['PAGE','34401',jdecode('Family+Name+Signs'),jdecode(''),'/26401/34401.html','true',[],''],
		['PAGE','56469',jdecode('Memory+Boards'),jdecode(''),'/26401/56469.html','true',[],''],
		['PAGE','33401',jdecode('FHE+%26++Message+Centers'),jdecode(''),'/26401/33401.html','true',[],''],
		['PAGE','28343',jdecode('Blocks'),jdecode(''),'/26401/28343.html','true',[],''],
		['PAGE','34485',jdecode('Temples'),jdecode(''),'/26401/34485.html','true',[],''],
		['PAGE','72601',jdecode('Cut+Outs'),jdecode(''),'/26401/72601.html','true',[],''],
		['PAGE','72701',jdecode('Mailboxs+%7E+Doors'),jdecode(''),'/26401/72701.html','true',[],''],
		['PAGE','71601',jdecode('Crescents'),jdecode(''),'/26401/71601.html','true',[],'']
	],''],
	['PAGE','2273',jdecode('Steel+Shop'),jdecode(''),'/2273.html','true',[],''],
	['PAGE','58401',jdecode('Scrappy+Wood++Shop'),jdecode(''),'/58401.html','true',[],''],
	['PAGE','56001',jdecode('Clocks'),jdecode(''),'/56001.html','true',[],''],
	['PAGE','34569',jdecode('Holidays'),jdecode(''),'/34569.html','true',[],''],
	['PAGE','3301',jdecode('Graphics+%26+Embellishments'),jdecode(''),'/3301.html','true',[],''],
	['PAGE','2336',jdecode('Fonts'),jdecode(''),'/2336.html','true',[],''],
	['PAGE','82801',jdecode('Colors'),jdecode(''),'/82801.html','true',[],''],
	['PAGE','28301',jdecode('Quote+Samples'),jdecode(''),'/28301/index.html','true',[ 
		['PAGE','33501',jdecode('Family+%26+Friends'),jdecode(''),'/28301/33501.html','true',[],''],
		['PAGE','33543',jdecode('Children+quotes'),jdecode(''),'/28301/33543.html','true',[],''],
		['PAGE','33522',jdecode('Inspirational'),jdecode(''),'/28301/33522.html','true',[],''],
		['PAGE','85601',jdecode('Religious'),jdecode(''),'/28301/85601.html','true',[],''],
		['PAGE','85622',jdecode('Love+%26+Romance'),jdecode(''),'/28301/85622.html','true',[],''],
		['PAGE','33606',jdecode('Entry%2C+Kitchen+%26+Bath'),jdecode(''),'/28301/33606.html','true',[],''],
		['PAGE','33564',jdecode('Outdoors'),jdecode(''),'/28301/33564.html','true',[],''],
		['PAGE','33585',jdecode('Holiday+Quotes'),jdecode(''),'/28301/33585.html','true',[],''],
		['PAGE','33627',jdecode('Misc.+Quotes'),jdecode(''),'/28301/33627.html','true',[],'']
	],''],
	['PAGE','2315',jdecode('Pricing+%26+Ordering'),jdecode(''),'/2315.html','true',[],''],
	['PAGE','15822',jdecode('Contact+Us'),jdecode(''),'/15822.html','true',[],''],
	['PAGE','15843',jdecode('FAQ+and+Signs+in+Use'),jdecode(''),'/15843.html','true',[],''],
	['PAGE','19701',jdecode('Petal+Soft+Custom+Jewelry'),jdecode(''),'/19701.html','true',[],''],
	['PAGE','59501',jdecode('Nykki%26%23x27%3Bs+TuTus'),jdecode(''),'/59501.html','true',[],''],
	['PAGE','34443',jdecode('5x12'),jdecode(''),'/34443.html','false',[],''],
	['PAGE','34464',jdecode('8x8'),jdecode(''),'/34464.html','false',[],''],
	['PAGE','56301',jdecode('12x12'),jdecode(''),'/56301.html','false',[],''],
	['PAGE','72101',jdecode('6x18'),jdecode(''),'/72101.html','false',[],''],
	['PAGE','56322',jdecode('6x36'),jdecode(''),'/56322.html','false',[],''],
	['PAGE','56343',jdecode('6x24'),jdecode(''),'/56343.html','false',[],''],
	['PAGE','56364',jdecode('8x24'),jdecode(''),'/56364.html','false',[],''],
	['PAGE','56385',jdecode('8x36'),jdecode(''),'/56385.html','false',[],''],
	['PAGE','56406',jdecode('8x48'),jdecode(''),'/56406.html','false',[],''],
	['PAGE','34422',jdecode('5x7'),jdecode(''),'/34422.html','false',[],''],
	['PAGE','34506',jdecode('4x10'),jdecode(''),'/34506.html','false',[],''],
	['PAGE','34527',jdecode('4.5+x+'),jdecode(''),'/34527.html','false',[],''],
	['PAGE','34548',jdecode('4x4'),jdecode(''),'/34548.html','false',[],''],
	['PAGE','35301',jdecode('Welcome'),jdecode(''),'/35301.html','false',[],''],
	['PAGE','35322',jdecode('Triples'),jdecode(''),'/35322.html','false',[],''],
	['PAGE','35343',jdecode('Scrolls+%26+Embellishments'),jdecode(''),'/35343.html','false',[],''],
	['PAGE','63343',jdecode('TILES-Religious'),jdecode(''),'/63343.html','false',[],''],
	['PAGE','63385',jdecode('TILES-inspiration'),jdecode(''),'/63385.html','false',[],''],
	['PAGE','15801',jdecode('Tiles+-+Holidays+%26+Seasonal'),jdecode(''),'/15801.html','false',[],''],
	['PAGE','63364',jdecode('TILES-Family'),jdecode(''),'/63364.html','false',[],''],
	['PAGE','63322',jdecode('TILES-Child'),jdecode(''),'/63322.html','false',[],''],
	['PAGE','66601',jdecode('Tiles-Fun'),jdecode(''),'/66601.html','false',[],'']];
var siteelementCount=60;
theSitetree.topTemplateName='Family';
theSitetree.paletteFamily='D6BDC8';
theSitetree.keyvisualId='3821';
theSitetree.keyvisualName='kv_3821.jpg';
theSitetree.fontsetId='10484';
theSitetree.graphicsetId='11021';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D6BDC8';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				name: 			'Family',
				paletteFamily: 	'D6BDC8',
				keyvisualId: 	'3821',
				keyvisualName: 	'kv_3821.jpg',
				fontsetId: 		'10484',
				graphicsetId: 	'11021',
				contentColor: 	'000000',
				contentBGColor: 'D6BDC8',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'AEAEAF',
				e_color: 		'AEAEAF',
				f_color: 		'AEAEAF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2273',
internalId:  '',
customField: '20091010-000358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2201',
internalId:  '',
customField: '20091230-194504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2399',
internalId:  '',
customField: '20091230-175844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3301',
internalId:  '',
customField: '20091010-000610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2315',
internalId:  '',
customField: '20091010-000845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2378',
internalId:  '',
customField: '20091010-000001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2252',
internalId:  '',
customField: '20100109-132330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2294',
internalId:  '',
customField: '20091009-235830'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2201',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15801',
internalId:  '',
customField: '20091230-181713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2336',
internalId:  '',
customField: '20091010-000626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15822',
internalId:  '',
customField: '20091007-003901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15843',
internalId:  '',
customField: '20091010-001028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26401',
internalId:  '',
customField: '20091230-181741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34485',
internalId:  '',
customField: '20091010-000214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34548',
internalId:  '',
customField: '20090916-191604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34401',
internalId:  '',
customField: '20091010-000032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56301',
internalId:  '',
customField: '20091009-215802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28343',
internalId:  '',
customField: '20091010-000146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28322',
internalId:  '',
customField: '20091009-235944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33401',
internalId:  '',
customField: '20091010-000124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20091010-000539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58401',
internalId:  '',
customField: '20091010-000518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63322',
internalId:  '',
customField: '20091230-182000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63385',
internalId:  '',
customField: '20091230-181902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63343',
internalId:  '',
customField: '20091230-182933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66601',
internalId:  '',
customField: '20091230-182054'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63364',
internalId:  '',
customField: '20091230-182123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34422',
internalId:  '',
customField: '20091006-183625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56322',
internalId:  '',
customField: '20091009-215838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56343',
internalId:  '',
customField: '20091009-215900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72101',
internalId:  '',
customField: '20091009-215828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34443',
internalId:  '',
customField: '20091009-220906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56364',
internalId:  '',
customField: '20091009-215910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56385',
internalId:  '',
customField: '20091009-215927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56406',
internalId:  '',
customField: '20091009-220014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34464',
internalId:  '',
customField: '20091009-215719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56469',
internalId:  '',
customField: '20091010-000057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72601',
internalId:  '',
customField: '20091010-000243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72701',
internalId:  '',
customField: '20091010-000306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71601',
internalId:  '',
customField: '20091010-000334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34569',
internalId:  '',
customField: '20091010-000555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82801',
internalId:  '',
customField: '20091010-000704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28301',
internalId:  '',
customField: '20091010-000723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33501',
internalId:  '',
customField: '20091008-000210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33543',
internalId:  '',
customField: '20091008-010130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33522',
internalId:  '',
customField: '20091008-001851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85601',
internalId:  '',
customField: '20091008-002844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85622',
internalId:  '',
customField: '20091008-003616'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33606',
internalId:  '',
customField: '20091008-011509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33564',
internalId:  '',
customField: '20091008-011845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33627',
internalId:  '',
customField: '20091008-012501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33585',
internalId:  '',
customField: '20091008-014953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19701',
internalId:  '',
customField: '20100102-014429'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59501',
internalId:  '',
customField: '20090930-202055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34506',
internalId:  '',
customField: '20090916-191604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34527',
internalId:  '',
customField: '20090916-191604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35301',
internalId:  '',
customField: '20090916-193158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35322',
internalId:  '',
customField: '20090916-193158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35343',
internalId:  '',
customField: '20090916-193158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63301',
internalId:  '',
customField: '20091230-185806'
};
var canonHostname = 'cmworker02.yourhostingaccount.com';
var accountId     = 'AENDU0IN2DLZ';
var companyName   = '';
var htmlTitle	  = 'LDS+Vinyl.com+%26+Teresa%27s+Custom+Creations';
var metaKeywords  = 'lds+mormon+super+saturdays+crafts+vinyl+lettering+steel+signs+clocks+custom+enrichment+enrichments+HFPE+home+family+personal+enrichment+relief+society+wholesale+personalized+utah+idaho+california+oregon+washington+arizona+nevada+texas+florida+new+york+';
var metaContents  = 'LDS+Vinyl+Decorative+Steel%2C+Craft+Kits%2C+Finished+Products%2C+We+do+it+all%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();
};
