/* [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','601',jdecode('Home'),jdecode(''),'/601.html','true',[],'',''],
	['PAGE','652',jdecode('About+Us%2FContact+Us'),jdecode(''),'/652.html','true',[],'',''],
	['PAGE','121101',jdecode('Weddings+%26+Packages'),jdecode(''),'/121101/index.html','true',[ 
		['PAGE','344024',jdecode('*Beach+Wedding'),jdecode(''),'/121101/344024.html','true',[],'',''],
		['PAGE','353556',jdecode('*Boat+Cruise+Wedding'),jdecode(''),'/121101/353556.html','true',[],'',''],
		['PAGE','360556',jdecode('*Emerald+Spa+Resort'),jdecode(''),'/121101/360556.html','true',[],'',''],
		['PAGE','353577',jdecode('*Forest+Wedding'),jdecode(''),'/121101/353577.html','true',[],'',''],
		['PAGE','343856',jdecode('*Historic+Building'),jdecode(''),'/121101/343856.html','true',[],'',''],
		['PAGE','344087',jdecode('*Historic+Gardens'),jdecode(''),'/121101/344087.html','true',[],'',''],
		['PAGE','343940',jdecode('*Luxury+Lodge+Wedding'),jdecode(''),'/121101/343940.html','true',[],'',''],
		['PAGE','254923',jdecode('*Maori+Weddings'),jdecode(''),'/121101/254923.html','true',[],'',''],
		['PAGE','344066',jdecode('*Middle+Earth+Wedding'),jdecode(''),'/121101/344066.html','true',[],'',''],
		['PAGE','343898',jdecode('*Sacred+Maori+Spring'),jdecode(''),'/121101/343898.html','true',[],'',''],
		['PAGE','343919',jdecode('*Sacred+Island+'),jdecode(''),'/121101/343919.html','true',[],'',''],
		['PAGE','343961',jdecode('*Spectacular+View+'),jdecode(''),'/121101/343961.html','true',[],'',''],
		['PAGE','343877',jdecode('*Waterfall+Wedding'),jdecode(''),'/121101/343877.html','true',[],'',''],
		['PAGE','121164',jdecode('*Vow+Renewal+Packages'),jdecode(''),'/121101/121164.html','true',[],'',''],
		['PAGE','237423',jdecode('*Maori+Vow+Renewal'),jdecode(''),'/121101/237423.html','true',[],'','']
	],'',''],
	['PAGE','352056',jdecode('Sydney+Weddings'),jdecode(''),'/352056.html','true',[],'',''],
	['PAGE','68222',jdecode('Hot+Deals'),jdecode(''),'/68222/index.html','true',[ 
		['PAGE','343056',jdecode('*Celebrant+Services'),jdecode(''),'/68222/343056.html','true',[],'',''],
		['PAGE','256323',jdecode('*Luxury+Maori+Wedding'),jdecode(''),'/68222/256323.html','true',[],'',''],
		['PAGE','262223',jdecode('*Luxury+Wedding+Package'),jdecode(''),'/68222/262223.html','true',[],'','']
	],'',''],
	['PAGE','28127',jdecode('Wedding+Venues'),jdecode(''),'/28127/index.html','true',[ 
		['PAGE','55501',jdecode('*Aorangi+Peak'),jdecode(''),'/28127/55501.html','true',[],'',''],
		['PAGE','363756',jdecode('*Historic+Building'),jdecode(''),'/28127/363756.html','true',[],'',''],
		['PAGE','363077',jdecode('*Historic+Gardens'),jdecode(''),'/28127/363077.html','true',[],'',''],
		['PAGE','162512',jdecode('*Kingsgate+Hotel'),jdecode(''),'/28127/162512.html','true',[],'',''],
		['PAGE','285056',jdecode('*Maori+Village'),jdecode(''),'/28127/285056.html','true',[],'',''],
		['PAGE','363056',jdecode('*Middle+Earth'),jdecode(''),'/28127/363056.html','true',[],'',''],
		['PAGE','164496',jdecode('*Peppers+on+the+Point'),jdecode(''),'/28127/164496.html','true',[],'',''],
		['PAGE','363098',jdecode('*Redwood+Forest'),jdecode(''),'/28127/363098.html','true',[],'',''],
		['PAGE','65201',jdecode('*Skyline+Skyrides'),jdecode(''),'/28127/65201.html','true',[],'',''],
		['PAGE','150164',jdecode('*The+Blue+Baths'),jdecode(''),'/28127/150164.html','true',[],'',''],
		['PAGE','198312',jdecode('*Treetops+Lodge+%26+Estate'),jdecode(''),'/28127/198312.html','true',[],'',''],
		['PAGE','363119',jdecode('*Wairere+Waterfalls'),jdecode(''),'/28127/363119.html','true',[],'','']
	],'',''],
	['PAGE','41401',jdecode('-------------------------'),jdecode(''),'/41401.html','true',[],'',''],
	['PAGE','26601',jdecode('Accommodation+Resorts'),jdecode(''),'/26601/index.html','true',[ 
		['PAGE','75706',jdecode('*Emerald+Spa+Resort'),jdecode(''),'/26601/75706.html','true',[],'',''],
		['PAGE','75811',jdecode('*Regal+Palms+Resort'),jdecode(''),'/26601/75811.html','true',[],'',''],
		['PAGE','208412',jdecode('*Ventura+Inn+%26+Suites'),jdecode(''),'/26601/208412.html','true',[],'','']
	],'',''],
	['PAGE','232623',jdecode('Boutique+Lodges'),jdecode(''),'/232623/index.html','true',[ 
		['PAGE','244523',jdecode('*Pounamu+Lodge'),jdecode(''),'/232623/244523.html','true',[],'',''],
		['PAGE','241923',jdecode('*Wai+Ora+Lakeside+Spa+Resort'),jdecode(''),'/232623/241923.html','true',[],'','']
	],'',''],
	['PAGE','94801',jdecode('Luxury+Lodges'),jdecode(''),'/94801/index.html','true',[ 
		['PAGE','164433',jdecode('*Peppers+on+the+Point'),jdecode(''),'/94801/164433.html','true',[],'',''],
		['PAGE','106001',jdecode('*Solitaire+Lodge'),jdecode(''),'/94801/106001.html','true',[],'',''],
		['PAGE','195833',jdecode('*Treetops+Lodge+%26+Estate'),jdecode(''),'/94801/195833.html','true',[],'','']
	],'',''],
	['PAGE','94822',jdecode('Accommodation+Hotels'),jdecode(''),'/94822/index.html','true',[ 
		['PAGE','161412',jdecode('*Kingsgate+Hotel'),jdecode(''),'/94822/161412.html','true',[],'','']
	],'',''],
	['PAGE','61064',jdecode('Beauty+%26+Spa'),jdecode(''),'/61064/index.html','true',[ 
		['PAGE','292556',jdecode('*Exquisite+Total+Image'),jdecode(''),'/61064/292556.html','true',[],'',''],
		['PAGE','85901',jdecode('*Hells+Gate+%26+Wai+Ora+Spa'),jdecode(''),'/61064/85901.html','true',[],'','']
	],'',''],
	['PAGE','313656',jdecode('Bridalwear+%26+Accessories'),jdecode(''),'/313656/index.html','true',[ 
		['PAGE','313756',jdecode('*Step+by+Step+Bridal'),jdecode(''),'/313656/313756.html','true',[],'','']
	],'',''],
	['PAGE','25601',jdecode('Celebrants'),jdecode(''),'/25601/index.html','true',[ 
		['PAGE','366056',jdecode('*Darren+Brown'),jdecode(''),'/25601/366056.html','true',[],'',''],
		['PAGE','366077',jdecode('*Sonny+Melbourne'),jdecode(''),'/25601/366077.html','true',[],'','']
	],'',''],
	['PAGE','31701',jdecode('Cake+Decorators'),jdecode(''),'/31701/index.html','true',[ 
		['PAGE','105001',jdecode('*The+Cake+Tin'),jdecode(''),'/31701/105001.html','true',[],'','']
	],'',''],
	['PAGE','28022',jdecode('Caterers'),jdecode(''),'/28022/index.html','true',[ 
		['PAGE','150143',jdecode('*The+Blue+Baths'),jdecode(''),'/28022/150143.html','true',[],'','']
	],'',''],
	['PAGE','38801',jdecode('Florists'),jdecode(''),'/38801/index.html','true',[ 
		['PAGE','52643',jdecode('*Joans+Flowers'),jdecode(''),'/38801/52643.html','true',[],'',''],
		['PAGE','136501',jdecode('*Rotorua+Florist'),jdecode(''),'/38801/136501.html','true',[],'','']
	],'',''],
	['PAGE','37601',jdecode('Gifts'),jdecode(''),'/37601/index.html','true',[ 
		['PAGE','127901',jdecode('*Handmade+NZ+Lavender'),jdecode(''),'/37601/127901.html','true',[],'',''],
		['PAGE','195233',jdecode('*Rotorua+Florist'),jdecode(''),'/37601/195233.html','true',[],'','']
	],'',''],
	['PAGE','36743',jdecode('Hair+%26+Beauty'),jdecode(''),'/36743/index.html','true',[ 
		['PAGE','138027',jdecode('*Exquisite+Total+Image'),jdecode(''),'/36743/138027.html','true',[],'','']
	],'',''],
	['PAGE','28190',jdecode('Jewellers+%26+Rings'),jdecode(''),'/28190/index.html','true',[ 
		['PAGE','263523',jdecode('*Tahiti+Pearl'),jdecode(''),'/28190/263523.html','true',[],'','']
	],'',''],
	['PAGE','28085',jdecode('Photography'),jdecode(''),'/28085/index.html','true',[ 
		['PAGE','284656',jdecode('*Alick+Saunders+Photography'),jdecode(''),'/28085/284656.html','true',[],'',''],
		['PAGE','44822',jdecode('*LOOK+Photography'),jdecode(''),'/28085/44822.html','true',[],'','']
	],'',''],
	['PAGE','28106',jdecode('Restaurants+%26+Dining'),jdecode(''),'/28106/index.html','true',[ 
		['PAGE','53801',jdecode('*Aorangi+Peak'),jdecode(''),'/28106/53801.html','true',[],'',''],
		['PAGE','132901',jdecode('*Skyline+Skyrides'),jdecode(''),'/28106/132901.html','true',[],'','']
	],'',''],
	['PAGE','28148',jdecode('Videography'),jdecode(''),'/28148/index.html','true',[ 
		['PAGE','45501',jdecode('*Imagecard'),jdecode(''),'/28148/45501.html','true',[],'','']
	],'',''],
	['PAGE','52748',jdecode('Wedding+Planners'),jdecode(''),'/52748.html','true',[],'',''],
	['PAGE','89201',jdecode('----------------------'),jdecode(''),'/89201.html','true',[],'',''],
	['PAGE','90301',jdecode('Maori+Love+Legend'),jdecode(''),'/90301.html','true',[],'',''],
	['PAGE','88901',jdecode('Links+'),jdecode(''),'/88901/index.html','true',[ 
		['PAGE','170712',jdecode('*Links+Page+2'),jdecode(''),'/88901/170712.html','true',[],'','']
	],'',''],
	['PAGE','88922',jdecode('Terms+%26+Conditions'),jdecode(''),'/88922.html','true',[],'',''],
	['PAGE','36701',jdecode('Advertising'),jdecode(''),'/36701.html','true',[],'','']];
var siteelementCount=87;
theSitetree.topTemplateName='Roses';
theSitetree.paletteFamily='FFFBF2';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10743';
theSitetree.graphicsetId='10823';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFBF2';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roses',
				paletteFamily: 	'FFFBF2',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10743',
				graphicsetId: 	'10823',
				contentColor: 	'000000',
				contentBGColor: 'FFFBF2',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'787878',
				e_color: 		'9D584B',
				f_color: 		'9D584B',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20100223-051843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68222',
internalId:  '',
customField: '20090812-174037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '343919',
internalId:  '',
customField: '20100223-040139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28190',
internalId:  '',
customField: '20100111-034924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '263523',
internalId:  '',
customField: '20081212-022149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '652',
internalId:  '',
customField: '20100223-052723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121101',
internalId:  '',
customField: '20100222-165818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '353577',
internalId:  '',
customField: '20100223-034057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '344024',
internalId:  '',
customField: '20100223-034559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121164',
internalId:  '',
customField: '20100223-041100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '237423',
internalId:  '',
customField: '20100223-041321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '254923',
internalId:  '',
customField: '20100223-035436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '262223',
internalId:  '',
customField: '20100223-043109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '343961',
internalId:  '',
customField: '20100223-040634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '256323',
internalId:  '',
customField: '20100223-042923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36701',
internalId:  '',
customField: '20090426-152252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41401',
internalId:  '',
customField: '20080513-173719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26601',
internalId:  '',
customField: '20100222-194936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75706',
internalId:  '',
customField: '20090309-172038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '343898',
internalId:  '',
customField: '20100223-040243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '284656',
internalId:  '',
customField: '20100222-212513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75811',
internalId:  '',
customField: '20090625-182640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '208412',
internalId:  '',
customField: '20090309-172307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '343877',
internalId:  '',
customField: '20100223-040814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '232623',
internalId:  '',
customField: '20091203-030721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '244523',
internalId:  '',
customField: '20090120-003748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '241923',
internalId:  '',
customField: '20090128-160243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94801',
internalId:  '',
customField: '20100222-195333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164433',
internalId:  '',
customField: '20090128-170245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '106001',
internalId:  '',
customField: '20100111-033401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195833',
internalId:  '',
customField: '20090627-072245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94822',
internalId:  '',
customField: '20091203-031547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '285056',
internalId:  '',
customField: '20100223-025800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '161412',
internalId:  '',
customField: '20090528-232436'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '360556',
internalId:  '',
customField: '20100223-034316'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '366056',
internalId:  '',
customField: '20100222-201729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61064',
internalId:  '',
customField: '20100222-195828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85901',
internalId:  '',
customField: '20090415-050338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '344066',
internalId:  '',
customField: '20100223-035640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '313656',
internalId:  '',
customField: '20090528-233031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '313756',
internalId:  '',
customField: '20090415-051756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25601',
internalId:  '',
customField: '20100222-202959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '343856',
internalId:  '',
customField: '20100223-034830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '344087',
internalId:  '',
customField: '20100223-034722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '343940',
internalId:  '',
customField: '20100223-035058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31701',
internalId:  '',
customField: '20090528-233209'
};
webappMappings['1501']=webappMappings['1501-13377682']={
webappId:    '1501',
documentId:  '601',
internalId:  '13377682',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105001',
internalId:  '',
customField: '20090128-031708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28022',
internalId:  '',
customField: '20100222-203859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150143',
internalId:  '',
customField: '20100222-204116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38801',
internalId:  '',
customField: '20100222-204633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '343056',
internalId:  '',
customField: '20100223-042614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52643',
internalId:  '',
customField: '20100222-204946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136501',
internalId:  '',
customField: '20090310-173310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37601',
internalId:  '',
customField: '20100222-211050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '127901',
internalId:  '',
customField: '20080722-071933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '195233',
internalId:  '',
customField: '20090126-020412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36743',
internalId:  '',
customField: '20090812-172514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138027',
internalId:  '',
customField: '20100222-211309'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363056',
internalId:  '',
customField: '20100223-031612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363077',
internalId:  '',
customField: '20100223-031949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '352056',
internalId:  '',
customField: '20100223-042326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '353556',
internalId:  '',
customField: '20100223-034438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28085',
internalId:  '',
customField: '20100222-212859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44822',
internalId:  '',
customField: '20090426-045941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28106',
internalId:  '',
customField: '20100117-150856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53801',
internalId:  '',
customField: '20090529-000527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '132901',
internalId:  '',
customField: '20090208-204240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28148',
internalId:  '',
customField: '20090529-000639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45501',
internalId:  '',
customField: '20090426-150933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52748',
internalId:  '',
customField: '20100223-052931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28127',
internalId:  '',
customField: '20100222-193942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55501',
internalId:  '',
customField: '20100223-052058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363756',
internalId:  '',
customField: '20100223-032110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '292556',
internalId:  '',
customField: '20090128-163737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '162512',
internalId:  '',
customField: '20100223-025229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363098',
internalId:  '',
customField: '20100223-031534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '363119',
internalId:  '',
customField: '20100223-031315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '164496',
internalId:  '',
customField: '20100128-030209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '366077',
internalId:  '',
customField: '20100223-023101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '65201',
internalId:  '',
customField: '20090131-201432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '150164',
internalId:  '',
customField: '20100128-030739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '198312',
internalId:  '',
customField: '20100223-043951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89201',
internalId:  '',
customField: '20080508-051057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90301',
internalId:  '',
customField: '20100222-213459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88901',
internalId:  '',
customField: '20100121-051904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '170712',
internalId:  '',
customField: '20091218-180544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88922',
internalId:  '',
customField: '20091218-182039'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INZ5RI';
var companyName   = 'Rotorua+Weddings+Online';
var htmlTitle	  = 'Rotorua+Weddings+Online+promoting+Rotorua+as+the+most+sought+after+wedding+destination+of+New+Zealand';
var metaKeywords  = 'rotorua+weddings+online+directory%2C+rotorua+weddings%2C+rotorua+weddings+online%2C+rotorua+weddings+directory%2C+cake+decorators%2C++cake+artists%2C+accommodation%2C+accommodation+directory%2C+bridal+wear%2C+bridal+wear+and+accessories%2C+wedding+gowns%2C+bridal+gowns%2C+wedding+dress%2C+bridal+transport%2C+bridal+vehicles%2C+wedding+cars%2C+celebrants%2C+wedding+celebrants%2C+wedding+planner%2C+wedding+coordinators%2C+wedding+services%2C+wedding+directory%2C+wedding+videographer%2C+videography%2C+videographer%2C+video+production%2C+videos%2C+wedding+venues%2C+venues%2C+wedding+location%2C+wedding+photos%2C+wedding+photographer%2C+wedding+photos%2C+restaurants+and+dining%2C+fine+dining%2C+music+and+entertainment%2C+wedding+entertainment%2C+wedding+music%2C+jewellers+and+rings%2C+wedding+bands%2C+wedding+rings%2C+wedding+jewellery%2C+silver%2C+gold%2C+platimum%2C+diamonds%2C+sapphires%2C+rubies%2C+greenstone%2C+health+and+beauty%2C+massage%2C+relaxation+massage%2C+tanning%2C+spray+tanning%2C+health+and+beauty+therapist%2C+beauty+therapist%2C+wellness+spa%2C+hairdresser%2C+perms%2C+permanent+colour%2C+semi+colour%2C+foils%2C+cuts%2C+nails%2C+nail+repairs%2C+nail+treatments%2C+nail+enhancements%2C+manicure%2C+pedicures%2C+makeup%2C+facial%2C+makeup+artist%2C+tinting+and+waxing%2C+skin+corrective+treatments%2C+weddings%2C+rotorua%2C+limousines%2C+dream+wedding%2C+dream+holiday%2C+wedding+destination%2Cmaori+culture%2C';
var metaContents  = '';
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();
};
