/* [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','26',jdecode('Home'),jdecode(''),'/26.html','true',[],'',''],
	['PAGE','15485',jdecode('About+Us'),jdecode(''),'/15485.html','true',[],'',''],
	['PAGE','15401',jdecode('Products'),jdecode(''),'/15401/index.html','true',[ 
		['PAGE','47',jdecode('Hurricane+Panels'),jdecode(''),'/15401/47.html','true',[],'',''],
		['PAGE','56',jdecode('Accordion+Shutters'),jdecode(''),'/15401/56.html','true',[],'',''],
		['PAGE','65',jdecode('Roll-Up+Shutters'),jdecode(''),'/15401/65.html','true',[],'',''],
		['PAGE','74',jdecode('Clearly+Protected'),jdecode(''),'/15401/74.html','true',[],'',''],
		['PAGE','83',jdecode('Bahama+Shutters'),jdecode(''),'/15401/83.html','true',[],'',''],
		['PAGE','92',jdecode('Colonial+Shutters'),jdecode(''),'/15401/92.html','true',[],'',''],
		['PAGE','14601',jdecode('Storm+Shield+Barrier'),jdecode(''),'/15401/14601.html','true',[],'',''],
		['PAGE','15422',jdecode('Secure+Door+%28Garage%29'),jdecode(''),'/15401/15422.html','true',[],'',''],
		['PAGE','15443',jdecode('NEW%21+EnsureScape'),jdecode(''),'/15401/15443.html','true',[],'','']
	],'',''],
	['PAGE','21101',jdecode('F.A.Q.%26%23x27%3Bs'),jdecode(''),'/21101.html','true',[],'',''],
	['PAGE','15464',jdecode('Payment+Options'),jdecode(''),'/15464.html','true',[],'',''],
	['PAGE','1231',jdecode('Contact+Information'),jdecode(''),'/1231.html','true',[],'',''],
	['PAGE','23401',jdecode('Driving+Directions'),jdecode(''),'/23401.html','true',[],'','']];
var siteelementCount=16;
theSitetree.topTemplateName='Card';
theSitetree.paletteFamily='E1B006';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='429';
theSitetree.graphicsetId='477';
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: 			'Card',
				paletteFamily: 	'E1B006',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'429',
				graphicsetId: 	'477',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '26',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-650912']={
webappId:    '1501',
documentId:  '26',
internalId:  '650912',
customField: '1501'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '1231',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['7008']=webappMappings['7008-6709']={
webappId:    '7008',
documentId:  '26',
internalId:  '6709',
customField: 'language:en;country:US;'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '23401',
internalId:  'routing',
customField: 'en_US'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26',
internalId:  '',
customField: '20091210-191347'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15485',
internalId:  '',
customField: '20091210-130025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15401',
internalId:  '',
customField: '20090423-115331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47',
internalId:  '',
customField: '20090422-003846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56',
internalId:  '',
customField: '20090422-004134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65',
internalId:  '',
customField: '20090422-004841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74',
internalId:  '',
customField: '20080811-144015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83',
internalId:  '',
customField: '20080811-144045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92',
internalId:  '',
customField: '20080811-144202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14601',
internalId:  '',
customField: '20070830-170659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15422',
internalId:  '',
customField: '20070907-195752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15443',
internalId:  '',
customField: '20070907-195752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21101',
internalId:  '',
customField: '20080811-141622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15464',
internalId:  '',
customField: '20080811-140751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1231',
internalId:  '',
customField: '20091210-180308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23401',
internalId:  '',
customField: '20080811-132549'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10IN24Q9';
var companyName   = 'Orlando+Storm+Shutters%2C+Inc.';
var htmlTitle	  = 'Hurricane+Shutters+and+Security+Protection+by+Orlando+Storm+Shutters%2C+Inc.';
var metaKeywords  = 'hurricane+shutters%2C+hurricane+protection%2C+hurricain+shutters%2C+tormenteras%2C+storm+shutters%2C+security+shutters%2C+security+gates%2C+security+protection%2C+accordion+shutters%2C+accordeon+shutters%2C+clear+accordion+shutters%2C+roll+up+shutters%2C+roll+down+shutters%2C+hurricane+panels%2C+hurricain+panels%2C+shutter+manufacturer%2C+shutter+distributor%2C+tormenteras+en+orlando%2C+tormenteras+en+kissimmee%2C+hurricane+shutters+in+orlando%2C+hurricane+shutters+in+kissimmee%2C+hurricane+shutters+in+central+florida%2C+orlando%2C+kissimmee%2C+florida%2C+texas%2C+houston%2C+galveston%2C+caribbean%2C+mexico';
var metaContents  = 'We+are+manufacturers+and+installers+of+hurricane+shutters+as+well+as+security+protection+products+for+your+home+or+business.++We+serve+the+entire+state+of+Florida+as+well+as+Texas%2C+Mexico+and+Caribbean.++We+have+the+fastest+production+and+turnaround+time+available.++We+carry+accordion+shutters%2C+clear+accordion+shutters%2C+roll+up+shutters%2C+hurricane+panels%2C+bahama+shutters%2C+colonial+shutters%2C+garage+door+protection+and+a+lot+more.';
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();
};
