/* [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','3801',jdecode('Home'),jdecode(''), jdecode('%2F3801.html'), 'true',[],'',''],
	['PAGE','69512',jdecode('Biorn+Commercial'),jdecode(''), jdecode('%2F69512.html'), 'true',[],'',''],
	['PAGE','57501',jdecode('Third+Party+Collections'),jdecode(''), jdecode('%2F57501%2Findex.html'), 'true',[ 
		['PAGE','11401',jdecode('Biorn+Demand+Program'),jdecode(''), jdecode('%2F57501%2F11401.html'), 'true',[],'','']
	],'',''],
	['PAGE','58201',jdecode('Equine+Debt+Collections'),jdecode(''), jdecode('%2F58201.html'), 'true',[],'',''],
	['PAGE','62301',jdecode('Contact+Us'),jdecode(''), jdecode('%2F62301.html'), 'true',[],'',''],
	['PAGE','5722',jdecode('Testimonials'),jdecode(''), jdecode('%2F5722.html'), 'true',[],'',''],
	['PAGE','62322',jdecode('Weather'),jdecode(''), jdecode('%2F62322.html'), 'true',[],'','']];
var siteelementCount=8;
theSitetree.topTemplateName='Time';
theSitetree.paletteFamily='401A1A';
theSitetree.keyvisualId='2311';
theSitetree.keyvisualName='vorsorge.jpg';
theSitetree.fontsetId='273';
theSitetree.graphicsetId='338';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'grp13-cbeyon',
  product: 'WSCSYSSSSLYTC2ZA'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Time',
				paletteFamily: 	'401A1A',
				keyvisualId: 	'2311',
				keyvisualName: 	'vorsorge.jpg',
				fontsetId: 		'273',
				graphicsetId: 	'338',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'4D1A1A',
				b_color: 		'C55050',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3801',
internalId:  '',
customField: '20110307-165103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58201',
internalId:  '',
customField: '20100712-124634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62322',
internalId:  '',
customField: '20100506-223552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62301',
internalId:  '',
customField: '20100524-191854'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '11401',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5722',
internalId:  '',
customField: '20100420-024919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57501',
internalId:  '',
customField: '20100610-212804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11401',
internalId:  '',
customField: '20100517-231206'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '3801',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '57501',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-16927']={
webappId:    '7008',
documentId:  '62301',
internalId:  '16927',
customField: 'language:en;country:US;'
};
webappMappings['7080']=webappMappings['7080-823']={
webappId:    '7080',
documentId:  '62322',
internalId:  '823',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '58201',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '62301',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '5722',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '62322',
internalId:  '',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69512',
internalId:  '',
customField: '20101007-154831'
};
webappMappings['7060']=webappMappings['7060-79fbbede404af0a7bdb4b6d9319d7764']={
webappId:    '7060',
documentId:  '69512',
internalId:  '79fbbede404af0a7bdb4b6d9319d7764',
customField: 'language:en;country:US;'
};
var webAppHostname = 'diycgi.cluster.stngva01.us.diy-servers.net:80';
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVFL30INHFYT';
var companyName   = 'Biorn+Corporation++++%28763%29+477-7227';
var htmlTitle	  = 'Biorn+Corporation+-+Debt+Collection+Agency';
var metaKeywords  = '+Biorn+Corporation%2C+Biorncorp%2C+Debt+Collector%2C+Debt+Collection%2C+Debt+Collection+Agency%2C+Collection%2C+Minnesota%2C+Equine+Collection%2C+Veterinary+Collector%2C+Accounts+Receivable%2C+Liquidation%2C+Minnesota%2C+Minneapolis%2C+St.+Paul%2C+Saint+Paul%2C+Nationwide%2C+Midwest%2C+Effective%2C+Honest%2C+Receivables%2C+Past+due+accounts%2C+a%2Fr%2C+contingent%2C+rates%2C+integrity%2C+collection+agencies+in+mn%2C+collection+agencies+equine%2C+collection+agency%2C+Professional%2C+credit+reporting%2C+skip+tracing';
var metaContents  = 'Biorn+Corporation+offers+Professional+3rd+Party+Debt+Collection+Services.+Owned+by+Craig+Biorn%2C+President+and+Founder.++Biorn+Corporation+handles+files+based+on+contingency.+No+up+front+fees+associated+with+getting+started.+We+offer+skip+tracing+and+credit+reporting.%0D%0A%0D%0A%0D%0A%0D%0A+Minnesota+debt+collection+agency.++Equine+receivables%2C+national+debt+collection+services%2C+collection+agency%2C+past+due+acounts';
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();
};

