/* [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','401',jdecode('Home'),jdecode(''),'/401.html','true',[],'',''],
	['PAGE','16643',jdecode('News'),jdecode(''),'/16643.html','true',[],'',''],
	['PAGE','452',jdecode('About+us'),jdecode(''),'/452/index.html','true',[ 
		['PAGE','515',jdecode('Governance'),jdecode(''),'/452/515.html','true',[],'',''],
		['PAGE','578',jdecode('Pictures'),jdecode(''),'/452/578.html','true',[],'','']
	],'',''],
	['PAGE','35936',jdecode('Volunteer'),jdecode(''),'/35936.html','true',[],'',''],
	['PAGE','35997',jdecode('Program'),jdecode(''),'/35997.html','true',[],'',''],
	['PAGE','46874',jdecode('Awards'),jdecode(''),'/46874.html','true',[],'',''],
	['PAGE','20001',jdecode('Schedule'),jdecode(''),'/20001.html','true',[],'',''],
	['PAGE','110618',jdecode('Sep+23rd+Dinner+Event'),jdecode(''),'/110618.html','false',[],'',''],
	['PAGE','746',jdecode('Sponsors'),jdecode(''),'/746.html','true',[],'',''],
	['PAGE','53874',jdecode('Partners'),jdecode(''),'/53874.html','true',[],'',''],
	['PAGE','28301',jdecode('Behavior'),jdecode(''),'/28301.html','true',[],'',''],
	['PAGE','23001',jdecode('Giving+Back'),jdecode(''),'/23001.html','true',[],'',''],
	['PAGE','39374',jdecode('Disclosure'),jdecode(''),'/39374.html','true',[],'',''],
	['PAGE','17701',jdecode('Definitions'),jdecode(''),'/17701.html','false',[],'',''],
	['PAGE','35701',jdecode('Donate'),jdecode(''),'/35701.html','false',[],'',''],
	['PAGE','69485',jdecode('LMC+Showcase+Event'),jdecode(''),'/69485.html','false',[],'',''],
	['PAGE','37174',jdecode('Maui-Hawaii'),jdecode(''),'/37174.html','false',[],'',''],
	['PAGE','52374',jdecode('Official+Rules'),jdecode(''),'/52374.html','false',[],'',''],
	['PAGE','15288',jdecode('at+INDI'),jdecode(''),'/15288.html','false',[],'',''],
	['PAGE','14959',jdecode('at+NHRA'),jdecode(''),'/14959.html','false',[],'',''],
	['PAGE','16601',jdecode('with+PUSD'),jdecode(''),'/16601.html','false',[],'',''],
	['PAGE','14559',jdecode('at+NASCAR'),jdecode(''),'/14559.html','false',[],'',''],
	['PAGE','5701',jdecode('at+Pittsburg'),jdecode(''),'/5701.html','false',[],'',''],
	['PAGE','15212',jdecode('PPD+Night+Out'),jdecode(''),'/15212.html','false',[],'',''],
	['PAGE','15701',jdecode('Latino+Issues+Forum'),jdecode(''),'/15701.html','false',[],'',''],
	['PAGE','32001',jdecode('Challenger+Jamboree'),jdecode(''),'/32001.html','false',[],'',''],
	['PAGE','91696',jdecode('Card+Fundraising'),jdecode(''),'/91696.html','false',[],'',''],
	['PAGE','81196',jdecode('Shopping'),jdecode(''),'/81196.html','true',[],'',''],
	['PAGE','13501',jdecode('Privacy'),jdecode(''),'/13501.html','true',[],'',''],
	['PAGE','75685',jdecode('Contact'),jdecode(''),'/75685.html','true',[],'',''],
	['PAGE','115018',jdecode('Illustrations'),jdecode(''),'/115018.html','true',[],'',''],
	['PAGE','118818',jdecode('Super+Taco'),jdecode(''),'/118818.html','true',[],'','']];
var siteelementCount=34;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='555454';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10892';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Alpha',
				paletteFamily: 	'555454',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10892',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'555454',
				e_color: 		'555454',
				f_color: 		'555454',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '118818',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20100726-105954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '746',
internalId:  '',
customField: '20100728-191319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20100706-231931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '515',
internalId:  '',
customField: '20100813-210350'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '578',
internalId:  '',
customField: '20100521-003619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5701',
internalId:  '',
customField: '20090517-013323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15288',
internalId:  '',
customField: '20080826-230106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14959',
internalId:  '',
customField: '20080803-162434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14559',
internalId:  '',
customField: '20080802-202028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '118818',
internalId:  '',
customField: '20100904-201719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13501',
internalId:  '',
customField: '20100706-235133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15212',
internalId:  '',
customField: '20080812-104556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15701',
internalId:  '',
customField: '20081102-003414'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16643',
internalId:  '',
customField: '20100726-110432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46874',
internalId:  '',
customField: '20100521-003833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16601',
internalId:  '',
customField: '20081102-020158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17701',
internalId:  '',
customField: '20090730-165853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20001',
internalId:  '',
customField: '20100610-104251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23001',
internalId:  '',
customField: '20100521-004028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '115018',
internalId:  '',
customField: '20100719-212416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69485',
internalId:  '',
customField: '20091213-175328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39374',
internalId:  '',
customField: '20100521-004052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28301',
internalId:  '',
customField: '20100813-210513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53874',
internalId:  '',
customField: '20100813-210456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32001',
internalId:  '',
customField: '20090427-003754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35701',
internalId:  '',
customField: '20090704-203845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35936',
internalId:  '',
customField: '20100610-104215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35997',
internalId:  '',
customField: '20100813-210409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37174',
internalId:  '',
customField: '20090824-114205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81196',
internalId:  '',
customField: '20100706-233908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52374',
internalId:  '',
customField: '20090704-211021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75685',
internalId:  '',
customField: '20100706-235103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110618',
internalId:  '',
customField: '20100706-195900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91696',
internalId:  '',
customField: '20100305-201826'
};
var canonHostname = 'wsc-worker04.chi.us.siteprotect.com';
var accountId     = 'AHW050INXX0A';
var companyName   = 'PITTSBURG+PITBULLS+SOCCER+CLUB';
var htmlTitle	  = 'PITTSBURG+PITBULLS+SOCCER+CLUB';
var metaKeywords  = 'Youth%2C+soccer%2C+recreational%2C+competitive.+tryouts%2C+clinic';
var metaContents  = 'Our+goal+is+to+facilitate+soccer+Academic+development+among+youth+%28boys+and+girls+between+ages+5+to+18%29+without+regard+to+race%2C+creed%2C+sex%2C+ability+or+economic+advantage%2C+within+Pittsburg%2C+California.+Not+just+a+sport+for+our+youth+but+a+social+event+for+the+entire+community.';
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();
};
