/* [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','106723',jdecode('Home'),jdecode(''), jdecode('%2F106723.html'), 'true',[],'',''],
	['PAGE','4912',jdecode('In+short'),jdecode(''), jdecode('%2F4912.html'), 'true',[],'',''],
	['PAGE','72623',jdecode('Whats+new%3F'),jdecode(''), jdecode('%2F72623.html'), 'true',[],'',''],
	['PAGE','19133',jdecode('About+Rife+Health'),jdecode(''), jdecode('%2F19133.html'), 'true',[],'',''],
	['PAGE','87723',jdecode('Gallery'),jdecode(''), jdecode('%2F87723.html'), 'true',[],'',''],
	['PAGE','93123',jdecode('Resonators'),jdecode(''), jdecode('%2F93123.html'), 'true',[],'',''],
	['PAGE','109523',jdecode('Health+Technologies'),jdecode(''), jdecode('%2F109523.html'), 'true',[],'',''],
	['PAGE','20112',jdecode('Workshops'),jdecode(''), jdecode('%2F20112%2Findex.html'), 'true',[ 
		['PAGE','116623',jdecode('Workshop+booking'),jdecode(''), jdecode('%2F20112%2F116623.html'), 'true',[],'','']
	],'',''],
	['PAGE','19112',jdecode('Dr.+Rife'),jdecode(''), jdecode('%2F19112.html'), 'true',[],'',''],
	['PAGE','5412',jdecode('Products+and+Prices'),jdecode(''), jdecode('%2F5412%2Findex.html'), 'true',[ 
		['PAGE','24375',jdecode('Wave'),jdecode(''), jdecode('%2F5412%2F24375.html'), 'true',[],'','']
	],'',''],
	['PAGE','8012',jdecode('Legality'),jdecode(''), jdecode('%2F8012.html'), 'true',[],'',''],
	['PAGE','83223',jdecode('WaveCompact'),jdecode(''), jdecode('%2F83223.html'), 'false',[],'',''],
	['PAGE','24354',jdecode('Wave2'),jdecode(''), jdecode('%2F24354.html'), 'false',[],'',''],
	['PAGE','99223',jdecode('WavePractitioner'),jdecode(''), jdecode('%2F99223.html'), 'false',[],'',''],
	['PAGE','104323',jdecode('BioSync'),jdecode(''), jdecode('%2F104323.html'), 'false',[],'',''],
	['PAGE','103423',jdecode('WavePro'),jdecode(''), jdecode('%2F103423.html'), 'true',[],'',''],
	['PAGE','106923',jdecode('Ozone+healing'),jdecode(''), jdecode('%2F106923.html'), 'true',[],'',''],
	['PAGE','96824',jdecode('Ozonator'),jdecode(''), jdecode('%2F96824.html'), 'true',[],'',''],
	['PAGE','62723',jdecode('WaveScan'),jdecode(''), jdecode('%2F62723.html'), 'true',[],'',''],
	['PAGE','112423',jdecode('Health+Pod'),jdecode(''), jdecode('%2F112423.html'), 'true',[],'',''],
	['PAGE','24312',jdecode('Frequency+mat'),jdecode(''), jdecode('%2F24312.html'), 'true',[],'',''],
	['PAGE','11212',jdecode('Q+%26+A'),jdecode(''), jdecode('%2F11212%2Findex.html'), 'true',[ 
		['PAGE','55512',jdecode('27%2F06+Jhb+Wkshp+Q%26A'),jdecode(''), jdecode('%2F11212%2F55512.html'), 'false',[],'','']
	],'',''],
	['PAGE','15412',jdecode('Resonance+Therapy'),jdecode(''), jdecode('%2F15412.html'), 'true',[],'',''],
	['PAGE','106823',jdecode('Pathogens'),jdecode(''), jdecode('%2F106823.html'), 'true',[],'',''],
	['PAGE','17112',jdecode('Frequencies'),jdecode(''), jdecode('%2F17112.html'), 'true',[],'',''],
	['PAGE','81523',jdecode('Frequency+List+'),jdecode(''), jdecode('%2F81523%2Findex.html'), 'true',[ 
		['PAGE','86023',jdecode('Credit+Card+Order'),jdecode(''), jdecode('%2F81523%2F86023.html'), 'false',[],'','']
	],'',''],
	['PAGE','14412',jdecode('Agents'),jdecode(''), jdecode('%2F14412.html'), 'false',[],'',''],
	['PAGE','34312',jdecode('Maps'),jdecode(''), jdecode('%2F34312.html'), 'false',[],'',''],
	['PAGE','35112',jdecode('Testimonials'),jdecode(''), jdecode('%2F35112.html'), 'true',[],'',''],
	['PAGE','35612',jdecode('Dr+on+Call'),jdecode(''), jdecode('%2F35612.html'), 'true',[],'',''],
	['PAGE','56012',jdecode('Downloads'),jdecode(''), jdecode('%2F56012.html'), 'true',[],'',''],
	['PAGE','100323',jdecode('Articles'),jdecode(''), jdecode('%2F100323.html'), 'true',[],'',''],
	['PAGE','70923',jdecode('Applications'),jdecode(''), jdecode('%2F70923.html'), 'true',[],'',''],
	['PAGE','5133',jdecode('Contact'),jdecode(''), jdecode('%2F5133%2Findex.html'), 'true',[ 
		['PAGE','63423',jdecode('Ordering'),jdecode(''), jdecode('%2F5133%2F63423.html'), 'true',[],'','']
	],'',''],
	['PAGE','88923',jdecode('Admin'),jdecode(''), jdecode('%2F88923.html'), 'true',[],'',''],
	['PAGE','88944',jdecode('Repairs'),jdecode(''), jdecode('%2F88944.html'), 'true',[],'',''],
	['PAGE','89323',jdecode('StellenboschWorkshop'),jdecode(''), jdecode('%2F89323.html'), 'false',[],'',''],
	['PAGE','95023',jdecode('Newsletter'),jdecode(''), jdecode('%2F95023.html'), 'true',[],'',''],
	['PAGE','96845',jdecode('Venues'),jdecode(''), jdecode('%2F96845.html'), 'false',[],'',''],
	['PAGE','108823',jdecode('Forum'),jdecode(''), jdecode('%2F108823.html'), 'true',[],'','']];
var siteelementCount=45;
theSitetree.topTemplateName='Verve';
theSitetree.paletteFamily='78D949';
theSitetree.keyvisualId='8386';
theSitetree.keyvisualName='kv_8386.jpg';
theSitetree.fontsetId='17069';
theSitetree.graphicsetId='12441';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'en',
  country: 'US'
};
var prodDef={
  wl_name: 'hetzner',
  product: 'WSCSYSSSSLY0XKDS'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Verve',
				paletteFamily: 	'78D949',
				keyvisualId: 	'8386',
				keyvisualName: 	'kv_8386.jpg',
				fontsetId: 		'17069',
				graphicsetId: 	'12441',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4912',
internalId:  '',
customField: '20120104-153322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5133',
internalId:  '',
customField: '20120129-103231'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5412',
internalId:  '',
customField: '20120101-194924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19112',
internalId:  '',
customField: '20111221-165256'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '109523',
internalId:  '-',
customField: '20120101-165025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8012',
internalId:  '',
customField: '20120104-072546'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '108823',
internalId:  '-',
customField: '20120101-131237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11212',
internalId:  '',
customField: '20120104-073644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14412',
internalId:  '',
customField: '20090615-170320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17112',
internalId:  '',
customField: '20101210-123939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15412',
internalId:  '',
customField: '20100916-131759'
};
webappMappings['7008']=webappMappings['7008-1729']={
webappId:    '7008',
documentId:  '5133',
internalId:  '1729',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19133',
internalId:  '',
customField: '20120104-071458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20112',
internalId:  '',
customField: '20120131-113240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24312',
internalId:  '',
customField: '20110908-104227'
};
webappMappings['7008']=webappMappings['7008-5240']={
webappId:    '7008',
documentId:  '116623',
internalId:  '5240',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24354',
internalId:  '',
customField: '20101213-171945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24375',
internalId:  '',
customField: '20110210-210432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34312',
internalId:  '',
customField: '20090624-185234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35112',
internalId:  '',
customField: '20101204-153354'
};
webappMappings['7008']=webappMappings['7008-2108']={
webappId:    '7008',
documentId:  '35612',
internalId:  '2108',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35612',
internalId:  '',
customField: '20120101-124839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55512',
internalId:  '',
customField: '20090724-154227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56012',
internalId:  '',
customField: '20090817-110053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62723',
internalId:  '',
customField: '20120104-073332'
};
webappMappings['7008']=webappMappings['7008-3102']={
webappId:    '7008',
documentId:  '63423',
internalId:  '3102',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63423',
internalId:  '',
customField: '20100217-221053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70923',
internalId:  '',
customField: '20111222-235436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83223',
internalId:  '',
customField: '20110314-144001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81523',
internalId:  '',
customField: '20110414-180013'
};
webappMappings['8002']=webappMappings['8002-search']={
webappId:    '8002',
documentId:  '106723',
internalId:  'search',
customField: 'language:en;country:US;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '106723',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72623',
internalId:  '',
customField: '20120129-104014'
};
webappMappings['7008']=webappMappings['7008-4148']={
webappId:    '7008',
documentId:  '86023',
internalId:  '4148',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86023',
internalId:  '',
customField: '20110103-193423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87723',
internalId:  '',
customField: '20120104-071536'
};
webappMappings['7008']=webappMappings['7008-4340']={
webappId:    '7008',
documentId:  '88944',
internalId:  '4340',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88923',
internalId:  '',
customField: '20120101-130906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88944',
internalId:  '',
customField: '20110423-145008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89323',
internalId:  '',
customField: '20110311-172322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93123',
internalId:  '',
customField: '20120104-141713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95023',
internalId:  '',
customField: '20110423-145527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99223',
internalId:  '',
customField: '20110908-101722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96845',
internalId:  '',
customField: '20120129-101205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96824',
internalId:  '',
customField: '20110908-094924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100323',
internalId:  '',
customField: '20111024-232453'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '103423',
internalId:  '-',
customField: '20111222-232647'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '104323',
internalId:  '-',
customField: '20120101-170001'
};
webappMappings['1003']=webappMappings['1003-ahtz10inxpfe13498f5670a']={
webappId:    '1003',
documentId:  '108823',
internalId:  'ahtz10inxpfe13498f5670a',
customField: 'en:US'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '106723',
internalId:  '-',
customField: '20120129-105536'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '106923',
internalId:  '-',
customField: '20111231-194428'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '106823',
internalId:  '-',
customField: '20120104-074332'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '112423',
internalId:  '-',
customField: '20120101-212357'
};
webappMappings['5000']=webappMappings['5000--']={
webappId:    '5000',
documentId:  '116623',
internalId:  '-',
customField: '20120131-103044'
};
var webAppHostname = 'sitebuilder.host-h.net:80';
var canonHostname = 'sitebuilder1.jnb2.host-h.net';
var accountId     = 'AHTZ10INXPFE';
var companyName   = 'Let+Health+be+Rife';
var htmlTitle	  = '';
var metaKeywords  = 'Rife+health%2C+cancer%2C+frequency+generator%2C+resonator%2C+Royal+Rife%2C+Rife%2C+generator';
var metaContents  = 'Rife+Health+distribute+technology+that+can+be+applied+as+alternative+or+complementary+healing+devices.+Rife+resonators+and+ozone+generators.';
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();
};

