';contact_map.staticPoint=new google.maps.LatLng(A,B);contact_map.mapa.setCenter(contact_map.staticPoint);var opcjeMarkera={title:firmName};opcjeMarkera.position=contact_map.staticPoint;opcjeMarkera.map=contact_map.mapa;if(markersAnimationContact)
opcjeMarkera.animation=google.maps.Animation.DROP;if($('img.marker_face').attr('src')!=''&&markerContactCustomIcon)
{opcjeMarkera.icon=contact_map.markerIcon;}
var marker=new google.maps.Marker(opcjeMarkera);markerInfo.setContent(content);markerInfo.setPosition(marker.getPosition());markerInfo.open(contact_map.mapa);google.maps.event.addListener(marker,'click',function(zdarzenie)
{markerInfo.open(contact_map.mapa);});setTimeout(function(){$('div.loadingMap').fadeOut('normal',function(){});},contact_map.timeout);},findAddress:function(firmName,name,street,city,country){$('span.loadingMap').text($('span.loadingAdres').text());var adres=street+' , '+city+' , '+country;contact_map.geokoder.geocode({address:adres},function(wyniki,status)
{if(status==google.maps.GeocoderStatus.OK)
{var content='
'+firmName+''+street+''+city+''+country+'
';contact_map.mapa.setCenter(wyniki[0].geometry.location);var opcjeMarkera={title:firmName};opcjeMarkera.position=wyniki[0].geometry.location;opcjeMarkera.map=contact_map.mapa;if(markersAnimationContact)
opcjeMarkera.animation=google.maps.Animation.DROP;if($('img.marker_face').attr('src')!=''&&markerContactCustomIcon)
{opcjeMarkera.icon=contact_map.markerIcon;}
var marker=new google.maps.Marker(opcjeMarkera);markerInfo.setContent(content);markerInfo.setPosition(marker.getPosition());markerInfo.open(contact_map.mapa);google.maps.event.addListener(marker,'click',function(zdarzenie)
{markerInfo.open(contact_map.mapa);});setTimeout(function(){$('div.loadingMap').fadeOut('normal',function(){});},contact_map.timeout);}
else if(status==google.maps.GeocoderStatus.OVER_QUERY_LIMIT)
{contact_map.timeout+=50;setTimeout(function(){skoczDoAdresuContact(firmName,name,street,city,country);},contact_map.timeout);}
else
{setTimeout(function(){$('div.loadingMap').fadeOut('normal',function(){});},contact_map.timeout);}});},showMap:function(){if(typeof mapSiteType!='undefined')
if(mapSiteType=='contact')
{$('#contact_contact a.show_on_map').hide();$('#contact_contact div.contact_map_all').slideToggle('fast',function(){var loadingMapWidth=$('div.loadingMap').width()/2;var loadingMapHeight=$('div.loadingMap').height()/2;var loadingBoxWidth=$('div.loadingBox').width()/2;var loadingBoxHeight=$('div.loadingBox').height()/2;var loadingBoxLeft=loadingMapWidth-loadingBoxWidth;var loadingBoxTop=loadingMapHeight-loadingBoxHeight;contact_map.google_api_key=google_api_key;$('div.loadingBox').css('left',loadingBoxLeft);$('div.loadingBox').css('top',loadingBoxTop);$('div.loadingBox').fadeTo('normal',1.0,function(){});$('#contact_contact div.contact_map_all').fadeTo('normal',1.0,function(){contact_map.loadGoogleMapsAPI(contact_map.mapInit);});});}}}
function checkOnSubmit(text1,text2,text3)
{if((/^[0-9a-zA-Z._-]+@[0-9a-zA-Z._-]+.[0-9a-zA-Z]+$/).test(document.getElementById("from").value)==false||document.getElementById("from").value.length==0){alert(text1);return false;}
if(document.getElementById("subject").value.length==0){alert(text2);return false;}
if(document.getElementById("body").value.length==0){alert(text3);return false;}
return true;}
var iaical_dateFormat='yy-mm-dd';var iaical_firstDay='1';days_01_txt="So"
days_02_txt="Mo"
days_03_txt="Di"
days_04_txt="Mi"
days_05_txt="Do"
days_06_txt="Fr"
days_07_txt="Sa"
month_01_txt="Januar"
month_02_txt="Februar"
month_03_txt="März"
month_04_txt="April"
month_05_txt="Mai"
month_06_txt="Juni"
month_07_txt="Juli"
month_08_txt="August"
month_09_txt="September"
month_10_txt="Oktober"
month_11_txt="November"
month_12_txt="Dezember"
month_2_01_txt="Januar"
month_2_02_txt="Februar"
month_2_03_txt="März"
month_2_04_txt="April"
month_2_05_txt="Mai"
month_2_06_txt="Juni"
month_2_07_txt="Juli"
month_2_08_txt="August"
month_2_09_txt="September"
month_2_10_txt="Oktober"
month_2_11_txt="November"
month_2_12_txt="Dezember"
month_3_01_txt="JAN"
month_3_02_txt="FEB"
month_3_03_txt="MÄR"
month_3_04_txt="APR"
month_3_05_txt="MAI"
month_3_06_txt="JUN"
month_3_07_txt="JUL"
month_3_08_txt="AUG"
month_3_09_txt="SEP"
month_3_10_txt="OKT"
month_3_11_txt="NOV"
month_3_12_txt="DEZ"
iaical_monthNext="Nächster Monat"
iaical_monthPrev="Vorheriger Monat"
var iaical_daysShort=[days_01_txt,days_02_txt,days_03_txt,days_04_txt,days_05_txt,days_06_txt,days_07_txt];var iaical_monthNames=[month_01_txt,month_02_txt,month_03_txt,month_04_txt,month_05_txt,month_06_txt,month_07_txt,month_08_txt,month_09_txt,month_10_txt,month_11_txt,month_12_txt];var iaical_monthNames2=[month_2_01_txt,month_2_02_txt,month_2_03_txt,month_2_04_txt,month_2_05_txt,month_2_06_txt,month_2_07_txt,month_2_08_txt,month_2_09_txt,month_2_10_txt,month_2_11_txt,month_2_12_txt];var iaical_shortNames=[month_3_01_txt,month_3_02_txt,month_3_03_txt,month_3_04_txt,month_3_05_txt,month_3_06_txt,month_3_07_txt,month_3_08_txt,month_3_09_txt,month_3_10_txt,month_3_11_txt,month_3_12_txt];var shopCalendar={getMonthDays:function(year,month){return new Date(year,month,0).getDate();},printDays:function(day,month,year,time,idek,num,holi){var Working_days=window['Working_days']||{};var tempdate=new Date(year,month-1,day);tempdate.setDate(tempdate.getDate()+parseInt(time));if($("#pickupl_calbind").length){$("#pickupl_calbind").datepicker({defaultDate:tempdate,minDate:tempdate});}
if($(idek+"1").length){document.getElementById(idek+"1").onclick();}
for(var i=1;i<=num;i++){_year=tempdate.getFullYear();_month=tempdate.getMonth()+1;_day=tempdate.getDate();while(holi){if(Holidays[_day+'_'+_month+'_'+_year]){tempdate.setDate(tempdate.getDate()+1);_year=tempdate.getFullYear();_month=tempdate.getMonth()+1;_day=tempdate.getDate();}else{break;}}
var loopCount=100;if(!$.isEmptyObject(Working_days)){while(--loopCount){if($.inArray(tempdate.getDay(),Working_days)==-1){tempdate.setDate(tempdate.getDate()+1);}else{_year=tempdate.getFullYear();_month=tempdate.getMonth()+1;_day=tempdate.getDate();break;}}}
_month=_month<10?'0'+_month:_month;_day=_day<10?'0'+_day:_day;if(!loopCount){$('#'+idek+i+'> div > *').eq(0).val('-');$('#'+idek+i+'> div > *').eq(1).html('-');$('#'+idek+i+'> div > *').eq(2).html('');}else{$('#'+idek+i+'> div > *').eq(0).val([_year,_month,_day].join('-'));$('#'+idek+i+'> div > *').eq(1).html(_day);$('#'+idek+i+'> div > *').eq(2).html(iaical_monthNames2[parseInt(_month)-1]);}
tempdate.setDate(tempdate.getDate()+1);}},setHolidays:function(date){var Holidays=window['Holidays']||{};var Working_days=window['Working_days']||{};if(Holidays!=null){for(holiday in Holidays){if((date.getDate()+'_'+(date.getMonth()+1)+'_'+date.getFullYear())==holiday){return[false,''];}}}
if(Working_days!=null&&Working_days.length){var day=date.getDay();if($.inArray(day,Working_days)==-1){return[false,''];}}
return[true,''];}}
$('document').ready(function(){simple_tooltip(".showTip","n59581_tooltip_dictionary");simple_tooltip("#contentcolumn_order1 .showTip_order1","n59581_tooltip");simple_tooltip("#basketedit_gifts .showTip_gift","n59581_tooltip");simple_tooltip("#basketedit_productslist .showTip_basket","n59581_tooltip");simple_tooltip("span.btn_note","n59581_instalment_note");})
function simple_tooltip(target_items,name,onLeft){var simple_tooltip_content='';var tip_handle='';$(target_items).live('mouseover',function(){if($(this).next().is('.tooltipContent')){simple_tooltip_content=$(this).next().html();}else if($(this).prop('title')){simple_tooltip_content=$(this).prop('title');$(this).removeAttr("title");}
$('#'+name).remove();clearTimeout(tip_handle);$("body").append("
");$('#'+name).hover(function(){clearTimeout(tip_handle);},function(){$('#'+name).remove();})
if(simple_tooltip_content!=""&&simple_tooltip_content!=" "&&simple_tooltip_content!="undefined"){$('#'+name).find('p').html(simple_tooltip_content);$('#'+name).fadeIn(400);}})
$(target_items).live('mousemove',function(kmouse){var border_top=$(window).scrollTop();var border_right=$(window).width();var left_pos;var top_pos;var offset=15;var toLeft=onLeft||false;if(toLeft){if(kmouse.pageX-$('#'+name).outerWidth(true)-offset<=0){left_pos=kmouse.pageX+offset;}else{left_pos=kmouse.pageX-offset-$('#'+name).outerWidth(true);}
if(border_top+(offset*2)>=kmouse.pageY-$('#'+name).height()){top_pos=border_top+offset;}else{top_pos=kmouse.pageY-$('#'+name).outerHeight(true)-offset;}}else{if(border_right-(offset*2)>=$('#'+name).width()+kmouse.pageX){left_pos=kmouse.pageX+offset;}else{left_pos=border_right-$('#'+name).width()-offset;}
if(border_top+(offset*2)>=kmouse.pageY-$('#'+name).height()){top_pos=border_top+offset;}else{top_pos=kmouse.pageY-$('#'+name).height()-offset;}}
$('#'+name).css({left:left_pos,top:top_pos});})
$(target_items).live('mouseout',function(){if(!($(this).next().is('.tooltipContent'))){$(this).prop('title',simple_tooltip_content);}
tip_handle=setTimeout(function(){$('#'+name).remove();},500);});$(document).bind('touchstart',function(e){if($(e.target).closest('#'+name).length===0&&$(e.target).closest(target_items).length===0&&$('#'+name).size()){$('#'+name).remove();}});};(function($){$.fn.extend({dialog:function(options){var defaults={content:'text',wrappContent:false,removeContent:true,width:false,wrapperClass:false,cover:true,fixed:true,fitToWindow:true,coverColor:'#000',coverOpacity:'0.6',animate:true,showCloseButton:true,offsetApp:120,beforeShow:function(){},afterCloseFn:function(){},txtCloseButton:'x',buttons:[]}
options=$.extend(defaults,options);$mousePosY=0;$mousePosX=0;$animateHeight=0;$animateWidth=0;$wrapperWidth=0;$wrapperHeight=0;$wrapperSubHeight=0;$cloneElement=0;return this.each(function(){$element=$(this);var closeAll=function(id){if($cloneElement){$cloneElement.hide();$cloneElement.appendTo('body');$cloneElement=0;}
$('#dialog_cover,#dialog_wrapper').remove();$('body').removeClass('dialog_open');};var createCover=function(){$("body").append("
");$('#dialog_cover').css({'height':$(document).height(),'width':$(window).width(),'position':'fixed','background':options.coverColor,'opacity':options.coverOpacity,'left':'0px','top':'0px','z-index':900}).click(function(){closeAll();options.afterCloseFn();});};var createDialog=function(){var that,dialogBody,buttonHtml,buttons;that=this;dialogBody=$('
');buttons=options.buttons;if(options.showCloseButton)
dialogBody.find('#dialog_wrapper_sub').before('
'+options.txtCloseButton+'');if(!$.isEmptyObject(buttons)||($.isArray(buttons)&&buttons.length)){dialogBody.find('#dialog_wrapper_sub').after('
');$.each(buttons,function(name,props){var click,buttonOpts;props=$.isFunction(props)?{text:name,click:props}:props;if(!props.className)
props.className='btn-small';dialogBody.find('#ui-dialog_button').append($('
').on('click',props.click));});}
$('body').append(dialogBody);if(options.width)$('#dialog_wrapper').css({'width':options.width});if(options.wrapperClass)$('#dialog_wrapper').addClass(options.wrapperClass);$('#dialog_wrapper').css({'top':'-1000px','z-index':'901'})
if(options.fixed){$('#dialog_wrapper').css({'position':'fixed'});}else{$('#dialog_wrapper').css({'position':'absolute'});}
if(options.wrappContent){$cloneElement=$element.clone(true);if(options.removeContent)
$element.remove();$cloneElement.show();$cloneElement.prependTo('#dialog_wrapper_sub');$('#dialog_wrapper_sub div:first-child').show();}else{$('#dialog_wrapper_sub').html(options.content);}
if(!options.clickAnimate){$('#dialog_close').click(function(){closeAll();options.afterCloseFn();});}
options.beforeShow();$('body').addClass('dialog_open');};var animateDialog=function(id){$wrapperWidth=$(id).outerWidth();$wrapperHeight=$(id).outerHeight();$wrapperSubHeight=$('#dialog_wrapper_sub').height();if(app_shop.vars.isMobileApp==true)
$wrapperHeight+=options.offsetApp;if($(window).height()>$('#dialog_wrapper').outerHeight()){if(options.animate){if(options.fixed){$(id).css({'margin-left':-$wrapperWidth/2,'left':'50%'}).animate({'top':$(window).height()/2-$wrapperHeight/2});}else{$(id).css({'margin-left':-$wrapperWidth/2,'left':'50%'}).animate({'top':$(window).height()/2-$wrapperHeight/2+$(window).scrollTop()});}}else{$(id).css({'margin-left':-$wrapperWidth/2,'left':'50%','top':$(window).height()/2-$wrapperHeight/2+$(window).scrollTop()});}}else{if(options.fitToWindow){$('#dialog_wrapper_sub').css({'max-height':$(window).height()-40-($wrapperHeight-$wrapperSubHeight),'overflow':'auto'}).addClass('setMaxHeightWindow');}
if(options.animate){if(options.fixed){$(id).css({'margin-left':-$wrapperWidth/2,'left':'50%'}).animate({'top':'20px'});}else{$(id).css({'margin-left':-$wrapperWidth/2,'left':'50%'}).animate({'top':20+$(window).scrollTop()});}}else{$(id).css({'margin-left':-$wrapperWidth/2,'left':'50%','top':20+$(window).scrollTop()});}}
$('#dialog_wrapper').addClass('active');};closeAll();if(options.cover){createCover();}
createDialog();animateDialog('#dialog_wrapper');});}});})(jQuery);var menu_notice_txt1=""
var menu_notice_txt2=""
var ajax_loading_txt=""
$('.confirmation_link').live('click',function(){var confirmbutton_txt=$(this).attr('data-button_txt')?$(this).attr('data-button_txt'):menu_notice_txt1;var popup_d_buttons='';thisHref=$(this).attr('href');$('body').dialog({'content':$(this).attr('title'),'wrapperClass':'confirmation_popup'});if($(this).attr('data-title'))
$('#dialog_wrapper').prepend('
'+$(this).attr('data-title')+'
');$('#dialog_wrapper').append(popup_d_buttons);$('.confirmation_popup button.button_confirm').click(function(){self.location.href=/thisHref;})
return false;})
var menu_instalment_label=""
var menu_instalment_singleproduct="Monatsraten nur für dieses Produkt berechnen - "
var menu_instalment_multiproduct="Raten für ausgewählte Produkte berechnen - "
var menu_instalment_basketproduct="Ratten für alle Produkte berechnen - "
var menu_instalment_notall="Nicht für alle Produkte in Ihrem Warenkorb ist diese Ratenzahlung möglich. Sehen Sie sich die Details der einzelnen Produkte an, um herauszufinden, welche von ihnen vom Ratenkauf ausgeschlossen sind. Sollten Sie sich dennoch für eine Finanzierung entscheiden, müssen Sie die Zahlung für diese Produkte auf eine andere Art tätigen. "
var menu_instalment_toomany="In Ihrem Warenkorb befinden sich zu viele Artikel für die ausgewählte Art der Finanzierung. Bitte verringern Sie die Anzahl der Produkte auf "
var menu_instalment_toomany2=" , um Ihre Bestellung finanzieren lassen zu können. Die Stückzahl der einzelnen Produkte ist nicht begrenzt."
var menu_instalment_label_to=" jedoch "
var menu_instalment_label_minbasket="Sie können die Raten für den ganzen Warenkorb nicht berechnen, weil Sie den minimalen Wert für eine Finanzierung bei dieser Bank nicht erreicht haben: "
var menu_instalment_text_min="Erhöhen Sie die Stückzahl, um den Ratenrechner zu starten"
var menu_instalment_text_minbasket="Erhöhen Sie die Stückzahl dieses Produkts oder legen Sie weitere Produkte in den Warenkorb."
var menu_instalment_text_minb="Erhöhen Sie die Anzahl der Produkte in Warenkorb, um den Ratenrechner zu starten "
var menu_instalment_label_max="Sie können die Raten nur für dieses Produkt nicht berechnen, weil Sie den maximalen Wert für eine Finanzierung bei dieser Bank überschritten haben: "
var menu_instalment_label_maxbasket="Sie können die Raten für den ganzen Warenkorb nicht berechnen, weil Sie den maximalen Wert für eine Finanzierung bei dieser Bank überschritten haben: "
var menu_instalment_text_max="Verringern Sie die Stückzahl, um den Ratenrechner zu starten."
var menu_instalment_text_maxbasket="Verringern Sie die Stückzahl dieses Produkts, oder entfernen Sie einige Produkte aus dem Warenkorb."
var menu_instalment_text_maxb="Verringern Sie die Anzahl der Produkte im Warenkorb, um den Ratenrechner zu starten "
var menu_instalment_label_min="Sie können die Raten nur für dieses Produkt nicht berechnen, weil Sie den minimalen Wert für eine Finanzierung bei dieser Bank nicht erreicht haben: "
function calculate_instalments(min,max,priceTotal,alertbox,link,maxquantity,name,id){var id=id;var link=link;if(link.indexOf('{calculate_price}')!=-1){link=link.replace("{calculate_price}",'XXX');}
if(!window['cena_raty']||cena_raty==''){eval(link);}else{if((id=='128')&&($("#projector_form").length>0)){eval(link.replace("XXX",cena_raty));}else{var startcalc=true;var inputcode='';var sum_raty;var maxflag=false;if(priceTotal!=''){sum_raty=parseFloat(priceTotal)+parseFloat(cena_raty);sum_raty=sum_raty.toFixed(2);}
else{sum_raty=parseFloat(koszyk_raty)+parseFloat(cena_raty);sum_raty=sum_raty.toFixed(2);}
if((basket_count==0)&&((min!='')&&(parseFloat(cena_raty)>parseFloat(min)))&&((max!='')&&(parseFloat(cena_raty)
'+menu_instalment_label_min+''+name+''+menu_instalment_label_to+min+instalment_currency+'
';}else if((max!='')&&(parseFloat(cena_raty)>parseFloat(max))){inputcode=inputcode+'