var js_options = {"global":{"style_edit_mode":"","categories_id":8,"language_id":2,"language":"german","language_code":"de","http_server":"http:\/\/shop.movisi.com","dir_ws_catalog":"\/","shop_root":"http:\/\/shop.movisi.com\/","dir_ws_images":"images\/","shop_name":"Movisi Shop","append_properties_model":"true"},"social_share":{"facebook_share_box":{"image":"","code":"');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,p_current_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()}if(typeof(p_current_box_id)!='undefined'){current_box_id=p_current_box_id}$(current_box_id).fadeOut("normal",function(){if(navigator.appVersion.match(/MSIE [0-6]\./)){$('.lightbox_visibility_hidden').css({visibility:'visible'});coo_this.ie6_fix(false)}$(this).remove()});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("1000"));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("1000"));};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;} /**/ /* start.js.php */ var gmMegaFlyOver = null; var gmLightBox = null; var gmOpenSearch = null; var gm_scroller_height = 200; var coo_button_product_images_handler = null; var coo_combi_status_check = null; var coo_dropdowns_listener = null; var coo_qty_input_resizer = null; var coo_megadropdown_handler = null; var coo_cart_dropdown_handler = null; var coo_cart_control = null; $(document).ready(function() { gmLightBox = new GMLightBox(); coo_cart_control = new CartControl(); coo_combi_status_check = new CombiStatusCheck(); coo_dropdowns_listener = new DropdownsListener(); coo_qty_input_resizer = new QuantityInputResizeHandler(); $("a.button").bind({ mousedown: function(){ $(this).addClass("active"); }, mouseup: function(){ $(this).removeClass("active"); }, mouseout: function(){ $(this).removeClass("active"); } }); coo_megadropdown_handler = new MegadropdownHandler(); // Global Handler coo_top_navigation_handler = new TopNavigationHandler(); coo_cart_dropdown_handler = new CartDropdownHandler(); var coo_ie6_handler = new IE6Handler(); var coo_action_submit_handler = new ActionSubmitHandler(); var coo_reset_form_handler = new ResetFormHandler(); var coo_input_enter_key_handler = new InputEnterKeyHandler(); // PULLDOWN MENUS var coo_pull_down_link_handler = new PullDownLinkHandler(); // CURRENCIES BOX var coo_button_currency_change_handler = new ButtonCurrencyChangeHandler(); // OPENSEARCH var coo_button_open_search_handler = new ButtonOpenSearchHandler(); var coo_input_default_value_handler = new InputDefaultValueHandler(); var coo_live_search_handler = new LiveSearchHandler(); // Handler for standard.html coo_button_product_images_handler = new ButtonProductImagesHandler(true, true, 500); var coo_button_details_add_cart_handler = new ButtonDetailsAddCartHandler(); gmOpenSearch = new GMAskOpensearch();}); /* 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 ',''),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').trigger("submit",["trigger"]);}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(window.external&&("AddSearchProvider" in window.external)&&(navigator.appVersion.match(/MSIE [7-8]\./)!=null||navigator.userAgent.match(/Firefox/i)||navigator.userAgent.match(/Chrome/i))){var t_opensearch_link='http://shop.movisi.com/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,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&XTCsid='+gm_session_id;$.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://shop.movisi.com/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,t_url='',t_close_timeout=false;$(document).bind("cart_shipping_costs_info_active",function(){if(t_close_timeout!=false){clearTimeout(t_close_timeout);t_close_timeout=false}});if(coo_this.need_fixed_cart()==true){t_url='request_port.php?module=CartDropdown&part=fixed&XTCsid='+gm_session_id;$.ajax({type:'GET',url:t_url,success:function(p_result){var t_dropdown_html=p_result;$('#fixed_dropdown_shopping_cart').remove();$('.wrap_shop').append(t_dropdown_html);coo_this.position_fixed_dropdown();coo_this.open_fixed_dropdown();setTimeout('coo_cart_control.close_fixed_dropdown()',0)}})}t_url='request_port.php?module=CartDropdown&part=header&XTCsid='+gm_session_id;$.ajax({type:'GET',url:t_url,success:function(p_result){var t_header_html=p_result;$('#head_shopping_cart').remove();$('#head_toolbox_inner').append(t_header_html);if(coo_this.need_fixed_cart()==false){$('#head_shopping_cart').addClass('active')}}});t_url='request_port.php?module=CartDropdown&part=dropdown&XTCsid='+gm_session_id;$.ajax({type:'GET',url:t_url,success:function(p_result){var t_dropdown_html=p_result;$('#dropdown_shopping_cart').remove();$('.wrap_shop').append(t_dropdown_html);coo_this.position_dropdown();if(coo_this.need_fixed_cart()==false){coo_this.open_dropdown();t_close_timeout=setTimeout('coo_cart_control.close_dropdown()',0)}}})};this.need_fixed_cart=function(){var t_cart_header=$('#head_shopping_cart'),t_dropdown_offset_top=$('#container').prop('offsetTop')+$(t_cart_header).prop('offsetTop')+$(t_cart_header).height(),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}('h p(){2(5)6.7(\'p G\');i d=0,q=0,j=3,r=0,k=3,l=3;4.s=h(){2(5)6.7(\'p s\');$(\'x\').y(\'H\',h(a){i b=(a.m?a.m:(a.n?a.n:a.z));2($(4).o(\'f\').I(\'.A\').t>0){2(b==u&&((J.K($(4).B().t-r)<=1||j==8)||d==0)){2(k||l==3){g 3}2(L($(4).o(\'f\').C(\'e\'))==\'M\'){2(5)6.7(\'D e N f-O!\');i c=$(4).o(\'f\').C(\'e\').P(\'g \',\'\'),v=Q(c);2(5)6.7(\'e R\');2(v==3){2(5)6.7(\'e E: 3\');g 3}w 2(v==8){2(5)6.7(\'e E: 8\')}}$(4).o(\'f\').F("S",["F"]);g 3}w 2(b==u||d==T||d==U||d==9){l=3;k=3}d=b;r=$(4).B().t}w{2(5)6.7(\'V ".A" W D\')}g 8});$(\'x\').y(\'X\',h(a){i b=(a.m?a.m:(a.n?a.n:a.z));2(b!=u){j=3}2(q==Y){2(b==Z){j=8}}2(d==10||d==11){k=8}q=b;l=8})};4.s()}',62,64,'||if|false|this|fb|console|log|true||||||onsubmit|form|return|function|var|v_ctrl_v|v_arrow_key_pressed|v_keydown|keyCode|which|closest|InputEnterKeyHandler|v_last_key_down|v_last_char_count|init_binds|length|13|t_onsubmit_return|else|input|live|charCode|action_submit|val|attr|found|returns|trigger|ready|keyup|find|Math|abs|typeof|string|in|tag|replace|eval|evaluated|submit|37|39|no|button|keydown|17|86|38|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 o(){1(8)9.e(\'o O\');p d=q(),r=q(),s=2,6=i;2.w=3(){1(8)9.e(\'o w\');$(\'.x\').f(\'4\');$(\'.x\').j(\'4\',3(){1(8)9.e(\'.x 4\');s.E(2);P t})};2.E=3(a){p b=$(a).5(\'g\');1($(b).k(\'Q\')==\'R\'){1($(a).F(\'G[u]\').5(\'u\').y>0){$(\'#\'+$(a).F(\'G[u]\').5(\'u\')+\' a\').S(3(){1($(2).5(\'g\')&&$(2).5(\'g\').y>0){1(7(d[$(2).5(\'g\')])==\'l\'){h(d[$(2).5(\'g\')])}$($(2).5(\'g\')).m()}})}p c=v($(a).H().z)+v($(a).T())+v($(a).k(\'I-z\').J(\'A\',\'\'))+v($(a).k(\'I-U\').J(\'A\',\'\'));$(b).k(\'K\',$(a).H().K).k(\'z\',c+\'A\').V();1($(a).W(\'X\')==t&&7(Y)==\'L\'){d[b]=M("$(\'"+b+"\').m()",N)}}Z{1(7(d[b])==\'l\'){h(d[b])}$(b).m()}$(b).f(\'4\');$(b).j(\'4\',3(){6=t;r[b]=i;1(7(d[b])==\'l\'){h(d[b])}});$(b).f(\'B\');$(b).j(\'B\',3(){1(8)9.e(b+\': B\');6=t;1(7(d[b])==\'l\'){h(d[b])}});$(b).f(\'C\');$(b).j(\'C\',3(){1(8)9.e(b+\': C\');6=i;1(7(d[b])==\'l\'&&7(r[b])==\'L\'){h(d[b]);d[b]=M("$(\'"+b+"\').m()",N)}});$(\'.D\').f(\'4\',s.n);$(\'.D\').j(\'4\',s.n)};2.n=3(){1(8)9.e(\'o n 10: \'+6);p a=\'\';11(a 12 d){h(d[a]);1($(a).y>0&&6==i){$(a).m()}}1(6==i){d=q();r=q();$(\'.D\').f(\'4\',2.n)}};2.w()}',62,65,'|if|this|function|click|attr|t_allow_close_all|typeof|fb|console|||||log|die|rel|clearTimeout|true|live|css|number|slideUp|close_all|PullDownLinkHandler|var|Object|coo_clicked_elements|coo_this|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 */ /**/ 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 k(){1(r)s.t(\'k J\');2.l=6(){1(r)s.t(\'k l\');1(u v!=\'w\'){K.x=$.L([],v);2.y();M a=\'z\';$(\'#5 3 4 a\').c(\'A\');$(\'#5 3 4 a\').d(\'A\',6(){1($(2).m(\'n-o\')!=\'z\'){a=$(2).m(\'n-o\')}});$(\'#5 3 4\').c(\'B\');$(\'#5 3 4\').d(\'B\',6(){$(\'#5 3 4 a\').N(\'O\')});$(\'#5 3 4 f\').c(\'C\');$(\'#5 3 4 f\').d(\'C\',6(){1(a!=\'\'){$(2).8(\'a\').m(\'n-o\',a)}});$(\'#5 3 4 f\').c(\'p\');$(\'#5 3 4 f\').d(\'p\',6(){1(u($(2).8(\'a\').q(\'D\'))==\'w\'||$(2).8(\'a\').q(\'D\').b==0){P.Q.E=$(2).8(\'a\').q(\'E\');R S}g{$(2).8(\'a\').T(\'p\')}})}};2.y=6(){$.U(x,6(i,e){1(V(e)!==W.X.Y){1($(\'.F\').b<=0){$(\'#G\'+e+\'\').7(\'h\')}$(\'#H\'+e+\'\').7(\'h\');1($(\'#9\'+e+\'\').8(\'3\').b>0){$(\'#9\'+e+\'\').7(\'h\')}g{$(\'#9\'+e+\'\').I(\'4\').7(\'h\')}}g{1($(\'.F\').b<=0){$(\'#G\'+e+\'\').7(\'j\')}$(\'#H\'+e+\'\').7(\'j\');1($(\'#9\'+e+\'\').8(\'3\').b>0){$(\'#9\'+e+\'\').7(\'j\')}g{$(\'#9\'+e+\'\').I(\'4\').7(\'j\')}}})};2.l()}',61,61,'|if|this|ul|li|top_navi_inner|function|addClass|next|megadropdown_top_link_id_||length|die|live||div|else|parentOfCurrent||current|TopNavigationHandler|init_binds|css|background|color|click|attr|fb|console|log|typeof|parentsIds|undefined|parentsIdsBak|setCurrentsClasses|transparent|hover|mouseleave|mouseenter|rel|href|cat_go_up_button|menu_cat_id_|megadropdown_|closest|ready|window|extend|var|removeAttr|style|document|location|return|false|trigger|each|parseInt|js_options|global|categories_id'.split('|'),0,{})); /**//* social_share_plugin.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.q=6(){7 c=$(8),3=$(r).f(\'G\').4(/[&]*H(=|\\/)[a-I-J-9,-]+/g,\'\');3=3.4(/\\?&/g,\'?\');3=3.4(/\\?$/g,\'\');7 d=l(3),s=l(h.t.K+$("#i .L M").f(\'N\')),j=\'\';m($("#i .n o u").v==1){j=$.w($("#i .n o u").k())}x{j=$.w($("#i .n o").k())}7 e=l(h.t.O+\' - \'+j+\' \');$.P(c,6(){$(8).Q("R",6(){y(8)});S 8});6 y(a){7 b="",2="";m($(a).5().T("p")){$(a).5().U("p");b=\'h.z.\'+$(a).5().f(\'A\')+\'.V\';$(a).5().B(".C").k(D(b))}x{$(a).5().W("p");2=\'h.z.\'+$(a).5().f(\'A\')+\'.X\';2=D(2);2=2.4(\'#Y#\',e);2=2.4(\'#Z#\',s);2=2.4(\'#r#\',3);2=2.4(\'#10#\',d);$(a).5().B(".C").k(2)}}}})(11);$(12).13(6(){m($(".E").v>0){$(".E").q()}});',62,66,'||t_code|v_location|replace|parent|function|var|this|||||||attr||js_options|product_info|t_product_headline|html|encodeURIComponent|if|info|h1|switch_on|social_share_plugin|location|v_product_image|global|span|length|trim|else|update_view|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|each|bind|click|return|hasClass|removeClass|image|addClass|code|text|product_image|location_encoded|jQuery|document|ready'.split('|'),0,{})); /**//* FeatureLinkPlugin.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}('(2($){$.O.y=2(){6 f=h i();$("#7").3(".p-q").3("4[r=z]").k("l",2(){$("#j").A();m();9(0)});$("#7").3(".p-q").3("P").k("Q",2(){$("#j").A();m();9(0)});$("#j").3("R").k("l",2(){$("#j").S("n").o("");m();9(0)});$("#7 .T.U").k("l",2(){6 a=$(B).s("V");$("#"+a).W("l");C X});2 m(){f=h i();$.t($("#7").3("Y").3(".p-q"),2(d,e){$.t($(e).3("4[r=z]:Z"),2(a,b){6 c=$(b).s("5").D(/E\\[(\\d+)\\]\\[\\]/)[1];g(f[c+" "]==F){f[c+" "]=h i()}f[c+" "].u($(b).8())});$.t($(e).3(\'10[11!=""]:12\'),2(a,b){6 c=$(b).G().s("5").D(/E\\[(\\d+)\\]\\[\\]/)[1];g(f[c+" "]==F){f[c+" "]=h i()}f[c+" "].u($(b).8())})})}2 9(b){6 c=h i();13(v 14 f){6 d=$.15(v)+":"+f[v].H("|");c.u(d)}6 e=c.H("&"),I=$("4[5=\'16\']").8(),J=$("4[5=\'17\']").8(),K=$("4[5=\'L\']").8(),M=$("4[5=\'18\']").8(),w=0;g($("4[5=\'x\']").N>=1){w=$("4[5=\'x\']").8()}$.19({1a:{1b:e,1c:I,1d:J,L:K},1e:\'1f.1g?1h=1i&1j=1k&1l=\'+M+\'&x=\'+w,r:\'1m\',1n:\'1o\',1p:1q,n:2(){g(1r)1s.1t("9: n");g(b<1){b++;1u(2(){9(b)},1v)}1w{$("#j").1x("n").o(1y.1z.1A.1B)}},1C:2(a){$("#7").G().o(a.o)}})}C B}})(1D);$(1E).1F(2(){g($("#7").N==1){$("#7").y()}});',62,104,'||function|find|input|name|var|menubox_filter|val|get_available_values|||||||if|new|Array|menubox_body_shadow|live|click|get_selected_values|error|html|separator|bottom|type|attr|each|push|key1|t_c_path|cPath|FeatureLinkPlugin|checkbox|show|this|return|match|filter_fv_id|undefined|parent|join|t_price_start|t_price_end|t_filter_url|filter_url|t_categories_id|length|fn|select|change|span|removeClass|filter_features_link|link_list|rel|trigger|false|form|checked|option|value|selected|for|in|trim|filter_price_min|filter_price_max|feature_categories_id|ajax|data|feature_values|price_start|price_end|url|request_port|php|module|FeatureSet|action|load|filter_categories_id|POST|dataType|json|timeout|15000|fb|console|log|setTimeout|500|else|addClass|js_options|error_handling|filter|ajax_error|success|jQuery|document|ready'.split('|'),0,{})); /**//* AddAQuickieFormHandler.js */ /**/ $("#menubox_add_a_quickie_body form").bind("submit",function(event,data){if(data=="undefined"||data!="trigger"){event.preventDefault();return;}}); /**//* 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;i 0) { $('#absolute_search').prepend(''); var t_offset_top = Number($('#search_field').offset().top); var t_height = 0; if(typeof($('#search_field').css('height')) != 'undefined') { t_height = Number($('#search_field').css('height').replace('px', '')); } var t_border_top_width = 0; if(typeof($('#search_field').css('border-top-width')) != 'undefined') { t_border_top_width = Number($('#search_field').css('border-top-width').replace('px', '')); } var t_padding_top = 0; if(typeof($('#search_field').css('padding-top')) != 'undefined') { t_padding_top = Number($('#search_field').css('padding-top').replace('px', '')); } var t_padding_bottom = 0; if(typeof($('#search_field').css('padding-bottom')) != 'undefined') { t_padding_bottom = Number($('#search_field').css('padding-bottom').replace('px', '')); } // IE-Fix: $('#live_search_container ul li').live('click', function() { window.location.href = $(this).find('a').attr('href'); return false; }); $('#search_field').live('keyup', function(event) { if(fb)console.log('search_field keyup'); var t_needle = encodeURIComponent( $('#search_field').attr('value') ); if(t_needle.length > 2) { jQuery.ajax( { data: '', url: 'request_port.php?module=LiveSearch&needle=' + t_needle + '&XTCsid=' + gm_session_id, type: "POST", async: true, success: function(t_search_result_html) { if(t_search_result_html != '') { coo_this.show_result(t_search_result_html); } else { coo_this.hide_result(); } } }).html; } else { coo_this.hide_result(); } }); $('#absolute_search').die('click', coo_this.hide_result); $('#absolute_search').live('click', coo_this.hide_result); } } this.hide_result = function() { $('#live_search_container').html(''); $('#live_search_container').hide(); if(navigator.appVersion.match(/MSIE [0-6]\./)) { coo_this.ie6_fix(false); } } this.show_result = function(p_html_content) { if(navigator.appVersion.match(/MSIE [0-6]\./)) { coo_this.ie6_fix(true); } $('#live_search_container').html(p_html_content); $('#live_search_container').show(); } 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 < t_ie6_elements_array.length; i++) { $(t_ie6_elements_array[i]).css( { visibility: 'visible' }); } } } this.init_binds(); } /**/ /* MegadropdownHandler.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}('4 11(){2(9)i.h(\'11 2b\');6 f=j,1j=j,8=3;3.19=4(){2(9)i.h(\'11 19\');$(\'.N a\').P(\'v\');$(\'.N a\').v(4(a){2(9)i.h(\'.N a v\');6 b=$(3).y(\'1s\');2(b!=8.O()){8.D(b);6 c=a.24,X=a.1P;2(9)i.h(\'.N 2a \'+c);2(9)i.h(\'.N X \'+X);V.U(4(){8.K(j,c,X)},1)}k j});$(\'.F a\').P(\'v\');$(\'.F a\').v(4(){2(9)i.h(\'.F v\');6 a=$(3).y(\'1s\');8.D(a);V.U(4(){8.13(j)},29);k n});2(S 1R==\'T\'){$(\'.F a\').P(\'H\');$(\'.F a\').H(4(){2(9)i.h(\'.F H\');8.D(j);V.U(4(){8.I()},1z);k n});$(\'.l\').P(\'H\');$(\'.l\').H(4(){2(9)i.h(\'.l H\');8.D(j);V.U(4(){8.I()},1z);k n})}$(\'.l\').P(\'v\');$(\'.l\').v(4(){2(9)i.h(\'.l v\');8.D(n);k n})};3.19();3.K=4(a,b,c){2(9)i.h(\'K 1N \'+a);2(9)i.h(\'K 1O \'+b);2(9)i.h(\'K 1Q \'+c);6 d=a;2(d==j){d=8.O()}2(d==j){k j}6 e=$(\'#r\'+d).1p;2(9)i.h(\'1y \'+e);2(e>0){$(\'#r\'+d).1D();8.1h(d);8.1w(d,b,c);8.1g(d);8.18(d,n);2(1B(\'1C\')){8.Y(d)}}k n};3.13=4(a){2(9)i.h(\'13 \'+a);6 b=a;2(b==j){b=8.O()}2(b==j){k j}8.I(n);6 c=$(\'#r\'+b).1p;2(9)i.h(\'1y \'+c);2(c>0){$(\'#26\'+b).28(\'q\');$(\'#r\'+b).1D();8.1h(b);8.1r(b);8.1v();8.1g(b);8.18(b,j);2(1B(\'1C\')){8.Y(b)}}k n};3.18=4(a,b){6 c=\'#r\'+a,15=\'\',12=\'\',1b=\'\';2(b==n){15=$(c+\' .l-C\').p(\'G-o-1l\');12=$(c+\' .l-C\').p(\'G-o-1m\');1b=$(c+\' .l-C\').p(\'G-o-s\')}$(c+\' .l-C\').p(\'G-z-1l\',15);$(c+\' .l-C\').p(\'G-z-1m\',12);$(c+\' .l-C\').p(\'G-z-s\',1b);k n};3.Y=4(a){2(9)i.h(\'Y()\');6 b=\'#r\'+a;$(b+\' .l-C\').p(\'1q-1S\',\'1T\')};3.I=4(a){2(a!=n){2(8.O()!=j){2(9)i.h(\'I() 1Z\');k j}}$(\'.l\').20();$(\'.q\').22(\'q\');2(9)i.h(\'I() 23\');k j};3.1h=4(a){6 b=\'#r\'+a,u=$(\'#t .q\').w().o,1t=$(\'#t .q\').s(),1u=$(\'#E\').s(),B=$(\'#E\').w().o;2((u+1t)-B<1x&&(B+1u-u)<1x){$(b).s(2i)}};3.1g=4(d){6 e=\'#r\'+d,Q=1k($(e).s()/$(".14").s()),M=1V 1W();$(e+\' .14\').1G(4(a){6 b=$(3).y(\'16\');2(S b==\'T\')b=$(3).y(\'21\');2(S b==\'T\')b=$(3).16();6 c=1k(a/Q);2(0==a%Q){M[c]=b}17{2(b>M[c]){M[c]=b}}});$(e+\' .14\').1G(4(a){6 b=1k(a/Q);$(3).16(M[b])})};3.1w=4(a,b,c){6 d=\'#r\'+a,1n=$(\'#E\').w().z,B=$(\'#E\').w().o,1o=b-1n-5,J=c-B-5;$(d).p(\'z\',1o);$(d).p(\'o\',J)};3.1r=4(a){6 b=\'#r\'+a,u=$(\'#t .q\').w().o;2((A.1a)&&(10.1c.1d("1e 7.")!=-1)){6 c=$(\'#t .q\').y(\'1f\');u=3.R(c);2(9)i.h(\'Z, 1U \'+u)}6 d=$(b).s(),B=$(\'#E\').w().o,1A=$(\'#E\').s();2((u-B)+d<1A){3.Z(a)}17{3.1i(a)}};3.1v=4(){6 a=$(\'#t\').1X().z+$(\'#t\').1Y(n);$(\'.l\').p(\'z\',a)};3.R=4(a){6 L=0,m=A.1E(a);1F(m.W){L+=(m.1H)?m.1H:0;2(m==A.1I)1J;m=m.W}k L};3.27=4(a){6 L=0,m=A.1E(a);1F(m.W){L+=(m.1K)?m.1K:0;2(m==A.1I)1J;m=m.W}k L};3.Z=4(a){2(9)i.h(\'Z\');6 b=\'#r\'+a,J=$(\'#t .q\').w().o;2((A.1a)&&(10.1c.1d("1e 7.")!=-1)){6 c=$(\'#t .q\').y(\'1f\');J=3.R(c)}$(b).p(\'o\',J-1)};3.1i=4(a){2(9)i.h(\'1i\');6 b=\'#r\'+a,u=$(\'#t .q\').w().o;2((A.1a)&&(10.1c.1d("1e 7.")!=-1)){6 c=$(\'#t .q\').y(\'1f\');u=3.R(c)}6 d=$(\'#t .q\').s(),1L=u+d,1M=$(b).s(),x=$(b+\' .l-2c\').p(\'1q-2d\');2(S x==\'T\'){x=0}17{x=x.2e(/2f/g,\'\');x=2g(x)}6 e=1L-1M+x-1;$(b).p(\'o\',e-1)};3.D=4(a){1j=a};3.O=4(){k 1j};3.2h=4(a){f=a};3.25=4(){k f}}',62,143,'||if|this|function||var||coo_this|fb||||||||log|console|false|return|megadropdown|tempEl|true|left|css|dropdown|megadropdown_box_id_|width|head_navi|t_button_left|mouseover|offset|t_shadow_padding|attr|top|document|t_container_left|inside|set_open_categories_id|container|megadropdown_top_link|border|mouseout|close_dropdown|t_dropdown_left|open_flyout||elementHeightArray|flyout_link|get_open_categories_id|unbind|countElementsInLine|get_real_left_ie|typeof|undefined|setTimeout|window|parentNode|t_left|do_ie_corrections|align_dropdown_left|navigator|MegadropdownHandler|t_border_style_value|open_dropdown|top_li|t_border_color_value|height|else|set_top_border|init_binds|all|t_border_width_value|appVersion|indexOf|MSIE|id|fit_categories|fit_dropdown|align_dropdown_right|v_open_categories_id|parseInt|color|style|t_container_top|t_dropdown_top|length|padding|align_dropdown|rel|t_button_width|t_container_width|align_dropdown_top|align_flyout|600|t_found_divs|500|t_body_width|checkBrowserName|msie|show|getElementById|while|each|offsetLeft|body|break|offsetTop|t_button_right|t_dropdown_width|p_categories_id|p_top|pageX|p_left|gm_style_edit_mode_running|bottom|20px|t_dropdown_left1b|new|Array|position|outerHeight|canceled|hide|offsetHeight|removeClass|done|pageY|get_dropdown_active|megadropdown_top_link_id_|get_real_top_ie|addClass|250|t_top|ready|shadow|right|replace|px|Number|set_dropdown_active|410'.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});});};} /**/ /* CartShippingCostsTooltip.js */ /**/ $(document).ready(function(){$(".cart_shipping_costs_info_icon").live("click",function(){var t_info_text=$(".cart_shipping_costs_info_text");if($(t_info_text).is(":visible")){$(t_info_text).css("display","none")}else{$(t_info_text).css("display","block");$(document).trigger('cart_shipping_costs_info_active')}})}); /**/ /* ausführen, wenn html-seite geladen wurde */ $(document).ready(function() { /* sendung formular abfangen */ $("#Reminder").submit(function() { /* ajax objekt zum aufruf & versand an das skript 'name' und 'email' sind in der data-zeile die variablen für das php-skript */ $.ajax({ type: "POST", url: "send.php", data: "vname=" + $("#vname").val() + "&pid=" + $("#pid").val() + "&pname=" + $("#pname").val() + "&name=" + $("#name").val() + "&email=" + $("#email").val(), success: function(msg) { /* form-div verstecken, seite nachladen & wieder einblenden (2000 ms) */ $("#Reminder").hide().load("message.html").fadeIn(2000); } }); /* wichtig! sonst schickt der browser das formular ab und und ruft die seite auf die bei action="" hinterlegt wurde. dann verlässt er nämlich die bisherige seite... */ return false; }); }); /*! * Bootstrap v3.3.4 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! * Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=9ca9cc0d9ff45666c74b) * Config saved to config.json and https://gist.github.com/9ca9cc0d9ff45666c74b */ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.alert");n||i.data("bs.alert",n=new o(this)),"string"==typeof e&&n[e].call(i)})}var i='[data-dismiss="alert"]',o=function(e){t(e).on("click",i,this.close)};o.VERSION="3.3.4",o.TRANSITION_DURATION=150,o.prototype.close=function(e){function i(){a.detach().trigger("closed.bs.alert").remove()}var n=t(this),s=n.attr("data-target");s||(s=n.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t(s);e&&e.preventDefault(),a.length||(a=n.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(o.TRANSITION_DURATION):i())};var n=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=o,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",i,o.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.button"),s="object"==typeof e&&e;n||o.data("bs.button",n=new i(this,s)),"toggle"==e?n.toggle():e&&n.setState(e)})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,o),this.isLoading=!1};i.VERSION="3.3.4",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",o=this.$element,n=o.is("input")?"val":"html",s=o.data();e+="Text",null==s.resetText&&o.data("resetText",o[n]()),setTimeout(t.proxy(function(){o[n](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var o=t(i.target);o.hasClass("btn")||(o=o.closest(".btn")),e.call(o,"toggle"),i.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.carousel"),s=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e),a="string"==typeof e?e:s.slide;n||o.data("bs.carousel",n=new i(this,s)),"number"==typeof e?n.to(e):a?n[a]():s.interval&&n.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.4",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e),o="prev"==t&&0===i||"next"==t&&i==this.$items.length-1;if(o&&!this.options.wrap)return e;var n="prev"==t?-1:1,s=(i+n)%this.$items.length;return this.$items.eq(s)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,o){var n=this.$element.find(".item.active"),s=o||this.getItemForDirection(e,n),a=this.interval,r="next"==e?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var h=s[0],d=t.Event("slide.bs.carousel",{relatedTarget:h,direction:r});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=t(this.$indicators.children()[this.getItemIndex(s)]);p&&p.addClass("active")}var c=t.Event("slid.bs.carousel",{relatedTarget:h,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),s[0].offsetWidth,n.addClass(r),s.addClass(r),n.one("bsTransitionEnd",function(){s.removeClass([e,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(c)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(n.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(c)),a&&this.cycle(),this}};var o=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=o,this};var n=function(i){var o,n=t(this),s=t(n.attr("data-target")||(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),n.data()),r=n.attr("data-slide-to");r&&(a.interval=!1),e.call(s,a),r&&s.data("bs.carousel").to(r),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var i=t(this);e.call(i,i.data())})})}(jQuery),+function(t){"use strict";function e(e){e&&3===e.which||(t(n).remove(),t(s).each(function(){var o=t(this),n=i(o),s={relatedTarget:this};n.hasClass("open")&&(n.trigger(e=t.Event("hide.bs.dropdown",s)),e.isDefaultPrevented()||(o.attr("aria-expanded","false"),n.removeClass("open").trigger("hidden.bs.dropdown",s)))}))}function i(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o=i&&t(i);return o&&o.length?o:e.parent()}function o(e){return this.each(function(){var i=t(this),o=i.data("bs.dropdown");o||i.data("bs.dropdown",o=new a(this)),"string"==typeof e&&o[e].call(i)})}var n=".dropdown-backdrop",s='[data-toggle="dropdown"]',a=function(e){t(e).on("click.bs.dropdown",this.toggle)};a.VERSION="3.3.4",a.prototype.toggle=function(o){var n=t(this);if(!n.is(".disabled, :disabled")){var s=i(n),a=s.hasClass("open");if(e(),!a){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t('',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var a=n[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i&&i.$tip&&i.$tip.is(":visible")?void(i.hoverState="in"):(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,h=l.test(r);h&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var d=this.getPosition(),p=s[0].offsetWidth,c=s[0].offsetHeight;if(h){var f=r,u=this.options.container?t(this.options.container):this.$element.parent(),g=this.getPosition(u);r="bottom"==r&&d.bottom+c>g.bottom?"top":"top"==r&&d.top-cg.width?"left":"left"==r&&d.left-pa.top+a.height&&(n.top=a.top+a.height-l)}else{var h=e.left-s,d=e.left+s+i;ha.width&&(n.left=a.left+a.width-d)}return n},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var o=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=o,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.popover"),s="object"==typeof e&&e;(n||!/destroy|hide/.test(e))&&(n||o.data("bs.popover",n=new i(this,s)),"string"==typeof e&&n[e]())})}var i=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");i.VERSION="3.3.4",i.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),i.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),i.prototype.constructor=i,i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},i.prototype.hasContent=function(){return this.getTitle()||this.getContent()},i.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var o=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=i,t.fn.popover.noConflict=function(){return t.fn.popover=o,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.tab");n||o.data("bs.tab",n=new i(this)),"string"==typeof e&&n[e]()})}var i=function(e){this.element=t(e)};i.VERSION="3.3.4",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),o=e.data("target");if(o||(o=e.attr("href"),o=o&&o.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(s),e.trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){var r=t(o);this.activate(e.closest("li"),i),this.activate(r,r.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},i.prototype.activate=function(e,o,n){function s(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var a=o.find("> .active"),r=n&&t.support.transition&&(a.length&&a.hasClass("fade")||!!o.find("> .fade").length);a.length&&r?a.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s(),a.removeClass("in")};var o=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=o,this};var n=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.affix"),s="object"==typeof e&&e;n||o.data("bs.affix",n=new i(this,s)),"string"==typeof e&&n[e]()})}var i=function(e,o){this.options=t.extend({},i.DEFAULTS,o),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.4",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return i>n?"top":!1;if("bottom"==this.affixed)return null!=i?n+this.unpin<=s.top?!1:"bottom":t-o>=n+a?!1:"bottom";var r=null==this.affixed,l=r?n:s.top,h=r?a:e;return null!=i&&i>=n?"top":null!=o&&l+h>=t-o?"bottom":!1},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),o=this.options.offset,n=o.top,s=o.bottom,a=t(document.body).height();"object"!=typeof o&&(s=n=o),"function"==typeof n&&(n=o.top(this.$element)),"function"==typeof s&&(s=o.bottom(this.$element));var r=this.getState(a,e,n,s);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),h=t.Event(l+".bs.affix");if(this.$element.trigger(h),h.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:a-e-s})}};var o=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=o,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),o=i.data();o.offset=o.offset||{},null!=o.offsetBottom&&(o.offset.bottom=o.offsetBottom),null!=o.offsetTop&&(o.offset.top=o.offsetTop),e.call(i,o)})})}(jQuery),+function(t){"use strict";function e(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(o)}function i(e){return this.each(function(){var i=t(this),n=i.data("bs.collapse"),s=t.extend({},o.DEFAULTS,i.data(),"object"==typeof e&&e);!n&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),n||i.data("bs.collapse",n=new o(this,s)),"string"==typeof e&&n[e]()})}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};o.VERSION="3.3.4",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"),e&&e.transitioning))){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(i.call(n,"hide"),e||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[a](this.$element[0][l])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(o.TRANSITION_DURATION):n.call(this)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,o){var n=t(o); this.addAriaAndCollapsedClass(e(n),n)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=o,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(o){var n=t(this);n.attr("data-target")||o.preventDefault();var s=e(n),a=s.data("bs.collapse"),r=a?"toggle":n.data();i.call(s,r)})}(jQuery),+function(t){"use strict";function e(i,o){this.$body=t(document.body),this.$scrollElement=t(t(i).is(document.body)?window:i),this.options=t.extend({},e.DEFAULTS,o),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var o=t(this),n=o.data("bs.scrollspy"),s="object"==typeof i&&i;n||o.data("bs.scrollspy",n=new e(this,s)),"string"==typeof i&&n[i]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),n=e.data("target")||e.attr("href"),s=/^#./.test(n)&&t(n);return s&&s.length&&s.is(":visible")&&[[s[i]().top+o,n]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),o=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=o)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e=n[t]&&(void 0===n[t+1]||e