/* [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','4519',jdecode('JAYCEE+BRIDES'),jdecode(''),'/4519.html','true',[],'',''],
	['PAGE','8991',jdecode('Wedding+Gowns'),jdecode(''),'/8991/index.html','true',[ 
		['PAGE','39501',jdecode('JCWG0607'),jdecode(''),'/8991/39501.html','true',[],'',''],
		['PAGE','39522',jdecode('JCWG0632'),jdecode(''),'/8991/39522.html','true',[],'',''],
		['PAGE','39543',jdecode('JCWG0634'),jdecode(''),'/8991/39543.html','true',[],'',''],
		['PAGE','39564',jdecode('JCWG0808'),jdecode(''),'/8991/39564.html','true',[],'',''],
		['PAGE','39585',jdecode('JCWG0820'),jdecode(''),'/8991/39585.html','true',[],'',''],
		['PAGE','39606',jdecode('JCWG0836'),jdecode(''),'/8991/39606.html','true',[],'',''],
		['PAGE','39648',jdecode('JCWG0858'),jdecode(''),'/8991/39648.html','true',[],'',''],
		['PAGE','39669',jdecode('JCWG0903'),jdecode(''),'/8991/39669.html','true',[],'',''],
		['PAGE','39690',jdecode('JCWG0960'),jdecode(''),'/8991/39690.html','true',[],'',''],
		['PAGE','39711',jdecode('JCWG1034'),jdecode(''),'/8991/39711.html','true',[],'',''],
		['PAGE','36464',jdecode('JCWG1038'),jdecode(''),'/8991/36464.html','true',[],'',''],
		['PAGE','41501',jdecode('JC+WG1045'),jdecode(''),'/8991/41501.html','true',[],'',''],
		['PAGE','36443',jdecode('JCWG1049'),jdecode(''),'/8991/36443.html','true',[],'',''],
		['PAGE','41522',jdecode('JC+WG1055'),jdecode(''),'/8991/41522.html','true',[],'',''],
		['PAGE','36485',jdecode('JCWG1075'),jdecode(''),'/8991/36485.html','true',[],'',''],
		['PAGE','41543',jdecode('JC+WG1082'),jdecode(''),'/8991/41543.html','true',[],'',''],
		['PAGE','36422',jdecode('JCWG1089'),jdecode(''),'/8991/36422.html','true',[],'',''],
		['PAGE','36401',jdecode('JCWG1217'),jdecode(''),'/8991/36401.html','true',[],'',''],
		['PAGE','24722',jdecode('JC-CBK052+'),jdecode(''),'/8991/24722.html','true',[],'','']
	],'',''],
	['PAGE','9981',jdecode('Clearance+Specials'),jdecode(''),'/9981.html','true',[],'',''],
	['PAGE','22742',jdecode('Plus+Size+Brides'),jdecode(''),'/22742.html','true',[],'',''],
	['PAGE','22809',jdecode('Maternity+Bridal'),jdecode(''),'/22809/index.html','true',[ 
		['PAGE','22914',jdecode('JC+WG1235'),jdecode(''),'/22809/22914.html','true',[],'',''],
		['PAGE','42101',jdecode('JC+WG1125'),jdecode(''),'/22809/42101.html','true',[],'','']
	],'',''],
	['PAGE','9445',jdecode('Bridal+Party'),jdecode(''),'/9445/index.html','true',[ 
		['PAGE','24801',jdecode('JC+GIRLS+-+rainbow'),jdecode(''),'/9445/24801.html','true',[],'',''],
		['PAGE','22784',jdecode('JC+BOYS+TUX'),jdecode(''),'/9445/22784.html','true',[],'','']
	],'',''],
	['PAGE','27901',jdecode('Photo+Gallery'),jdecode(''),'/27901.html','true',[],'',''],
	['PAGE','25701',jdecode('FAQ+and+Info+'),jdecode(''),'/25701.html','true',[],'',''],
	['PAGE','11858',jdecode('Comments'),jdecode(''),'/11858.html','true',[],'',''],
	['PAGE','10008',jdecode('Contact+Us'),jdecode(''),'/10008.html','true',[],'',''],
	['PAGE','32801',jdecode(''),jdecode(''),'/32801.html','true',[],'',''],
	['PAGE','22315',jdecode('WIG+WORLD'),jdecode(''),'/22315/index.html','true',[ 
		['PAGE','22951',jdecode('Ladies+Fashion+Wigs'),jdecode(''),'/22315/22951.html','true',[],'',''],
		['PAGE','22960',jdecode('Guys%2FMens+Wigs'),jdecode(''),'/22315/22960.html','true',[],'',''],
		['PAGE','22969',jdecode('Kids+Wigs'),jdecode(''),'/22315/22969.html','true',[],'',''],
		['PAGE','22978',jdecode('Hair+Extensions'),jdecode(''),'/22315/22978.html','true',[],'',''],
		['PAGE','32822',jdecode('Dolls+Wigs'),jdecode(''),'/22315/32822.html','true',[],'',''],
		['PAGE','23701',jdecode('Wig+Accessories'),jdecode(''),'/22315/23701.html','true',[],'','']
	],'',''],
	['PAGE','32843',jdecode('FAQ+and+Info+'),jdecode(''),'/32843.html','true',[],'',''],
	['PAGE','32864',jdecode('Comments'),jdecode(''),'/32864.html','true',[],'',''],
	['PAGE','32885',jdecode('Contact+Us'),jdecode(''),'/32885.html','true',[],'',''],
	['PAGE','17130',jdecode(''),jdecode(''),'/17130.html','true',[],'',''],
	['PAGE','32906',jdecode('LINKS'),jdecode(''),'/32906.html','true',[],'',''],
	['PAGE','32927',jdecode(''),jdecode(''),'/32927.html','true',[],'',''],
	['PAGE','32948',jdecode(''),jdecode(''),'/32948.html','true',[],'',''],
	['PAGE','32969',jdecode(''),jdecode(''),'/32969.html','true',[],'','']];
var siteelementCount=49;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1737';
theSitetree.keyvisualName='blumen.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='355';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333F65';
var localeDef={
  language: 'en',
  country: 'US'
};
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1737',
				keyvisualName: 	'blumen.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'355',
				contentColor: 	'FFFFFF',
				contentBGColor: '333F65',
				a_color: 		'333F65',
				b_color: 		'040507',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				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:  '4519',
internalId:  '',
customField: '20100323-013427'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9445',
internalId:  '',
customField: '20100423-024504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8991',
internalId:  '',
customField: '20100423-031235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39543',
internalId:  '',
customField: '20100423-031412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25701',
internalId:  '',
customField: '20100423-030938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36464',
internalId:  '',
customField: '20100423-031749'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42101',
internalId:  '',
customField: '20100423-022208'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39501',
internalId:  '',
customField: '20100423-031308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36401',
internalId:  '',
customField: '20100423-032116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36422',
internalId:  '',
customField: '20100423-032053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39522',
internalId:  '',
customField: '20100423-031334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36485',
internalId:  '',
customField: '20100423-031954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9981',
internalId:  '',
customField: '20100423-000505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22315',
internalId:  '',
customField: '20100328-202729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11858',
internalId:  '',
customField: '20060408-160233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10008',
internalId:  '',
customField: '20060408-160342'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17130',
internalId:  '',
customField: '20080303-165507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22742',
internalId:  '',
customField: '20100423-031003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22784',
internalId:  '',
customField: '20100305-130423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22809',
internalId:  '',
customField: '20100323-020719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39564',
internalId:  '',
customField: '20100423-031437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22914',
internalId:  '',
customField: '20100423-022222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24801',
internalId:  '',
customField: '20100305-131952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27901',
internalId:  '',
customField: '20100422-003244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22951',
internalId:  '',
customField: '20100412-235548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22960',
internalId:  '',
customField: '20100304-201854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22969',
internalId:  '',
customField: '20100304-201941'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22978',
internalId:  '',
customField: '20100304-202205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23701',
internalId:  '',
customField: '20100328-195254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39606',
internalId:  '',
customField: '20100423-031527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39585',
internalId:  '',
customField: '20100423-031502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24722',
internalId:  '',
customField: '20100331-153846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41501',
internalId:  '',
customField: '20100423-031825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36443',
internalId:  '',
customField: '20100423-031852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32822',
internalId:  '',
customField: '20100328-203813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32864',
internalId:  '',
customField: '20100328-202328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32885',
internalId:  '',
customField: '20100328-202511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32843',
internalId:  '',
customField: '20100328-203115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32801',
internalId:  '',
customField: '20100328-193234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32906',
internalId:  '',
customField: '20100329-020515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32927',
internalId:  '',
customField: '20100328-193234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32948',
internalId:  '',
customField: '20100328-193234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32969',
internalId:  '',
customField: '20100328-193234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39648',
internalId:  '',
customField: '20100423-031552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39669',
internalId:  '',
customField: '20100423-031621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39690',
internalId:  '',
customField: '20100423-031646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39711',
internalId:  '',
customField: '20100423-031717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41522',
internalId:  '',
customField: '20100423-031929'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41543',
internalId:  '',
customField: '20100423-032029'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10IN2G3O';
var companyName   = 'JAYCEE+BRIDES';
var htmlTitle	  = '';
var metaKeywords  = '';
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();
};
