/* [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','2801',jdecode('Home'),jdecode(''), jdecode('%2F2801%2Findex.html'), 'true',[ 
		['PAGE','199301',jdecode('Sitemap'),jdecode(''), jdecode('%2F2801%2F199301.html'), 'true',[],'','']
	],'',''],
	['PAGE','45443',jdecode('Current+Promotions'),jdecode(''), jdecode('%2F45443.html'), 'true',[],'',''],
	['PAGE','45043',jdecode('FAQs'),jdecode(''), jdecode('%2F45043.html'), 'true',[],'',''],
	['PAGE','3041',jdecode('Artwork'),jdecode(''), jdecode('%2F3041%2Findex.html'), 'true',[ 
		['PAGE','224844',jdecode('Customer+Proofs'),jdecode(''), jdecode('%2F3041%2F224844.html'), 'true',[],'','']
	],'',''],
	['PAGE','2915',jdecode('Service'),jdecode(''), jdecode('%2F2915.html'), 'true',[],'',''],
	['PAGE','2936',jdecode('Shipping'),jdecode(''), jdecode('%2F2936.html'), 'true',[],'',''],
	['PAGE','3062',jdecode('Return+Policy'),jdecode(''), jdecode('%2F3062.html'), 'true',[],'',''],
	['PAGE','217406',jdecode('Contact+Us'),jdecode(''), jdecode('%2F217406.html'), 'true',[],'',''],
	['PAGE','45064',jdecode('About+Us'),jdecode(''), jdecode('%2F45064%2Findex.html'), 'true',[ 
		['PAGE','35801',jdecode('How+To+Find+Us'),jdecode(''), jdecode('%2F45064%2F35801.html'), 'true',[],'','']
	],'',''],
	['PAGE','218181',jdecode('Car+Shows'),jdecode(''), jdecode('%2F218181%2Findex.html'), 'true',[ 
		['PAGE','213964',jdecode('Car+Show+Products'),jdecode(''), jdecode('%2F218181%2F213964.html'), 'false',[],'',''],
		['PAGE','191043',jdecode('2012+Car+Show+Schedule'),jdecode(''), jdecode('%2F218181%2F191043.html'), 'true',[],'',''],
		['PAGE','218190',jdecode('2011+Car+Show+Schedule'),jdecode(''), jdecode('%2F218181%2F218190.html'), 'true',[],'','']
	],'',''],
	['PAGE','30301',jdecode('Blank+Template+Page2'),jdecode(''), jdecode('%2F30301.html'), 'false',[],'',''],
	['PAGE','215350',jdecode('Blank+Template+Page3'),jdecode(''), jdecode('%2F215350.html'), 'false',[],'','']];
var siteelementCount=18;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='FDBC3F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10556';
theSitetree.graphicsetId='10896';
theSitetree.contentColor='0000A5';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'valueweb',
  product: 'WSCSYSSSSLYTCR7V'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Alpha',
				paletteFamily: 	'FDBC3F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10556',
				graphicsetId: 	'10896',
				contentColor: 	'0000A5',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FDBC3F',
				e_color: 		'FDBC3F',
				f_color: 		'FDBC3F',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2801',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-2ffc269e88226a89d075dd3fb36d30f4']={
webappId:    '7060',
documentId:  '224844',
internalId:  '2ffc269e88226a89d075dd3fb36d30f4',
customField: 'language:en;country:US;'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '35801',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2801',
internalId:  '',
customField: '20120114-182455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '199301',
internalId:  '',
customField: '20111207-151456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30301',
internalId:  '',
customField: '20110807-191326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '191043',
internalId:  '',
customField: '20120113-200318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45443',
internalId:  '',
customField: '20120113-192838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '213964',
internalId:  '',
customField: '20120102-190045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3041',
internalId:  '',
customField: '20120113-193222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2915',
internalId:  '',
customField: '20120113-193501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2936',
internalId:  '',
customField: '20120113-193445'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3062',
internalId:  '',
customField: '20120113-193618'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '218181',
internalId:  '',
customField: '20120113-193855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '218190',
internalId:  '',
customField: '20120113-200203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45064',
internalId:  '',
customField: '20120113-193723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35801',
internalId:  '',
customField: '20120113-193805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45043',
internalId:  '',
customField: '20120113-193048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '215350',
internalId:  '',
customField: '20110807-190939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '217406',
internalId:  '',
customField: '20120113-193646'
};
webappMappings['7008']=webappMappings['7008-3164']={
webappId:    '7008',
documentId:  '217406',
internalId:  '3164',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '224844',
internalId:  '',
customField: '20120113-193342'
};
var webAppHostname = 'cgi-wsc.chi.us.siteprotect.com:80';
var canonHostname = 'wsc-worker01.chi.us.siteprotect.com';
var accountId     = 'AHW050INX2HC';
var companyName   = 'Specializing+In+Direct+To+Garment+Printing';
var htmlTitle	  = 'T-Shirt+Printing+Custom+Designed+Printed+T-Shirts++Free+Online+Designer';
var metaKeywords  = 't-shirt+for+printing%2Ct+shirt+printing+t+shirt+printing%2Ct+shirt+printing%2Ct-shirt+printing+on%2Cprinting+t+shirt%2Conline+designer%2Cprint+t+shirt%2Ccustom+t-shirts%2Csilk+screen%2Csilk+screening%2Cprinted+t-shirts%2Csilk+screen+printing%2C+screen+printing+shirt%2Cscreen+t+shirts%2Cscreen+printing+shirts%2Cshirts+screen+printing%2Cscreen+printing+t+shirt%2Ct+shirt+screen+printing%2Cscreen+print+t-shirts%2Cscreen+printing+on+t+shirts%2Ct+shirts+screen+printing%2Ct+shirt+transfers%2Ctshirt+screen+printing%2Ccheap+t+shirt+printing%2Ct+shirt+printing+cheap%2Cdirect+to+garment+printing%2Ccustom+designed+t-shirts%2Ct-shirt+screenprinting%2Ctshirt+screenprinting%2Csilk+screen+shirts%2Csilk+screen+t+shirt%2Ctee+shirt+screen+printing%2Ct+shirt+printing+company%2Cheat+transfer+printing%2Ct+shirt+printing+business%2Conline+t+shirt+printing%2Ct+shirt+printing+online%2Cprint+t+shirt+online%2Ccheapest+t+shirt+printing%2Cprint+photo+t+shirt%2Cphoto+t+shirt+printing%2Ct+shirt+photo+printing%2Ct+shirt+printing+shop%2Cscreen+printing+t+shirts+cheap%2Ccheap+screen+printing+t+shirts%2Ccheap+t+shirt+screen+printing%2Ct+shirt+screen+printing+cheap%2Cprint+picture+on+t+shirt%2Cfree+artwork+t+shirt+printing%2Cdiscount+t+shirt+printing%2Ct-shirt+printing+service%2Cband+t+shirt+printing%2Ct+shirt+printing+chicago%2Ct+shirt+printing+miami%2Ct+shirt+printing+idaho%2Ct+shirt+printing+washington%2Ct+shirt+printing+montana%2Ct+shirt+printing+nevada%2Ct+shirt+printing+utah%2Ct+shirt+printing+oregon%2Ct+shirt+printing+california%2Ct+shirt+printing+arizona%2Ct+shirt+printing+new+mexico%2Ct+shirt+printing+wyoming%2Ct+shirt+printing+colorado%2CGildan%2C+Hanes%2C+Port+Authority%2C+Port+%26+Co%2C+District+Threads%2C+Bella%2C+Jerzees%2C+Outer+Banks%2C+OGIO%2C+Nike%2C+Sport-Tek%2C+Precious+Cargo%2C+Cornerstone%2C+Columbia%2C+Red+House';
var metaContents  = 'Custom+Designed+Printed+T-Shirts.++Free+Online+Designer.+Custom+T-Shirt+Direct+To+Garment+Printing.++No+Minimums.++Fast+Shipping.++Quantity+Discounts.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A';
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();
};

