var js_options = {"global":{"style_edit_mode":"","language_id":null,"language":"german","language_code":"de","http_server":"http:\/\/bio-baeckerei-fischer.de","dir_ws_catalog":"\/","shop_root":"http:\/\/bio-baeckerei-fischer.de\/","shop_name":null},"slider_plugin":[],"social_share":{"facebook_share_box":{"image":"\"\"","code":"':"");a._keyEvent=false;return K},_generateMonthYearHeader:function(a,c,h,i,j,n,p,l){var k=this._get(a,"changeMonth"),m=this._get(a,"changeYear"),o=this._get(a,"showMonthAfterYear"),q='
', s="";if(n||!k)s+=''+p[c]+"";else{p=i&&i.getFullYear()==h;var r=j&&j.getFullYear()==h;s+='"}o||(q+=s+(n||!(k&& m)?" ":""));a.yearshtml="";if(n||!m)q+=''+h+"";else{l=this._get(a,"yearRange").split(":");var v=(new Date).getFullYear();p=function(w){w=w.match(/c[+-].*/)?h+parseInt(w.substring(1),10):w.match(/[+-].*/)?v+parseInt(w,10):parseInt(w,10);return isNaN(w)?v:w};c=p(l[0]);l=Math.max(c,p(l[1]||""));c=i?Math.max(c,i.getFullYear()):c;l=j?Math.min(l,j.getFullYear()):l;for(a.yearshtml+='";if(b.browser.mozilla)q+='";else{q+=a.yearshtml;a.yearshtml=null}}q+=this._get(a,"yearSuffix");if(o)q+=(n||!(k&&m)?" ":"")+s;q+="
";return q},_adjustInstDate:function(a,c,h){var i= a.drawYear+(h=="Y"?c:0),j=a.drawMonth+(h=="M"?c:0);c=Math.min(a.selectedDay,this._getDaysInMonth(i,j))+(h=="D"?c:0);i=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(i,j,c)));a.selectedDay=i.getDate();a.drawMonth=a.selectedMonth=i.getMonth();a.drawYear=a.selectedYear=i.getFullYear();if(h=="M"||h=="Y")this._notifyChange(a)},_restrictMinMax:function(a,c){var h=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");c=h&&ca?a:c},_notifyChange:function(a){var c=this._get(a, "onChangeMonthYear");if(c)c.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){a=this._get(a,"numberOfMonths");return a==null?[1,1]:typeof a=="number"?[1,a]:a},_getMinMaxDate:function(a,c){return this._determineDate(a,this._get(a,c+"Date"),null)},_getDaysInMonth:function(a,c){return 32-this._daylightSavingAdjust(new Date(a,c,32)).getDate()},_getFirstDayOfMonth:function(a,c){return(new Date(a,c,1)).getDay()},_canAdjustMonth:function(a,c,h,i){var j=this._getNumberOfMonths(a); h=this._daylightSavingAdjust(new Date(h,i+(c<0?c:j[0]*j[1]),1));c<0&&h.setDate(this._getDaysInMonth(h.getFullYear(),h.getMonth()));return this._isInRange(a,h)},_isInRange:function(a,c){var h=this._getMinMaxDate(a,"min");a=this._getMinMaxDate(a,"max");return(!h||c.getTime()>=h.getTime())&&(!a||c.getTime()<=a.getTime())},_getFormatConfig:function(a){var c=this._get(a,"shortYearCutoff");c=typeof c!="string"?c:(new Date).getFullYear()%100+parseInt(c,10);return{shortYearCutoff:c,dayNamesShort:this._get(a, "dayNamesShort"),dayNames:this._get(a,"dayNames"),monthNamesShort:this._get(a,"monthNamesShort"),monthNames:this._get(a,"monthNames")}},_formatDate:function(a,c,h,i){if(!c){a.currentDay=a.selectedDay;a.currentMonth=a.selectedMonth;a.currentYear=a.selectedYear}c=c?typeof c=="object"?c:this._daylightSavingAdjust(new Date(i,h,c)):this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,"dateFormat"),c,this._getFormatConfig(a))}});b.fn.datepicker= function(a){if(!this.length)return this;if(!b.datepicker.initialized){b(document).mousedown(b.datepicker._checkExternalClick).find("body").append(b.datepicker.dpDiv);b.datepicker.initialized=true}var c=Array.prototype.slice.call(arguments,1);if(typeof a=="string"&&(a=="isDisabled"||a=="getDate"||a=="widget"))return b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this[0]].concat(c));if(a=="option"&&arguments.length==2&&typeof arguments[1]=="string")return b.datepicker["_"+a+"Datepicker"].apply(b.datepicker, [this[0]].concat(c));return this.each(function(){typeof a=="string"?b.datepicker["_"+a+"Datepicker"].apply(b.datepicker,[this].concat(c)):b.datepicker._attachDatepicker(this,a)})};b.datepicker=new e;b.datepicker.initialized=false;b.datepicker.uuid=(new Date).getTime();b.datepicker.version="1.8.11";window["DP_jQuery_"+f]=b})(jQuery); (function(b,d){var e={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},g={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true};b.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(f){var a=b(this).css(f).offset().top;a<0&& b(this).css("top",f.top-a)}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1E3},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string")this.originalTitle="";this.options.title=this.options.title||this.originalTitle;var f=this,a=f.options,c=a.title||" ",h=b.ui.dialog.getTitleId(f.element),i=(f.uiDialog=b("
")).appendTo(document.body).hide().addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+a.dialogClass).css({zIndex:a.zIndex}).attr("tabIndex", -1).css("outline",0).keydown(function(p){if(a.closeOnEscape&&p.keyCode&&p.keyCode===b.ui.keyCode.ESCAPE){f.close(p);p.preventDefault()}}).attr({role:"dialog","aria-labelledby":h}).mousedown(function(p){f.moveToTop(false,p)});f.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(i);var j=(f.uiDialogTitlebar=b("
")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(i),n=b('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role", "button").hover(function(){n.addClass("ui-state-hover")},function(){n.removeClass("ui-state-hover")}).focus(function(){n.addClass("ui-state-focus")}).blur(function(){n.removeClass("ui-state-focus")}).click(function(p){f.close(p);return false}).appendTo(j);(f.uiDialogTitlebarCloseText=b("")).addClass("ui-icon ui-icon-closethick").text(a.closeText).appendTo(n);b("").addClass("ui-dialog-title").attr("id",h).html(c).prependTo(j);if(b.isFunction(a.beforeclose)&&!b.isFunction(a.beforeClose))a.beforeClose= a.beforeclose;j.find("*").add(j).disableSelection();a.draggable&&b.fn.draggable&&f._makeDraggable();a.resizable&&b.fn.resizable&&f._makeResizable();f._createButtons(a.buttons);f._isOpen=false;b.fn.bgiframe&&i.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var f=this;f.overlay&&f.overlay.destroy();f.uiDialog.hide();f.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");f.uiDialog.remove();f.originalTitle&& f.element.attr("title",f.originalTitle);return f},widget:function(){return this.uiDialog},close:function(f){var a=this,c,h;if(false!==a._trigger("beforeClose",f)){a.overlay&&a.overlay.destroy();a.uiDialog.unbind("keypress.ui-dialog");a._isOpen=false;if(a.options.hide)a.uiDialog.hide(a.options.hide,function(){a._trigger("close",f)});else{a.uiDialog.hide();a._trigger("close",f)}b.ui.dialog.overlay.resize();if(a.options.modal){c=0;b(".ui-dialog").each(function(){if(this!==a.uiDialog[0]){h=b(this).css("z-index"); isNaN(h)||(c=Math.max(c,h))}});b.ui.dialog.maxZ=c}return a}},isOpen:function(){return this._isOpen},moveToTop:function(f,a){var c=this,h=c.options;if(h.modal&&!f||!h.stack&&!h.modal)return c._trigger("focus",a);if(h.zIndex>b.ui.dialog.maxZ)b.ui.dialog.maxZ=h.zIndex;if(c.overlay){b.ui.dialog.maxZ+=1;c.overlay.$el.css("z-index",b.ui.dialog.overlay.maxZ=b.ui.dialog.maxZ)}f={scrollTop:c.element.attr("scrollTop"),scrollLeft:c.element.attr("scrollLeft")};b.ui.dialog.maxZ+=1;c.uiDialog.css("z-index",b.ui.dialog.maxZ); c.element.attr(f);c._trigger("focus",a);return c},open:function(){if(!this._isOpen){var f=this,a=f.options,c=f.uiDialog;f.overlay=a.modal?new b.ui.dialog.overlay(f):null;f._size();f._position(a.position);c.show(a.show);f.moveToTop(true);a.modal&&c.bind("keypress.ui-dialog",function(h){if(h.keyCode===b.ui.keyCode.TAB){var i=b(":tabbable",this),j=i.filter(":first");i=i.filter(":last");if(h.target===i[0]&&!h.shiftKey){j.focus(1);return false}else if(h.target===j[0]&&h.shiftKey){i.focus(1);return false}}}); b(f.element.find(":tabbable").get().concat(c.find(".ui-dialog-buttonpane :tabbable").get().concat(c.get()))).eq(0).focus();f._isOpen=true;f._trigger("open");return f}},_createButtons:function(f){var a=this,c=false,h=b("
").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),i=b("
").addClass("ui-dialog-buttonset").appendTo(h);a.uiDialog.find(".ui-dialog-buttonpane").remove();typeof f==="object"&&f!==null&&b.each(f,function(){return!(c=true)});if(c){b.each(f,function(j, n){n=b.isFunction(n)?{click:n,text:j}:n;j=b('').attr(n,true).unbind("click").click(function(){n.click.apply(a.element[0],arguments)}).appendTo(i);b.fn.button&&j.button()});h.appendTo(a.uiDialog)}},_makeDraggable:function(){function f(j){return{position:j.position,offset:j.offset}}var a=this,c=a.options,h=b(document),i;a.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(j,n){i= c.height==="auto"?"auto":b(this).height();b(this).height(b(this).height()).addClass("ui-dialog-dragging");a._trigger("dragStart",j,f(n))},drag:function(j,n){a._trigger("drag",j,f(n))},stop:function(j,n){c.position=[n.position.left-h.scrollLeft(),n.position.top-h.scrollTop()];b(this).removeClass("ui-dialog-dragging").height(i);a._trigger("dragStop",j,f(n));b.ui.dialog.overlay.resize()}})},_makeResizable:function(f){function a(j){return{originalPosition:j.originalPosition,originalSize:j.originalSize, position:j.position,size:j.size}}f=f===d?this.options.resizable:f;var c=this,h=c.options,i=c.uiDialog.css("position");f=typeof f==="string"?f:"n,e,s,w,se,sw,ne,nw";c.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:c.element,maxWidth:h.maxWidth,maxHeight:h.maxHeight,minWidth:h.minWidth,minHeight:c._minHeight(),handles:f,start:function(j,n){b(this).addClass("ui-dialog-resizing");c._trigger("resizeStart",j,a(n))},resize:function(j,n){c._trigger("resize",j,a(n))},stop:function(j, n){b(this).removeClass("ui-dialog-resizing");h.height=b(this).height();h.width=b(this).width();c._trigger("resizeStop",j,a(n));b.ui.dialog.overlay.resize()}}).css("position",i).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var f=this.options;return f.height==="auto"?f.minHeight:Math.min(f.minHeight,f.height)},_position:function(f){var a=[],c=[0,0],h;if(f){if(typeof f==="string"||typeof f==="object"&&"0"in f){a=f.split?f.split(" "):[f[0],f[1]];if(a.length=== 1)a[1]=a[0];b.each(["left","top"],function(i,j){if(+a[i]===a[i]){c[i]=a[i];a[i]=j}});f={my:a.join(" "),at:a.join(" "),offset:c.join(" ")}}f=b.extend({},b.ui.dialog.prototype.options.position,f)}else f=b.ui.dialog.prototype.options.position;(h=this.uiDialog.is(":visible"))||this.uiDialog.show();this.uiDialog.css({top:0,left:0}).position(b.extend({of:window},f));h||this.uiDialog.hide()},_setOptions:function(f){var a=this,c={},h=false;b.each(f,function(i,j){a._setOption(i,j);if(i in e)h=true;if(i in g)c[i]=j});h&&this._size();this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",c)},_setOption:function(f,a){var c=this,h=c.uiDialog;switch(f){case "beforeclose":f="beforeClose";break;case "buttons":c._createButtons(a);break;case "closeText":c.uiDialogTitlebarCloseText.text(""+a);break;case "dialogClass":h.removeClass(c.options.dialogClass).addClass("ui-dialog ui-widget ui-widget-content ui-corner-all "+a);break;case "disabled":a?h.addClass("ui-dialog-disabled"):h.removeClass("ui-dialog-disabled"); break;case "draggable":var i=h.is(":data(draggable)");i&&!a&&h.draggable("destroy");!i&&a&&c._makeDraggable();break;case "position":c._position(a);break;case "resizable":(i=h.is(":data(resizable)"))&&!a&&h.resizable("destroy");i&&typeof a==="string"&&h.resizable("option","handles",a);!i&&a!==false&&c._makeResizable(a);break;case "title":b(".ui-dialog-title",c.uiDialogTitlebar).html(""+(a||" "));break}b.Widget.prototype._setOption.apply(c,arguments)},_size:function(){var f=this.options,a,c,h= this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(f.minWidth>f.width)f.width=f.minWidth;a=this.uiDialog.css({height:"auto",width:f.width}).height();c=Math.max(0,f.minHeight-a);if(f.height==="auto")if(b.support.minHeight)this.element.css({minHeight:c,height:"auto"});else{this.uiDialog.show();f=this.element.css("height","auto").height();h||this.uiDialog.hide();this.element.height(Math.max(f,c))}else this.element.height(Math.max(f.height-a,0));this.uiDialog.is(":data(resizable)")&& this.uiDialog.resizable("option","minHeight",this._minHeight())}});b.extend(b.ui.dialog,{version:"1.8.11",uuid:0,maxZ:0,getTitleId:function(f){f=f.attr("id");if(!f){this.uuid+=1;f=this.uuid}return"ui-dialog-title-"+f},overlay:function(f){this.$el=b.ui.dialog.overlay.create(f)}});b.extend(b.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:b.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(f){return f+".dialog-overlay"}).join(" "),create:function(f){if(this.instances.length=== 0){setTimeout(function(){b.ui.dialog.overlay.instances.length&&b(document).bind(b.ui.dialog.overlay.events,function(c){if(b(c.target).zIndex()").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(), height:this.height()});b.fn.bgiframe&&a.bgiframe();this.instances.push(a);return a},destroy:function(f){var a=b.inArray(f,this.instances);a!=-1&&this.oldInstances.push(this.instances.splice(a,1)[0]);this.instances.length===0&&b([document,window]).unbind(".dialog-overlay");f.remove();var c=0;b.each(this.instances,function(){c=Math.max(c,this.css("z-index"))});this.maxZ=c},height:function(){var f,a;if(b.browser.msie&&b.browser.version<7){f=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight); a=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return f0?a.left-h:Math.max(a.left-c.collisionPosition.left,a.left)},top:function(a,c){var h=b(window);h=c.collisionPosition.top+c.collisionHeight-h.height()-h.scrollTop();a.top=h>0?a.top-h:Math.max(a.top-c.collisionPosition.top,a.top)}},flip:{left:function(a,c){if(c.at[0]!=="center"){var h=b(window);h=c.collisionPosition.left+c.collisionWidth-h.width()-h.scrollLeft();var i=c.my[0]==="left"?-c.elemWidth:c.my[0]==="right"?c.elemWidth:0,j=c.at[0]==="left"?c.targetWidth:-c.targetWidth,n=-2*c.offset[0];a.left+= c.collisionPosition.left<0?i+j+n:h>0?i+j+n:0}},top:function(a,c){if(c.at[1]!=="center"){var h=b(window);h=c.collisionPosition.top+c.collisionHeight-h.height()-h.scrollTop();var i=c.my[1]==="top"?-c.elemHeight:c.my[1]==="bottom"?c.elemHeight:0,j=c.at[1]==="top"?c.targetHeight:-c.targetHeight,n=-2*c.offset[1];a.top+=c.collisionPosition.top<0?i+j+n:h>0?i+j+n:0}}}};if(!b.offset.setOffset){b.offset.setOffset=function(a,c){if(/static/.test(b.curCSS(a,"position")))a.style.position="relative";var h=b(a), i=h.offset(),j=parseInt(b.curCSS(a,"top",true),10)||0,n=parseInt(b.curCSS(a,"left",true),10)||0;i={top:c.top-i.top+j,left:c.left-i.left+n};"using"in c?c.using.call(a,i):h.css(i)};b.fn.offset=function(a){var c=this[0];if(!c||!c.ownerDocument)return null;if(a)return this.each(function(){b.offset.setOffset(this,a)});return f.call(this)}}})(jQuery); (function(b,d){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("
").appendTo(this.element);this.oldValue=this._value();this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"); this.valueDiv.remove();b.Widget.prototype.destroy.apply(this,arguments)},value:function(e){if(e===d)return this._value();this._setOption("value",e);return this},_setOption:function(e,g){if(e==="value"){this.options.value=g;this._refreshValue();this._value()===this.options.max&&this._trigger("complete")}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var e=this.options.value;if(typeof e!=="number")e=0;return Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100* this._value()/this.options.max},_refreshValue:function(){var e=this.value(),g=this._percentage();if(this.oldValue!==e){this.oldValue=e;this._trigger("change")}this.valueDiv.toggleClass("ui-corner-right",e===this.options.max).width(g.toFixed(0)+"%");this.element.attr("aria-valuenow",e)}});b.extend(b.ui.progressbar,{version:"1.8.11"})})(jQuery); (function(b){b.widget("ui.slider",b.ui.mouse,{widgetEventPrefix:"slide",options:{animate:false,distance:0,max:100,min:0,orientation:"horizontal",range:false,step:1,value:0,values:null},_create:function(){var d=this,e=this.options;this._mouseSliding=this._keySliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all");e.disabled&&this.element.addClass("ui-slider-disabled ui-disabled"); this.range=b([]);if(e.range){if(e.range===true){this.range=b("
");if(!e.values)e.values=[this._valueMin(),this._valueMin()];if(e.values.length&&e.values.length!==2)e.values=[e.values[0],e.values[0]]}else this.range=b("
");this.range.appendTo(this.element).addClass("ui-slider-range");if(e.range==="min"||e.range==="max")this.range.addClass("ui-slider-range-"+e.range);this.range.addClass("ui-widget-header")}b(".ui-slider-handle",this.element).length===0&&b("").appendTo(this.element).addClass("ui-slider-handle"); if(e.values&&e.values.length)for(;b(".ui-slider-handle",this.element).length").appendTo(this.element).addClass("ui-slider-handle");this.handles=b(".ui-slider-handle",this.element).addClass("ui-state-default ui-corner-all");this.handle=this.handles.eq(0);this.handles.add(this.range).filter("a").click(function(g){g.preventDefault()}).hover(function(){e.disabled||b(this).addClass("ui-state-hover")},function(){b(this).removeClass("ui-state-hover")}).focus(function(){if(e.disabled)b(this).blur(); else{b(".ui-slider .ui-state-focus").removeClass("ui-state-focus");b(this).addClass("ui-state-focus")}}).blur(function(){b(this).removeClass("ui-state-focus")});this.handles.each(function(g){b(this).data("index.ui-slider-handle",g)});this.handles.keydown(function(g){var f=true,a=b(this).data("index.ui-slider-handle"),c,h,i;if(!d.options.disabled){switch(g.keyCode){case b.ui.keyCode.HOME:case b.ui.keyCode.END:case b.ui.keyCode.PAGE_UP:case b.ui.keyCode.PAGE_DOWN:case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:f= false;if(!d._keySliding){d._keySliding=true;b(this).addClass("ui-state-active");c=d._start(g,a);if(c===false)return}break}i=d.options.step;c=d.options.values&&d.options.values.length?(h=d.values(a)):(h=d.value());switch(g.keyCode){case b.ui.keyCode.HOME:h=d._valueMin();break;case b.ui.keyCode.END:h=d._valueMax();break;case b.ui.keyCode.PAGE_UP:h=d._trimAlignValue(c+(d._valueMax()-d._valueMin())/5);break;case b.ui.keyCode.PAGE_DOWN:h=d._trimAlignValue(c-(d._valueMax()-d._valueMin())/5);break;case b.ui.keyCode.UP:case b.ui.keyCode.RIGHT:if(c=== d._valueMax())return;h=d._trimAlignValue(c+i);break;case b.ui.keyCode.DOWN:case b.ui.keyCode.LEFT:if(c===d._valueMin())return;h=d._trimAlignValue(c-i);break}d._slide(g,a,h);return f}}).keyup(function(g){var f=b(this).data("index.ui-slider-handle");if(d._keySliding){d._keySliding=false;d._stop(g,f);d._change(g,f);b(this).removeClass("ui-state-active")}});this._refreshValue();this._animateOff=false},destroy:function(){this.handles.remove();this.range.remove();this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"); this._mouseDestroy();return this},_mouseCapture:function(d){var e=this.options,g,f,a,c,h;if(e.disabled)return false;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.offset();g=this._normValueFromMouse({x:d.pageX,y:d.pageY});f=this._valueMax()-this._valueMin()+1;c=this;this.handles.each(function(i){var j=Math.abs(g-c.values(i));if(f>j){f=j;a=b(this);h=i}});if(e.range===true&&this.values(1)===e.min){h+=1;a=b(this.handles[h])}if(this._start(d, h)===false)return false;this._mouseSliding=true;c._handleIndex=h;a.addClass("ui-state-active").focus();e=a.offset();this._clickOffset=!b(d.target).parents().andSelf().is(".ui-slider-handle")?{left:0,top:0}:{left:d.pageX-e.left-a.width()/2,top:d.pageY-e.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)};this.handles.hasClass("ui-state-hover")||this._slide(d,h,g);return this._animateOff=true},_mouseStart:function(){return true}, _mouseDrag:function(d){var e=this._normValueFromMouse({x:d.pageX,y:d.pageY});this._slide(d,this._handleIndex,e);return false},_mouseStop:function(d){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(d,this._handleIndex);this._change(d,this._handleIndex);this._clickOffset=this._handleIndex=null;return this._animateOff=false},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(d){var e; if(this.orientation==="horizontal"){e=this.elementSize.width;d=d.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{e=this.elementSize.height;d=d.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}e=d/e;if(e>1)e=1;if(e<0)e=0;if(this.orientation==="vertical")e=1-e;d=this._valueMax()-this._valueMin();return this._trimAlignValue(this._valueMin()+e*d)},_start:function(d,e){var g={handle:this.handles[e],value:this.value()};if(this.options.values&&this.options.values.length){g.value= this.values(e);g.values=this.values()}return this._trigger("start",d,g)},_slide:function(d,e,g){var f;if(this.options.values&&this.options.values.length){f=this.values(e?0:1);if(this.options.values.length===2&&this.options.range===true&&(e===0&&g>f||e===1&&g1){this.options.values[d]=this._trimAlignValue(e);this._refreshValue();this._change(null,d)}if(arguments.length)if(b.isArray(arguments[0])){g=this.options.values;f=arguments[0];for(a=0;a=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,g=(d-this._valueMin())%e;alignValue=d-g;if(Math.abs(g)*2>=e)alignValue+=g>0?e:-e;return parseFloat(alignValue.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max}, _refreshValue:function(){var d=this.options.range,e=this.options,g=this,f=!this._animateOff?e.animate:false,a,c={},h,i,j,n;if(this.options.values&&this.options.values.length)this.handles.each(function(p){a=(g.values(p)-g._valueMin())/(g._valueMax()-g._valueMin())*100;c[g.orientation==="horizontal"?"left":"bottom"]=a+"%";b(this).stop(1,1)[f?"animate":"css"](c,e.animate);if(g.options.range===true)if(g.orientation==="horizontal"){if(p===0)g.range.stop(1,1)[f?"animate":"css"]({left:a+"%"},e.animate); if(p===1)g.range[f?"animate":"css"]({width:a-h+"%"},{queue:false,duration:e.animate})}else{if(p===0)g.range.stop(1,1)[f?"animate":"css"]({bottom:a+"%"},e.animate);if(p===1)g.range[f?"animate":"css"]({height:a-h+"%"},{queue:false,duration:e.animate})}h=a});else{i=this.value();j=this._valueMin();n=this._valueMax();a=n!==j?(i-j)/(n-j)*100:0;c[g.orientation==="horizontal"?"left":"bottom"]=a+"%";this.handle.stop(1,1)[f?"animate":"css"](c,e.animate);if(d==="min"&&this.orientation==="horizontal")this.range.stop(1, 1)[f?"animate":"css"]({width:a+"%"},e.animate);if(d==="max"&&this.orientation==="horizontal")this.range[f?"animate":"css"]({width:100-a+"%"},{queue:false,duration:e.animate});if(d==="min"&&this.orientation==="vertical")this.range.stop(1,1)[f?"animate":"css"]({height:a+"%"},e.animate);if(d==="max"&&this.orientation==="vertical")this.range[f?"animate":"css"]({height:100-a+"%"},{queue:false,duration:e.animate})}}});b.extend(b.ui.slider,{version:"1.8.11"})})(jQuery); (function(b,d){function e(){return++f}function g(){return++a}var f=0,a=0;b.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"
",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
  • #{label}
  • "},_create:function(){this._tabify(true)},_setOption:function(c,h){if(c=="selected")this.options.collapsible&& h==this.options.selected||this.select(h);else{this.options[c]=h;this._tabify()}},_tabId:function(c){return c.title&&c.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+e()},_sanitizeSelector:function(c){return c.replace(/:/g,"\\:")},_cookie:function(){var c=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+g());return b.cookie.apply(null,[c].concat(b.makeArray(arguments)))},_ui:function(c,h){return{tab:c,panel:h,index:this.anchors.index(c)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var c= b(this);c.html(c.data("label.tabs")).removeData("label.tabs")})},_tabify:function(c){function h(r,u){r.css("display","");!b.support.opacity&&u.opacity&&r[0].style.removeAttribute("filter")}var i=this,j=this.options,n=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=b(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return b("a",this)[0]});this.panels=b([]);this.anchors.each(function(r,u){var v=b(u).attr("href"),w=v.split("#")[0],y;if(w&&(w===location.toString().split("#")[0]|| (y=b("base")[0])&&w===y.href)){v=u.hash;u.href=v}if(n.test(v))i.panels=i.panels.add(i.element.find(i._sanitizeSelector(v)));else if(v&&v!=="#"){b.data(u,"href.tabs",v);b.data(u,"load.tabs",v.replace(/#.*$/,""));v=i._tabId(u);u.href="#"+v;u=i.element.find("#"+v);if(!u.length){u=b(j.panelTemplate).attr("id",v).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(i.panels[r-1]||i.list);u.data("destroy.tabs",true)}i.panels=i.panels.add(u)}else j.disabled.push(r)});if(c){this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"); this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.lis.addClass("ui-state-default ui-corner-top");this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom");if(j.selected===d){location.hash&&this.anchors.each(function(r,u){if(u.hash==location.hash){j.selected=r;return false}});if(typeof j.selected!=="number"&&j.cookie)j.selected=parseInt(i._cookie(),10);if(typeof j.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length)j.selected= this.lis.index(this.lis.filter(".ui-tabs-selected"));j.selected=j.selected||(this.lis.length?0:-1)}else if(j.selected===null)j.selected=-1;j.selected=j.selected>=0&&this.anchors[j.selected]||j.selected<0?j.selected:0;j.disabled=b.unique(j.disabled.concat(b.map(this.lis.filter(".ui-state-disabled"),function(r){return i.lis.index(r)}))).sort();b.inArray(j.selected,j.disabled)!=-1&&j.disabled.splice(b.inArray(j.selected,j.disabled),1);this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active"); if(j.selected>=0&&this.anchors.length){i.element.find(i._sanitizeSelector(i.anchors[j.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(j.selected).addClass("ui-tabs-selected ui-state-active");i.element.queue("tabs",function(){i._trigger("show",null,i._ui(i.anchors[j.selected],i.element.find(i._sanitizeSelector(i.anchors[j.selected].hash))[0]))});this.load(j.selected)}b(window).bind("unload",function(){i.lis.add(i.anchors).unbind(".tabs");i.lis=i.anchors=i.panels=null})}else j.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")); this.element[j.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");j.cookie&&this._cookie(j.selected,j.cookie);c=0;for(var p;p=this.lis[c];c++)b(p)[b.inArray(c,j.disabled)!=-1&&!b(p).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled");j.cache===false&&this.anchors.removeData("cache.tabs");this.lis.add(this.anchors).unbind(".tabs");if(j.event!=="mouseover"){var l=function(r,u){u.is(":not(.ui-state-disabled)")&&u.addClass("ui-state-"+r)},k=function(r,u){u.removeClass("ui-state-"+ r)};this.lis.bind("mouseover.tabs",function(){l("hover",b(this))});this.lis.bind("mouseout.tabs",function(){k("hover",b(this))});this.anchors.bind("focus.tabs",function(){l("focus",b(this).closest("li"))});this.anchors.bind("blur.tabs",function(){k("focus",b(this).closest("li"))})}var m,o;if(j.fx)if(b.isArray(j.fx)){m=j.fx[0];o=j.fx[1]}else m=o=j.fx;var q=o?function(r,u){b(r).closest("li").addClass("ui-tabs-selected ui-state-active");u.hide().removeClass("ui-tabs-hide").animate(o,o.duration||"normal", function(){h(u,o);i._trigger("show",null,i._ui(r,u[0]))})}:function(r,u){b(r).closest("li").addClass("ui-tabs-selected ui-state-active");u.removeClass("ui-tabs-hide");i._trigger("show",null,i._ui(r,u[0]))},s=m?function(r,u){u.animate(m,m.duration||"normal",function(){i.lis.removeClass("ui-tabs-selected ui-state-active");u.addClass("ui-tabs-hide");h(u,m);i.element.dequeue("tabs")})}:function(r,u){i.lis.removeClass("ui-tabs-selected ui-state-active");u.addClass("ui-tabs-hide");i.element.dequeue("tabs")}; this.anchors.bind(j.event+".tabs",function(){var r=this,u=b(r).closest("li"),v=i.panels.filter(":not(.ui-tabs-hide)"),w=i.element.find(i._sanitizeSelector(r.hash));if(u.hasClass("ui-tabs-selected")&&!j.collapsible||u.hasClass("ui-state-disabled")||u.hasClass("ui-state-processing")||i.panels.filter(":animated").length||i._trigger("select",null,i._ui(this,w[0]))===false){this.blur();return false}j.selected=i.anchors.index(this);i.abort();if(j.collapsible)if(u.hasClass("ui-tabs-selected")){j.selected= -1;j.cookie&&i._cookie(j.selected,j.cookie);i.element.queue("tabs",function(){s(r,v)}).dequeue("tabs");this.blur();return false}else if(!v.length){j.cookie&&i._cookie(j.selected,j.cookie);i.element.queue("tabs",function(){q(r,w)});i.load(i.anchors.index(this));this.blur();return false}j.cookie&&i._cookie(j.selected,j.cookie);if(w.length){v.length&&i.element.queue("tabs",function(){s(r,v)});i.element.queue("tabs",function(){q(r,w)});i.load(i.anchors.index(this))}else throw"jQuery UI Tabs: Mismatching fragment identifier."; b.browser.msie&&this.blur()});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(c){if(typeof c=="string")c=this.anchors.index(this.anchors.filter("[href$="+c+"]"));return c},destroy:function(){var c=this.options;this.abort();this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs");this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all");this.anchors.each(function(){var h= b.data(this,"href.tabs");if(h)this.href=h;var i=b(this).unbind(".tabs");b.each(["href","load","cache"],function(j,n){i.removeData(n+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){b.data(this,"destroy.tabs")?b(this).remove():b(this).removeClass("ui-state-default ui-corner-top ui-tabs-selected ui-state-active ui-state-hover ui-state-focus ui-state-disabled ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide")});c.cookie&&this._cookie(null,c.cookie);return this},add:function(c, h,i){if(i===d)i=this.anchors.length;var j=this,n=this.options;h=b(n.tabTemplate.replace(/#\{href\}/g,c).replace(/#\{label\}/g,h));c=!c.indexOf("#")?c.replace("#",""):this._tabId(b("a",h)[0]);h.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var p=j.element.find("#"+c);p.length||(p=b(n.panelTemplate).attr("id",c).data("destroy.tabs",true));p.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(i>=this.lis.length){h.appendTo(this.list);p.appendTo(this.list[0].parentNode)}else{h.insertBefore(this.lis[i]); p.insertBefore(this.panels[i])}n.disabled=b.map(n.disabled,function(l){return l>=i?++l:l});this._tabify();if(this.anchors.length==1){n.selected=0;h.addClass("ui-tabs-selected ui-state-active");p.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){j._trigger("show",null,j._ui(j.anchors[0],j.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[i],this.panels[i]));return this},remove:function(c){c=this._getIndex(c);var h=this.options,i=this.lis.eq(c).remove(),j=this.panels.eq(c).remove(); if(i.hasClass("ui-tabs-selected")&&this.anchors.length>1)this.select(c+(c+1=c?--n:n});this._tabify();this._trigger("remove",null,this._ui(i.find("a")[0],j[0]));return this},enable:function(c){c=this._getIndex(c);var h=this.options;if(b.inArray(c,h.disabled)!=-1){this.lis.eq(c).removeClass("ui-state-disabled");h.disabled=b.grep(h.disabled,function(i){return i!=c});this._trigger("enable",null, this._ui(this.anchors[c],this.panels[c]));return this}},disable:function(c){c=this._getIndex(c);var h=this.options;if(c!=h.selected){this.lis.eq(c).addClass("ui-state-disabled");h.disabled.push(c);h.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[c],this.panels[c]))}return this},select:function(c){c=this._getIndex(c);if(c==-1)if(this.options.collapsible&&this.options.selected!=-1)c=this.options.selected;else return this;this.anchors.eq(c).trigger(this.options.event+".tabs");return this}, load:function(c){c=this._getIndex(c);var h=this,i=this.options,j=this.anchors.eq(c)[0],n=b.data(j,"load.tabs");this.abort();if(!n||this.element.queue("tabs").length!==0&&b.data(j,"cache.tabs"))this.element.dequeue("tabs");else{this.lis.eq(c).addClass("ui-state-processing");if(i.spinner){var p=b("span",j);p.data("label.tabs",p.html()).html(i.spinner)}this.xhr=b.ajax(b.extend({},i.ajaxOptions,{url:n,success:function(l,k){h.element.find(h._sanitizeSelector(j.hash)).html(l);h._cleanup();i.cache&&b.data(j, "cache.tabs",true);h._trigger("load",null,h._ui(h.anchors[c],h.panels[c]));try{i.ajaxOptions.success(l,k)}catch(m){}},error:function(l,k){h._cleanup();h._trigger("load",null,h._ui(h.anchors[c],h.panels[c]));try{i.ajaxOptions.error(l,k,c,j)}catch(m){}}}));h.element.dequeue("tabs");return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this}, url:function(c,h){this.anchors.eq(c).removeData("cache.tabs").data("load.tabs",h);return this},length:function(){return this.anchors.length}});b.extend(b.ui.tabs,{version:"1.8.11"});b.extend(b.ui.tabs.prototype,{rotation:null,rotate:function(c,h){var i=this,j=this.options,n=i._rotate||(i._rotate=function(p){clearTimeout(i.rotation);i.rotation=setTimeout(function(){var l=j.selected;i.select(++l')) .appendTo(document.body) .hide() .addClass(uiDialogClasses + options.dialogClass) .css({ zIndex: options.zIndex }) // setting tabIndex makes the div focusable // setting outline to 0 prevents a border on focus in Mozilla .attr('tabIndex', -1).css('outline', 0).keydown(function(event) { if (options.closeOnEscape && event.keyCode && event.keyCode === $.ui.keyCode.ESCAPE) { self.close(event); event.preventDefault(); } }) .attr({ role: 'dialog', 'aria-labelledby': titleId }) .mousedown(function(event) { self.moveToTop(false, event); }), uiDialogContent = self.element .show() .removeAttr('title') .addClass( 'ui-dialog-content ' + 'ui-widget-content') .appendTo(uiDialog), uiDialogTitlebar = (self.uiDialogTitlebar = $('
    ')) .addClass( 'ui-dialog-titlebar ' + 'ui-widget-header ' + 'ui-corner-all ' + 'ui-helper-clearfix' ) .prependTo(uiDialog), uiDialogTitlebarClose = $('') .addClass( 'ui-dialog-titlebar-close ' + 'ui-corner-all' ) .attr('role', 'button') .hover( function() { uiDialogTitlebarClose.addClass('ui-state-hover'); }, function() { uiDialogTitlebarClose.removeClass('ui-state-hover'); } ) .focus(function() { uiDialogTitlebarClose.addClass('ui-state-focus'); }) .blur(function() { uiDialogTitlebarClose.removeClass('ui-state-focus'); }) .click(function(event) { self.close(event); return false; }) .appendTo(uiDialogTitlebar), uiDialogTitlebarCloseText = (self.uiDialogTitlebarCloseText = $('')) .addClass( 'ui-icon ' + 'ui-icon-closethick' ) .text(options.closeText) .appendTo(uiDialogTitlebarClose), uiDialogTitle = $('') .addClass('ui-dialog-title') .attr('id', titleId) .html(title) .prependTo(uiDialogTitlebar); //handling of deprecated beforeclose (vs beforeClose) option //Ticket #4669 http://dev.jqueryui.com/ticket/4669 //TODO: remove in 1.9pre if ($.isFunction(options.beforeclose) && !$.isFunction(options.beforeClose)) { options.beforeClose = options.beforeclose; } uiDialogTitlebar.find("*").add(uiDialogTitlebar).disableSelection(); if (options.draggable && $.fn.draggable) { self._makeDraggable(); } if (options.resizable && $.fn.resizable) { self._makeResizable(); } self._createButtons(options.buttons); self._isOpen = false; if ($.fn.bgiframe) { uiDialog.bgiframe(); } }, _init: function() { if ( this.options.autoOpen ) { this.open(); } }, destroy: function() { var self = this; if (self.overlay) { self.overlay.destroy(); } self.uiDialog.hide(); self.element .unbind('.dialog') .removeData('dialog') .removeClass('ui-dialog-content ui-widget-content') .hide().appendTo('body'); self.uiDialog.remove(); if (self.originalTitle) { self.element.attr('title', self.originalTitle); } return self; }, widget: function() { return this.uiDialog; }, close: function(event) { var self = this, maxZ, thisZ; if (false === self._trigger('beforeClose', event)) { return; } if (self.overlay) { self.overlay.destroy(); } self.uiDialog.unbind('keypress.ui-dialog'); self._isOpen = false; if (self.options.hide) { self.uiDialog.hide(self.options.hide, function() { self._trigger('close', event); }); } else { self.uiDialog.hide(); self._trigger('close', event); } $.ui.dialog.overlay.resize(); // adjust the maxZ to allow other modal dialogs to continue to work (see #4309) if (self.options.modal) { maxZ = 0; $('.ui-dialog').each(function() { if (this !== self.uiDialog[0]) { thisZ = $(this).css('z-index'); if(!isNaN(thisZ)) { maxZ = Math.max(maxZ, thisZ); } } }); $.ui.dialog.maxZ = maxZ; } return self; }, isOpen: function() { return this._isOpen; }, // the force parameter allows us to move modal dialogs to their correct // position on open moveToTop: function(force, event) { var self = this, options = self.options, saveScroll; if ((options.modal && !force) || (!options.stack && !options.modal)) { return self._trigger('focus', event); } if (options.zIndex > $.ui.dialog.maxZ) { $.ui.dialog.maxZ = options.zIndex; } if (self.overlay) { $.ui.dialog.maxZ += 1; self.overlay.$el.css('z-index', $.ui.dialog.overlay.maxZ = $.ui.dialog.maxZ); } //Save and then restore scroll since Opera 9.5+ resets when parent z-Index is changed. // http://ui.jquery.com/bugs/ticket/3193 saveScroll = { scrollTop: self.element.attr('scrollTop'), scrollLeft: self.element.attr('scrollLeft') }; $.ui.dialog.maxZ += 1; self.uiDialog.css('z-index', $.ui.dialog.maxZ); self.element.attr(saveScroll); self._trigger('focus', event); return self; }, open: function() { if (this._isOpen) { return; } var self = this, options = self.options, uiDialog = self.uiDialog; self.overlay = options.modal ? new $.ui.dialog.overlay(self) : null; self._size(); self._position(options.position); uiDialog.show(options.show); self.moveToTop(true); // prevent tabbing out of modal dialogs if (options.modal) { uiDialog.bind('keypress.ui-dialog', function(event) { if (event.keyCode !== $.ui.keyCode.TAB) { return; } var tabbables = $(':tabbable', this), first = tabbables.filter(':first'), last = tabbables.filter(':last'); if (event.target === last[0] && !event.shiftKey) { first.focus(1); return false; } else if (event.target === first[0] && event.shiftKey) { last.focus(1); return false; } }); } // set focus to the first tabbable element in the content area or the first button // if there are no tabbable elements, set focus on the dialog itself $(self.element.find(':tabbable').get().concat( uiDialog.find('.ui-dialog-buttonpane :tabbable').get().concat( uiDialog.get()))).eq(0).focus(); self._isOpen = true; self._trigger('open'); return self; }, _createButtons: function(buttons) { var self = this, hasButtons = false, uiDialogButtonPane = $('
    ') .addClass( 'ui-dialog-buttonpane ' + 'ui-widget-content ' + 'ui-helper-clearfix' ), uiButtonSet = $( "
    " ) .addClass( "ui-dialog-buttonset" ) .appendTo( uiDialogButtonPane ); // if we already have a button pane, remove it self.uiDialog.find('.ui-dialog-buttonpane').remove(); if (typeof buttons === 'object' && buttons !== null) { $.each(buttons, function() { return !(hasButtons = true); }); } if (hasButtons) { $.each(buttons, function(name, props) { props = $.isFunction( props ) ? { click: props, text: name } : props; var button = $('') .attr( props, true ) .unbind('click') .click(function() { props.click.apply(self.element[0], arguments); }) .appendTo(uiButtonSet); if ($.fn.button) { button.button(); } }); uiDialogButtonPane.appendTo(self.uiDialog); } }, _makeDraggable: function() { var self = this, options = self.options, doc = $(document), heightBeforeDrag; function filteredUi(ui) { return { position: ui.position, offset: ui.offset }; } self.uiDialog.draggable({ cancel: '.ui-dialog-content, .ui-dialog-titlebar-close', handle: '.ui-dialog-titlebar', containment: 'document', start: function(event, ui) { heightBeforeDrag = options.height === "auto" ? "auto" : $(this).height(); $(this).height($(this).height()).addClass("ui-dialog-dragging"); self._trigger('dragStart', event, filteredUi(ui)); }, drag: function(event, ui) { self._trigger('drag', event, filteredUi(ui)); }, stop: function(event, ui) { options.position = [ui.position.left - doc.scrollLeft(), ui.position.top - doc.scrollTop()]; $(this).removeClass("ui-dialog-dragging").height(heightBeforeDrag); self._trigger('dragStop', event, filteredUi(ui)); $.ui.dialog.overlay.resize(); } }); }, _makeResizable: function(handles) { handles = (handles === undefined ? this.options.resizable : handles); var self = this, options = self.options, // .ui-resizable has position: relative defined in the stylesheet // but dialogs have to use absolute or fixed positioning position = self.uiDialog.css('position'), resizeHandles = (typeof handles === 'string' ? handles : 'n,e,s,w,se,sw,ne,nw' ); function filteredUi(ui) { return { originalPosition: ui.originalPosition, originalSize: ui.originalSize, position: ui.position, size: ui.size }; } self.uiDialog.resizable({ cancel: '.ui-dialog-content', containment: 'document', alsoResize: self.element, maxWidth: options.maxWidth, maxHeight: options.maxHeight, minWidth: options.minWidth, minHeight: self._minHeight(), handles: resizeHandles, start: function(event, ui) { $(this).addClass("ui-dialog-resizing"); self._trigger('resizeStart', event, filteredUi(ui)); }, resize: function(event, ui) { self._trigger('resize', event, filteredUi(ui)); }, stop: function(event, ui) { $(this).removeClass("ui-dialog-resizing"); options.height = $(this).height(); options.width = $(this).width(); self._trigger('resizeStop', event, filteredUi(ui)); $.ui.dialog.overlay.resize(); } }) .css('position', position) .find('.ui-resizable-se').addClass('ui-icon ui-icon-grip-diagonal-se'); }, _minHeight: function() { var options = this.options; if (options.height === 'auto') { return options.minHeight; } else { return Math.min(options.minHeight, options.height); } }, _position: function(position) { var myAt = [], offset = [0, 0], isVisible; if (position) { // deep extending converts arrays to objects in jQuery <= 1.3.2 :-( // if (typeof position == 'string' || $.isArray(position)) { // myAt = $.isArray(position) ? position : position.split(' '); if (typeof position === 'string' || (typeof position === 'object' && '0' in position)) { myAt = position.split ? position.split(' ') : [position[0], position[1]]; if (myAt.length === 1) { myAt[1] = myAt[0]; } $.each(['left', 'top'], function(i, offsetPosition) { if (+myAt[i] === myAt[i]) { offset[i] = myAt[i]; myAt[i] = offsetPosition; } }); position = { my: myAt.join(" "), at: myAt.join(" "), offset: offset.join(" ") }; } position = $.extend({}, $.ui.dialog.prototype.options.position, position); } else { position = $.ui.dialog.prototype.options.position; } // need to show the dialog to get the actual offset in the position plugin isVisible = this.uiDialog.is(':visible'); if (!isVisible) { this.uiDialog.show(); } this.uiDialog // workaround for jQuery bug #5781 http://dev.jquery.com/ticket/5781 .css({ top: 0, left: 0 }) .position($.extend({ of: window }, position)); if (!isVisible) { this.uiDialog.hide(); } }, _setOptions: function( options ) { var self = this, resizableOptions = {}, resize = false; $.each( options, function( key, value ) { self._setOption( key, value ); if ( key in sizeRelatedOptions ) { resize = true; } if ( key in resizableRelatedOptions ) { resizableOptions[ key ] = value; } }); if ( resize ) { this._size(); } if ( this.uiDialog.is( ":data(resizable)" ) ) { this.uiDialog.resizable( "option", resizableOptions ); } }, _setOption: function(key, value){ var self = this, uiDialog = self.uiDialog; switch (key) { //handling of deprecated beforeclose (vs beforeClose) option //Ticket #4669 http://dev.jqueryui.com/ticket/4669 //TODO: remove in 1.9pre case "beforeclose": key = "beforeClose"; break; case "buttons": self._createButtons(value); break; case "closeText": // ensure that we always pass a string self.uiDialogTitlebarCloseText.text("" + value); break; case "dialogClass": uiDialog .removeClass(self.options.dialogClass) .addClass(uiDialogClasses + value); break; case "disabled": if (value) { uiDialog.addClass('ui-dialog-disabled'); } else { uiDialog.removeClass('ui-dialog-disabled'); } break; case "draggable": var isDraggable = uiDialog.is( ":data(draggable)" ); if ( isDraggable && !value ) { uiDialog.draggable( "destroy" ); } if ( !isDraggable && value ) { self._makeDraggable(); } break; case "position": self._position(value); break; case "resizable": // currently resizable, becoming non-resizable var isResizable = uiDialog.is( ":data(resizable)" ); if (isResizable && !value) { uiDialog.resizable('destroy'); } // currently resizable, changing handles if (isResizable && typeof value === 'string') { uiDialog.resizable('option', 'handles', value); } // currently non-resizable, becoming resizable if (!isResizable && value !== false) { self._makeResizable(value); } break; case "title": // convert whatever was passed in o a string, for html() to not throw up $(".ui-dialog-title", self.uiDialogTitlebar).html("" + (value || ' ')); break; } $.Widget.prototype._setOption.apply(self, arguments); }, _size: function() { /* If the user has resized the dialog, the .ui-dialog and .ui-dialog-content * divs will both have width and height set, so we need to reset them */ var options = this.options, nonContentHeight, minContentHeight, isVisible = this.uiDialog.is( ":visible" ); // reset content sizing this.element.show().css({ width: 'auto', minHeight: 0, height: 0 }); if (options.minWidth > options.width) { options.width = options.minWidth; } // reset wrapper sizing // determine the height of all the non-content elements nonContentHeight = this.uiDialog.css({ height: 'auto', width: options.width }) .height(); minContentHeight = Math.max( 0, options.minHeight - nonContentHeight ); if ( options.height === "auto" ) { // only needed for IE6 support if ( $.support.minHeight ) { this.element.css({ minHeight: minContentHeight, height: "auto" }); } else { this.uiDialog.show(); var autoHeight = this.element.css( "height", "auto" ).height(); if ( !isVisible ) { this.uiDialog.hide(); } this.element.height( Math.max( autoHeight, minContentHeight ) ); } } else { this.element.height( Math.max( options.height - nonContentHeight, 0 ) ); } if (this.uiDialog.is(':data(resizable)')) { this.uiDialog.resizable('option', 'minHeight', this._minHeight()); } } }); $.extend($.ui.dialog, { version: "1.8.11", uuid: 0, maxZ: 0, getTitleId: function($el) { var id = $el.attr('id'); if (!id) { this.uuid += 1; id = this.uuid; } return 'ui-dialog-title-' + id; }, overlay: function(dialog) { this.$el = $.ui.dialog.overlay.create(dialog); } }); $.extend($.ui.dialog.overlay, { instances: [], // reuse old instances due to IE memory leak with alpha transparency (see #5185) oldInstances: [], maxZ: 0, events: $.map('focus,mousedown,mouseup,keydown,keypress,click'.split(','), function(event) { return event + '.dialog-overlay'; }).join(' '), create: function(dialog) { if (this.instances.length === 0) { // prevent use of anchors and inputs // we use a setTimeout in case the overlay is created from an // event that we're going to be cancelling (see #2804) setTimeout(function() { // handle $(el).dialog().dialog('close') (see #4065) if ($.ui.dialog.overlay.instances.length) { $(document).bind($.ui.dialog.overlay.events, function(event) { // stop events if the z-index of the target is < the z-index of the overlay // we cannot return true when we don't want to cancel the event (#3523) if ($(event.target).zIndex() < $.ui.dialog.overlay.maxZ) { return false; } }); } }, 1); // allow closing by pressing the escape key $(document).bind('keydown.dialog-overlay', function(event) { if (dialog.options.closeOnEscape && event.keyCode && event.keyCode === $.ui.keyCode.ESCAPE) { dialog.close(event); event.preventDefault(); } }); // handle window resize $(window).bind('resize.dialog-overlay', $.ui.dialog.overlay.resize); } var $el = (this.oldInstances.pop() || $('
    ').addClass('ui-widget-overlay')) .appendTo(document.body) .css({ width: this.width(), height: this.height() }); if ($.fn.bgiframe) { $el.bgiframe(); } this.instances.push($el); return $el; }, destroy: function($el) { var indexOf = $.inArray($el, this.instances); if (indexOf != -1){ this.oldInstances.push(this.instances.splice(indexOf, 1)[0]); } if (this.instances.length === 0) { $([document, window]).unbind('.dialog-overlay'); } $el.remove(); // adjust the maxZ to allow other modal dialogs to continue to work (see #4309) var maxZ = 0; $.each(this.instances, function() { maxZ = Math.max(maxZ, this.css('z-index')); }); this.maxZ = maxZ; }, height: function() { var scrollHeight, offsetHeight; // handle IE 6 if ($.browser.msie && $.browser.version < 7) { scrollHeight = Math.max( document.documentElement.scrollHeight, document.body.scrollHeight ); offsetHeight = Math.max( document.documentElement.offsetHeight, document.body.offsetHeight ); if (scrollHeight < offsetHeight) { return $(window).height() + 'px'; } else { return scrollHeight + 'px'; } // handle "good" browsers } else { return $(document).height() + 'px'; } }, width: function() { var scrollWidth, offsetWidth; // handle IE 6 if ($.browser.msie && $.browser.version < 7) { scrollWidth = Math.max( document.documentElement.scrollWidth, document.body.scrollWidth ); offsetWidth = Math.max( document.documentElement.offsetWidth, document.body.offsetWidth ); if (scrollWidth < offsetWidth) { return $(window).width() + 'px'; } else { return scrollWidth + 'px'; } // handle "good" browsers } else { return $(document).width() + 'px'; } }, resize: function() { /* If the dialog is draggable and the user drags it past the * right edge of the window, the document becomes wider so we * need to stretch the overlay. If the user then drags the * dialog back to the left, the document will become narrower, * so we need to shrink the overlay to the appropriate size. * This is handled by shrinking the overlay before setting it * to the full document size. */ var $overlays = $([]); $.each($.ui.dialog.overlay.instances, function() { $overlays = $overlays.add(this); }); $overlays.css({ width: 0, height: 0 }).css({ width: $.ui.dialog.overlay.width(), height: $.ui.dialog.overlay.height() }); } }); $.extend($.ui.dialog.overlay.prototype, { destroy: function() { $.ui.dialog.overlay.destroy(this.$el); } }); }(jQuery)); /* IE6Handler.js */ /**/ function IE6Handler(){if(fb)console.log('IE6Handler ready');var t_ie6=false;if(navigator.appVersion.match(/MSIE [0-6]\./)){t_ie6=true}this.init_binds=function(){if(fb)console.log('IE6Handler init_binds');if(t_ie6&&typeof(DD_belatedPNG)!='undefined'){this.fix_png()}};this.fix_png=function(){DD_belatedPNG.fix('.png-fix, a.button_blue span, a.button_blue, a.button_blue img, a.button_green span, a.button_green, a.button_green img, a.button_grey span, a.button_grey, a.button_grey img, a.button_red span, a.button_red, a.button_red img, .tabs ul .ui-tabs-selected a, .tabs ul li, #container_inner #header, .megadropdown-shadow, #top_navi a img, #top_navi li, #dropdown_shopping_cart, #dropdown_shopping_cart_inner, #head_navi, #head_navi li, #head_navi li a:hover, #head_toolbox, #head_toolbox img, a.button span, a.button, a.button img, #head_toolbox div, input.input-text, .process_bar ul li a, .process_bar ul li, .input-textarea')};this.init_binds()} /**/ /* gm_shop_scripts.js */ //GM BOF var fb = false; if(typeof console != 'undefined') { //test } if(fb)console.log("fb1"); //GM EOF var gm_session_id = 'ei1hs720cm05j1ueeq8okvg3r5'; /**/ function checkBrowserName(name){var agent=navigator.userAgent.toLowerCase();if(agent.indexOf(name.toLowerCase())>-1){return true;}return false;}var selected;var submitter=null;function submitFunction(){submitter=1;}function popupWindow(url){window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150');}var t_php_helper=''; /**/ /** * hoverIntent r6 // 2011.02.26 // jQuery 1.5.1+ * * * @param f onMouseOver function || An object with configuration options * @param g onMouseOut function || Nothing (use configuration options object) * @author Brian Cherne brian(at)cherne(dot)net */ (function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(5($){$.z.1E=5(r){2(L r==\'5\')r={M:r};r=$.1F({1a:4.R(\'1b\')||1k.2o.2p(),E:4.R(\'1G\')||\'1H\'},r||{});3 u={};4.N(\'D-2q-2r\',[4,r,u]);2(u.1I)6 4;3 a=4.1l(r.2s);2(r.O){r.1c=r.O;F(3 n 1J r.O)a.A({7:n,8:r.O[n]})}2(r.1K&&r.1K(a,4,r)===G)6 4;4.N(\'D-P-2t\',[a,4,r,u]);2(u.1I)6 4;3 q=$.1m(a);2(r.E.2u()==\'1H\'){r.1a+=(r.1a.2v(\'?\')>=0?\'&\':\'?\')+q;r.O=B}C r.O=q;3 v=4,S=[];2(r.1n)S.A(5(){v.1n()});2(r.1o)S.A(5(){v.1o()});2(!r.W&&r.X){3 w=r.M||5(){};S.A(5(a){$(r.X).2w(a).J(w,2x)})}C 2(r.M)S.A(r.M);r.M=5(a,b){F(3 i=0,H=S.I;i\');3 l=k[0];3 m=$.1d.1N&&1k.1N.2I()<9;2($.1d.1O||m)l.2J=\'2K:G;1r.2L("");\';k.2M({2N:\'2O\',1P:\'-1Q\',1R:\'-1Q\'});3 o={11:B,17:B,2P:0,2Q:\'n/a\',2R:5(){},1S:5(){},2S:5(){}};3 g=i.2T;2(g&&!$.1T++)$.18.N("2U");2(g)$.18.N("2V",[o,i]);3 p=0;3 q=0;1e(5(){3 t=v.R(\'X\'),a=v.R(\'1b\');v.R({X:j,2W:\'1U/D-O\',2X:\'1U/D-O\',1G:\'2Y\',1b:i.1a});2(i.1s)1e(5(){q=T;12()},i.1s);3 b=[];1V{2(r.1c)F(3 n 1J r.1c)b.A($(\'\').1W(h)[0]);k.1W(\'1t\');l.1X?l.1X(\'1Y\',12):l.30(\'1Z\',12,G);h.P()}31{v.R(\'1b\',a);t?v.R(\'X\',t):v.32(\'X\');$(b).20()}},10);5 12(){2(p++)6;l.21?l.21(\'1Y\',12):l.33(\'1Z\',12,G);3 c=T;1V{2(q)34\'1s\';3 d,Q;Q=l.22?l.22.1r:l.23?l.23:l.1r;o.11=Q.1t?Q.1t.35:B;o.17=Q.24?Q.24:Q;o.1S=5(a){3 b={\'36-E\':i.W};6 b[a]};2(i.W==\'37\'||i.W==\'38\'){3 f=Q.1u(\'1v\')[0];o.11=f?f.8:o.11}C 2(i.W==\'25\'&&!o.17&&o.11!=B){o.17=26(o.11)}d=$.39(o,i.W)}3a(e){c=G;$.3b(i,o,\'27\',e)}2(c){i.M(d,\'M\');2(g)$.18.N("3c",[o,i])}2(g)$.18.N("3d",[o,i]);2(g&&!--$.1T)$.18.N("3e");2(i.28)i.28(o,c?\'M\':\'27\');1e(5(){k.20();o.17=B},3f)}5 26(s,a){2(1k.29){a=1q 29(\'3g.3h\');a.3i=\'G\';a.3j(s)}C a=(1q 3k()).3l(s,\'1w/25\');6(a&&a.2a&&a.2a.1f!=\'3m\')?a:B}}};$.z.3n=5(c){6 4.2b().2c(\'P.D-1g\',5(){$(4).1E(c);6 G}).J(5(){$(":P,Y:13",4).2c(\'2d.D-1g\',5(e){3 a=4.D;a.U=4;2(4.E==\'13\'){2(e.2e!=V){a.14=e.2e;a.15=e.3o}C 2(L $.z.2f==\'5\'){3 b=$(4).2f();a.14=e.2g-b.1R;a.15=e.2h-b.1P}C{a.14=e.2g-4.3p;a.15=e.2h-4.3q}}1e(5(){a.U=a.14=a.15=B},10)})})};$.z.2b=5(){4.2i(\'P.D-1g\');6 4.J(5(){$(":P,Y:13",4).2i(\'2d.D-1g\')})};$.z.1l=5(b){3 a=[];2(4.I==0)6 a;3 c=4[0];3 d=b?c.1u(\'*\'):c.3r;2(!d)6 a;F(3 i=0,H=d.I;i0)return;if(typeof speed=='function'){callback=speed;speed=null}if(typeof opacity=='function'){callback=opacity;opacity=null}if(speed<1){var placeholder=opacity;opacity=speed;speed=placeholder}if(opacity>=1){var placeholder=speed;speed=opacity;opacity=placeholder}speed=(speed>0)?speed:500;opacity=(opacity>0)?opacity:0.5;if(typeof nc_height=='undefined'){if(typeof nc_height=='undefined')var nc_height=$('body').attr('offsetHeight');if(typeof nc_height=='undefined')var nc_height=$(document).attr('height');if(typeof nc_height=='undefined')var nc_height=$(document).height()}var gm_height=$(document).height()+150;var t_append_to='body';if(navigator.appVersion.match(/MSIE [0-7]\./)&&$('#container').length>0){t_append_to='#container'}return jQuery('
    ').attr({id:'__dimScreen',fade_opacity:opacity,speed:speed}).css({background:'#000000',left:'0px',opacity:'0',position:'absolute',top:'0px',width:'100%',zIndex:'999'}).appendTo(t_append_to).fadeTo(speed,opacity,callback)},dimScreenStop:function(callback){var x=jQuery('#__dimScreen');var opacity=x.attr('fade_opacity');var speed=x.attr('speed');x.fadeOut(speed,function(){x.remove();if(typeof callback=='function')callback()})}});jQuery.extend({dimScreenIFrame:function(speed,opacity,callback,nc_height){if(jQuery('#__dimScreenIFrame').size()>0)return;if(typeof speed=='function'){callback=speed;speed=null}if(typeof opacity=='function'){callback=opacity;opacity=null}if(speed<1){var placeholder=opacity;opacity=speed;speed=placeholder}if(opacity>=1){var placeholder=speed;speed=opacity;opacity=placeholder}speed=(speed>0)?speed:500;opacity=(opacity>0)?opacity:0.5;if(typeof nc_height=='undefined'){if(typeof nc_height=='undefined')var nc_height=$('body').attr('offsetHeight');if(typeof nc_height=='undefined')var nc_height=$(document).attr('height');if(typeof nc_height=='undefined')var nc_height=$(document).height()}var gm_height=$(document).height()+150;var t_append_to='body';if(navigator.appVersion.match(/MSIE [0-7]\./)&&$('#container').length>0){t_append_to='#container'}return jQuery('
    ').attr({id:'__dimScreenIFrame',fade_opacity:opacity,speed:speed}).css({background:'#000000',height:gm_height+'px',left:'0px',opacity:'0',position:'absolute',top:'0px',width:'100%',zIndex:'1001'}).appendTo(t_append_to).fadeTo(speed,opacity,callback)},dimScreenStopIFrame:function(callback){var x=jQuery('#__dimScreenIFrame');var opacity=x.attr('fade_opacity');var speed=x.attr('speed');x.fadeOut(speed,function(){x.remove();if(typeof callback=='function')callback()})}});$(document).ready(function(){$('.lightbox_iframe').live('click',function(e){if(fb)console.log('.lightbox_iframe click');var t_iframe_url=$(this).attr('href');gmLightBox.load_iframe(t_iframe_url);return false});$('.gx_microshop_lightbox').live('click',function(e){var t_iframe_url=$(this).attr('href');gmLightBox.load_iframe(t_iframe_url,750);return false})});this.load_iframe=function(p_url,p_width,p_height){if(typeof p_width=='undefined')var p_width=850;if(typeof p_height=='undefined')var p_height=600;$('#iframe_layer').remove();$('body').append('');$('#iframe_layer').css({position:'absolute',left:'0px',top:'50px',width:'100%',height:'100%'});$('#iframe_box').css({marginLeft:'auto',marginRight:'auto',width:p_width+'px',height:p_height+'px',backgroundColor:'white'});$('#iframe_box_bar').css({marginLeft:'auto',marginRight:'auto',width:p_width+'px',color:'white',textAlign:'right'});$('#iframe_box').html('');this.load_box('#iframe_layer',100,true);$('#menubox_gm_scroller').css({display:'none'});if($(document).height()>$('#product_images_box').height()){var pt_height=$(document).height()}else{var pt_height=$('#product_images_box').height()+200}$('#__dimScreen').css({height:pt_height+'px'})};this.load_box=function(box_id,fade_background_speed,fade_in,mb_height){scroll(0,0);if(fb)console.log('load_box: '+box_id);if(typeof v=='undefined')var fade_background_speed=100;if(typeof fade_in=='undefined')var fade_in=true;current_box_id=box_id;if(navigator.appVersion.match(/MSIE [0-6]\./)){this.ie6_fix(true)}if(box_id=='#iframe_layer'){$(current_box_id).css({zIndex:'1002',display:'none'});$.dimScreenIFrame(fade_background_speed,0.7,function(){if(fb)console.log('dim done:'+current_box_id);if(fade_in)$(current_box_id).fadeIn();else $(current_box_id).show()},mb_height)}else{$(current_box_id).css({zIndex:'1000',display:'none'});$.dimScreen(fade_background_speed,0.7,function(){if(fb)console.log('dim done:'+current_box_id);if(fade_in)$(current_box_id).fadeIn();else $(current_box_id).show()},mb_height)}};this.close_iframe_box=function(){var t_close=true;if(typeof(gm_style_edit_mode_running)=='boolean'&&gm_style_edit_mode_running==true){t_close=confirm('Klicken Sie auf Abbrechen, wenn Sie diesen Link nicht aufrufen, sondern bearbeiten möchten.')}if(t_close){if(typeof(gmLightBox)!='undefined'){$('#iframe_box_bar').remove();$('#iframe_box').remove();this.close_box('#iframe_box')}}return false};this.close_box=function(p_box_id){if(fb)console.log(current_box_id+': close_box()');$('#menubox_gm_scroller').css({display:'block'});if(typeof(p_box_id)=='undefined'||p_box_id!='#iframe_box'){$.dimScreenStop()}else{$.dimScreenStopIFrame()}$(current_box_id).fadeOut("normal",function(){if(navigator.appVersion.match(/MSIE [0-6]\./)){$('.lightbox_visibility_hidden').css({visibility:'visible'});coo_this.ie6_fix(false)}});current_box_id=''};this.centered_left=function(element_width){var x=(screen.width/2)-(element_width/2);if(fb)console.log('centered width:'+x);return Math.round(x)};this.centered_top=function(element_height){var y=(screen.height/2)-(element_height/2);if(fb)console.log('centered height:'+y);return Math.round(y)};this.ie6_fix=function(p_hide){if(p_hide){$('select').each(function(){if($(this).css('visibility')!='hidden'&&$(this).css('display')!='none'){t_ie6_elements_array.push(this);$(this).css({visibility:'hidden'})}})}else{for(var i=0;i');$('#test_box').css({position:'absolute',left:this.centered_left(500)+'px',top:'150px',width:'500px',height:'0px',background:'white'});this.load_box('#test_box')};} /**/ /* GMScroller.js.php */ /**/ function GMScroller(){var x=null;var counter=0;var scroller_stop=0;var content_height=0;this.scroll=function(){if(content_height==0){document.getElementById('gm_scroller').style.display="block";document.getElementById('gm_scroller').style.padding="200px 0px 200px 0px";content_height=Number(document.getElementById("gm_scroller").offsetHeight);}clearTimeout(x);x=window.setTimeout("gmScroller.scroll()",Number("50"));if(scroller_stop==1)return;document.getElementById('menubox_gm_scroller_body').scrollTop=counter;counter++;if(counter==content_height-Number("200")){counter=0;}};this.start=function(){x=window.setTimeout("gmScroller.scroll()",Number("50"));};this.set_stop=function(stop_val){scroller_stop=stop_val;};}var gmScroller=new GMScroller();$(document).ready(function(){if(fb)console.log("menubox_gm_scroller ready");if($("#menubox_gm_scroller").attr('id')=='menubox_gm_scroller'){gmScroller.start();}$('#menubox_gm_scroller_body').hover(function(){gmScroller.set_stop(1);},function(){gmScroller.set_stop(0);});}); /**/ /* gm_shopping_cart.js */ /**/ var gm_qty_changed=false;function gm_qty_is_changed(old_qty,new_qty,gm_message){if(new_qty!=old_qty){$("#gm_checkout").attr('href',"javascript:alert('"+gm_message+"')");}return;} /**/ /* ActionSubmitHandler.js */ /**/ function ActionSubmitHandler(){if(fb)console.log('ActionSubmitHandler ready');this.init_binds=function(){if(fb)console.log('ActionSubmitHandler init_binds');$('.action_submit').die('click');$('.action_submit').live('click',function(){if(fb)console.log('.action_submit click');if($(this).closest('form').length>0){if($(this).hasClass('replace_form_action')){if(fb)console.log('replace_form_action found!');var t_new_action_url=$(this).attr('href');if($(this).closest('form').length>0){$(this).closest('form').attr('action',t_new_action_url);}}if(typeof($(this).closest('form').attr('onsubmit'))=='string'){if(fb)console.log('found onsubmit in form-tag!');var t_onsubmit=$(this).closest('form').attr('onsubmit').replace('return ','');var t_onsubmit_return=eval(t_onsubmit);if(fb)console.log('onsubmit evaluated');if(t_onsubmit_return==false){if(fb)console.log('onsubmit returns: false');return false;}else if(t_onsubmit_return==true){if(fb)console.log('onsubmit returns: true');}}$(this).closest('form').submit();}else{if(fb)console.log('no form found!');}return false;});};this.init_binds();} /**//* ButtonCurrencyChangeHandler.js */ /**/ function ButtonCurrencyChangeHandler(){if(fb)console.log('ButtonCurrencyChangeHandler ready');this.init_binds=function(){if(fb)console.log('ButtonCurrencyChangeHandler init_binds');$('.currencies_selection').die('change');$('.currencies_selection').live('change',function(){if(fb)console.log('.currencies_selection change');if($(this).closest('form').length>0){$(this).closest('form').submit();}return false;});};this.init_binds();} /**/ /* ButtonOpenSearchHandler.js */ /**/ function ButtonOpenSearchHandler(){if(fb)console.log('ButtonOpenSearchHandler ready');this.init_binds=function(){if(fb)console.log('ButtonOpenSearchHandler init_binds');$('.button_opensearch').die('click');$('.button_opensearch').live('click',function(){if(fb)console.log('.button_opensearch click');add_opensearch_plugin();return false;});};function add_opensearch_plugin(){if(navigator.appVersion.match(/MSIE [7-8]\./)!=null||navigator.userAgent.match(/Firefox/i)||navigator.userAgent.match(/Chrome/i)){var t_opensearch_link='http://bio-baeckerei-fischer.de/export/opensearch_2.xml';window.external.AddSearchProvider(t_opensearch_link);}else{alert('Die Schnell-Suche ist derzeit nur im Internet Explorer 7 und im Mozilla Firefox verfügbar.');}}this.init_binds();} /**/ /* CartControl.js */ /**/ function CartControl(){if(fb)console.log('CartControl ready');this.submit_buy_now_form=function(p_form){var coo_this=this;var t_form_data=$(p_form).serialize();if(fb)console.log('t_form_data: '+t_form_data);var t_url='request_port.php?module=buy_now';$.ajax({url:t_url,type:'POST',dataType:'json',data:t_form_data,success:function(p_result_json){if(fb)console.log('show_details: '+p_result_json.show_details);if(p_result_json.show_details==false&&p_result_json.show_cart==false){coo_this.load_dropdown_content();}if(p_result_json.show_details==false&&p_result_json.show_cart==true){document.location.href='http://bio-baeckerei-fischer.de/shopping_cart.php';}if(p_result_json.show_details==true){document.location.href=p_result_json.products_details_url;}}});};this.load_dropdown_content=function(){var coo_this=this;var t_url='';if(coo_this.need_fixed_cart()==true){t_url='request_port.php?module=cart_dropdown&part=fixed';$.ajax({type:'GET',url:t_url,success:function(p_result){var t_dropdown_html=p_result;$('#fixed_dropdown_shopping_cart').remove();$('.wrap_shop').prepend(t_dropdown_html);coo_this.position_fixed_dropdown();/*coo_this.open_fixed_dropdown();setTimeout('coo_cart_control.close_fixed_dropdown()',5000);*/}});}t_url='request_port.php?module=cart_dropdown&part=header';$.ajax({type:'GET',url:t_url,success:function(p_result){var t_header_html=p_result;$('#head_shopping_cart').remove();$('#head_toolbox_inner').prepend(t_header_html);if(coo_this.need_fixed_cart()==false){$('#head_shopping_cart').addClass('active');}}});t_url='request_port.php?module=cart_dropdown&part=dropdown';$.ajax({type:'GET',url:t_url,success:function(p_result){var t_dropdown_html=p_result;$('#dropdown_shopping_cart').remove();$('.wrap_shop').prepend(t_dropdown_html);coo_this.position_dropdown();/*if(coo_this.need_fixed_cart()==false){coo_this.open_dropdown();setTimeout('coo_cart_control.close_dropdown()',5000);} */}});};this.need_fixed_cart=function(){var t_cart_header=$('#head_shopping_cart');var t_dropdown_offset_top=$('#container').attr('offsetTop')+$(t_cart_header).attr('offsetTop')+$(t_cart_header).height();var scrOfY=0;if(typeof(window.pageYOffset)=='number'){scrOfY=window.pageYOffset;}else if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;}else if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;}if(fb)console.log('offset '+t_dropdown_offset_top);if(fb)console.log('scrollTop '+scrOfY);if(t_dropdown_offset_top35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('n r(){2(6)7.8(\'r E\');4 e=0;4 f=0;4 g=3;4 h=0;4 i=3;4 j=3;5.s=n(){2(6)7.8(\'r s\');$(\'w\').x(\'F\',n(a){4 b=(a.o?a.o:(a.p?a.p:a.y));2($(5).q(\'l\').G(\'.z\').t>0){2(b==u&&((H.I($(5).A().t-h)<=1||g==9)||e==0)){2(i||j==3){m 3}2(J($(5).q(\'l\').B(\'k\'))==\'K\'){2(6)7.8(\'C k L l-M!\');4 c=$(5).q(\'l\').B(\'k\').N(\'m \',\'\');4 d=O(c);2(6)7.8(\'k P\');2(d==3){2(6)7.8(\'k D: 3\');m 3}v 2(d==9){2(6)7.8(\'k D: 9\')}}$(5).q(\'l\').Q();m 3}v 2(b==u){j=3;i=3}e=b;h=$(5).A().t}v{2(6)7.8(\'R ".z" S C\')}m 9});$(\'w\').x(\'T\',n(a){4 b=(a.o?a.o:(a.p?a.p:a.y));2(b!=u){g=3}2(f==U){2(b==V){g=9}}2(e==W||e==X||e==Y||e==Z){i=9}f=b;j=9})};5.s()}',62,62,'||if|false|var|this|fb|console|log|true|||||||||||onsubmit|form|return|function|keyCode|which|closest|InputEnterKeyHandler|init_binds|length|13|else|input|live|charCode|action_submit|val|attr|found|returns|ready|keyup|find|Math|abs|typeof|string|in|tag|replace|eval|evaluated|submit|no|button|keydown|17|86|37|38|39|40'.split('|'),0,{})); /**/ /* PullDownLinkHandler.js */ /**/ eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 r(){1(8)9.h(\'r O\');5 d=s();5 e=s();5 f=2;5 g=k;2.w=3(){1(8)9.h(\'r w\');$(\'.x\').i(\'4\');$(\'.x\').l(\'4\',3(){1(8)9.h(\'.x 4\');f.E(2);P t})};2.E=3(a){5 b=$(a).6(\'m\');1($(b).n(\'Q\')==\'R\'){1($(a).F(\'G[u]\').6(\'u\').y>0){$(\'#\'+$(a).F(\'G[u]\').6(\'u\')+\' a\').S(3(){1($(2).6(\'m\').y>0){1(7(d[$(2).6(\'m\')])==\'o\'){j(d[$(2).6(\'m\')])}$($(2).6(\'m\')).p()}})}5 c=v($(a).H().z)+v($(a).T())+v($(a).n(\'I-z\').J(\'A\',\'\'))+v($(a).n(\'I-U\').J(\'A\',\'\'));$(b).n(\'K\',$(a).H().K).n(\'z\',c+\'A\').V();1($(a).W(\'X\')==t&&7(Y)==\'L\'){d[b]=M("$(\'"+b+"\').p()",N)}}Z{1(7(d[b])==\'o\'){j(d[b])}$(b).p()}$(b).i(\'4\');$(b).l(\'4\',3(){g=t;e[b]=k;1(7(d[b])==\'o\'){j(d[b])}});$(b).i(\'B\');$(b).l(\'B\',3(){1(8)9.h(b+\': B\');g=t;1(7(d[b])==\'o\'){j(d[b])}});$(b).i(\'C\');$(b).l(\'C\',3(){1(8)9.h(b+\': C\');g=k;1(7(d[b])==\'o\'&&7(e[b])==\'L\'){j(d[b]);d[b]=M("$(\'"+b+"\').p()",N)}});$(\'.D\').i(\'4\',f.q);$(\'.D\').l(\'4\',f.q)};2.q=3(){1(8)9.h(\'r q 10: \'+g);5 a=\'\';11(a 12 d){j(d[a]);1($(a).y>0&&g==k){$(a).p()}}1(g==k){d=s();e=s();$(\'.D\').i(\'4\',2.q)}};2.w()}',62,65,'|if|this|function|click|var|attr|typeof|fb|console||||||||log|die|clearTimeout|true|live|rel|css|number|slideUp|close_all|PullDownLinkHandler|Object|false|id|Number|init_binds|pulldown_link|length|top|px|mouseenter|mouseleave|wrap_shop|start|closest|div|offset|padding|replace|left|undefined|setTimeout|3000|ready|return|display|none|each|height|bottom|slideDown|hasClass|pulldown_link_no_auto_close|gm_style_edit_mode_running|else|allowed|for|in'.split('|'),0,{})); /**/ /* ResetFormHandler.js */ /**/ function ResetFormHandler(){if(fb)console.log('ResetFormHandler ready');this.init_binds=function(){if(fb)console.log('ResetFormHandler init_binds');$('.button_reset_form').die('click');$('.button_reset_form').live('click',function(){if(fb)console.log('.button_reset_form click');if($(this).closest('form').length>0){$(this).closest('form').find(':input').each(function(){switch(this.type){case 'password':case 'select-multiple':case 'select-one':case 'text':case 'textarea':$(this).val('');break;case 'checkbox':case 'radio':this.checked=false;}});if(typeof($(this).closest('form').attr('onsubmit'))=='string'){if(fb)console.log('found onsubmit in form-tag!');var t_onsubmit=$(this).closest('form').attr('onsubmit').replace('return ','');var t_onsubmit_return=eval(t_onsubmit);if(fb)console.log('onsubmit evaluated');if(t_onsubmit_return==false){if(fb)console.log('onsubmit returns: false');return false;}else if(t_onsubmit_return==true){if(fb)console.log('onsubmit returns: true');}}$(this).closest('form').submit();}else{if(fb)console.log('no form found!');}return false;});};this.init_binds();} /**//* */ /**/ eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(3($){$.16.6=3(){9 e=$("#1t").1u(),v=Q(7.6[e].C),m=0,n,w,R,D=E,q;m=$("#h o").T("F").G;$("#h o").C((m)*v);$("#h").r((m/2)*v);$("#1v").U("V");4($(".j-k a").G>1){9 f=7.6[e].1w.s("t");17(f[0]){W"H":$(".j-k").8("H",7.6[e].x).8("18","");I;19:$(".j-k").8("H","").8("18",7.6[e].x);I}17(f[1]){W"y":$(".j-k").8("X","").8("y",7.6[e].x);I;W"1a":$(".j-k").8("X",7.6[e].x).8("y",7.6[e].x);$(".j-k").8("1x-1y","1a");I;19:$(".j-k").8("X",7.6[e].x).8("y","");I}$(".j-k a").8("1z","1A")}4(m>2&&7.1b.1c!="1d"){q=J(3(){K(1)},7.6[e].Y)}4(7.1b.1c!="1d"){$(z).A("1B",3(){4(7.6[e].Z==L){M(q)}});$(z).A("10",3(){4(7.6[e].Z==L){M(q)}});$(z).A("11",3(){4(D==E&&7.6[e].Z==L&&m>2){q=J(3(){4($("#5").G==0){K(1)}},7.6[e].Y)}});$("#N .j-k a").1C(3(){9 a=$("#h o").T("F"),1e=$(a[m/2]).S("1f").p("u").s("t");n=Q(1e[1]);9 b=$(z).p("u").s(\'t\');w=Q(b[1]);4(D==E&&n!=w){M(q);4(w>n){R=w-n}12{R=w-n}K(R)}1D E})}3 K(c){D=L;9 d=0;4(c>0){d=c}12{d=c*(-1)}$("#5").1E();$("#h").1F({r:v*(m/2+c)},{1G:7.6[e].1H/d,1I:\'1J\',1K:3(){9 a=[];1L(9 i=0;i0){$("#h o").1g($("#h o").S("F:1M-1h").1i());$("#h").r($("#h").r()-v)}12{$("#h o").1N($("#h o").S("F:1O-1h").1i());$("#h").r($("#h").r()+v)}}a=$("#h o").T("F");$("#N .j-k a").1P("V");9 b=$(a[m/2]).S("1f").p("u").s("t");n=Q(b[1]);$("#1Q"+n).U("V");D=E;q=J(3(){K(1)},7.6[e].Y)}})}}})(1j);(3($){$.16.1k=3(){9 g,O,P,l,B;$.1R(z,3(){9 f=z;$(f).A("1l",3(){M(g);4($("#5").G==0){9 c=$("<1m>").p("u","5");$("1S").1g(c)}$(f).1T("10");$(f).A("10",3(e){O=e.1U;P=e.1V});9 d=$(f).p("u").s("t");l=d[1];4(l!=$("#5").p("1W")){4(B){B.1n()}B=$.1X({1Y:"1Z",21:"22.23?24=25",26:L,27:{"28":"29","2a":l},2b:3(a){9 b=$(f).p("u").s("t");4(b[1]==l&&$.1o(a)!=""&&$.1o(a.2c(/<2d \\/>/g,""))!=""){$("#5").U(l);$("#5").2e(a);$("#5").8("y",O);$("#5").8("H",P);4((O-$(13).r()+$("#5").C()+1p)>=$(1q).C()){$("#5").8("y",O-$("#5").C()-20)}4((P-$(13).2f()+$("#5").14()+1p)>=$(1q).14()){$("#5").8("H",P-$("#5").14()-20)}$("#5").2g()}}})}});$(f).A("11",3(){l=0;g=J(15,1r)});$("#5").1s("1l",3(){9 a=$(f).p("u").s("t");l=a[1];M(g)});$("#5").1s("11",3(){l=0;g=J(15,1r)});3 15(){4(l==0){4(B){B.1n()}$("#5").2h()}}})}})(1j);$(13).2i(3(){4($("#N").G==1){$("#N").6();$("#N 2j").1k()}});',62,144,'|||function|if|slider_flyover_container|slider_plugin|js_options|css|var||||||||jcarousel_image_box||jcarousel|control|actual_area_id|ul_children_length|big_image_nr|ul|attr|timeout|scrollLeft|split|_|id|li_width|prev_image_nr|control_margin|left|this|bind|request|width|active_animation|false|li|length|top|break|setTimeout|update_view|true|clearTimeout|jcarousel_box|mouse_pos_x|mouse_pos_y|parseInt|count_steps|find|children|addClass|jcarousel_control_a_active|case|right|slider_speed|stop_on_mouseover|mousemove|mouseleave|else|document|height|remove_container|fn|switch|bottom|default|center|global|style_edit_mode|edit|tmp_big_image_nr|img|append|child|detach|jQuery|slider_flyover_content|mouseenter|div|abort|trim|30|window|50|live|jcarousel_slider_id|val|slideImg_1|control_position|text|align|visibility|visible|mouseover|click|return|hide|animate|duration|animation_speed|easing|linear|complete|for|first|prepend|last|removeClass|slideImg_|each|body|unbind|pageX|pageY|class|ajax|type|POST||url|request_port|php|module|Slider|async|data|action|get_flyover_content|slider_image_area_id|success|replace|br|html|scrollTop|show|remove|ready|area'.split('|'),0,{})); /**/ /* TopNavigationHandler.js */ /**/ function TopNavigationHandler(){if(fb)console.log('TopNavigationHandler ready');this.init_binds=function(){if(fb)console.log('TopNavigationHandler init_binds');var t_background_color_hover='transparent';$('#top_navi_inner ul li a').die('hover');$('#top_navi_inner ul li a').live('hover',function(){if($(this).css('background-color')!='transparent'){t_background_color_hover=$(this).css('background-color');}});$('#top_navi_inner ul li').die('mouseleave');$('#top_navi_inner ul li').live('mouseleave',function(){$('#top_navi_inner ul li a').removeAttr('style');});$('#top_navi_inner ul li div').die('mouseenter');$('#top_navi_inner ul li div').live('mouseenter',function(){if(t_background_color_hover!=''){$(this).next('a').css('background-color',t_background_color_hover);}});$('#top_navi_inner ul li div').die('click');$('#top_navi_inner ul li div').live('click',function(){if(typeof($(this).next('a').attr('rel'))=='undefined'||$(this).next('a').attr('rel').length==0){document.location.href=$(this).next('a').attr('href');return false;}else{$(this).next('a').trigger('click');}});};this.init_binds();} /**//* */ /**/ eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(5($){$.x.i=5(){e c=$(6),2=$(j).7(\'y\').3(/[&]*z(=|\\/)[a-A-B-9,-]+/g,\'\');2=2.3(/\\?&/g,\'?\');2=2.3(/\\?$/g,\'\');e d=k(2),l=k(8.m.C+$("#n .D E").7(\'F\')),o=8.m.G+\' - \'+$.H($("#n .I J").f()+\' \');$.K(c,5(){$(6).L("M",5(){p(6)});N 6});5 p(a){e b="",1="";q($(a).4().O("h")){$(a).4().P("h");b=\'8.r.\'+$(a).4().7(\'s\')+\'.Q\';$(a).4().t(".u").f(v(b))}R{$(a).4().S("h");1=\'8.r.\'+$(a).4().7(\'s\')+\'.T\';1=v(1);1=1.3(\'#U#\',o);1=1.3(\'#V#\',l);1=1.3(\'#j#\',2);1=1.3(\'#W#\',d);$(a).4().t(".u").f(1)}}}})(X);$(Y).Z(5(){q($(".w").10>0){$(".w").i()}});',62,63,'|t_code|v_location|replace|parent|function|this|attr|js_options||||||var|html||switch_on|social_share_plugin|location|encodeURIComponent|v_product_image|global|product_info|v_product_text|update_view|if|social_share|id|find|social_share_content|eval|social_share_image|fn|href|XTCsid|zA|Z0|shop_root|info_image_box|img|src|shop_name|trim|info|h1|each|bind|click|return|hasClass|removeClass|image|else|addClass|code|text|product_image|location_encoded|jQuery|document|ready|length'.split('|'),0,{})); /**//* InputDefaultValueHandler.js */ /**/ eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 f(){2(7)8.9(\'f u\');3 d=m v();3 e=1;1.g=6(){2(7)8.9(\'f g\');3 c=\'\';$(\'.4\').n(\'h\');$(\'.4\').o(\'h\',6(){2(7)8.9(\'.4 h\');3 a=e.j(d,1);3 b=a;2(p(a)==\'w\'&&a==q){b=d.r;d[b]=m x();d[b][\'t\']=1;d[b][\'k\']=$(1).5()}2($(1).5()!=\'\'){c=$(1).5()}2(c==d[b][\'k\']){$(1).5(\'\')}});$(\'.4\').n(\'l\');$(\'.4\').o(\'l\',6(){2(7)8.9(\'.4 l\');2($(1).5().y(/\\s+/,\'\')==\'\'){3 a=e.j(d,1);$(1).5(d[a][\'k\'])}})};1.j=6(a,b){3 c=q;2(p(a)==\'z\'){A(3 i=0;i35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('8 w(){4(x)y.z(\'w 14\');9 j=7,r=15();7.A=8(){4(x)y.z(\'w A\');4($(\'#3\').B>0){$(\'.C\').16(\'\');9 d=o($(\'#3\').O().n),E=0;4(s($(\'#3\').1(\'P\'))!=\'t\'){E=o($(\'#3\').1(\'P\').u(\'p\',\'\'))}9 e=0;4(s($(\'#3\').1(\'k-n-v\'))!=\'t\'){e=o($(\'#3\').1(\'k-n-v\').u(\'p\',\'\'))}9 f=0;4(s($(\'#3\').1(\'l-n\'))!=\'t\'){f=o($(\'#3\').1(\'l-n\').u(\'p\',\'\'))}9 g=0;4(s($(\'#3\').1(\'l-Q\'))!=\'t\'){g=o($(\'#3\').1(\'l-Q\').u(\'p\',\'\'))}9 h=d+E+e+f+g;$(\'#5\').1({m:$(\'#3\').O().m,n:h+\'p\'});$(\'#5\').1(\'k-R\',$(\'#3\').1(\'k-m-R\'));$(\'#5\').1(\'k-D\',$(\'#3\').1(\'k-m-D\'));$(\'#5\').1(\'k-v\',$(\'#3\').1(\'k-m-v\'));$(\'#5\').1(\'l-m\',$(\'#3\').1(\'l-m\'));$(\'#5\').1(\'l-S\',$(\'#3\').1(\'l-S\'));$(\'#5 18 19\').F(\'G\',8(){1a.1b.T=$(7).1c(\'a\').U(\'T\');1d V});$(\'#3\').F(\'W\',8(b){4(x)y.z(\'3 W\');9 c=1e($(\'#3\').U(\'1f\'));4(c.B>2){1g.1h({1i:\'\',1j:\'1k.1l?1m=1n&1o=\'+c+\'&1p=\'+1q,1r:"1s",1t:X,1u:8(a){4(a!=\'\'){j.Y(a)}H{j.q()}}}).I}H{j.q()}});$(\'.C\').1v(\'G\',j.q);$(\'.C\').F(\'G\',j.q)}};7.q=8(){$(\'#5\').I(\'\');$(\'#5\').1w();4(Z.10.11(/12 [0-6]\\./)){j.J(V)}};7.Y=8(a){4(Z.10.11(/12 [0-6]\\./)){j.J(X)}$(\'#5\').I(a);$(\'#5\').1x()};7.J=8(a){4(a){$(\'1y\').1z(8(){4($(7).1(\'K\')!=\'13\'&&$(7).1(\'M\')!=\'N\'){r.1A(7);$(7).1({K:\'13\'})}})}H{1B(9 i=0;i35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('4 10(){2(9)h.i(\'10 1O\');6 f=j,11=j,8=3;3.12=4(){2(9)h.i(\'10 12\');$(\'.J a\').K(\'u\');$(\'.J a\').u(4(a){2(9)h.i(\'.J a u\');6 b=$(3).m(\'1n\');2(b!=8.M()){8.B(b);6 c=a.1P,Q=a.1Q;2(9)h.i(\'.J 1R \'+c);2(9)h.i(\'.J Q \'+Q);R.S(4(){8.N(j,c,Q)},1)}k j});$(\'.C a\').K(\'u\');$(\'.C a\').u(4(){2(9)h.i(\'.C u\');6 a=$(3).m(\'1n\');8.B(a);R.S(4(){8.13(j)},1S);k o});2(T 1T==\'U\'){$(\'.C a\').K(\'D\');$(\'.C a\').D(4(){2(9)h.i(\'.C D\');8.B(j);R.S(4(){8.E()},1o);k o});$(\'.l\').K(\'D\');$(\'.l\').D(4(){2(9)h.i(\'.l D\');8.B(j);R.S(4(){8.E()},1o);k o})}$(\'.l\').K(\'u\');$(\'.l\').u(4(){2(9)h.i(\'.l u\');8.B(o);k o})};3.12();3.N=4(a,b,c){2(9)h.i(\'N 1U \'+a);2(9)h.i(\'N 1V \'+b);2(9)h.i(\'N 1W \'+c);6 d=a;2(d==j){d=8.M()}2(d==j){k j}6 e=$(\'#q\'+d).1p;2(9)h.i(\'1q \'+e);2(e>0){$(\'#q\'+d).1r();8.14(d);8.1s(d,b,c);8.15(d);8.16(d,o);2(1t(\'1u\')){8.V(d)}}k o};3.13=4(a){2(9)h.i(\'13 \'+a);6 b=a;2(b==j){b=8.M()}2(b==j){k j}8.E(o);6 c=$(\'#q\'+b).1p;2(9)h.i(\'1q \'+c);2(c>0){$(\'#1X\'+b).1Y(\'r\');$(\'#q\'+b).1r();8.14(b);8.1v(b);8.1w();8.15(b);8.16(b,j);2(1t(\'1u\')){8.V(b)}}k o};3.16=4(a,b){6 c=\'#q\'+a,17=\'\',18=\'\',19=\'\';2(b==o){17=$(c+\' .l-z\').p(\'F-v-1x\');18=$(c+\' .l-z\').p(\'F-v-1y\');19=$(c+\' .l-z\').p(\'F-v-w\')}$(c+\' .l-z\').p(\'F-G-1x\',17);$(c+\' .l-z\').p(\'F-G-1y\',18);$(c+\' .l-z\').p(\'F-G-w\',19);k o};3.V=4(a){2(9)h.i(\'V()\');6 b=\'#q\'+a;$(b+\' .l-z\').p(\'1z-1Z\',\'20\')};3.E=4(a){2(a!=o){2(8.M()!=j){2(9)h.i(\'E() 21\');k j}}$(\'.l\').22();$(\'.r\').23(\'r\');2(9)h.i(\'E() 24\');k j};3.14=4(a){6 b=\'#q\'+a,t=$(\'#s .r\').1a().v,1A=$(\'#s .r\').w(),1B=$(\'#H\').w(),x=$(\'#H\').1a().v;2((t+1A)-x<1C&&(x+1B-t)<1C){$(b).w(25)}};3.15=4(d){6 e=\'#q\'+d,W=1b($(e).w()/$(".1c").w()),O=26 27();$(e+\' .1c\').1D(4(a){6 b=$(3).m(\'1d\');2(T b==\'U\')b=$(3).m(\'28\');2(T b==\'U\')b=$(3).1d();6 c=1b(a/W);2(0==a%W){O[c]=b}1e{2(b>O[c]){O[c]=b}}});$(e+\' .1c\').1D(4(a){6 b=1b(a/W);$(3).1d(O[b])})};3.1s=4(a,b,c){6 d=\'#q\'+a,1E=$(\'#H\').m(\'1f\'),x=$(\'#H\').m(\'I\'),1F=b-1E-5,P=c-x-5;$(d).p(\'G\',1F);$(d).p(\'v\',P)};3.1v=4(a){6 b=\'#q\'+a,t=$(\'#s .r\').m(\'I\');2((A.1g)&&(1h.1i.1j("1k 7.")!=-1)){6 c=$(\'#s .r\').m(\'1l\');t=3.X(c);2(9)h.i(\'Y, 29 \'+t)}6 d=$(b).w(),x=$(\'#H\').1a().v,1G=$(\'#H\').w()+x;2((t-x)+d<1G){3.Y(a)}1e{3.1m(a)}};3.1w=4(){6 a=$(\'#s\').2a().G+$(\'#s\').2b(o);$(\'.l\').p(\'G\',a)};3.X=4(a){6 L=0,n=A.1H(a);1I(n.Z){L+=(n.I)?n.I:0;2(n==A.1J)1K;n=n.Z}k L};3.2c=4(a){6 L=0,n=A.1H(a);1I(n.Z){L+=(n.1f)?n.1f:0;2(n==A.1J)1K;n=n.Z}k L};3.Y=4(a){2(9)h.i(\'Y\');6 b=\'#q\'+a,P=$(\'#s .r\').m(\'I\');2((A.1g)&&(1h.1i.1j("1k 7.")!=-1)){6 c=$(\'#s .r\').m(\'1l\');P=3.X(c)}$(b).p(\'v\',P-1)};3.1m=4(a){2(9)h.i(\'1m\');6 b=\'#q\'+a,t=$(\'#s .r\').m(\'I\');2((A.1g)&&(1h.1i.1j("1k 7.")!=-1)){6 c=$(\'#s .r\').m(\'1l\');t=3.X(c)}6 d=$(\'#s .r\').m(\'1L\'),1M=t+d,1N=$(b).m(\'1L\'),y=$(b+\' .l-2d\').p(\'1z-2e\');2(T y==\'U\'){y=0}1e{y=y.2f(/2g/g,\'\');y=2h(y)}6 e=1M-1N+y-1;$(b).p(\'v\',e-1)};3.B=4(a){11=a};3.M=4(){k 11};3.2i=4(a){f=a};3.2j=4(){k f}}',62,144,'||if|this|function||var||coo_this|fb||||||||console|log|false|return|megadropdown|attr|tempEl|true|css|megadropdown_box_id_|dropdown|head_navi|t_button_left|mouseover|left|width|t_container_left|t_shadow_padding|inside|document|set_open_categories_id|megadropdown_top_link|mouseout|close_dropdown|border|top|container|offsetLeft|flyout_link|unbind||get_open_categories_id|open_flyout|elementHeightArray|t_dropdown_left|t_left|window|setTimeout|typeof|undefined|do_ie_corrections|countElementsInLine|get_real_left_ie|align_dropdown_left|parentNode|MegadropdownHandler|v_open_categories_id|init_binds|open_dropdown|fit_dropdown|fit_categories|set_top_border|t_border_color_value|t_border_style_value|t_border_width_value|offset|parseInt|top_li|height|else|offsetTop|all|navigator|appVersion|indexOf|MSIE|id|align_dropdown_right|rel|500|length|t_found_divs|show|align_flyout|checkBrowserName|msie|align_dropdown|align_dropdown_top|color|style|padding|t_button_width|t_container_width|600|each|t_container_top|t_dropdown_top|t_body_width|getElementById|while|body|break|offsetWidth|t_button_right|t_dropdown_width|ready|pageY|pageX|t_top|250|gm_style_edit_mode_running|p_categories_id|p_top|p_left|megadropdown_top_link_id_|addClass|bottom|20px|canceled|hide|removeClass|done|410|new|Array|offsetHeight|t_dropdown_left1b|position|outerHeight|get_real_top_ie|shadow|right|replace|px|Number|set_dropdown_active|get_dropdown_active'.split('|'),0,{})); /**/ /* GMAskOpensearch.js */ /**/ function GMAskOpensearch(){$(document).ready(function(){if(typeof gm_style_edit_mode_running=='undefined'){gmOpenSearch.bind_flyover();}});this.bind_flyover=function(){$('.gm_opensearch_info').mouseover(function(event){if(fb)console.log('gm_opensearch_info mouseover');$('#flyover_layer').remove();$('.wrap_shop').append('
    ');$('#flyover_layer').css({zIndex:"100",position:"absolute",left:event.pageX+5,top:event.pageY+5});$('#flyover_layer').load('gm_opensearch.php');});$('.gm_opensearch_info').mouseout(function(event){if(fb)console.log('gm_opensearch mouseout');$('#flyover_layer').remove();});$('.gm_opensearch_info').mousemove(function(event){$('#flyover_layer').css({zIndex:"100",position:"absolute",left:event.pageX+5,top:event.pageY+5});});};} /**/ /* GMMegaFlyOver.js */ /**/ eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 1t(e){7 f=4;7 g=0;7 h=0;7 j=e;7 k=1u 1v();7 l=\'\';7 m=0;7 n=D;7 o=0;4.11=6(){$(\'#3\').R();$(\'.12\').13(\'\');$(\'#3\').9({14:"D",15:"16",17:"1w"});$(\'#3\').1x(\'18.19?1a=1b&1c=0&1d=\'+1e);$(\'.8\').z(6(a){2(p)q.r(\'8 z (1y 1z)\');$(\'#3\').9({F:a.u+5,G:a.v+5,17:"1A"})});$(\'.8\').T(6(a){$(\'#3\').9({F:a.u+5,G:a.v+5})})};4.1f=6(){$(\'.8\').1g(\'T\');$(\'.8\').1h(\'T\',6(a){k=a;f.U(a)});$(\'.8\').1g(\'z\');$(\'.8\').1h(\'z\',6(b){2(p)q.r(\'8 z\');7 c=4;2(H($(4).I(\'J\').A(\'1i\'))!=\'K\'){$(4).I(\'J\').A(\'1i\',\'\')}2(H($(4).I(\'J\').A(\'1j\'))!=\'K\'){$(4).I(\'J\').A(\'1j\',\'\')}$(\'#3\').R();$(\'.12\').13(\'\');$(\'#3\').9({14:"D",15:"16",F:b.u+5,G:b.v+5});$(\'#3\').V();7 d=$(4).A(\'S\');d=d.1E(\'1F\');d=d.1G();2(p)q.r(\'1H: \'+d);l=d;$(4).1k(\'s\');$(4).s(6(a){2(p)q.r(\'8 s: \'+d);l=\'\';L(m);M(h)});L(m);m=1l(6(){f.1m(l)},D)})};4.1m=6(c){2(c!=\'\'&&c==l){1I.1n({1J:\'\',1K:\'18.19?1a=1b&1c=\'+w(c)+\'&1d=\'+1e,1L:"1M",1N:N,1o:6(b){2(c==l){$(\'#3\').1p(b);2(j==N){M(h);h=1O(f.1q,1P)}B{$(\'#x .t\').W(0).C()}$(\'#3\').C();f.U(k);$(\'.8\').1k(\'s\');$(\'.8\').s(6(a){2(p)q.r(\'8 s: \'+c);2(H 1r==\'K\'){L(g);M(h);$(\'#3\').V();$(\'#3\').R()}})}B{2(p)q.r(\'s 1Q 1n-1R 1o\')}}}).1p}};4.1q=6(){7 a=N;o++;1S(i=0;in||1V.1W.1X(/1Y/)!=-1){M(h);o=0;f.Y(0)}B{2(p)q.r(\'1Z X... 21: \'+o)}22 a};4.U=6(a){2($(\'#3\').O>0){7 b=a.u+5;7 c=a.v+5;2($(y).Z()<(a.u-$(y).1s()+w($(\'#3\').9(\'Z\').P(\'Q\',\'\'))+20)){b=(a.u-$(y).1s()-(w($(\'#3\').9(\'Z\').P(\'Q\',\'\'))+20))}2((w($(\'#3\').9(\'10\').P(\'Q\',\'\'))+20)+a.v>$(23).10()+$(y).24()){c=a.v-(w($(\'#3\').9(\'10\').P(\'Q\',\'\'))+20)}$(\'#3\').9({F:b,G:c})}};4.Y=6(a){2($(\'#x .t\').O>1){7 b=w(a);2(b>=$(\'#x .t\').O){b=0}$(\'#x .t\').V();2(p)q.r(\'C t \'+b);$(\'#x .t\').W(b).C();b++;L(g);g=1l(6(){f.Y(b)},25)}B{$(\'#x .t\').W(0).C()}};2(H(1r)==\'K\'){4.1f()}B{4.11()}}',62,130,'||if|flyover_layer|this||function|var|flyover_item|css||||||||||||||||fb|console|log|mouseout|flyover_image|pageX|pageY|Number|flyover|document|mouseover|attr|else|show|100|div|left|top|typeof|find|img|undefined|clearTimeout|clearInterval|true|length|replace|px|remove|id|mousemove|position_flyover|hide|eq|images|start_slideshow|width|height|bind_styleedit_mode|wrap_shop|append|zIndex|position|absolute|display|request_port|php|module|mega_flyover|mf_products_id|XTCsid|gm_session_id|bind_flyover|die|live|alt|title|unbind|setTimeout|start_request|ajax|success|html|image_check|gm_style_edit_mode_running|scrollLeft|GMMegaFlyOver|new|Object|none|load|SE|mode|block|class|png|fix|split|_|pop|products_id|jQuery|data|url|type|POST|async|setInterval|50|before|request|for|complete|false|navigator|userAgent|search|Opera|loading||loop|return|window|scrollTop|1000'.split('|'),0,{})); /**/