/* [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','5101',jdecode('Black+Car+Service'),jdecode(''),'/5101.html','true',[],''],
	['PAGE','6701',jdecode('Port+Canaveral+'),jdecode(''),'/6701.html','true',[],''],
	['PAGE','6722',jdecode('Airports+'),jdecode(''),'/6722.html','true',[],''],
	['PAGE','6743',jdecode('Cruise+Ships'),jdecode(''),'/6743.html','true',[],''],
	['PAGE','6764',jdecode('Charters'),jdecode(''),'/6764.html','true',[],''],
	['PAGE','5299',jdecode('Parents+VIP+Service'),jdecode(''),'/5299.html','true',[],''],
	['PAGE','5320',jdecode('Reservations'),jdecode(''),'/5320.html','true',[],''],
	['PAGE','5383',jdecode('News'),jdecode(''),'/5383.html','true',[],''],
	['PAGE','5404',jdecode('Links'),jdecode(''),'/5404.html','true',[],''],
	['PAGE','5425',jdecode('Contact'),jdecode(''),'/5425.html','true',[],''],
	['PAGE','5467',jdecode('About+us'),jdecode(''),'/5467.html','true',[],''],
	['PAGE','11601',jdecode('What+our+customers+say'),jdecode(''),'/11601.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Metal';
theSitetree.paletteFamily='A3CAFE';
theSitetree.keyvisualId='773';
theSitetree.keyvisualName='sicherheit.jpg';
theSitetree.fontsetId='142';
theSitetree.graphicsetId='161';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Metal',
				paletteFamily: 	'A3CAFE',
				keyvisualId: 	'773',
				keyvisualName: 	'sicherheit.jpg',
				fontsetId: 		'142',
				graphicsetId: 	'161',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'A3CAFE',
				b_color: 		'87A7D2',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5101',
internalId:  '',
customField: '20100215-092337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6701',
internalId:  '',
customField: '20091103-123948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6722',
internalId:  '',
customField: '20091031-124015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6743',
internalId:  '',
customField: '20091102-090228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6764',
internalId:  '',
customField: '20091102-100912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5299',
internalId:  '',
customField: '20091102-095459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5320',
internalId:  '',
customField: '20100216-154701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5383',
internalId:  '',
customField: '20091024-152406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5404',
internalId:  '',
customField: '20091024-152406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5425',
internalId:  '',
customField: '20100216-153902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5467',
internalId:  '',
customField: '20100216-153519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11601',
internalId:  '',
customField: '20091031-172042'
};
var canonHostname = 'wsc-worker03.chi.us.siteprotect.com';
var accountId     = 'AHW050INE17J';
var companyName   = 'Black+Car+Service+-+Hernando+County';
var htmlTitle	  = 'Hernando+Citrus+County+Transportation+Service+Limousine+Black+Car+Tampa+Airport+Port+Canaveral';
var metaKeywords  = 'Black+Car+Service%2C+Limousine%2C+airport+limousine%2C+Tampa+airport+limousine%2C+Port+Canaveral+transportation%2C+cruise+ships%2C+Shuttle+service%2C+Tampa%2C+tblimo+founder%2C+cheap+limo%2C+hernando%2C+hillsborough%2C+port+canaveral+transportation+tampa+bay+pasco+hernando+citrus%2C+tampa+airport%2C+orlando+airport%2C+tampa+cruise+terminal%2C+tampa+bay+sightseeing+charters%2C+tampa+limousine%2C+airport+transportation+spring+hill+brooksville%2CTampa+airport+transportation%2CTampa+black+car+service%2C+Tampa+limos%2C+Tampa+limousine%2C+Tampa+taxi%2C+airport+clearwater+limousine+tampa%2C+airport+limousine+service+tampa%2Cairport+limousine+services+tampa%2C+airport+limousine+tampa%2C+bay+limousine+tampa%2C+black+car+service+tampa%2C+car+rental+tampa%2C+car+service+tampa%2C+fl+in+limousine+services+tampa%2C+fl+limousine+service+tampa%2C+fl+limousine+tampa%2C+florida+limousine+service+tampa%2C+florida+limousine+tampa%2C+in+limousine+service+tampa%2C+in+limousine+services+tampa%2C+in+limousine+tampa%2C+limousine+rental+tampa%2C+limousine+service+tampa%2Climousine+services+tampa%2C+limousine+tampa%2C+limousine+tampa+wedding%2C+redington+beach+limo%2C+tampa+limo%2C+beach+taxi%2C+Gulf+beaches%2C+black+car+service%2C+redington%2C+st+pete+beachmeta+name%3Ddescription+';
var metaContents  = 'Spring+Hill+Black+Car+Service%2C+Limousine+service%2C+airport+limousine+service%2C+Tampa+airport+limousine%2C+cruise+ships%2C+Shuttle+service%2C+Tampa%2C+cheap+limo%2C+port+canaveral+transportation+tampa+bay+pasco+hernando+citrus%2C+tampa+airport%2C+orlando+airport%2C+tampa+cruise+terminal%2C+tampa+bay+sightseeing+charters%2C+tampa+limousine%2C+airport+transportation+spring+hill+brooksville%2C+Senior+Citizen+Service%2C+AARP+';
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();
};
