/* [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','501',jdecode('Home'),jdecode(''),'/501.html','true',[],''],
	['PAGE','7801',jdecode('Events'),jdecode(''),'/7801.html','true',[],''],
	['PAGE','8401',jdecode('Movie+Catering'),jdecode(''),'/8401.html','true',[],''],
	['PAGE','17953',jdecode('Cafe'),jdecode(''),'/17953.html','true',[],''],
	['PAGE','18441',jdecode('Lunch+Delivery'),jdecode(''),'/18441.html','true',[],''],
	['PAGE','18502',jdecode('Lunch+Order+Page'),jdecode(''),'/18502.html','true',[],''],
	['PAGE','18293',jdecode('The+Pounder+Club'),jdecode(''),'/18293.html','true',[],''],
	['PAGE','594',jdecode('Menu+Ideas'),jdecode(''),'/594/index.html','true',[ 
		['PAGE','615',jdecode('Parties'),jdecode(''),'/594/615.html','true',[],''],
		['PAGE','18303',jdecode('Summer+BBQ%26%23x27%3Bs'),jdecode(''),'/594/18303.html','true',[],''],
		['PAGE','10101',jdecode('Meetings'),jdecode(''),'/594/10101.html','true',[],''],
		['PAGE','8801',jdecode('Box+Lunches'),jdecode(''),'/594/8801.html','true',[],''],
		['PAGE','636',jdecode('Party+Platters'),jdecode(''),'/594/636.html','true',[],''],
		['PAGE','14801',jdecode('Platter+Pictures'),jdecode(''),'/594/14801.html','true',[],''],
		['PAGE','657',jdecode('Other+Services'),jdecode(''),'/594/657.html','true',[],'']
	],''],
	['PAGE','552',jdecode('About+us'),jdecode(''),'/552/index.html','true',[ 
		['PAGE','573',jdecode('The+team'),jdecode(''),'/552/573.html','true',[],'']
	],''],
	['PAGE','678',jdecode('Offers'),jdecode(''),'/678.html','true',[],''],
	['PAGE','699',jdecode('Jobs'),jdecode(''),'/699.html','true',[],''],
	['PAGE','720',jdecode('Contact'),jdecode(''),'/720/index.html','true',[ 
		['PAGE','741',jdecode('Adresses'),jdecode(''),'/720/741.html','true',[],'']
	],''],
	['PAGE','783',jdecode('Tips+%26+Tricks'),jdecode(''),'/783.html','true',[],''],
	['PAGE','13406',jdecode('Guestbook'),jdecode(''),'/13406/index.html','true',[ 
		['PAGE','13401',jdecode('Read+Guestbook'),jdecode(''),'/13406/13401.html','false',[],'']
	],''],
	['PAGE','18138',jdecode('Blue+Coyote+Blog'),jdecode(''),'/18138.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='4A587F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10449';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='4A587F';
var theTemplate={
				name: 			'Akropolis',
				paletteFamily: 	'4A587F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10449',
				contentColor: 	'FFFFFF',
				contentBGColor: '4A587F',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'4A587F',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20091024-163255'
};
webappMappings['1002']=webappMappings['1002-13406AHW050INXX6F']={
webappId:    '1002',
documentId:  '13406',
internalId:  '13406AHW050INXX6F',
customField: 'icq=false'
};
webappMappings['1501']=webappMappings['1501-68474']={
webappId:    '1501',
documentId:  '501',
internalId:  '68474',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['7060']=webappMappings['7060-b45b9620b2d15737e70308704d090b29']={
webappId:    '7060',
documentId:  '14801',
internalId:  'b45b9620b2d15737e70308704d090b29',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '594',
internalId:  '',
customField: '20081012-143424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10101',
internalId:  '',
customField: '20090116-180922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '615',
internalId:  '',
customField: '20081029-120441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '657',
internalId:  '',
customField: '20071103-015109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18303',
internalId:  '',
customField: '20090713-203652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '7801',
internalId:  '',
customField: '20081012-143127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8401',
internalId:  '',
customField: '20070611-125049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8801',
internalId:  '',
customField: '20080618-222411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '636',
internalId:  '',
customField: '20090116-181146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14801',
internalId:  '',
customField: '20071105-011700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18502',
internalId:  '',
customField: '20091024-164622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20071103-020356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '573',
internalId:  '',
customField: '20090910-002915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '678',
internalId:  '',
customField: '20070722-005914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '699',
internalId:  '',
customField: '20070722-005827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '720',
internalId:  '',
customField: '20090116-175332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '741',
internalId:  '',
customField: '20071013-133213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '783',
internalId:  '',
customField: '20090116-180014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13406',
internalId:  '',
customField: '20071013-133256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13401',
internalId:  '',
customField: '20071013-133256'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17953',
internalId:  '',
customField: '20090928-220521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18138',
internalId:  '',
customField: '20090116-181641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18293',
internalId:  '',
customField: '20090910-002659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18441',
internalId:  '',
customField: '20091024-165340'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INXX6F';
var companyName   = 'The+Blue+Coyote';
var htmlTitle	  = 'The+Blue+Coyote+Cafe+%26+Catering+Company';
var metaKeywords  = 'Lake+Oswego+Catering%2C+Blue+Coyote%2C+Blue+Coyote+Cafe%2C+Blue+Coyote+Catering%2C+Lake+Oswego+Restaurant%2C+Lake+Oswego%2C+John+Dyrnes%2C+Lake+Oswego+Summer+Concerts%2C+Oregon+State+Fair%2C+Caterer%2C+Catering%2C+Beer%2C+Wine%2C+Food%2C+lake+Oswego+Party+Trays.+Lake+Oswego+Burgers%2C+New+Mexican+Cusine%2C++Fresh+Cut+Fries.+Beer%2C+Margaritas%2C+Mixed+drinks+and+cocktails.+Smoked+Ribs%2C+Smoked+Chicken.+Lake+Oswegos+number+one+restaurant.+Lake+Oswego+Summer+Concerts.+Oregon+State+Fair';
var metaContents  = 'Full+service+caterers%2C+party+tray+service.Lake+Oswego+Caterers.+We+are+The+Blue+Coyote%2C+We+are+the+Blue+Coyote+Cafe+and+we+are+The+Blue+Coyote+Catering+Company.+We+offer+full+service+catering+with+off+premis+liquor+license.+We+are+a+full+service+restaurant+with+a+full+bar+menu.++We+offer+box+lunches+and+to+go+items.+We+make+all+food+from+scratch.+We+offer+mesquite+smoked+ribs+on+Thursday+nights.+We+fresh+cut+our+fries+and+blend+our+own+spices';
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();
};
