//P23276
var waehrung																= '$';
var mehrTextLink														= new Object();
mehrTextLink['eu']														= 'more';
var fitTipText																= new Object();
fitTipText['eu']																= 'Fit: ';
var imgBaseSrc 															= 'http://www.espritshop.com/Shop/';
var strLand																	= 'us';
var template																= null;
var crossStyleObj 														= null;
var activeColor 															= null;
var ColorNr																	= null;
var masterStyleId															= null;
var masterStyleNumber												= null;
var crossMouseOver 													= new Object();
var activeStlyeList 														= new Array();
var crossStyleTemplate 												= new Object();
crossStyleTemplate['_Suitings']									=  new Object();
crossStyleTemplate['_Suitings']['styleStart'] 				= 0;
crossStyleTemplate['_Suitings']['styleAnzahl'] 			= 4;
crossStyleTemplate['_Suitings']['srcPfad']					= 'PicSrcFlat';
crossStyleTemplate['_Suitings']['crossTarget']				= 'CrossFlaeche';
crossStyleTemplate['_Suitings']['crossTargetText']		= 'iFrameCS_Text';
crossStyleTemplate['_Suitings']['dateiEndung']			= '.jpg';
crossStyleTemplate['_Suitings']['genTemplate']			= function() { genSuitingsCrossStyles(); };
crossStyleTemplate['_Outfit']									=  new Object();
crossStyleTemplate['_Outfit']['styleStart'] 				= 0;
crossStyleTemplate['_Outfit']['styleAnzahl'] 			= 4;
crossStyleTemplate['_Outfit']['srcPfad']					= 'PicSrcFlat';
crossStyleTemplate['_Outfit']['imgSize']					= new Array('120', '128');
crossStyleTemplate['_Outfit']['crossTarget']				= 'crossBilder';
crossStyleTemplate['_Outfit']['crossTargetText']		= 'crossText';
crossStyleTemplate['_Outfit']['dateiEndung']			= '.jpg';
crossStyleTemplate['_Outfit']['genTemplate']			= function() { genOutfitCrossStyles(); };
crossStyleTemplate['_Bettwaesche']								=  new Object();
crossStyleTemplate['_Bettwaesche']['styleStart'] 			= 1;
crossStyleTemplate['_Bettwaesche']['styleAnzahl'] 			= 3;
crossStyleTemplate['_Bettwaesche']['srcPfad']				= 'PicDestStyleSuitings';
crossStyleTemplate['_Bettwaesche']['imgSize']				= new Array('108', '105');
crossStyleTemplate['_Bettwaesche']['srcPfadBig'] 			= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_Bettwaesche']['mastercrossTarget']	= 'CrossStylesTable';
crossStyleTemplate['_Bettwaesche']['crossTarget']			= 'CrossFlaecheContent';
crossStyleTemplate['_Bettwaesche']['dateiEndung']		= '.jpg';
crossStyleTemplate['_Bettwaesche']['dateiEndungBig']		= '.jpg';
crossStyleTemplate['_Bettwaesche']['genTemplate']		= function() { genDefaultCrossStyles();};
crossStyleTemplate['_Bodywear']								=  new Object();
crossStyleTemplate['_Bodywear']['styleStart'] 			= 1;
crossStyleTemplate['_Bodywear']['styleAnzahl'] 			= 3;
crossStyleTemplate['_Bodywear']['srcPfad']				= 'PicDestStyleSuitings';
crossStyleTemplate['_Bodywear']['imgSize']				= new Array('108', '105');
crossStyleTemplate['_Bodywear']['srcPfadBig'] 			= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_Bodywear']['mastercrossTarget']	= 'CrossStylesTable';
crossStyleTemplate['_Bodywear']['crossTarget']			= 'CrossFlaecheContent';
crossStyleTemplate['_Bodywear']['dateiEndung']		= '.jpg';
crossStyleTemplate['_Bodywear']['dateiEndungBig']		= '.jpg';
crossStyleTemplate['_Bodywear']['genTemplate']		= function() { genDefaultCrossStyles();};
crossStyleTemplate['_Standard']									= new Object();
crossStyleTemplate['_Standard']['styleStart'] 				= 1;
crossStyleTemplate['_Standard']['styleAnzahl'] 			= 3;
crossStyleTemplate['_Standard']['srcPfad']					= 'PicDestStyleSuitingsSmall';
crossStyleTemplate['_Standard']['imgSize']					= new Array('86', '93');
crossStyleTemplate['_Standard']['srcPfadBig'] 			= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_Standard']['dateiEndung']			= '.gif';
crossStyleTemplate['_Standard']['dateiEndungBig']	= '.jpg';
crossStyleTemplate['_Standard']['mastercrossTarget']= 'CrossStylesTable';
crossStyleTemplate['_Standard']['crossTarget']			= 'CrossFlaecheContent';
crossStyleTemplate['_Standard']['genTemplate']		= function() { genDefaultCrossStyles();};
crossStyleTemplate['_StandardV2']									= new Object();
crossStyleTemplate['_StandardV2']['styleStart'] 				= 1;
crossStyleTemplate['_StandardV2']['styleAnzahl'] 			= 3;
//crossStyleTemplate['_StandardV2']['styleAnzahl'] 			= 3;
crossStyleTemplate['_StandardV2']['srcPfad']					= 'PicDestStyleSuitingsSmall';
crossStyleTemplate['_StandardV2']['imgSize']					= new Array('108', '105');
crossStyleTemplate['_StandardV2']['srcPfadBig'] 			= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_StandardV2']['dateiEndung']			= '.gif';
crossStyleTemplate['_StandardV2']['dateiEndungBig']	= '.jpg';
crossStyleTemplate['_StandardV2']['mastercrossTarget']= 'crossStyles';
crossStyleTemplate['_StandardV2']['crossTarget']			= 'CrossFlaecheContent';
crossStyleTemplate['_StandardV2']['genTemplate']		= function() { genDefaultCrossStylesV2();};
///crossStyleTemplate['_StandardV2']['genTemplate']		= function() { genDefaultCrossStyles(); };
crossStyleTemplate['_Sonnenbrillen']									= new Object();
crossStyleTemplate['_Sonnenbrillen']['styleStart'] 				= 1;
crossStyleTemplate['_Sonnenbrillen']['styleAnzahl'] 			= 3;
crossStyleTemplate['_Sonnenbrillen']['srcPfad']					= 'PicDestStyleSuitingsSmall';
crossStyleTemplate['_Sonnenbrillen']['imgSize']					= new Array('86', '93');
crossStyleTemplate['_Sonnenbrillen']['srcPfadBig'] 			= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_Sonnenbrillen']['dateiEndung']			= '.gif';
crossStyleTemplate['_Sonnenbrillen']['dateiEndungBig']	= '.jpg';
crossStyleTemplate['_Sonnenbrillen']['mastercrossTarget']= 'CrossStylesTable';
crossStyleTemplate['_Sonnenbrillen']['crossTarget']			= 'CrossFlaecheContent';
crossStyleTemplate['_Sonnenbrillen']['genTemplate']		= function() { genDefaultCrossStyles();};
crossStyleTemplate['_Schuhe']									= new Object();
crossStyleTemplate['_Schuhe']['styleStart'] 				= 1;
crossStyleTemplate['_Schuhe']['styleAnzahl'] 				= 3;
crossStyleTemplate['_Schuhe']['srcPfad']					= 'PicDestStyleSuitingsSmall';
crossStyleTemplate['_Schuhe']['imgSize']					= new Array('86', '93');
crossStyleTemplate['_Schuhe']['srcPfadBig'] 				= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_Schuhe']['dateiEndung']			= '.gif';
crossStyleTemplate['_Schuhe']['dateiEndungBig']		= '.jpg';
crossStyleTemplate['_Schuhe']['mastercrossTarget']	= 'CrossStylesTable';
crossStyleTemplate['_Schuhe']['crossTarget']				= 'CrossFlaecheContent';
crossStyleTemplate['_Schuhe']['genTemplate']			= function() { genDefaultCrossStyles();};
crossStyleTemplate['_Uhren']										= new Object();
crossStyleTemplate['_Uhren']['styleStart'] 					= 1;
crossStyleTemplate['_Uhren']['styleAnzahl'] 				= 3;
crossStyleTemplate['_Uhren']['srcPfad']						= 'PicDestStyleSuitingsSmall';
crossStyleTemplate['_Uhren']['imgSize']						= new Array('86', '93');
crossStyleTemplate['_Uhren']['srcPfadBig'] 				= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_Uhren']['dateiEndung']				= '.gif';
crossStyleTemplate['_Uhren']['dateiEndungBig']		= '.jpg';
crossStyleTemplate['_Uhren']['mastercrossTarget']	= 'CrossStylesTable';
crossStyleTemplate['_Uhren']['crossTarget']				= 'CrossFlaecheContent';
crossStyleTemplate['_Uhren']['genTemplate']			= function() { genDefaultCrossStyles();};
crossStyleTemplate['_Guertel']									= new Object();
crossStyleTemplate['_Guertel']['styleStart'] 				= 1;
crossStyleTemplate['_Guertel']['styleAnzahl'] 				= 3;
crossStyleTemplate['_Guertel']['srcPfad']					= 'PicDestStyleSuitingsSmall';
crossStyleTemplate['_Guertel']['imgSize']					= new Array('86', '93');
crossStyleTemplate['_Guertel']['srcPfadBig'] 				= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_Guertel']['dateiEndung']			= '.gif';
crossStyleTemplate['_Guertel']['dateiEndungBig']		= '.jpg';
crossStyleTemplate['_Guertel']['mastercrossTarget']	= 'CrossStylesTable';
crossStyleTemplate['_Guertel']['crossTarget']				= 'CrossFlaecheContent';
crossStyleTemplate['_Guertel']['genTemplate']			= function() { genDefaultCrossStyles();};
crossStyleTemplate['_Schmuck']									= new Object();
crossStyleTemplate['_Schmuck']['styleStart'] 				= 1;
crossStyleTemplate['_Schmuck']['styleAnzahl'] 			= 3;
crossStyleTemplate['_Schmuck']['srcPfad']					= 'PicDestStyleSuitingsSmall';
crossStyleTemplate['_Schmuck']['imgSize']					= new Array('86', '93');
crossStyleTemplate['_Schmuck']['srcPfadBig'] 			= 'PicSrcCrossSellingFlat';
crossStyleTemplate['_Schmuck']['dateiEndung']			= '.gif';
crossStyleTemplate['_Schmuck']['dateiEndungBig']	= '.jpg';
crossStyleTemplate['_Schmuck']['mastercrossTarget']= 'CrossStylesTable';
crossStyleTemplate['_Schmuck']['crossTarget']			= 'CrossFlaecheContent';
crossStyleTemplate['_Schmuck']['genTemplate']		= function() { genDefaultCrossStyles();};
crossStyleTemplate['hinweislayer']								= new Object();
crossStyleTemplate['hinweislayer']['styleStart'] 			= 1;
crossStyleTemplate['hinweislayer']['styleAnzahl'] 		= 3;
crossStyleTemplate['hinweislayer']['srcPfad']				= 'PicSrcCrossSellingFlat';
crossStyleTemplate['hinweislayer']['dateiEndung']		= '.jpg';
crossStyleTemplate['hinweislayer']['crossTarget']		= 'CrossFrame2';
crossStyleTemplate['hinweislayer']['genTemplate']	= function() { genHinweislayerCrossStyles(); };
crossStyleTemplate['hinweislayerV2']								= new Object();
crossStyleTemplate['hinweislayerV2']['styleStart'] 			= 1;
crossStyleTemplate['hinweislayerV2']['styleAnzahl'] 		= 3;
crossStyleTemplate['hinweislayerV2']['srcPfad']				= 'PicSrcCrossSellingFlat';
crossStyleTemplate['hinweislayerV2']['imgSize']				= new Array('175', '280');
crossStyleTemplate['hinweislayerV2']['dateiEndung']		= '.jpg';
crossStyleTemplate['hinweislayerV2']['crossTarget']		= 'crossTableContent';
crossStyleTemplate['hinweislayerV2']['genTemplate']	= function() { genHinweislayerCrossStylesV2(); };

function initCrossStyles(styleNumber, ColorNr, template)
{
	$(crossStyleTemplate[template]['crossTarget']).innerHTML = '';	
	this.template = template;
	this.ColorNr = ColorNr;
	var inputFileName = '../../CrossXML/' + styleNumber + '.xml';
	new Ajax.Request(inputFileName,{
		asynchronous: false,
		onSuccess: function(transport) {			
			var crossJson 				= new XML.ObjTree();		
			var crossStyleList			= crossJson.parseXML(transport.responseText);		
			crossStyleList 				= crossStyleList.land;	
			if(crossStyleList.CrossStyles.length == undefined) {	
				if(crossStyleList.CrossStyles['-masterFlagHidden'] == 'Falsch' ) {		
					crossStyleObj 				= crossStyleList.CrossStyles;
					masterStyleId 				= formatStyleId(crossStyleObj['-masterId']);
					masterStyleNumber 	= crossStyleObj['-masterStyleNumber'];
					crossStyleObj 				= crossStyleObj.CrossStyle;
				}
			} else {
				for(i=0; i < crossStyleList.CrossStyles.length; ++i) {			
					if(crossStyleList.CrossStyles[i]['-language'] == strLng && crossStyleList.CrossStyles[i]['-masterFlagHidden'] == 'Falsch' )	{
						crossStyleObj 				= crossStyleList.CrossStyles[i];
						masterStyleId 				= formatStyleId(crossStyleObj['-masterId']);
						masterStyleNumber 	= crossStyleObj['-masterStyleNumber'];
						crossStyleObj 				= crossStyleObj.CrossStyle;
					}
				}							
			}
			
			if(typeof crossStyleObj != 'undefined') {
				if(getActiveColor(ColorNr)) {
					if(getVisibilStyles()) {
						crossStyleTemplate[template]['genTemplate']();
					}
				}
			}		
		},
		onFailure: function() {
			$("CrossStylesTable").style.display = "none";
		}	
	});
}

function initCrossStylesHidden(styleNumber, ColorNr, template)
{
//	$(crossStyleTemplate[template]['crossTarget']).innerHTML = '';	
	this.template = template;
	this.ColorNr = ColorNr;
	var inputFileName = '../../CrossXML/' + styleNumber + '.xml';
	new Ajax.Request(inputFileName,{
		asynchronous: false,
		onSuccess: function(transport) {			
			var crossJson 				= new XML.ObjTree();		
			var crossStyleList			= crossJson.parseXML(transport.responseText);		
			crossStyleList 				= crossStyleList.land;	
			if(crossStyleList.CrossStyles.length == undefined) {	
				if(crossStyleList.CrossStyles['-masterFlagHidden'] == 'Falsch' ) {		
					crossStyleObj 				= crossStyleList.CrossStyles;
					masterStyleId 				= formatStyleId(crossStyleObj['-masterId']);
					masterStyleNumber 	= crossStyleObj['-masterStyleNumber'];
					crossStyleObj 				= crossStyleObj.CrossStyle;
				}
			} else {
				for(i=0; i < crossStyleList.CrossStyles.length; ++i) {			
					if(crossStyleList.CrossStyles[i]['-language'] == strLng && crossStyleList.CrossStyles[i]['-masterFlagHidden'] == 'Falsch' )	{
						crossStyleObj 				= crossStyleList.CrossStyles[i];
						masterStyleId 				= formatStyleId(crossStyleObj['-masterId']);
						masterStyleNumber 	= crossStyleObj['-masterStyleNumber'];
						crossStyleObj 				= crossStyleObj.CrossStyle;
					}
				}							
			}		
		},
		onFailure: function() {
			$("CrossStylesTable").style.display = "none";
		}	
	});
}

function getCrossRefpage()
{
	var refPageArr = document.location.href.split('/Shop/');
	var refPageStr = refPageArr[(refPageArr.length - 1)].replace(document.location.search, '');
	refPageStr = refPageStr.replace('#', '');
	var documentParameterArr = document.location.search.split('&');
	var refPageOrg = getParameter('refpage', documentParameterArr);			
	var refpage = '&refpageCross=' + refPageStr;
	
	if(refPageOrg) {
		refpage = refpage + '&refpage=' + refPageOrg;
	}	
	return refpage;
}

function changeCrossColor(ColorNr)
{
	if(crossStyleObj != null) {
		$(crossStyleTemplate[template]['crossTarget']).innerHTML = '';
		if($(crossStyleTemplate[template]['crossTargetText'])) {
			$(crossStyleTemplate[template]['crossTargetText']).innerHTML = '';
		}
		activeColor 		= null;
		activeColor		= new Array();
		activeStlyeList = null;
		activeStlyeList = new Array();
		this.ColorNr = ColorNr;	
		if(getActiveColor(ColorNr)) {
			if(getVisibilStyles()) {
				crossStyleTemplate[template]['genTemplate']();	
			}
		} else {
			if($("CrossStylesTable").style.visibility == 'hidden') {
				$("CrossStylesTable").style.visibility = 'visible';
			}
			if($("CrossStylesTable").style.display == "none") {
				$("CrossStylesTable").style.display = "block";
			}					
		}	
	}
}

function getActiveColor(ColorNr)
{
	if(crossStyleObj.length == undefined) {
		activeColor	= crossStyleObj.StyleInfo;
	} else {
		for(var i=0; i < crossStyleObj.length; ++i) {		
			if(crossStyleObj[i]['-masterColor'] == ColorNr) {
				activeColor	= crossStyleObj[i].StyleInfo;
			}	
		}
	}
	if(typeof activeColor ==  'undefined' || activeColor.length == undefined) {
		return false;
	} else {
		return true;	
	}
}

function getVisibilStyles()
{
/*	if(template != '_Suitings' || false) {
		for(var i=0; i < activeColor.length; ++i) {	
			if(activeColor[i].FlagHidden == 'Falsch') {
				activeStlyeList.push(activeColor[i]);	
			}	
		} 
	} else {*/
		for(var i=0; i < activeColor.length; ++i) {	
			activeStlyeList.push(activeColor[i]);	
		} 
//	}
	if(activeStlyeList.length == undefined || activeStlyeList.length <= 0) {
		return false;
	} else {
		return true;
	}
}

function formatStyleId(styleId)
{
	for(intK = styleId.length; intK < 8; intK++) {
		 styleId = '0'+styleId;	
	}
	return styleId;
}

var suitingStylelink = new Object();
function genSuitingsCrossStyles()
{
	var styleAnzahl 	= crossStyleTemplate[template]['styleAnzahl'] + crossStyleTemplate[template]['styleStart'];
	var imgPfad 		= imgBaseSrc + crossStyleTemplate[template]['srcPfad']	+'/';
	var textList 			= new Element('ul', {'style': 'margin:0; padding:0;list-style:none; font-size:7pt; '});
	var picList 			= new Element('ul', {'style': 'list-style:none;float:left; margin:0; padding:0;'});
	
	// Wenn nicht ausreichend Styles Sichtbar sind:
	if(styleAnzahl > activeStlyeList.length) {
		styleAnzahl = 	activeStlyeList.length;
	} 

	for(var i=0; i < styleAnzahl; ++i) {
		var isSoldout = false;
		var ersatzStyle = i +2;
		if(activeStlyeList[i].FlagHidden == 'Wahr' && i <=1) {
			isSoldout = true;
		} else if(i>1 && i< 4) {
			if((i== 2 || i== 3) && typeof activeStlyeList[ersatzStyle] != 'undefined' && activeStlyeList[i].FlagHidden == 'Wahr' && activeStlyeList[ersatzStyle].FlagHidden != 'Wahr') {
				activeStlyeList[i] = activeStlyeList[ersatzStyle];
			} else {	
				if(activeStlyeList[i].FlagHidden == 'Falsch') {
					isSoldout = false;
				} else {
					isSoldout = true;
				}
			}
		}

		// BildElemente Suitings
		styleID 			= formatStyleId(activeStlyeList[i]['-id']);
		styleColor 	= activeStlyeList[i].CrossStyleColorNumber;
		suitingStylelink[styleID] 		= 'id=' + styleID + '&color=' + styleColor + '&language='+ strLng;
		picLiElement 								= new Element('li', {'style': 'float:left; margin:0; padding:0; font-size:10px; '}); 
		imgSrc 										= imgPfad + activeStlyeList[i].StyleNumber + '_' + activeStlyeList[i].CrossStyleColorNumber + crossStyleTemplate[template]['dateiEndung'];
		masterPicDiv 								= new Element('div', {'style': 'height: 160px; width: 150px; position:relative;'});
		imgObj 										= new Element('img', {'id': 'pic_'+styleID, 'src' :  imgSrc, 'width': 150, 'height': 160, 'style': 'cursor:pointer;'});	
		imgCount 									= new Element('img', {'id': 'picCount_'+styleID, 'src' : '../../Img/Product/' + strLng + '/outfit_'+ (i+1) + '.gif', 'style': 'position:absolute; top:5px; left:5px; z-index:2;'});
		mehrDivElement			 				= new Element('div', {'id': 'mehrDiv_'+styleID, 'style': 'cursor:pointer; position:absolute; bottom:10px; left:10px; z-index:2; color:#FF0000; background:#FFFFFF;'});
		mehrSpanElement 						= new Element('span', {'style': 'text-decoration:underline;'})
		mehrSpanElement.innerHTML 	= mehrTextLink[strLng];
		mehrDivElement.innerHTML 		= '+ ';
		mehrDivElement.appendChild(mehrSpanElement);
		masterPicDiv.appendChild(imgCount);
		masterPicDiv.appendChild(imgObj);
		masterPicDiv.appendChild(mehrDivElement);
		picLiElement.appendChild(masterPicDiv);
		picList.appendChild(picLiElement);
		if(isSoldout) {
			var soldoutDiv = new Element('div', {'style': 'position:absolute; top:72px; left:47px; z-index:2; height:17px; width:57px;'})
			var soldoutImg = new Element('img', {'src': '../../Img/Product/'+strLng+'/ausverkauft.gif'});	
			soldoutDiv.appendChild(soldoutImg);
			masterPicDiv.appendChild(soldoutDiv);
		}		

		mehrDivElement.observe('click', function(event) { CrossStyleAnzeigen(suitingStylelink[this.id.split('_')[1]]);} );
		imgObj.observe('click', function(event) { CrossStyleAnzeigen(suitingStylelink[this.id.split('_')[1]]);}) ;
		
		// TextElemente Suitings
		imgCountText = new Element('img', {'id': 'text_'+i, 'src' : '../../Img/Product/' + strLng + '/outfit_'+ (i+1) + '.gif'});
		listCountDiv = new Element('div', {'id': 'countText_' + styleID,  'style': 'width:116px; font-size:7pt; '});
		listPreisDiv = new Element('div', {'id': 'preisDiv_' + styleID, 'style': 'cursor:pointer;font-size: 10px; color: rgb(102, 102, 102);'});
		if(activeStlyeList[i].PriceBasic == activeStlyeList[i].PriceNew) {
			preis = ToCurr(activeStlyeList[i].PriceBasic);
		} else {
			preis = ToCurr(activeStlyeList[i].PriceNew);
		//	listPreisDiv.style.color = 'FF0000';
		}
		listPreisDiv.innerHTML =  waehrung + ' ' +preis;
		pixelStr = strLng+'.product_suitings.text.cs' + i;
		listPreisDiv.observe('click', function(event) {
																				CrossStyleAnzeigen(suitingStylelink[this.id.split('_')[1]]); 
																				wt_sendinfo( pixelStr, 'click'); 
																				} );
		listCountDiv.appendChild(imgCountText);
		listTitleText = new Element('span', {'id': 'textTitel_'+styleID, 'style': 'width:175px;text-decoration:underline;color:#666666; cursor:pointer;'});
		listTitleText.innerHTML = activeStlyeList[i].StyleName;
		listTitleText.observe('click', function(event) {
																				CrossStyleAnzeigen(suitingStylelink[this.id.split('_')[1]]); 
																				wt_sendinfo(pixelStr, 'click'); 
																				} );
		var listPointText = new Element('li', {'style': 'width:180px;'});		
			listPointText.appendChild(listCountDiv);		
			listPointText.appendChild(listTitleText);		
			listPointText.appendChild(listPreisDiv);
		// Fittip
		if(activeStlyeList[i].DescStyleFitTip3 != undefined) {
			var fittipSpan 	= new Element('span', {'style': 'color:#FF0000; font-size:7pt;'});
			var fittipSpan2 = new Element('span', {'style': 'color:#FF0000; font-size:7pt; text-decoration:underline; cursor:pointer;'});
			var fitText = activeStlyeList[i].DescStyleFitTip3;
			fittipSpan2.innerHTML = fitText;
			strDivision = activeStlyeList[i].Division;
			pixel2Str = strLng + '.popup.Hosenfit_passform_info_' + Welt + '_'+ strDivision;
			fittipSpan2.observe('click', function(event) { if(Welt == 'men') {
																						WinOutMenSuitings();
																					} else {
																						WinOutHosenFitwomen(fitText); 
																					}
																					wt_sendinfo(pixel2Str);
																				});
			fittipSpan.innerHTML = fitTipText[strLng];
			fittipSpan.appendChild(fittipSpan2);
			listPointText.appendChild(fittipSpan);
		}		
		textList.appendChild(listPointText);		
	}
	$(crossStyleTemplate[template]['crossTargetText']).appendChild(textList);
	$(crossStyleTemplate[template]['crossTarget']).appendChild(picList)
	$(crossStyleTemplate[template]['crossTarget']).style.width = '301px';
	$(crossStyleTemplate[template]['crossTarget']).style.height = '320px';	
}

var aktiveTemplate = new Object();
function genOutfitCrossStyles()
{
	var styleAnzahl 	= crossStyleTemplate[template]['styleAnzahl'] + crossStyleTemplate[template]['styleStart'];
	var imgPfad 		= imgBaseSrc + crossStyleTemplate[template]['srcPfad']	+'/';
	var textList 			= new Element('ul', {'style': 'margin:0; padding:0;list-style:none; font-size:7pt; '});
	var picList 			= new Element('ul', {'style': 'list-style:none;float:left; margin:0; padding:0;'});
	
	// Wenn nicht ausreichend Styles Sichtbar sind:
	if(styleAnzahl > activeStlyeList.length) {
		styleAnzahl = 	activeStlyeList.length;
	} 
	
	for(var i=0; i < styleAnzahl; ++i) {
		var isSoldout = false;
		var ersatzStyle = i +2;
		if(activeStlyeList[i].FlagHidden == 'Wahr' && i <=1) {
			isSoldout = true;
		} else if(i>1 && i< 4) {
			if((i== 2 || i== 3) && typeof activeStlyeList[ersatzStyle] != 'undefined' && activeStlyeList[i].FlagHidden == 'Wahr' && activeStlyeList[ersatzStyle].FlagHidden != 'Wahr') {
				activeStlyeList[i] = activeStlyeList[ersatzStyle];
			} else {	
				if(activeStlyeList[i].FlagHidden == 'Falsch') {
					isSoldout = false;
				} else {
					isSoldout = true;
				}
			}
		}

		// BildElemente Suitings
		styleID 			= formatStyleId(activeStlyeList[i]['-id']);
		styleColor 	= activeStlyeList[i].CrossStyleColorNumber;
		if(activeStlyeList[i].ProductTemplate == '_StandardV2' || activeStlyeList[i].ProductTemplate ==  '_Outfit') {
			aktiveTemplate[styleID] = '_Outfit_iFrame';
		} else {
			aktiveTemplate[styleID] = '_Suitings_iFrameV2';	
		}
		suitingStylelink[styleID] 		= 'id=' + styleID + '&color=' + styleColor + '&language='+ strLng;
		picLiElement 								= new Element('li', {'style': 'float:left; margin:0; padding:0; font-size:10px; '}); 
		imgSrc 										= imgPfad + activeStlyeList[i].StyleNumber + '_' + activeStlyeList[i].CrossStyleColorNumber + crossStyleTemplate[template]['dateiEndung'];
		masterPicDiv 								= new Element('div', {'style': 'height: 135px; width: 135px; position:relative; border-right: 1px solid #d2d2d2; border-bottom: 1px solid #d2d2d2; overflow:hidden;'});
		imgObj 										= new Element('img', {'id': 'pic_'+styleID, 'src' :  imgSrc, 'style': 'width:'+crossStyleTemplate[template]['imgSize'][0]+'px; height: '+crossStyleTemplate[template]['imgSize'][1]+'px; margin: 5px 0px 0px 5px; cursor:pointer;'});	
		imgCount 									= new Element('img', {'id': 'picCount_'+styleID, 'src' : '../../Img/Product/' + strLng + '/outfit_'+ (i+1) + '.gif', 'style': 	'position:absolute; top:5px; left:5px; z-index:2;'});
		mehrDivElement			 				= new Element('div', {'id': 'mehrDiv_'+styleID, 'style': 'cursor:pointer; position:absolute; bottom:10px; left:10px; 	z-index:2; color:#FF0000; background:#FFFFFF;'});
		mehrSpanElement 						= new Element('span', {'style': 'text-decoration:underline;'})
		mehrSpanElement.innerHTML 	= mehrTextLink[strLng];
		mehrDivElement.innerHTML 		= '+ ';
		mehrDivElement.appendChild(mehrSpanElement);
		masterPicDiv.appendChild(imgCount);
		masterPicDiv.appendChild(imgObj);
		picLiElement.appendChild(masterPicDiv);
		picList.appendChild(picLiElement);
		if(isSoldout) {
			var soldoutDiv = new Element('div', {'style': 'position:absolute; top:72px; left:47px; z-index:2; height:17px; width:57px;'})
			var soldoutImg = new Element('img', {'src': '../../Img/Product/'+strLng+'/ausverkauft.gif'});	
			soldoutDiv.appendChild(soldoutImg);
			masterPicDiv.appendChild(soldoutDiv);
		}		

		mehrDivElement.observe('click', function(event) { CrossStyleAnzeigen(suitingStylelink[this.id.split('_')[1]], aktiveTemplate[this.id.split('_')[1]]);} );
		imgObj.observe('click', function(event) { CrossStyleAnzeigen(suitingStylelink[this.id.split('_')[1]], aktiveTemplate[this.id.split('_')[1]]);}) ;
		
		// TextElemente Suitings
		imgCountText = new Element('img', {'id': 'text_'+i, 'src' : '../../Img/Product/' + strLng + '/outfit_'+ (i+1) + '.gif'});
		listCountDiv = new Element('div', {'id': 'countText_' + styleID,  'style': 'width:116px; font-size:7pt; '});
		listPreisDiv = new Element('div', {'id': 'preisDiv_' + styleID, 'style': 'cursor:pointer;font-size: 10px; color: rgb(102, 102, 102);'});
		if(activeStlyeList[i].PriceBasic == activeStlyeList[i].PriceNew) {
			listPreisDiv.innerHTML =  waehrung + ' ' +ToCurr(activeStlyeList[i].PriceBasic);
		} else {
			listPreisDiv.innerHTML =  '<span class="PriceOld">'+ waehrung + ' ' +ToCurr(activeStlyeList[i].PriceBasic) + '</span> <span class="PriceNew">Now '+ waehrung + ' ' + ToCurr(activeStlyeList[i].PriceNew) + '</span>';
		//	listPreisDiv.style.color = 'FF0000';
		}
		pixelStr = strLng+'.product_suitings.text.cs' + i;
		listPreisDiv.observe('click', function(event) {
																				CrossStyleAnzeigen(suitingStylelink[this.id.split('_')[1]], aktiveTemplate[this.id.split('_')[1]]); 
																				wt_sendinfo( pixelStr, 'click'); 
																				} );
		listCountDiv.appendChild(imgCountText);
		listTitleText = new Element('span', {'id': 'textTitel_'+styleID, 'style': 'width:175px;text-decoration:underline;color:#666666; cursor:pointer;'});
		listTitleText.innerHTML = activeStlyeList[i].StyleName + '<br />';
		listTitleText.observe('click', function(event) {
																				CrossStyleAnzeigen(suitingStylelink[this.id.split('_')[1]], aktiveTemplate[this.id.split('_')[1]]); 
																				wt_sendinfo(pixelStr, 'click'); 
																				} );
		var listPointText = new Element('li', {'style': 'width:180px;'});		
			listPointText.appendChild(listCountDiv);		
			listPointText.appendChild(listTitleText);
		// Fittip
		if(activeStlyeList[i].DescStyleFitTip3 != undefined) {
			var fittipSpan 	= new Element('span', {'style': 'color:#FF0000; font-size:7pt;'});
			var fittipSpan2 = new Element('span', {'style': 'color:#FF0000; font-size:7pt; text-decoration:underline; cursor:pointer;'});
			var fitText = activeStlyeList[i].DescStyleFitTip3;
			fittipSpan2.innerHTML = fitText;
			strDivision = activeStlyeList[i].Division;
			pixel2Str = strLng + '.popup.Hosenfit_passform_info_' + Welt + '_'+ strDivision;
			fittipSpan2.observe('click', function(event) { WinOutHosenFitwomen(fitText); 
																					wt_sendinfo(pixel2Str);
																				});
			fittipSpan.innerHTML = fitTipText[strLng];
			fittipSpan.appendChild(fittipSpan2);
			listPointText.appendChild(fittipSpan);
		}		
		listPointText.appendChild(listPreisDiv);		
		textList.appendChild(listPointText);
	}
	
	$(crossStyleTemplate[template]['crossTargetText']).appendChild(textList);
	$(crossStyleTemplate[template]['crossTarget']).appendChild(picList);
	$(crossStyleTemplate[template]['crossTarget']).style.width = '272px';
	$(crossStyleTemplate[template]['crossTarget']).style.height = '270px';	
}

function genDefaultCrossStyles()
{
	var styleAnzahl 		= crossStyleTemplate[template]['styleAnzahl'] + crossStyleTemplate[template]['styleStart'];
	var styleAnzahlFinal = 0;
	var imgPfad 			= imgBaseSrc + crossStyleTemplate[template]['srcPfad']	+ '/';
	var imgPfadBig 		= imgBaseSrc + crossStyleTemplate[template]['srcPfadBig']	+ '/';
	var styleRefpages 	= getCrossRefpage();	
	/* Wenn nicht ausreichend Styles Sichtbar sind: */
	if(styleAnzahl > activeStlyeList.length) {
		styleAnzahl = 	activeStlyeList.length;
	} 
	for(var i=crossStyleTemplate[template]['styleStart']; i < styleAnzahl; ++i) {
		var ersatzStyle = i +3;
		if(typeof activeStlyeList[ersatzStyle] != 'undefined') {
			if( (activeStlyeList[i].FlagHidden == 'Wahr') ) {
				if(activeStlyeList[ersatzStyle].FlagHidden != 'Wahr') {
					activeStlyeList[i] = activeStlyeList[ersatzStyle];		
				}
			} 
		}
		linkStr = 'HtmlProduct'+activeStlyeList[i].ProductTemplate + '.html?id='+formatStyleId(activeStlyeList[i]['-id'])
																										+ '&defcolor='+activeStlyeList[i].CrossStyleColorNumber
																										+ '&MasterStyle=' + masterStyleNumber
																										+ '&SelectedColor=' + ColorNr
																										+ '&MasterID=' + masterStyleId
																										+ styleRefpages;
		linkObj 							= new Element('a', {'href': linkStr});
		imgSrc 							= imgPfad + activeStlyeList[i].StyleNumber + '_' + activeStlyeList[i].CrossStyleColorNumber + crossStyleTemplate[template]['dateiEndung'];
		imgSrcBig						= imgPfadBig + activeStlyeList[i].StyleNumber + '_' + activeStlyeList[i].CrossStyleColorNumber + crossStyleTemplate[template]['dateiEndungBig'];
		var imgId 						= 'crossStyle_' + i;
		imgObj 							= new Element('img', {'id': imgId, 'src' :  imgSrc, 'border': '0', 'style': 'margin: 0 0 -2px 0;'});
		var aktiveStyleName 		= activeStlyeList[i].StyleName;
		var aktivePreis 				= ToCurr(activeStlyeList[i].PriceBasic);
		crossMouseOver[imgId] 	= 'vergroessern(\''+imgSrcBig+'\', \''+aktiveStyleName+'\', \''+ aktivePreis+'\');';
		imgObj.observe('mouseover',  function(event) {  eval(crossMouseOver[this.id]); } ); 
		imgObj.observe('mouseout', function(event) { verkleinern(); });
		linkObj.appendChild(imgObj);		
		if(activeStlyeList[i].FlagHidden != 'Wahr') {
			$(crossStyleTemplate[template]['crossTarget']).appendChild(linkObj);
			styleAnzahlFinal++;
		}
	}
	
	if(styleAnzahlFinal > 1) {
		if($("CrossStylesTable").style.visibility == 'hidden') {
			blnNoCrossStyle = true;
			$("CrossStylesTable").style.visibility = 'visible';
		}
		if($("CrossStylesTable").style.display == "none") {
			blnNoCrossStyle = false;
			$("CrossStylesTable").style.display = "block";
		}
	} else {
		if($("CrossStylesTable").style.visibility == 'visible') {
			blnNoCrossStyle = true;
			$("CrossStylesTable").style.visibility = 'hidden';
		}
		if($("CrossStylesTable").style.display == "block") {
			blnNoCrossStyle = false;
			$("CrossStylesTable").style.display = "none";
		}		
	}
}

function genDefaultCrossStylesV2()
{
	var styleAnzahl 		= crossStyleTemplate[template]['styleAnzahl'] + crossStyleTemplate[template]['styleStart'];
	var imgPfad 			= imgBaseSrc + crossStyleTemplate[template]['srcPfad']	+ '/';
	var imgPfadBig 		= imgBaseSrc + crossStyleTemplate[template]['srcPfadBig']	+ '/';
	var styleAnzahlFinal = 0;
	var styleRefpages 	= getCrossRefpage();
	var styleList 				= new Element('ul', {'id': 'crossStyleList'});
	/* Wenn nicht ausreichend Styles Sichtbar sind: */
	if(styleAnzahl > activeStlyeList.length) {
		styleAnzahl = 	activeStlyeList.length;
	} 
	for(var i=crossStyleTemplate[template]['styleStart']; i < styleAnzahl; ++i) {
		var ersatzStyle = i +3;
		if(typeof activeStlyeList[ersatzStyle] != 'undefined') {
			if( (activeStlyeList[i].FlagHidden == 'Wahr') ) {
				if(activeStlyeList[ersatzStyle].FlagHidden != 'Wahr') {
					activeStlyeList[i] = activeStlyeList[ersatzStyle];		
				}
			} 
		}
		var styleListElement = new Element('li', {'id': 'style_li_' + activeStlyeList[i].CrossStyleColorNumber});
		linkStr = 'HtmlProduct'+activeStlyeList[i].ProductTemplate + '.html?id='+formatStyleId(activeStlyeList[i]['-id'])
																										+ '&defcolor='+activeStlyeList[i].CrossStyleColorNumber
																										+ '&MasterStyle=' + masterStyleNumber
																										+ '&SelectedColor=' + ColorNr
																										+ '&MasterID=' + masterStyleId
																										+ styleRefpages;
		linkObj 							= new Element('a', {'href': linkStr});
		imgSrc 							= imgPfad + activeStlyeList[i].StyleNumber + '_' + activeStlyeList[i].CrossStyleColorNumber + crossStyleTemplate[template]['dateiEndung'];
		imgSrcBig						= imgPfadBig + activeStlyeList[i].StyleNumber + '_' + activeStlyeList[i].CrossStyleColorNumber + crossStyleTemplate[template]['dateiEndungBig'];
		var imgId 						= 'crossStyle_' + i;
		//imgObj 							= new Element('img', {'id': imgId, 'src' :  imgSrc, 'border': '0', 'style': 'margin: 0 0 -10px 0;'});
		
		imgObj = new Image();
		imgObj.src = imgSrc;
		imgObj.id = imgId;
		imgObj.border = '0';
		var aktiveStyleName 		= activeStlyeList[i].StyleName;
		var aktivePreis 				= ToCurr(activeStlyeList[i].PriceBasic);
		var neuerPreis					= ToCurr(activeStlyeList[i].PriceNew);
		
		crossMouseOver[imgId] 	= 'vergroessern(\''+imgSrcBig+'\', \''+aktiveStyleName+'\', \''+ aktivePreis+'\');';

		linkObj.appendChild(imgObj);	
		styleListElement.appendChild(linkObj);
		var styleNameSpan = new Element('div', {'class': 'stylename'});	
		styleNameSpan.innerHTML = activeStlyeList[i].StyleName;
		styleListElement.appendChild(styleNameSpan);
		var stylePriceSpan = new Element('div', {'class': 'priceBasic'});
		
		if(waehrung != undefined && aktivePreis == neuerPreis) {
			stylePriceSpan.innerHTML = waehrung + ' ' + aktivePreis;
		} else if(waehrung != undefined && aktivePreis != neuerPreis) {
			stylePriceSpan.innerHTML = '<span style="text-decoration: line-through">' + aktivePreis + '</span> <span style="color: rgb(255, 0, 0);">' + waehrung + ' ' + neuerPreis + '</span>';
		} else {
			stylePriceSpan.innerHTML = aktivePreis;
		}
		styleListElement.appendChild(stylePriceSpan);
		/* Trenner */
		
		if(i == crossStyleTemplate[template]['styleStart'] || i != (styleAnzahl -1)) {
			var trennerImg = new Element('img', {'class': 'trenner', 'src': '../../Img/Product/'+strLng+'/StandartV2/cross_trenner.gif'});
			styleListElement.appendChild(trennerImg);
		}		
		
		if(activeStlyeList[i].FlagHidden != 'Wahr') {
			styleList.appendChild(styleListElement);
			styleAnzahlFinal++;
		}
	}
	$(crossStyleTemplate[template]['crossTarget']).appendChild(styleList);
		
	if(styleAnzahl > 1) {
		if($("CrossStylesTable").style.visibility == 'hidden') {
			blnNoCrossStyle = true;
			$("CrossStylesTable").style.visibility = 'visible';
		}
		if($("CrossStylesTable").style.display == "none") {
			blnNoCrossStyle = false;
			$("CrossStylesTable").style.display = "block";
		}
	} else {
		if($("CrossStylesTable").style.visibility == 'visible') {
			blnNoCrossStyle = true;
			$("CrossStylesTable").style.visibility = 'hidden';
		}
		if($("CrossStylesTable").style.display == "block") {
			blnNoCrossStyle = false;
			$("CrossStylesTable").style.display = "none";
		}		
	}
}

function genHinweislayerCrossStyles()
{	
	
	if($(crossStyleTemplate['hinweislayer']['crossTarget']) != null) {
		$(crossStyleTemplate['hinweislayer']['crossTarget']).innerHTML = '';
		var styleAnzahl 		= crossStyleTemplate['hinweislayer']['styleAnzahl'] + crossStyleTemplate['hinweislayer']['styleStart'];
		var imgPfad 			= imgBaseSrc + crossStyleTemplate['hinweislayer']['srcPfad']	+ '/';
		var styleRefpages	= getCrossRefpage();
		/* Wenn nicht ausreichend Styles Sichtbar sind: */
		if(styleAnzahl > activeStlyeList.length) {
			styleAnzahl = 	activeStlyeList.length;
		} 		
		var descriptList = new Element('ul', {'style': 'width:570px; margin:20px 7px 0 7px;padding:0;color: rgb(95, 95, 95); background-color: rgb(243, 240, 236); list-style:none; float:left; font-size:10px; '});
		for(var i=crossStyleTemplate['hinweislayer']['styleStart'] ; i < styleAnzahl; ++i) {
			linkStr = 'HtmlProduct'+activeStlyeList[i].ProductTemplate+'.html?id='+formatStyleId(activeStlyeList[i]['-id'])
																											+ '&defcolor='+activeStlyeList[i].CrossStyleColorNumber
																											+ '&MasterStyle=' + masterStyleNumber
																											+ '&SelectedColor=' + ColorNr
																											+ '&MasterID=' + masterStyleId
																											+ styleRefpages;
			linkObj 	= new Element('a', {'href': linkStr});
			imgSrc 	= imgPfad + activeStlyeList[i].StyleNumber + '_' + activeStlyeList[i].CrossStyleColorNumber + crossStyleTemplate['hinweislayer']['dateiEndung'];
			imgObj 	= new Element('img', {'src' :  imgSrc, 
																'border': '0'});
			linkObj.appendChild(imgObj);		
			$(crossStyleTemplate['hinweislayer']['crossTarget']).appendChild(linkObj);			
			/* BeschreibungsListenpunk	*/	
			descriptListpoint 						= new Element('li', {'style': 'width:185px; height:25px; font-size:7pt; position:relative;  float:left;'});
			var listPfleilImg 							= new Image();
			descDiv 										= new Element('div', {'style': 'width:170px; position:absolute; left:20px; top:0px; font-size:7pt; '});
			listPfleilImg.src 							= '../../Img/Product/' + strLng +  '/cross_iframe_pfeil.gif';	
			listPfleilImg.style.float 					= 'left';	
			listPfleilImg.style.border 				= 0;
			imgPfeilDiv 									= new Element('div', {'style': 'width:14px; font-size:7pt; '});
			imgPfeilDiv.appendChild(listPfleilImg);
			overStyleNameText 					= new Element('div', {'style': 'width:176px; font-size:7pt; '});
			overStyleNameText.innerHTML 	= activeStlyeList[i].StyleName;		
			descriptListpoint.appendChild(imgPfeilDiv);
			descDiv.appendChild(overStyleNameText);		
			listPreisSpan = new Element('div', {'style': 'width:176px; font-size:7pt; cursor:pointer;'});
			if(activeStlyeList[i].PriceBasic > activeStlyeList[i].PriceNew) {
				preis = ToCurr(activeStlyeList[i].PriceBasic);
			} else {
				preis = ToCurr(activeStlyeList[i].PriceNew);
			//	listPreisDiv.style.color = 'FF0000';
			}
			
			listPreisSpan.innerHTML =  waehrung + ' ' +preis;
			listPreisSpan.observe('click', function(event) { document.location.href = linkStr; });
			descDiv.appendChild(listPreisSpan);
			descriptListpoint.appendChild(descDiv);			
			descriptList.appendChild(descriptListpoint);
			
		}	
		$(crossStyleTemplate['hinweislayer']['crossTarget']).appendChild(descriptList);	
	}
}

function genHinweislayerCrossStylesV2()
{	
	
	if($(crossStyleTemplate['hinweislayerV2']['crossTarget']) != null) {
		$(crossStyleTemplate['hinweislayerV2']['crossTarget']).innerHTML = '';
		var styleAnzahl 		= crossStyleTemplate['hinweislayer']['styleAnzahl'] + crossStyleTemplate['hinweislayerV2']['styleStart'];
		var imgPfad 			= imgBaseSrc + crossStyleTemplate['hinweislayerV2']['srcPfad']	+ '/';
		var styleRefpages	= getCrossRefpage();
		/* Wenn nicht ausreichend Styles Sichtbar sind: */
		if(styleAnzahl > activeStlyeList.length) {
			styleAnzahl = 	activeStlyeList.length;
		} 		
		var descriptList = new Element('ul', {'style': 'width:570px; margin:20px 7px 0 7px;padding:0;color: rgb(95, 95, 95); list-style:none; float:left; font-size:10px; '});
		$(crossStyleTemplate['hinweislayerV2']['crossTarget']).appendChild(descriptList);	
		for(var i=crossStyleTemplate['hinweislayerV2']['styleStart'] ; i < styleAnzahl; ++i) {
			linkStr = 'HtmlProduct'+activeStlyeList[i].ProductTemplate+'.html?id='+formatStyleId(activeStlyeList[i]['-id'])
																											+ '&defcolor='+activeStlyeList[i].CrossStyleColorNumber
																											+ '&MasterStyle=' + masterStyleNumber
																											+ '&SelectedColor=' + ColorNr
																											+ '&MasterID=' + masterStyleId
																											+ styleRefpages;
			linkObj 	= new Element('a', {'href': linkStr});
			imgSrc 	= imgPfad + activeStlyeList[i].StyleNumber + '_' + activeStlyeList[i].CrossStyleColorNumber + crossStyleTemplate['hinweislayerV2']['dateiEndung'];
			imgObj 	= new Element('img', {'src' :  imgSrc, 
																'border': '0',
																'width':crossStyleTemplate['hinweislayerV2']['imgSize'][0],
																'height':crossStyleTemplate['hinweislayerV2']['imgSize'][1]});
																
			linkObj.appendChild(imgObj);		
			$(crossStyleTemplate['hinweislayerV2']['crossTarget']).appendChild(linkObj);			
			/* BeschreibungsListenpunk	*/	
			descriptListpoint 						= new Element('li', {'style': 'width:185px; height:25px; font-size:10px; position:relative;  float:left;'});
			var listPfleilImg 							= new Image();
			descDiv 										= new Element('div', {'style': 'width:170px; position:absolute; left:18px; top:0px; font-size:10pt; font-weight:bold; '});
			listPfleilImg.src 							= '../../Img/Product/' + strLng +  '/StandartV2/shopping_basket_'+i+'.gif';	
			listPfleilImg.style.float 					= 'left';	
			listPfleilImg.style.border 				= 0;
			imgPfeilDiv 									= new Element('div', {'style': 'width:14px; font-size:7pt; '});
			imgPfeilDiv.appendChild(listPfleilImg);
			overStyleNameText 					= new Element('div', {'style': 'width:176px; font-size:7pt; '});
			overStyleNameText.innerHTML 	= activeStlyeList[i].StyleName;		
			descriptListpoint.appendChild(imgPfeilDiv);
			descDiv.appendChild(overStyleNameText);		
			listPreisSpan = new Element('div', {'style': 'width:176px; font-size:13px; color: #666666; cursor:pointer;'});
			if(activeStlyeList[i].PriceBasic > activeStlyeList[i].PriceNew) {
				preis = ToCurr(activeStlyeList[i].PriceBasic);
			} else {
				preis = ToCurr(activeStlyeList[i].PriceNew);
			//	listPreisDiv.style.color = 'FF0000';
			}
			
			listPreisSpan.innerHTML =  waehrung + ' ' +preis;
			listPreisSpan.observe('click', function(event) { document.location.href = linkStr; });
			descDiv.appendChild(listPreisSpan);
			descriptListpoint.appendChild(descDiv);			
			descriptList.appendChild(descriptListpoint);
			
		}	
	}
}
