/* [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','3601',jdecode('Home++'),jdecode(''),'/3601.html','true',[],''],
	['PAGE','3652',jdecode('About+Us+'),jdecode(''),'/3652.html','true',[],''],
	['PAGE','3673',jdecode('Contact+Us'),jdecode(''),'/3673.html','true',[],''],
	['PAGE','3694',jdecode('Testimonials'),jdecode(''),'/3694.html','true',[],''],
	['PAGE','119801',jdecode('Request+A+Quote+'),jdecode(''),'/119801.html','true',[],''],
	['PAGE','5101',jdecode('Apparel'),jdecode(''),'/5101/index.html','true',[ 
		['PAGE','6401',jdecode('Mens'),jdecode(''),'/5101/6401.html','true',[],''],
		['PAGE','57801',jdecode('Longsleeve'),jdecode(''),'/5101/57801.html','false',[],''],
		['PAGE','91401',jdecode('button+Down'),jdecode(''),'/5101/91401.html','false',[],''],
		['PAGE','87101',jdecode('Pants'),jdecode(''),'/5101/87101.html','false',[],''],
		['PAGE','87122',jdecode('Hoodie%2FFleece'),jdecode(''),'/5101/87122.html','false',[],''],
		['PAGE','87143',jdecode('jackets'),jdecode(''),'/5101/87143.html','false',[],''],
		['PAGE','87164',jdecode('short+sleeve'),jdecode(''),'/5101/87164.html','false',[],''],
		['PAGE','87185',jdecode('polo'),jdecode(''),'/5101/87185.html','false',[],''],
		['PAGE','87206',jdecode('shorts'),jdecode(''),'/5101/87206.html','false',[],''],
		['PAGE','6422',jdecode('Youth'),jdecode(''),'/5101/6422.html','true',[],''],
		['PAGE','87227',jdecode('y+hoodie'),jdecode(''),'/5101/87227.html','false',[],''],
		['PAGE','87269',jdecode('y+polo'),jdecode(''),'/5101/87269.html','false',[],''],
		['PAGE','87290',jdecode('t+tee'),jdecode(''),'/5101/87290.html','false',[],''],
		['PAGE','6443',jdecode('Womens'),jdecode(''),'/5101/6443.html','true',[],''],
		['PAGE','87311',jdecode('hoodie%2Ffleece'),jdecode(''),'/5101/87311.html','false',[],''],
		['PAGE','87332',jdecode('jackets'),jdecode(''),'/5101/87332.html','false',[],''],
		['PAGE','91422',jdecode('w+button+down'),jdecode(''),'/5101/91422.html','false',[],''],
		['PAGE','87353',jdecode('longsleeve'),jdecode(''),'/5101/87353.html','false',[],''],
		['PAGE','87374',jdecode('pants'),jdecode(''),'/5101/87374.html','false',[],''],
		['PAGE','87395',jdecode('polo'),jdecode(''),'/5101/87395.html','false',[],''],
		['PAGE','87416',jdecode('short+sleeve'),jdecode(''),'/5101/87416.html','false',[],''],
		['PAGE','87437',jdecode('shorts'),jdecode(''),'/5101/87437.html','false',[],''],
		['PAGE','6464',jdecode('Hats'),jdecode(''),'/5101/6464.html','true',[],'']
	],''],
	['PAGE','5122',jdecode('Bags+%26+Totes'),jdecode(''),'/5122/index.html','true',[ 
		['PAGE','6485',jdecode('Duffle+'),jdecode(''),'/5122/6485.html','true',[],''],
		['PAGE','6506',jdecode('Tote'),jdecode(''),'/5122/6506.html','true',[],''],
		['PAGE','6527',jdecode('Paper'),jdecode(''),'/5122/6527.html','true',[],''],
		['PAGE','6548',jdecode('Plastic'),jdecode(''),'/5122/6548.html','true',[],'']
	],''],
	['PAGE','5143',jdecode('Business+Cards%2FPost+Cards'),jdecode(''),'/5143/index.html','true',[ 
		['PAGE','6569',jdecode('Business+Cards'),jdecode(''),'/5143/6569.html','true',[],''],
		['PAGE','6590',jdecode('Post+Cards'),jdecode(''),'/5143/6590.html','true',[],'']
	],''],
	['PAGE','5164',jdecode('Clocks+%26+Watches'),jdecode(''),'/5164/index.html','true',[ 
		['PAGE','6611',jdecode('Clocks'),jdecode(''),'/5164/6611.html','true',[],''],
		['PAGE','6632',jdecode('Watches'),jdecode(''),'/5164/6632.html','true',[],'']
	],''],
	['PAGE','5185',jdecode('Desktop+%26+Office'),jdecode(''),'/5185/index.html','true',[ 
		['PAGE','6653',jdecode('Planners'),jdecode(''),'/5185/6653.html','true',[],''],
		['PAGE','18301',jdecode('Calanders'),jdecode(''),'/5185/18301.html','true',[],''],
		['PAGE','6674',jdecode('Desk+Clocks'),jdecode(''),'/5185/6674.html','true',[],''],
		['PAGE','6695',jdecode('Frames'),jdecode(''),'/5185/6695.html','true',[],''],
		['PAGE','6716',jdecode('Letter+Openers'),jdecode(''),'/5185/6716.html','true',[],''],
		['PAGE','6737',jdecode('Mousepads'),jdecode(''),'/5185/6737.html','true',[],''],
		['PAGE','6758',jdecode('Note+Holders'),jdecode(''),'/5185/6758.html','true',[],''],
		['PAGE','6779',jdecode('Office+Supplies'),jdecode(''),'/5185/6779.html','true',[],'']
	],''],
	['PAGE','5206',jdecode('Electronics'),jdecode(''),'/5206/index.html','true',[ 
		['PAGE','6800',jdecode('MP3%2FMP4'),jdecode(''),'/5206/6800.html','true',[],''],
		['PAGE','6821',jdecode('USB%2FFLASH+DRIVES'),jdecode(''),'/5206/6821.html','true',[],''],
		['PAGE','6842',jdecode('Flashlights'),jdecode(''),'/5206/6842.html','true',[],''],
		['PAGE','6863',jdecode('Calculators'),jdecode(''),'/5206/6863.html','true',[],'']
	],''],
	['PAGE','5227',jdecode('Food+%26+Candy+'),jdecode(''),'/5227/index.html','true',[ 
		['PAGE','6884',jdecode('Candy'),jdecode(''),'/5227/6884.html','true',[],''],
		['PAGE','6905',jdecode('Food+Baskets'),jdecode(''),'/5227/6905.html','true',[],'']
	],''],
	['PAGE','5248',jdecode('Games+%26+Novelties'),jdecode(''),'/5248/index.html','true',[ 
		['PAGE','6926',jdecode('Balloons'),jdecode(''),'/5248/6926.html','true',[],''],
		['PAGE','6947',jdecode('LED'),jdecode(''),'/5248/6947.html','true',[],''],
		['PAGE','6968',jdecode('Puzzles'),jdecode(''),'/5248/6968.html','true',[],''],
		['PAGE','6989',jdecode('Stuffed+Animals'),jdecode(''),'/5248/6989.html','true',[],''],
		['PAGE','7010',jdecode('Stress+Relievers'),jdecode(''),'/5248/7010.html','true',[],'']
	],''],
	['PAGE','5269',jdecode('Gift+Sets'),jdecode(''),'/5269.html','true',[],''],
	['PAGE','5290',jdecode('Golf'),jdecode(''),'/5290.html','true',[],''],
	['PAGE','5311',jdecode('Keychains'),jdecode(''),'/5311.html','true',[],''],
	['PAGE','5332',jdecode('Mugs%2C+Steins+%26+Pints'),jdecode(''),'/5332/index.html','true',[ 
		['PAGE','7031',jdecode('Coffee'),jdecode(''),'/5332/7031.html','true',[],''],
		['PAGE','7052',jdecode('Glass'),jdecode(''),'/5332/7052.html','true',[],''],
		['PAGE','7073',jdecode('Plastic'),jdecode(''),'/5332/7073.html','true',[],''],
		['PAGE','7094',jdecode('Travel'),jdecode(''),'/5332/7094.html','true',[],''],
		['PAGE','7115',jdecode('Water+Bottle'),jdecode(''),'/5332/7115.html','true',[],'']
	],''],
	['PAGE','5353',jdecode('Playing+Cards'),jdecode(''),'/5353/index.html','true',[ 
		['PAGE','112301',jdecode('10+Deck+Min.+Digi+Deck'),jdecode(''),'/5353/112301.html','true',[],''],
		['PAGE','7178',jdecode('Custom+Full+Color+Cards'),jdecode(''),'/5353/7178.html','true',[],''],
		['PAGE','112322',jdecode('Mini+Playing+Cards'),jdecode(''),'/5353/112322.html','true',[],''],
		['PAGE','7157',jdecode('Packaging'),jdecode(''),'/5353/7157.html','true',[],''],
		['PAGE','7136',jdecode('Plastic+Playing+Cards'),jdecode(''),'/5353/7136.html','true',[],''],
		['PAGE','112343',jdecode('Playing+Card+Sales'),jdecode(''),'/5353/112343.html','true',[],''],
		['PAGE','112364',jdecode('Photo+Playing+Cards'),jdecode(''),'/5353/112364.html','true',[],''],
		['PAGE','112385',jdecode('Special+Shapes'),jdecode(''),'/5353/112385.html','true',[],''],
		['PAGE','112406',jdecode('Transparent+Playing+Cards'),jdecode(''),'/5353/112406.html','true',[],''],
		['PAGE','113501',jdecode('ORDER+INFO'),jdecode(''),'/5353/113501.html','true',[],'']
	],''],
	['PAGE','5374',jdecode('Tools+%26+Hardware'),jdecode(''),'/5374.html','true',[],''],
	['PAGE','5395',jdecode('Trade+Shows+%26+Events'),jdecode(''),'/5395/index.html','true',[ 
		['PAGE','7199',jdecode('Displays'),jdecode(''),'/5395/7199.html','true',[],''],
		['PAGE','7220',jdecode('Fun+Ideas'),jdecode(''),'/5395/7220.html','true',[],''],
		['PAGE','7241',jdecode('Name+Tags'),jdecode(''),'/5395/7241.html','true',[],''],
		['PAGE','7262',jdecode('Lanyards'),jdecode(''),'/5395/7262.html','true',[],'']
	],''],
	['PAGE','5416',jdecode('Writing+Instruments'),jdecode(''),'/5416/index.html','true',[ 
		['PAGE','7283',jdecode('LED'),jdecode(''),'/5416/7283.html','true',[],''],
		['PAGE','7304',jdecode('Executive'),jdecode(''),'/5416/7304.html','true',[],''],
		['PAGE','7325',jdecode('Metal'),jdecode(''),'/5416/7325.html','true',[],''],
		['PAGE','7346',jdecode('Plastic'),jdecode(''),'/5416/7346.html','true',[],''],
		['PAGE','7367',jdecode('Highlighters'),jdecode(''),'/5416/7367.html','true',[],''],
		['PAGE','7388',jdecode('Wooden+Pencil'),jdecode(''),'/5416/7388.html','true',[],''],
		['PAGE','7409',jdecode('Mechanical+Pencil'),jdecode(''),'/5416/7409.html','true',[],'']
	],''],
	['PAGE','3715',jdecode('Links'),jdecode(''),'/3715.html','true',[],'']];
var siteelementCount=98;
theSitetree.topTemplateName='Bombay';
theSitetree.paletteFamily='395987';
theSitetree.keyvisualId='7537';
theSitetree.keyvisualName='kv_7537.jpg';
theSitetree.fontsetId='16582';
theSitetree.graphicsetId='12202';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='C0B89D';
var theTemplate={
				name: 			'Bombay',
				paletteFamily: 	'395987',
				keyvisualId: 	'7537',
				keyvisualName: 	'kv_7537.jpg',
				fontsetId: 		'16582',
				graphicsetId: 	'12202',
				contentColor: 	'000000',
				contentBGColor: 'C0B89D',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'395987',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3601',
internalId:  '',
customField: '20090430-160727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6401',
internalId:  '',
customField: '20090406-081417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3652',
internalId:  '',
customField: '20090430-160308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3673',
internalId:  '',
customField: '20090406-074913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3694',
internalId:  '',
customField: '20090403-154123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3715',
internalId:  '',
customField: '20090408-113100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57801',
internalId:  '',
customField: '20090327-121602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87101',
internalId:  '',
customField: '20090327-122004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5101',
internalId:  '',
customField: '20090408-120053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5122',
internalId:  '',
customField: '20090408-120038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6422',
internalId:  '',
customField: '20090403-154949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6443',
internalId:  '',
customField: '20090406-081240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6464',
internalId:  '',
customField: '20090326-141016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6485',
internalId:  '',
customField: '20090407-150452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6506',
internalId:  '',
customField: '20090325-103213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6527',
internalId:  '',
customField: '20090325-105614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6548',
internalId:  '',
customField: '20090325-123457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5143',
internalId:  '',
customField: '20090408-120025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6569',
internalId:  '',
customField: '20090325-114626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6590',
internalId:  '',
customField: '20090325-114901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5164',
internalId:  '',
customField: '20090408-120010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6611',
internalId:  '',
customField: '20090325-124110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6632',
internalId:  '',
customField: '20090325-124440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5185',
internalId:  '',
customField: '20090408-115957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6653',
internalId:  '',
customField: '20090325-125741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6674',
internalId:  '',
customField: '20090325-130509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6695',
internalId:  '',
customField: '20090325-131255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6716',
internalId:  '',
customField: '20090325-131811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6737',
internalId:  '',
customField: '20090325-135746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6758',
internalId:  '',
customField: '20090325-133313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6779',
internalId:  '',
customField: '20090325-135948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5206',
internalId:  '',
customField: '20090408-115943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6800',
internalId:  '',
customField: '20090325-141857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6821',
internalId:  '',
customField: '20090326-125411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6842',
internalId:  '',
customField: '20090325-142053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6863',
internalId:  '',
customField: '20090325-142247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5227',
internalId:  '',
customField: '20090408-120604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6884',
internalId:  '',
customField: '20090326-065411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6905',
internalId:  '',
customField: '20090326-065738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5248',
internalId:  '',
customField: '20090408-120626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6926',
internalId:  '',
customField: '20090326-072426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6947',
internalId:  '',
customField: '20090326-072617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6968',
internalId:  '',
customField: '20090326-073159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6989',
internalId:  '',
customField: '20090326-073345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7010',
internalId:  '',
customField: '20090326-073536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5269',
internalId:  '',
customField: '20090408-120707'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5290',
internalId:  '',
customField: '20090408-120728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5311',
internalId:  '',
customField: '20090408-120306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5332',
internalId:  '',
customField: '20090408-120826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7031',
internalId:  '',
customField: '20090326-091008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7052',
internalId:  '',
customField: '20090326-091234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7073',
internalId:  '',
customField: '20090326-091416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7094',
internalId:  '',
customField: '20090326-091601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7115',
internalId:  '',
customField: '20090326-092022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5353',
internalId:  '',
customField: '20090430-160435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7136',
internalId:  '',
customField: '20090424-095049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7157',
internalId:  '',
customField: '20090424-085957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7178',
internalId:  '',
customField: '20090430-161015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5374',
internalId:  '',
customField: '20090410-113155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5395',
internalId:  '',
customField: '20090430-161430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7199',
internalId:  '',
customField: '20090326-095042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7220',
internalId:  '',
customField: '20090326-095256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7241',
internalId:  '',
customField: '20090326-095459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7262',
internalId:  '',
customField: '20090326-124301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5416',
internalId:  '',
customField: '20090408-120547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7283',
internalId:  '',
customField: '20090326-102256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7304',
internalId:  '',
customField: '20090326-102535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7325',
internalId:  '',
customField: '20090326-102807'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7346',
internalId:  '',
customField: '20090326-103038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7367',
internalId:  '',
customField: '20090326-103256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7388',
internalId:  '',
customField: '20090326-103526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7409',
internalId:  '',
customField: '20090326-103834'
};
webappMappings['7008']=webappMappings['7008-3125']={
webappId:    '7008',
documentId:  '119801',
internalId:  '3125',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '119801',
internalId:  '',
customField: '20090504-095939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18301',
internalId:  '',
customField: '20090325-125912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87122',
internalId:  '',
customField: '20090327-122243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87143',
internalId:  '',
customField: '20090327-122504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87164',
internalId:  '',
customField: '20090327-122740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87185',
internalId:  '',
customField: '20090327-123011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87206',
internalId:  '',
customField: '20090327-123719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87227',
internalId:  '',
customField: '20090403-155309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91401',
internalId:  '',
customField: '20090327-121812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87269',
internalId:  '',
customField: '20090403-155547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87290',
internalId:  '',
customField: '20090403-155928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87311',
internalId:  '',
customField: '20090406-081750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87332',
internalId:  '',
customField: '20090406-082002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87353',
internalId:  '',
customField: '20090406-082423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87374',
internalId:  '',
customField: '20090406-082617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87395',
internalId:  '',
customField: '20090406-082829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87416',
internalId:  '',
customField: '20090406-083118'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87437',
internalId:  '',
customField: '20090406-083319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91422',
internalId:  '',
customField: '20090406-082211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112301',
internalId:  '',
customField: '20090430-160941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112322',
internalId:  '',
customField: '20090430-161043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112343',
internalId:  '',
customField: '20090430-161127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112364',
internalId:  '',
customField: '20090424-090236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112385',
internalId:  '',
customField: '20090430-161244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112406',
internalId:  '',
customField: '20090430-161330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113501',
internalId:  '',
customField: '20090424-102741'
};
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050INL5KD';
var companyName   = '521+Promotional+Advertising';
var htmlTitle	  = 'Custom+Playing+Cards';
var metaKeywords  = 'custom+playing+cards%2C+personalized+playing+cards%2C+customized+playing+cards%2C+custom+poker+decks%2C+customized+bicycle+playing+cards%2C+custom+playing+card%2C+custom+printed+playing+cards%2C+custom-imprinted+playing+cards%2C+custom+imprinted+playing+cards%2C+custom+poker+decks%2C+wedding+playing+cards%2C+custom+wedding+playing+cards%2C+photo+playing+cards%2C+printed+playing+cards%2C+custom+card+decks%2C+custom+playing+card+decks%2C+imprinted+playing+cards%2C+printed+playing+card+decks%2C+custom+printed+playing+cards%2C+playing+cards%2C+gemaco+playing+cards%2C+promotional+playing+cards%2C+logo+playing+cards%2C+logo+cards%2C+casino+quality+playing+cards%2Cpersonalized+playing+cards%2C+wedding+playing+cards%2C+wedding+cards%2C+playing+cards+for+wedding%2C+bar+mitzvah+playing+cards%2C+magic+playing+cards%2C+magician+playing+cards%2C+anniversary+playing+cards%2C+birthday+playing+cards%2C+fraternity+playing+cards%2C+club+playing+cards%2C+sorority+playing+cards%2C+521+Promo+';
var metaContents  = 'Custom+Playing+Cards++Promotional+Advertising+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();
};
