/* [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','2101',jdecode('Home'),jdecode(''),'/2101.html','true',[],'',''],
	['PAGE','2152',jdecode('KwikFit4U'),jdecode(''),'/2152/index.html','true',[ 
		['PAGE','4512',jdecode('AB+SHAPER'),jdecode(''),'/2152/4512.html','false',[],'',''],
		['PAGE','4533',jdecode('4u+200'),jdecode(''),'/2152/4533.html','true',[],'',''],
		['PAGE','4554',jdecode('4u+400'),jdecode(''),'/2152/4554.html','true',[],'',''],
		['PAGE','5412',jdecode('4u+500'),jdecode(''),'/2152/5412.html','true',[],'',''],
		['PAGE','5433',jdecode('4u+800'),jdecode(''),'/2152/5433.html','true',[],'',''],
		['PAGE','5454',jdecode('4u+850%2FCOIN'),jdecode(''),'/2152/5454.html','true',[],'',''],
		['PAGE','5475',jdecode('4u+1000'),jdecode(''),'/2152/5475.html','true',[],'',''],
		['PAGE','5496',jdecode('4u+1500%2FCOIN'),jdecode(''),'/2152/5496.html','true',[],'',''],
		['PAGE','5517',jdecode('4u+2000'),jdecode(''),'/2152/5517.html','true',[],'',''],
		['PAGE','5538',jdecode('4u+5000'),jdecode(''),'/2152/5538.html','true',[],'',''],
		['PAGE','5712',jdecode('Health+Benefits'),jdecode(''),'/2152/5712.html','true',[],'',''],
		['PAGE','6512',jdecode('History'),jdecode(''),'/2152/6512.html','true',[],'',''],
		['PAGE','11412',jdecode('How+it+works'),jdecode(''),'/2152/11412.html','true',[],'',''],
		['PAGE','11512',jdecode('Intro+to+WBV'),jdecode(''),'/2152/11512.html','true',[],'',''],
		['PAGE','6596',jdecode('Lymph+System'),jdecode(''),'/2152/6596.html','true',[],'',''],
		['PAGE','6533',jdecode('Research'),jdecode(''),'/2152/6533.html','true',[],'',''],
		['PAGE','6554',jdecode('Whole+Body+Vibration'),jdecode(''),'/2152/6554.html','true',[],'',''],
		['PAGE','6575',jdecode('Whole+Body+Vibration+Machines'),jdecode(''),'/2152/6575.html','true',[],'','']
	],'',''],
	['PAGE','22623',jdecode('Credit+Card+Processing'),jdecode(''),'/22623/index.html','true',[ 
		['PAGE','28534',jdecode('E+Commerce+Total+Package'),jdecode(''),'/22623/28534.html','true',[],'',''],
		['PAGE','28555',jdecode('Payment+Gateway+Package'),jdecode(''),'/22623/28555.html','true',[],'',''],
		['PAGE','28576',jdecode('Virtual+Terminal+Package'),jdecode(''),'/22623/28576.html','true',[],'',''],
		['PAGE','28597',jdecode('Payment+Plugin+4+Quickbooks'),jdecode(''),'/22623/28597.html','true',[],'','']
	],'',''],
	['PAGE','23723',jdecode('Internet+Services'),jdecode(''),'/23723/index.html','true',[ 
		['PAGE','23823',jdecode('Contact+for+Web'),jdecode(''),'/23723/23823.html','true',[],'','']
	],'',''],
	['PAGE','2173',jdecode('Contact+us'),jdecode(''),'/2173.html','true',[],'',''],
	['PAGE','10312',jdecode('Search+Site%3A'),jdecode(''),'/10312.html','true',[],'','']];
var siteelementCount=29;
theSitetree.topTemplateName='Champagne';
theSitetree.paletteFamily='426388';
theSitetree.keyvisualId='11063';
theSitetree.keyvisualName='kv_11063.jpg';
theSitetree.fontsetId='31943';
theSitetree.graphicsetId='13786';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='426388';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Champagne',
				paletteFamily: 	'426388',
				keyvisualId: 	'11063',
				keyvisualName: 	'kv_11063.jpg',
				fontsetId: 		'31943',
				graphicsetId: 	'13786',
				contentColor: 	'000000',
				contentBGColor: '426388',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['7008']=webappMappings['7008-3227']={
webappId:    '7008',
documentId:  '2173',
internalId:  '3227',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2101',
internalId:  '',
customField: '20100812-172224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2152',
internalId:  '',
customField: '20100507-093106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2173',
internalId:  '',
customField: '20100507-092818'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '2101',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4512',
internalId:  '',
customField: '20100321-175606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4533',
internalId:  '',
customField: '20100321-175635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4554',
internalId:  '',
customField: '20100321-175651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5712',
internalId:  '',
customField: '20100311-154025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5412',
internalId:  '',
customField: '20100321-175747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5433',
internalId:  '',
customField: '20100321-175805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5454',
internalId:  '',
customField: '20100321-175828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5475',
internalId:  '',
customField: '20100321-175848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5496',
internalId:  '',
customField: '20100321-175908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5517',
internalId:  '',
customField: '20100321-175926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5538',
internalId:  '',
customField: '20100321-175943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6512',
internalId:  '',
customField: '20100321-163119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6533',
internalId:  '',
customField: '20100419-120159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6554',
internalId:  '',
customField: '20100311-160404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6575',
internalId:  '',
customField: '20100311-160404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6596',
internalId:  '',
customField: '20100321-174640'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '10312',
internalId:  'search',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10312',
internalId:  '',
customField: '20100507-092852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11412',
internalId:  '',
customField: '20100321-180328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11512',
internalId:  '',
customField: '20100321-180657'
};
webappMappings['1501']=webappMappings['1501-24451264']={
webappId:    '1501',
documentId:  '2101',
internalId:  '24451264',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22623',
internalId:  '',
customField: '20100507-082831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23723',
internalId:  '',
customField: '20100507-092705'
};
webappMappings['7008']=webappMappings['7008-3416']={
webappId:    '7008',
documentId:  '23823',
internalId:  '3416',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23823',
internalId:  '',
customField: '20100507-092727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28534',
internalId:  '',
customField: '20100507-083957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28555',
internalId:  '',
customField: '20100507-085427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28576',
internalId:  '',
customField: '20100507-091900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28597',
internalId:  '',
customField: '20100507-092405'
};
var canonHostname = 'wscwrk02.ehost-services.com';
var accountId     = 'AEN330INFIQ6';
var companyName   = 'Rocky+Point+Technologies+%7C+Manufacturer%27s+Representatives+%7C+Long+Island++NYC+Metro';
var htmlTitle	  = 'ROCKY+POINT+TECHNOLOGIES+%7C+KWIKFIT4U+%7C+Manufacturer%27s+Representatives+%7C+Long+Island%2C+NY+Metro';
var metaKeywords  = 'kwikfit4u%2Cvbr%2Cvirbration%2Cfull+body+excercise%2Ctotal+body%2Cexcercise%2Ckwikfit%2Cquikfit%2Ckwickfit%2Ckwik+fit%2Ckwikfit4u%2Cmanufacturer%27s+reps%2Cmanufacturer+rep%2Csales+organization%2Cnew+york+metro%2Clong+island%2Creps+in+long+island%2Cweight+loss%2Cphysical+therapy+equipment%2Cexcercise+equipment%2Ccredit+card%2Cprocessing%2Cprocessor%2Con+line+credit+card+processing%2Cconsultants%2Cconsultant%2Cinternet%2Cdomain+names%2Chosting%2Cemail%2CSEO%2Csearch+engine+optimization%2Cmerchant+services';
var metaContents  = 'ROCKY+POINT+TECHNOLOGIES+%7C+Manufacturer%27s+Representatives+%7C+Consultants+%7C+Long+Island%2C+NY+Metro.+Kwikfit4U+excercise+equipment%2C+internet+support+technologies%2C+credit+card+processing+and+gateways.+Full+merchant+service+provider+for+the+internet+merchant.+';
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();
};

