/* [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','9881',jdecode('Home'),jdecode(''),'/9881.html','true',[],'',''],
	['PAGE','9932',jdecode('Rin%26%23x27%3Bs+Page'),jdecode(''),'/9932/index.html','true',[ 
		['PAGE','30096',jdecode('First+Litter'),jdecode(''),'/9932/30096.html','true',[],'',''],
		['PAGE','30596',jdecode('Second+Litter'),jdecode(''),'/9932/30596.html','true',[],'','']
	],'',''],
	['PAGE','9974',jdecode('Rose%26%23x27%3Bs+Page'),jdecode(''),'/9974/index.html','true',[ 
		['PAGE','12586',jdecode('Rose%26%23x27%3Bs+First+Litter+'),jdecode(''),'/9974/12586.html','false',[],'',''],
		['PAGE','12607',jdecode('Rose%26%23x27%3Bs+Second+Litter'),jdecode(''),'/9974/12607.html','false',[],'','']
	],'',''],
	['PAGE','9953',jdecode('Puppies'),jdecode(''),'/9953/index.html','true',[ 
		['PAGE','12481',jdecode('Weeks+1+-+3'),jdecode(''),'/9953/12481.html','true',[],'',''],
		['PAGE','12502',jdecode('Weeks+4+-+6'),jdecode(''),'/9953/12502.html','true',[],'',''],
		['PAGE','12523',jdecode('Weeks+7+-+9'),jdecode(''),'/9953/12523.html','true',[],'',''],
		['PAGE','12544',jdecode('Week+10'),jdecode(''),'/9953/12544.html','true',[],'','']
	],'',''],
	['PAGE','11481',jdecode('History+of+the+Coton'),jdecode(''),'/11481.html','true',[],'',''],
	['PAGE','9995',jdecode('FAQ%26%23x27%3Bs'),jdecode(''),'/9995/index.html','true',[ 
		['PAGE','14809',jdecode('Have+a+question%3F'),jdecode(''),'/9995/14809.html','true',[],'','']
	],'',''],
	['PAGE','10016',jdecode('Contact+Me'),jdecode(''),'/10016/index.html','true',[ 
		['PAGE','10037',jdecode('Directions'),jdecode(''),'/10016/10037.html','true',[],'','']
	],'',''],
	['PAGE','10079',jdecode('General+Information'),jdecode(''),'/10079.html','true',[],'',''],
	['PAGE','11681',jdecode('The+Breeds+Standards'),jdecode(''),'/11681/index.html','true',[ 
		['PAGE','12691',jdecode('Color'),jdecode(''),'/11681/12691.html','true',[],'',''],
		['PAGE','12712',jdecode('Physical+Structure'),jdecode(''),'/11681/12712.html','true',[],'',''],
		['PAGE','12733',jdecode('Faults'),jdecode(''),'/11681/12733.html','true',[],'','']
	],'',''],
	['PAGE','10058',jdecode('Links'),jdecode(''),'/10058.html','true',[],'','']];
var siteelementCount=23;
theSitetree.topTemplateName='Column';
theSitetree.paletteFamily='6266AD';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10599';
theSitetree.graphicsetId='10615';
theSitetree.contentColor='121447';
theSitetree.contentBGColor='D7D8ED';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Column',
				paletteFamily: 	'6266AD',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10599',
				graphicsetId: 	'10615',
				contentColor: 	'121447',
				contentBGColor: 'D7D8ED',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'6266AD',
				e_color: 		'3A3C83',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['7008']=webappMappings['7008-2467']={
webappId:    '7008',
documentId:  '10016',
internalId:  '2467',
customField: 'language:en;country:US;'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '10037',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:true;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9881',
internalId:  '',
customField: '20100428-183621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9932',
internalId:  '',
customField: '20100210-183447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9953',
internalId:  '',
customField: '20100421-165421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9974',
internalId:  '',
customField: '20100421-164155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10016',
internalId:  '',
customField: '20090317-174400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10037',
internalId:  '',
customField: '20090317-174540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10058',
internalId:  '',
customField: '20090919-214406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10079',
internalId:  '',
customField: '20090318-163045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9995',
internalId:  '',
customField: '20090320-150852'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '9881',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-4035723']={
webappId:    '1501',
documentId:  '9881',
internalId:  '4035723',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11481',
internalId:  '',
customField: '20090322-220112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11681',
internalId:  '',
customField: '20090317-233550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12712',
internalId:  '',
customField: '20090317-232948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12691',
internalId:  '',
customField: '20090317-233324'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12733',
internalId:  '',
customField: '20090317-233653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12481',
internalId:  '',
customField: '20100421-162656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12502',
internalId:  '',
customField: '20100210-184812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12523',
internalId:  '',
customField: '20100210-184837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12544',
internalId:  '',
customField: '20100210-184549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12586',
internalId:  '',
customField: '20090919-214624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '12607',
internalId:  '',
customField: '20090919-214705'
};
webappMappings['1003']=webappMappings['1003-ahw050inl5gm1201b1114f8']={
webappId:    '1003',
documentId:  '14809',
internalId:  'ahw050inl5gm1201b1114f8',
customField: 'en:US'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14809',
internalId:  '',
customField: '20090318-143502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30096',
internalId:  '',
customField: '20100421-165125'
};
webappMappings['7060']=webappMappings['7060-120933b4a3b079ba59e083d46f99f0dd']={
webappId:    '7060',
documentId:  '9953',
internalId:  '120933b4a3b079ba59e083d46f99f0dd',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30596',
internalId:  '',
customField: '20100421-164940'
};
var canonHostname = 'wsc-worker02.chi.us.siteprotect.com';
var accountId     = 'AHW050INL5GM';
var companyName   = '++++++Milk+Creek+Cotons';
var htmlTitle	  = 'Milk+Creek+Cotons';
var metaKeywords  = 'Coton+de+Tulear%2C+Milk+Creek%2C+Coton%2C+Cotton%2C+Madagascar%2C+CTCA%2C+COE+Breeder%2C+Hypoallergenic+dogs%2C+Non-shedding%2C+lap+dog%2C+small+dog%2C+kid+friendly+dog%2C+royal+dogs%2C+Coton+Club%2C+information+on+dogs%2C+Dogs+under+15+pounds%2C+Mulino%2C+Flour+Mill%2C+Grist+Mill%2C+Ask+a+question%2C+have+a+question%2C+FAQ%2C+little+dogs%2C+small+dogs%2C+hypo-allergic+pets%2C+hypo-allergenic+dogs%2C++indoor+pets%2C+indoor+dog%2C+Companion+dog%2C+Champion+dog%2C+show+dog%2C+travel+dog+';
var metaContents  = 'Milk+Creek+Cotons+is+a+CTCA+Code+of+Ethics+Breeder.++Cotons+are+hypo-allergenic+dogs.++Cotons+dont+have+fur%2C+they+have+hair+therefore+they+are+non-shedding+and+considered+the+royal+dog+of+Madagascar.++They+are+great+with+children+of+all+sizes+and+a+wonderful+addition+to+a+family+of+any+size.++';
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();
};

