Citimarine Store | Marine Air Conditioners, Generators, Accessories

Citimarine Store | Marine Air Conditioners, Generators, Accessories


Citimarine Store | Marine Air Conditioners, Generators, Accessories ‘+AMZ_USE_ACCOUNT_HEAD+’

‘+AMZ_USE_ACCOUNT_BODY+”;}function buildAmazonMiniCartButtonContainer(){if(AMZ_MINI_CART_ENHANCEMENT==’1’&&AMZ_ADD_MINI_CART_BTN!=’0′){return’

‘+AMZ_MINI_CART_INFO+”;}return”;}function initAmazon(){if($(“#authentication #SubmitCreate”).length>0&&LPA_MODE!=’login’&&AMZ_SHOW_REGISTRATION_PAGE==’1’){if($(“body#authentication”).length>0&&$(“#order_step”).length==0){$(“#authentication #SubmitCreate”).parent().append(”+buildAmazonButtonContainer()+”);}else{$(“#authentication #SubmitCreate”).parent().append(”+buildAmazonButtonContainer()+”);bindCartButton(‘jsLoginAmazonPay’);}}if(jQuery(“#form_onepagecheckoutps #opc_social_networks”).length>0){if(jQuery(“#payWithAmazonSocialDiv”).length==0){jQuery(“#opc_social_networks”).append(”);}}if(AMZ_SHOW_IN_CART_POPUP==’1′){if($(‘#layer_cart .button-container’).length>0){$(‘#layer_cart .button-container’).append(”);bindCartButton(‘payWithAmazonLayerCartDiv’);}}if($(‘.amazonLoginWr’).length>0){$(‘.amazonLoginWr’).each(function(){if($(this).attr(‘data-is-set’)!=’1′){var amzBtnColor=AMZ_BUTTON_COLOR_LPA;if($(this).attr(“id”)==”amazonLogin”)amzBtnColor=AMZ_BUTTON_COLOR_LPA_NAVI;var redirectURL=LOGINREDIRECTAMZ;var redirectToCheckout=false;var redirectState=”;if($(this).attr(“id”)==”jsLoginAuthPage”&&location.href.indexOf(‘display_guest_checkout’)>1){redirectState=’&toCheckout=1′;redirectToCheckout=true;}OffAmazonPayments.Button($(this).attr(‘id’),AMZSELLERID,{type:AMZ_BUTTON_TYPE_LOGIN,size:AMZ_BUTTON_SIZE_LPA,color:amzBtnColor,language:AMZ_WIDGET_LANGUAGE,authorization:function(){loginOptions={scope:’profile postal_code payments:widget payments:shipping_address payments:billing_address’,popup:!useRedirect,state:redirectState};authRequest=amazon.Login.authorize(loginOptions,useRedirect?redirectURL:null);},onSignIn:function(orderReference){var amazonOrderReferenceId=orderReference.getAmazonOrderReferenceId();document.cookie=”amazon_Login_accessToken=”+authRequest.access_token+”;path=/;secure”;acctk=”;if(AMZ_NO_TOKEN_AJAX==’0′){acctk=’&access_token=’+authRequest.access_token;}$.ajax({type:’POST’,url:SETUSERAJAX,data:’ajax=true&method=setusertoshop&amazon_id=’+amazonOrderReferenceId+(redirectToCheckout?’&action=checkout’:null)+acctk,success:function(htmlcontent){if(htmlcontent==’error’){alert(‘An error occured – please try again or contact our support’);}else{window.location=htmlcontent;}}});},onError:function(error){console.log(error);}});$(this).attr(‘data-is-set’,’1′);}});setTipr(“.amazonLoginWr”);}if(LPA_MODE==’login_pay’||LPA_MODE==’pay’){if($(‘#payWithAmazonDiv’).length>0){bindCartButton(‘payWithAmazonDiv’);}if($(‘#button_order_cart’).length>0&&$(‘#amz_cart_widgets_summary’).length==0){if(AMZ_MINI_CART_ENHANCEMENT==’1’&&AMZ_ADD_MINI_CART_BTN!=’0′){$(‘#button_order_cart’).before(”+buildAmazonMiniCartButtonContainer()+”);}else{$(‘#button_order_cart’).before(”);}bindCartButton(‘payWithAmazonCartDiv’);}if($(“#pay_with_amazon_list_button”).length>0){$(“#pay_with_amazon_list_button”).append(”);bindCartButton(‘payWithAmazonListDiv’);}var have_clicked=false;$(“a.amzPayments”).click(function(){if(!have_clicked){have_clicked=true;$(“#payWithAmazonListDiv img”).trigger(‘click’);setTimeout(function(){have_clicked=false;},1000);}return false;});setInterval(checkForAmazonListButton,2000);}}function checkForAmazonListButton(){if(jQuery(“#pay_with_amazon_list_button”).length>0){if(jQuery.trim(jQuery(“#pay_with_amazon_list_button”).html())==”){if(AMZ_SHOW_AS_PAYMENT_METHOD==’1′){jQuery(“#pay_with_amazon_list_button”).append(”);bindCartButton(‘payWithAmazonListDiv’);}}}if(jQuery(“#HOOK_ADVANCED_PAYMENT”).length>0){if(jQuery(“#payWithAmazonListDiv”).length==0){if(AMZ_SHOW_AS_PAYMENT_METHOD==’1′){jQuery(”).appendTo(“#HOOK_ADVANCED_PAYMENT .row:first”);bindCartButton(‘payWithAmazonListDiv’);}}}if(jQuery(“#form_onepagecheckoutps #onepagecheckoutps_step_three”).length>0){if(jQuery(“#payWithAmazonPaymentOPC”).length==0){if(AMZ_SHOW_AS_PAYMENT_METHOD==’1′){jQuery(“#onepagecheckoutps_step_three”).append(”);bindCartButton(‘payWithAmazonPaymentOPC’);}}}}function bindCartButton(div_id){if(jQuery(‘#’+div_id).attr(‘data-is-set’)!=’1′){var redirectState=”;var redirectURL=LOGINREDIRECTAMZ;if(useRedirect){redirectState=’&toCheckout=1′;}OffAmazonPayments.Button(div_id,AMZSELLERID,{type:AMZ_BUTTON_TYPE_PAY,size:AMZ_BUTTON_SIZE_LPA,color:AMZ_BUTTON_COLOR_LPA,language:AMZ_WIDGET_LANGUAGE,authorization:function(){loginOptions={scope:’profile postal_code payments:widget payments:shipping_address payments:billing_address’,popup:!useRedirect,state:redirectState};authRequest=amazon.Login.authorize(loginOptions,(useRedirect?redirectURL:null));},onSignIn:function(orderReference){amazonOrderReferenceId=orderReference.getAmazonOrderReferenceId();if(jQuery(‘#’+div_id).hasClass(‘amz_create_account’)){document.cookie=”amazon_Login_accessToken=”+authRequest.access_token+”;path=/;secure”;acctk=”;if(AMZ_NO_TOKEN_AJAX==’0′){acctk=’&access_token=’+authRequest.access_token;}$.ajax({type:’POST’,url:SETUSERAJAX,data:’ajax=true&method=setusertoshop&amazon_id=’+amazonOrderReferenceId+’&action=checkout’+acctk,success:function(htmlcontent){if(htmlcontent==’error’){alert(‘An error occured – please try again or contact our support’);}else{window.location=htmlcontent;}}});}else{document.cookie=”amazon_Login_accessToken=”+authRequest.access_token+”;path=/;secure”;acctk=”;if(AMZ_NO_TOKEN_AJAX==’0′){acctk=’&access_token=’+authRequest.access_token;}jQuery.ajax({type:’POST’,url:REDIRECTAMZ,data:’ajax=true&method=setsession&amazon_id=’+amazonOrderReferenceId+acctk,success:function(htmlcontent){window.location=REDIRECTAMZ+amazonOrderReferenceId;}});}},onError:function(error){console.log(error);}});setTipr(‘#’+div_id);jQuery(‘#’+div_id).attr(‘data-is-set’,’1′);}}function setTipr(element){if(jQuery(“#amazonpay_tooltip”).length>0){setTimeout(function(){jQuery(element).find(“img”).attr(‘data-tip’,jQuery(“#amazonpay_tooltip”).html()).tipr();},2000);}} var __dcid=__dcid||[];__dcid.push([“DigiCertClickID_TDdolRrg”,”15″,”l”,”black”,”TDdolRrg”]);(function(){var cid=document.createElement(“script”);cid.async=true;cid.src=”//seal.digicert.com/seals/cascade/seal.min.js”;var s=document.getElementsByTagName(“script”);var ls=s[(s.length-1)];ls.parentNode.insertBefore(cid,ls.nextSibling);}());;$(‘document’).ready(function(){$(“#search_query_top”).autocomplete(‘https://citimarinestore.com/en/search’,{minChars:3,max:10,width:300,selectFirst:false,scroll:false,dataType:”json”,formatItem:function(data,i,max,value,term){return value;},parse:function(data){var mytab=new Array();for(var i=0;i1?data[i].id_image.split(“-“)[1]:data[i].id_image)+’-cart_default/b.jpg” class=”img-fluid”>’+(just_name.length>40?just_name.substr(0,39)+’…’:just_name)+’  $’+price+”};} return mytab;},extraParams:{ajaxSearch:1,id_lang:1}}).result(function(event,data,formatted){var just_name=data.pname.split(” – “)[0].replace(/ *([^)]*)/g,””);var short_name=(just_name.length>40)?just_name.substr(0,39)+’…’:just_name;$(‘#search_block_top form > div > a’).css(“background-image”,”url(https://citimarinestore.com/themes/theme696/css/../img/loader.gif)”);$(‘#search_query_top’).val(short_name);document.location.href=data.product_link;})});;var CUSTOMIZE_TEXTFIELD=1;var img_dir=’https://citimarinestore.com/themes/theme696/img/’;;var customizationIdMessage=’Customization #’;var removingLinkText=’Please remove this product from my cart.’;var freeShippingTranslation=’Free shipping!’;var addedSuccessfully=’Your product has been successfully added to your cart!’;var freeProductTranslation=’Free!’;var delete_txt=’Delete’;var ajaxcart_allowed=1;;var customerGroupDefault=0;;$(document).ready(function(){$(‘#countries_2 .countries_ul li span’).each(function(){var h=$(this).html();var index=h.indexOf(‘ ‘);if(index==-1){index=h.length;} $(this).html(”+h.substring(index,h.length)+”+h.substring(0,index));});});;$(document).ready(function(){$(‘#slides’).slidesjs({width:870,height:321,navigation:{active:true,effect:”slide”},pagination:{active:true,effect:”slide”},start:1,play:{auto:true,interval:5000,},effect:{slide:{speed:800}}}).parent(‘#minic_slider’).addClass(‘minic-show’);let heightSlider=$(‘.slidesjs-slide img’).outerHeight(true) $(‘.slidesjs-control’).css(‘height’,heightSlider) $(‘.slidesjs-container’).css(‘height’,heightSlider)});(function(h,o,t,j,a,r){h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};h._hjSettings={hjid:336485,hjsv:5};a=o.getElementsByTagName(‘head’)[0];r=o.createElement(‘script’);r.async=1;r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;a.appendChild(r);})(window,document,’//static.hotjar.com/c/hotjar-‘,’.js?sv=’);/* ]]]]> */]]>

Source

Leave a Reply