var shopCategories=(function(){function a(c,b){return function(){return b.apply(c,Array.prototype.slice.call(arguments))}}return{countChangeFunction:"get_changed_count_data",sortChangeFunction:"get_changed_sort_price",init:function(b){b=b||{};if(b.countFunction){this.countChangeFunction=b.countFunction}if(b.sortFunction){this.sortChangeFunction=b.sortFunction}$(".categorySelect").change(a(this,this.changeArticleCount));$(".priceSelect").change(a(this,this.changeSortPrice));$(".pagesSelect").css("display","block");$(".priceSort").css("display","block")},initBoxContent:function(b){if(b!==null){$("#category_articles_box").html(b);$(".categorySelect").change(a(this,this.changeArticleCount));$(".priceSelect").change(a(this,this.changeSortPrice));$(".pagesSelect,.priceSort").css("display","block")}},changeArticleCount:function(){var b=$(".categorySelect").val();$("#category_articles_box").html('<div class="box-head-text">&nbsp;</div><img src="../customize/unterwegs/images/loading.gif" alt="Laden..."/> Daten werden geladen...');$.ajax({type:"GET",url:"../inc/functions/xml_http_requests.php",data:{f:this.countChangeFunction,p0:b,sid:mySession},success:a(this,this.initBoxContent)})},changeSortPrice:function(){var b=$(".priceSelect").val();$("#category_articles_box").html('<div class="box-head-text">&nbsp;</div><img src="../customize/unterwegs/images/loading.gif" alt="Laden..."/> Daten werden geladen...');$.ajax({type:"GET",url:"../inc/functions/xml_http_requests.php",data:{f:this.sortChangeFunction,p0:b,sid:mySession},success:a(this,this.initBoxContent)})}}}());