var brands=null;var colors=null;var productType=null;var shoeForm=null;var size=null;var styles=null;var size_unit=null;var size_search=null;var material=null;var occasion=null;var heelHeight=null;var kindOfOutsole=null;var priceLow=null;var priceHigh=null;var sale=null;var xtra=null;var newArrivals=null;
var howToCarry=null;var dimensions=null;var functionality=null;var productList=null;var search_text=null;var cat=null;var page=null;var numProducts=null;var orderBy=null;var sortOrder=null;var activeCityList=null;function clearAll(){brands=null;colors=null;productType=null;styles=null;shoeForm=null;size=null;
material=null;dimensions=null;occasion=null;heelHeight=null;kindOfOutsole=null;priceLow=null;priceHigh=null;sale=null;xtra=null;newArrivals=null;sendRequest();}function isUrlWithProductType(b){var a=b;if(a.search("http")!=-1){a=a.substring(6);}var d=a.indexOf("?");if(d!=-1){a=a.substring(0,d);}var f=a.split("/");
var e=0;for(var c=0;c<f.length;c++){if(f[c].length>0){e++;}}if(a.search("Extragroessen")!=-1){if(e<=5){return false;}else{return true;}}else{if(e>4){return true;}else{return false;}}}function getUrlWithoutProductTypeAndParameters(c){var b=c;if(b.search("http")!=-1){b=b.substring(6);}var e=b.indexOf("?");
if(e!=-1){b=b.substring(0,e);}var g=b.split("/");var a="http:/";var f=0;for(var d=0;d<g.length;d++){if(b.search("Extragroessen")!=-1){if(f<=5){if(g[d].length>0){a=a+"/"+g[d];}}}else{if(f<=4){if(g[d].length>0){a=a+"/"+g[d];}}}f++;}return a;}function getIsoLanguageCodeFromUrl(b){var a=b;if(a.search("http")!=-1){a=a.substring(6);
}var c=a.split("/");return c[2];}function getDepartmentAndCategoryFromUrl(b){var a=b;if(a.search("http")!=-1){a=a.substring(6);}var c=a.split("/");return c[3]+"/"+c[4];}function getProductTypeFromUrl(b){var a=b;if(a.search("http")!=-1){a=a.substring(6);}var d=a.indexOf("?");if(d!=-1){a=a.substring(0,d);
}var e=a.split("/");for(var c=e.length-1;c>=0;c--){if(e[c].length>0){return e[c];}}return"";}function selectProductType(a,b){$("ul-styles").down("li").addClassName("highlighted");$("ul-styles").down("a").update("<a href='#' onclick='SelectFromList('ul-styles', this); toggleQueryField('fac_ProductType', '"+b+"'); return false;'>"+a+"</a>");
$("ul-styles").next("ul").hide();$("ul-styles").show();}var oldcontact="at_meinung";var countrycode="at";var area="meinung";function setCountryCode(a){countrycode=a;showContactInfo();}function setArea(a){area=a;showContactInfo();}function showContactInfo(){if($(oldcontact)!=null){$(oldcontact).hide();
}id=countrycode+"_"+area;oldcontact=id;if($(id)!=null){$(id).show();}}function setTownPk(a,b){$(a).value=b;}function hideCityLists(){$(List).show();$("ul-city").hide();if(country!=null){$(country).hide();}$(Country).show();country=Country;HideCityList(country);}function showCityList(a){$("country_value").value=a;
$(a).show();$("dummy").hide();if(activeCityList!=null){$(activeCityList).hide();}activeCityList=a;}function addDHLFinderResultValues(){selectedValue=document.getElementById("select_packstation").options[document.getElementById("select_packstation").selectedIndex].value;splitted=selectedValue.split(",");
packstationNr=splitted[0].substr(12);packstationPlzOrt=splitted[2].substr(2).split(" ");packstationPlz=packstationPlzOrt[0];packstationOrt=packstationPlzOrt[1];parent.document.getElementById("txtHNrDHL").value=packstationNr;parent.document.getElementById("txtPlzDHL").value=packstationPlz;parent.document.getElementById("txtdepotCityDHL").value=packstationOrt;
parent.document.getElementById("lbClose").onclick();}function setInitValuesDHLFinder(){document.getElementById("finderPLZ").value=parent.document.getElementById("txtPlzDHL").value;}function PopupShoppingBagLite(){window.clearTimeout(ShoppingBag);$("shopping-bag-lite").show();ShoppingBag=Element.hide.delay(5,"shopping-bag-lite");
}function selectCountry(a){var b=document.getElementById("country-select-form");b.selectedCountry.value=a;b.submit();}function hideProductDescription(){$("product-description").writeAttribute("style","visibility:hidden;");$("Zoomer").observe("mouseout",function(a){a.stop();if("MagicZoomPup"!=a.relatedTarget.className){Event.element(a).stopObserving("mouseout");
$$(".MagicZoomPup")[0].stopObserving("mouseout");$("product-description").writeAttribute("style","visibility:visible;");}});$$(".MagicZoomPup")[0].observe("mouseout",function(a){a.stop();if("main-image"!=a.relatedTarget.id){Event.element(a).stopObserving("mouseout");$("Zoomer").stopObserving("mouseout");
$("product-description").writeAttribute("style","visibility:visible;");}});}function selectProductImage(c,b,a){for(i=1;i<=parseInt($(c).childElements().length);i++){$(c).down("li",i-1).removeClassName("selected");}$(b).up("li").addClassName("selected");for(i=1;i<=parseInt($(c).childElements().length);
i++){$("enlarge"+i).hide();}$(a).show();}function switchProductImage(c,b,a){for(i=1;i<=parseInt($(c).childElements().length);i++){$("enlarge"+i).hide();}$(a).show();var d=$(b).innerHTML;$(b).innerHTML=$(c).childElements()[0].innerHTML;$(c).childElements()[0].innerHTML=d;}function switchProductPickupImage(d,c,b,a){$("main-image").src=d;
for(i=1;i<=parseInt($(c).childElements().length);i++){$("enlarge"+i).hide();}$(a).show();var e=$(b).innerHTML;$(b).innerHTML=$(c).childElements()[0].innerHTML;$(c).childElements()[0].innerHTML=e;}function addError(a){var c=jQuery("#popup-fm-errors");if(c.length==0){jQuery("body").append('<div id="popup-fm-errors" style="z-index: 200000;" >'+'<div id="fm-errors_content">'+'<div onclick="FmErrorsPopupClose();" id="fm-errors-close"><a href="javascript: void(0);"><span>Schließen</span></a></div>'+"<h1>Freemarker errors</h1>"+'<ul id="fm-errors-list"></ul>'+"</div>"+'<div id="fm-errors_ft"></div>'+"</div>");
}var b=jQuery("#fm-errors-list");b.append('<li class="fm-error">'+a+"</li>");c.show();}function FmErrorsPopupClose(){jQuery("#popup-fm-errors").hide();}function deleteAvatar(a){}
