// Debug:
// SizeChart = prompt('SizeChart', '');
var layerTitles = new Array();
layerTitles['groessen_info'] = {reiterLayerTitle: 'Size info', spvButtonTitle: 'Size', spvButtonExtend: 'info'};
layerTitles['passform_info'] = {reiterLayerTitle: 'Fit info', spvButtonTitle: 'Fit', spvButtonExtend: '-info'};
layerTitles['model_info'] = {reiterLayerTitle: 'Model Info', spvButtonTitle: 'Model', spvButtonExtend: '-info'};
layerTitles['massangaben_info'] = {reiterLayerTitle: 'Measurements', spvButtonTitle: 'Measurements', spvButtonExtend: null};
/*
	<groesse wert="<#BodySize>" einheit="cm" />
	<hips wert="<#Hips>" einheit="cm" />
	<innenBeinlaenge wert="<#Leg_Length>" einheit="cm" />
	<upperchest wert="<#upperchest>" einheit="cm" />
	<lowerchest wert="<#lowerchest>" einheit="cm" />
	<waist wert="<#waist >" einheit="cm" />
	<armLength wert="<#Arm_length>" einheit="cm" />
*/
var NewModelInfoText = new Array();
NewModelInfoText['kleidergroesse'] = {
'01': 'Our model wears size <span id="styleGroesse" class="boldDisplay"></span>.<br />and has the following measurements:',
'02': 'Our model wears size <span id="styleGroesse" class="boldDisplay"></span>.<br />and has the following measurements:'
};
NewModelInfoText['groesse'] 		= { displayText: 'Height', hinweisText:null};
NewModelInfoText['upperchest'] 	= { displayText: 'Bust', hinweisText:null};
NewModelInfoText['lowerchest'] 	= { displayText: 'Under bust', hinweisText:null};
NewModelInfoText['armLength']		= { displayText: 'Arm length*', hinweisText:'Arm length: measured from the shoulder to the wrist'};
NewModelInfoText['waist'] 			= { displayText: 'Waist', hinweisText:null};
NewModelInfoText['hips'] 				= { displayText: 'Hips', hinweisText:null};
NewModelInfoText['innenBeinlaenge'] 	= { displayText: 'Inside leg length*', hinweisText:'Inside leg length: measured from the sole of the foot to the crotch'};

var NewModelInfoGrpConf = new Array();
NewModelInfoGrpConf.push({
	grpName: 'wa',
	displayTopPos: '90px',
	sizeCharts: ['0100100','0100200', '0100400', '0100300','0100500','0100600'],
	infoSort: ['groesse', 'lowerchest', 'waist', 'armLength']
	});
NewModelInfoGrpConf.push({
	grpName: 'wb',
	displayTopPos: '60px',
	sizeCharts: ['0100700', '0100710', '0100720', '0102500'],
	infoSort: ['groesse', 'upperchest', 'waist', 'hips', 'innenBeinlaenge','armLength' ]
	});
NewModelInfoGrpConf.push({
	grpName: 'wc',
	displayTopPos: '115px',
	sizeCharts: ['0100800','0100900', '0100920', '0100820'],
	infoSort: ['groesse',  'hips', 'innenBeinlaenge']
	});
NewModelInfoGrpConf.push({
	grpName: 'wd1',
	displayTopPos: '110px',
	sizeCharts: ['0101010','0101310'],
	infoSort: ['upperchest','lowerchest']
	});
NewModelInfoGrpConf.push({
	grpName: 'wd2',
	displayTopPos: '115px',
	sizeCharts: ['0101020','0101320'],
	infoSort: ['groesse', 'hips']
	});
NewModelInfoGrpConf.push({
	grpName: 'wd3',
	displayTopPos: '60px',
	sizeCharts: ['0101040','0101340', '0101030','0101330','0101000','0101300'],
	infoSort: ['groesse','hips', 'innenBeinlaenge','lowerchest','upperchest']
	});
NewModelInfoGrpConf.push({
	grpName: 'ma',
	displayTopPos: '100px',
	sizeCharts: ['0200100', '0200300', '0200400', '0200500', '0200600', '0202700', '0200200', '0201900'],
	infoSort: ['groesse',  'upperchest', 'waist', 'armLength']
	});
NewModelInfoGrpConf.push({
	grpName: 'mc',
	displayTopPos: '110px',
	sizeCharts: ['0200710', '0200720', '0200800', '0200900'],
	infoSort: ['groesse', 'hips', 'innenBeinlaenge']
	});
NewModelInfoGrpConf.push({
	grpName: 'md',
	displayTopPos: '120px',
	sizeCharts: ['0201300', '0201000'],
	infoSort: ['groesse', 'hips']
	});
var ModelInfoText = new Array();
ModelInfoText['norm'] = 'Our photo model is&nbsp;<span id="modelGroesse2" class="boldDisplay"></span>&nbsp;<span id="massEinheit1" class="boldDisplay"></span>&nbsp;tall,<br />has an inside leg length of&nbsp;<span id="innenBeinlaenge" class="boldDisplay"></span>&nbsp;<span id="massEinheit2" class="boldDisplay"></span><br />and wears size&nbsp;<span id="styleGroesse" class="boldDisplay"></span>.<div class="styleGroesseHinweis">* Measured from the crotch to the sole of the foot.</div>';
ModelInfoText['hips'] = 'Our photo model is&nbsp;<span id="modelGroesse2" class="boldDisplay"></span>&nbsp;<span id="massEinheit1" class="boldDisplay"></span>&nbsp;tall,<br />has a hip measument of <span id="modelHips" class="boldDisplay"></span>&nbsp;<span id="massEinheit3" class="boldDisplay"></span>,<br />has an inside leg length of&nbsp;<span id="innenBeinlaenge" class="boldDisplay"></span>&nbsp;<span id="massEinheit2" class="boldDisplay"></span><br />and wears size&nbsp;<span id="styleGroesse" class="boldDisplay"></span>.<div class="styleGroesseHinweis">* Measured from the crotch to the sole of the foot.</div>';
var LogoSets = new Array();
LogoSets['casual'] = new Array();
LogoSets['casual']['img'] = 'esprit_logo.gif';
LogoSets['casual']['text'] = 'casual';
LogoSets['edc'] = new Array();
LogoSets['edc']['img'] = 'edc_logo.gif';
LogoSets['edc']['text'] = 'edc';
LogoSets['edc16'] = new Array();
LogoSets['edc16']['img'] = 'edc16_logo.gif';
LogoSets['edc16']['text'] = 'edc 16';
LogoSets['decorp'] = new Array();
LogoSets['decorp']['img'] = 'de_corp_logo.gif';
LogoSets['decorp']['text'] = 'de.corp';
LogoSets['sports'] = new Array();
LogoSets['sports']['img'] = 'esp_logo.gif';
LogoSets['sports']['text'] = 'ESP';
LogoSets['collection'] = new Array();
LogoSets['collection']['img'] = 'collection_logo.gif';
LogoSets['collection']['text'] = 'collection';
LogoSets['kidsnewborn'] = new Array();
LogoSets['kidsnewborn']['img'] = 'brand_kidsnewborn.gif';
LogoSets['kidsnewborn']['text'] = 'newborn';
LogoSets['baby_girls'] = new Array();
LogoSets['baby_girls']['img'] = 'brand_baby_girls.gif';
LogoSets['baby_girls']['text'] = 'baby girls';
LogoSets['baby_boys'] = new Array();
LogoSets['baby_boys']['img'] = 'brand_baby_boys.gif';
LogoSets['baby_boys']['text'] = 'baby boys';
LogoSets['kidsbaby'] = new Array();
LogoSets['kidsbaby']['img'] = 'brand_kidsbaby.gif';
LogoSets['kidsbaby']['text'] = 'baby';
LogoSets['kidsgirls'] = new Array();
LogoSets['kidsgirls']['img'] = 'brand_mini_girls.gif';
LogoSets['kidsgirls']['text'] = 'mini girls';
LogoSets['kidsboys'] = new Array();
LogoSets['kidsboys']['img'] = 'brand_mini_boys.gif';
LogoSets['kidsboys']['text'] = 'mini boys';
LogoSets['esprit-mini_logo_41x43'] = new Array();
LogoSets['esprit-mini_logo_41x43']['img'] = 'esprit-mini_logo_41x43.gif';
LogoSets['esprit-mini_logo_41x43']['text'] = 'esprit mini';
LogoSets['youthgirls'] = new Array();
LogoSets['youthgirls']['img'] = 'edc_youth_grils.gif';
LogoSets['youthgirls']['text'] = 'edc youth girls';
LogoSets['youthboys'] = new Array();
LogoSets['youthboys']['img'] = 'edc_youth_boys.gif';
LogoSets['youthboys']['text'] = 'edc youth boys';
fitBeinFormTitle = 'Leg type: ';
fitFinderDenimLink1 = 'COMPARE ALL FITS';
fitFinderDenimLink2 = new Array();
fitFinderDenimLink2['00710'] = 'GO TO THE DENIM FIT FINDER';
fitFinderDenimLink2['00720'] = 'GO TO THE TROUSERS FIT FINDER';
fitFinderDenimLink2['00800'] = 'GO TO THE TROUSERS FIT FINDER';
fitFinderDenimLink2['00900'] = 'GO TO THE DENIM FIT FINDER';
fitFinderDenimLink2['00820'] = 'GO TO THE TROUSERS FIT FINDER';
fitFinderDenimLink2['00920'] = 'GO TO THE DENIM FIT FINDER';
/* Maßangaben: */
var massangabenSizeSelLable = 'W&auml;hlen Sie Ihre Gr&ouml;&szlig;e:';
var massangabenTitle				= 'MASSANGABEN DIESES STYLES F&Uuml;R GR&Ouml;SSE &gt;&nbsp;';
var massangabenDesc					= 'Messen Sie an Ihrer Lieblingsjeans die folgenden Ma&szlig;e,<br />um zu &uuml;berpr&uuml;fen, dass dies Ihre passende Gr&ouml;&szlig; ist.';
var massangabenBreakpoints  = new Array();
var massangabenstiefelInfotext = 'Move your mouse over the image to find out more about the different measurements.';
massangabenBreakpoints['01009'] = new Array();
massangabenBreakpoints['01009']['A'] = 'BUNDUMFANG';
massangabenBreakpoints['01009']['B'] = 'H&Uuml;FTUMFANG';
massangabenBreakpoints['01009']['C'] = 'BUNDH&Ouml;HE VORNE';
massangabenBreakpoints['01009']['D'] = 'BUNDH&Ouml;HE HINTEN';
massangabenBreakpoints['01009']['E'] = 'BEININNENL&Auml;GE';
massangabenBreakpoints['02009'] = new Array();
massangabenBreakpoints['02009']['A'] = 'BUNDUMFANG';
massangabenBreakpoints['02009']['B'] = 'H&Uuml;FTUMFANG';
massangabenBreakpoints['02009']['C'] = 'BUNDH&Ouml;HE VORNE';
massangabenBreakpoints['02009']['D'] = 'BUNDH&Ouml;HE HINTEN';
massangabenBreakpoints['02009']['E'] = 'BEININNENL&Auml;GE';
massangabenBreakpoints['0101100'] = new Array();
massangabenBreakpoints['0101100']['1'] = 'heel height';
massangabenBreakpoints['0101100']['2'] = 'leg length from heel';
massangabenBreakpoints['0101100']['3'] = 'leg circumference';
massangabenBreakpoints['0101100']['4'] = 'ankle circumference';
massangabenBreakpoints['0101100']['5'] = 'calf circumference';
var massangabenStiefelTH = new Array();
massangabenStiefelTH[0] = 'size 5';
massangabenStiefelTH[1] = 'size 6.5';
//Stiefel
var StiefelText = new Array();
StiefelText[1] = 'The <strong>heel height</strong> is measured from the bottom edge of the back of the heel to the bottom edge of the sole.';
StiefelText[2] = 'The <strong>leg length</strong> is measured from the top edge of the heel to the top edge of the boot.';
StiefelText[3] = 'The <strong>leg circumference</strong> is the circumference at the top edge of the boot.';
StiefelText[4] = 'The <strong>ankle circumference</strong> is the circumference of the boot at ankle height.';
StiefelText[5] = 'The <strong>calf circumference</strong> is the circumference at the widest part of the boot. Measure your calf at its thickest point to see if the boots will fit you.';
/* Passforminfo */
/* Bein Formen wenn übersetzung nötig */
styleInfoPassformBeinform = new Array();
styleInfoPassformBeinform['normale_form'] = 'regular form';
styleInfoPassformBeinform['schmale_form']	= 'small form';
styleInfoPassformBeinform['lockere_form']	= 'loose form';
/* Women Bodywear SizeChart */
var SizeChartCupError = {
	defaultPos: {left: '230px', top: '-60px'},
	kombiePos: {left: '0px', top: '0px'},	
	unterbrust: '<span class="SizeChartCupErrorBold">Under bust measurement</span>',
	oberbrust: '<span class="SizeChartCupErrorBold">Bust measurement</span>',
	MassMin: '<br />Minimum <#mass> cm',
	MassMax: '<br />Maximum <#mass> cm',
	kombieError: '<span class="SizeChartCupErrorBold">This combination</span><br />is unfortunately not possible',
	unbekannterFehler: '<span class="SizeChartCupErrorBold">Unbekannter Fehler</span>'
};
var sizeTableCupToolTipText =  {text1: '&nbsp;corresponds&nbsp;', text2: '&nbsp;to size&nbsp;' };
/* Layer-Titel: */
var layerTitle = new Array();
//women
	layerTitle['0100200'] = 'Jumpers';
	layerTitle['0100300'] = 'Blazers / Suits';
	layerTitle['0100400'] = 'T-Shirts / Tops';
	layerTitle['0100500'] = 'Blouses';
	layerTitle['0100600'] = 'Jackets / Coats';
	layerTitle['0100700'] = 'Dresses / Skirts';
	layerTitle['0100710'] = 'Dresses';
	layerTitle['0100720'] = 'Skirts';
	layerTitle['0100800'] = 'Trousers';
	layerTitle['0100900'] = 'Jeans';
	layerTitle['0100820'] = 'Shorts / Capris';
	layerTitle['0100920'] = 'Shorts / Capris';
	layerTitle['0101000'] = 'Swimwear';
	layerTitle['0101010'] = 'Swimwear bikini tops';
	layerTitle['0101020'] = 'Swimwear bikini bottoms';
	layerTitle['0101030'] = 'Swimwear bikini sets';
	layerTitle['0101040'] = 'Swimwear cover ups';		
	layerTitle['0101100'] = 'Shoes';
	layerTitle['0101200'] = 'Belts';
	layerTitle['0101300'] = 'Underwear';
	layerTitle['0101310'] = 'bras';
	layerTitle['0101320'] = 'briefs';
	layerTitle['0101400'] = 'Socks';
	layerTitle['0101500'] = 'Hats / Caps';
	layerTitle['0101600'] = 'Gloves';
	layerTitle['0101700'] = 'Rings';
	layerTitle['0101900'] = 'Stockings';
	layerTitle['0102000'] = 'Bags';
	// edc16
	layerTitle['0102100'] = 'Jumpers / Sweatshirts';
	layerTitle['0102200'] = 'T-Shirts / Blouses';
	layerTitle['0102300'] = 'Dresses / Skirts';
	layerTitle['0102400'] = 'Jeans / Trousers';
	layerTitle['0102500'] = 'Night / Loungewear';

//men
	layerTitle['0200200'] = 'Jumpers';
	layerTitle['0200300'] = 'Sweatshirts';
	layerTitle['0200400'] = 'T-Shirts / Polos';
	layerTitle['0200500'] = 'Shirts';
	layerTitle['0200600'] = 'Jackets / Coats';
	layerTitle['0200710'] = 'Bermudas';
	layerTitle['0200800'] = 'Trousers';
	layerTitle['0200900'] = 'Jeans';
	layerTitle['0202700'] = 'Suits / Blazers';
	layerTitle['0101000'] = 'Swimwear';
	layerTitle['0201100'] = 'Shoes';
	layerTitle['0201200'] = 'Belts';
	layerTitle['0201300'] = 'Underwear';
	layerTitle['0201400'] = 'Stockings';
	layerTitle['0201500'] = 'Hats / Caps';
	layerTitle['0201600'] = 'Gloves';
	layerTitle['0201700'] = 'Rings';
	layerTitle['0201800'] = 'Bags';
	layerTitle['0201900'] = 'Night / Homewear';
//kids
 //youth girls 
layerTitle['0900200'] = 'Jumpers / Cardigans';
layerTitle['0900500'] = 'T-Shirts / Blouses';
layerTitle['0900600'] = 'Jackets';
layerTitle['0900700'] = 'Dresses / Skirts';
layerTitle['0900800'] = 'Jeans / Trousers';
layerTitle['0900900'] = 'Jeans / Trousers';
layerTitle['0901200'] = 'Belts';
layerTitle['0901310'] = 'Body / Nightwear';
layerTitle['0901500'] = 'Caps / Scarves';
layerTitle['0902000'] = 'Bags';
layerTitle['0902500'] = 'Body / Nightwear';
 //youth boys
layerTitle['1000200'] = 'Jumpers / Cardigans';
layerTitle['1000500'] = 'Shirts';
layerTitle['1000600'] = 'Jackets';
layerTitle['1000800'] = 'Jeans / Trousers';
layerTitle['1000900'] = 'Jeans / Trousers';
layerTitle['1001200'] = 'Belts';
layerTitle['1001300'] = 'Body / Nightwear';
layerTitle['1001500'] = 'Caps / Scarves';
layerTitle['1002000'] = 'Bags';
layerTitle['1002500'] = 'Body / Nightwear';
 //baby girls
layerTitle['0500200'] = 'Jumpers / Cardigans';
layerTitle['0500300'] = 'Bodies';
layerTitle['0500500'] = 'T-Shirts / Blouses';
layerTitle['0500600'] = 'Jackets';
layerTitle['0500700'] = 'Dresses / Skirts';
layerTitle['0500800'] = 'Jeans / Trousers';
layerTitle['0500900'] = 'Jeans / Trousers';
layerTitle['0501100'] = 'Shoes';
layerTitle['0501500'] = 'Caps / Scarves';
 //baby boys
layerTitle['0600200'] = 'Jumpers / Cardigans';
layerTitle['0600300'] = 'Bodies';
layerTitle['0600500'] = 'Shirts';
layerTitle['0600600'] = 'Jackets';
layerTitle['0600800'] = 'Jeans / Trousers';
layerTitle['0600900'] = 'Jeans / Trousers';
layerTitle['0601100'] = 'Shoes';
layerTitle['0601500'] = 'Caps / Scarves';
 //mini girls
layerTitle['0700200'] = 'Jumpers / Cardigans';
layerTitle['0700500'] = 'T-Shirts / Blouses';
layerTitle['0700600'] = 'Jackets';
layerTitle['0700700'] = 'Dresses / Skirts';
layerTitle['0700800'] = 'Jeans / Trousers';
layerTitle['0700900'] = 'Jeans / Trousers';
layerTitle['0701100'] = 'Shoes';
layerTitle['0701200'] = 'Belts';
layerTitle['0701310'] = 'Body / Nightwear';
layerTitle['0701500'] = 'Caps / Scarves';
layerTitle['0701900'] = 'Socks / Tights';
layerTitle['0702000'] = 'Bags';
layerTitle['0702500'] = 'Body / Nightwear';
 //mini boys
layerTitle['0800200'] = 'Jumpers / Cardigans';
layerTitle['0800500'] = 'Shirts';
layerTitle['0800600'] = 'Jackets';
layerTitle['0800800'] = 'Jeans / Trousers';
layerTitle['0800900'] = 'Jeans / Trousers';
layerTitle['0801100'] = 'Shoes';
layerTitle['0801200'] = 'Belts';
layerTitle['0801300'] = 'Body / Nightwear';
layerTitle['0801500'] = 'Caps / Scarves';
layerTitle['0801900'] = 'Socks / Tights';
layerTitle['0802000'] = 'Bags';
layerTitle['0802500'] = 'Body / Nightwear';