var url = "https://listanascimento.vertbaudet.pt"; var fileDirectory = "sites/default/files/"; var alertMessage = "L'outil -- Ma liste Ookoodoo -- a bien été installé. Vous pouvez ajoutez des produits de n'importe quel site à votre liste en cliquant dessus."; var frameAlert = "Désolé, mais cet outil ne peut pas être utilisé à partir de cette page. Si vous utilisez un outil de Google sur cette page, s'il vous plaît fermer le cadre. Vous serez alors capable d'utiliser l'outil en allant sur la page originale de ce site. Merci de votre compréhension."; var selectThisPicture = "Choisir cette image"; var okdo_hostServer = url; var okdo_hostServerFiles = url+"/sites/default/files"; // new popin variable var okdo_newpopin = 0; var okdo_scrap_proSiteId = 0;var okdo_scrap_proSite_https = 2;function changeFavicon(e){var o=document.createElement("link"),t=document.getElementById("dynamic-favicon");o.id="dynamic-favicon",o.rel="shortcut icon",o.href=e,t&&document.head.removeChild(t),document.head.appendChild(o)}function okdo_getBestDocumentObj(){return okdo_getBestWindowObj().document}function okdo_getWindowArea(e){var o=0,t=0;return"number"==typeof e.innerWidth?(o=e.innerWidth,t=e.innerHeight):e.document.documentElement&&(e.document.documentElement.clientWidth||e.document.documentElement.clientHeight)?(o=e.document.documentElement.clientWidth,t=e.document.documentElement.clientHeight):e.document.body&&(e.document.body.clientWidth||e.document.body.clientHeight)&&(o=e.document.body.clientWidth,t=e.document.body.clientHeight),o*t}function okdo_getBestWindowObj(){if(null!=okdo_wishlist_bestwindow)return okdo_wishlist_bestwindow;var e=window,o=e.document.getElementsByTagName("body");if(window.frames.length>0&&o.length<=0){for(var t=0,r=null,n=0;n=t&&(t=a,r=window.frames[n])}e=r}return wishlisting_bestwindow=e,e}function okdo_getWindowHeight(){var e=0;return"number"==typeof window.innerWidth?e=window.innerHeight:window.document.documentElement&&(window.document.documentElement.clientWidth||window.document.documentElement.clientHeight)?e=window.document.documentElement.clientHeight:window.document.body&&(window.document.body.clientWidth||window.document.body.clientHeight)&&(e=window.document.body.clientHeight),e}function okdo_colapse(){document.getElementById("okdo_frame").style.height=okdo_scrapBoxHeaderSize+"px",scrapHeader=document.getElementById("okdo_scrapBoxHeader"),null!=document.getElementById("okdo_unColapse")&&null!=document.getElementById("okdo_colapse")&&(document.getElementById("okdo_unColapse").style.visibility="visible",document.getElementById("okdo_colapse").style.visibility="hidden",document.getElementById("okdo_colapse").style.width="0px",void 0==okdo_scrap_proSiteId&&(scrapHeader.style.backgroundColor="#f8646f",scrapHeader.style.backgroundImage="url('"+url+"/sites/all/themes/ookoodoo/images/newdesign/ookoodoo-logo-popin.png')",scrapHeader.style.backgroundRepeat="no-repeat",scrapHeader.style.backgroundPosition="10px 5px",scrapHeader.style.width="185px",document.getElementById("okdo_frame").style.width="185px"))}function okdo_unColapse(){document.getElementById("okdo_frame").style.height=scrapBoxHeight+"px",scrapHeader=document.getElementById("okdo_scrapBoxHeader"),null!=document.getElementById("okdo_unColapse")&&null!=document.getElementById("okdo_colapse")&&(document.getElementById("okdo_colapse").style.visibility="visible",document.getElementById("okdo_colapse").style.width="auto",document.getElementById("okdo_unColapse").style.visibility="hidden",void 0==okdo_scrap_proSiteId&&(scrapHeader.style.backgroundColor="transparent",scrapHeader.style.backgroundImage="none",scrapHeader.style.width="314px",document.getElementById("okdo_frame").style.width="314px"))}function okdo_onImageMouseOver(e,o){var t=okdo_byId("okdo_imageDiv");t.style.display="none",okdo_clearNode(t);var r=okdo_createDiv(t);r.style.position="absolute";var n=okdo_getOffset(e);r.style.left=n.left-okdo_kOutlineSize+1+"px",r.style.top=n.top-okdo_kOutlineSize+1+"px",r.style.width=e.width+"px",r.style.height=e.height+"px",r.style.border=okdo_kOutlineSize+"px solid "+okdo_kOutlineColor,r.style.cursor="pointer",r.innerHTML='
'+selectThisPicture+"
",okdo_addEventListener(r,"click",okdo_curry(okdo_onImageClick,e)),okdo_addEventListener(r,"mouseout",okdo_onHoverMouseOut),t.style.display="",cancelEvent(o)}function okdo_onHoverMouseOut(e){var o=okdo_byId("okdo_imageDiv");if(o){for(var t=e.toElement||e.relatedTarget;t;t=t.parentNode)if(t==o)return;okdo_clearNode(o),o.style.display="none",cancelEvent(e)}}function okdo_onImageClick(e,o){cancelEvent(o),e.title=okdo_getTitle(),okdo_sendFrameMessage_b({image:e.src,width:e.width,height:e.height,title:e.title,price:okdo_getPrice()}),okdo_unColapse()}function okdo_addEventListener(e,o,t){var r=t;if(e.addEventListener)e.addEventListener(o,r,!1);else{if(!e.attachEvent)throw new Error("Event registration not supported");r=function(){t(window.event)},e.attachEvent("on"+o,r)}return{instance:e,name:o,listener:r}}function removeEventListener(e){var o=e.instance;"undefined"!=typeof o&&(o.removeEventListener?o.removeEventListener(e.name,e.listener,!1):o.detachEvent&&o.detachEvent("on"+e.name,e.listener))}function cancelEvent(e){e||(e=window.event),e.preventDefault?e.preventDefault():e.returnValue=!1}function okdo_getOffset(e){var o=0,t=0;if(e.offsetParent)for(o=e.offsetLeft,t=e.offsetTop;e=e.offsetParent;)o+=e.offsetLeft,t+=e.offsetTop;return{left:o,top:t}}function okdo_clearNode(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function okdo_removeNode(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function okdo_createDiv(e){var o=document.createElement("div");return o.style.position="relative",o.style.padding="0",o.style.margin="0",o.style.border="0",e&&e.appendChild(o),o}function okdo_curry(e){for(var o=[],t=1;t/g)||[]).join("");var t=/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,r=/|<\?(?:php)?[\s\S]*?\?>/gi;return e.replace(r,"").replace(t,function(e,t){return o.indexOf("<"+t.toLowerCase()+">")>-1?e:""})}function okdo_stripBrackets(e){return e.replace(/ *\([^)]*\) */g,"")}function okdo_getTitle(){var e,o=!1,t=window.location.hostname;switch(t){case"www.amazon.fr":e=jQuery("#title").html(),o=!0;break;case"www.aubert.com":e=jQuery("h1").html(),e=okdo_stripBrackets(e),o=!0;break;case"www.allobebe.fr":e=jQuery(".produit_essentiel h1").html(),o=!0;break;case"www.c-and-a.com":e=jQuery("#ProductInfo .product .name").html(),o=!0;break;case"www.vertbaudet.fr":e=jQuery("#ctl00_cphZoneActive_InfoProduitPrincipale h1").html(),o=!0;break;case"www.oclio.com":e=jQuery("#content h1").html(),o=!0;break;case"www.king-jouet.com":e=jQuery(".ProduitEntete h1").html(),o=!0;break;case"joueclub.com":case"www.joueclub.com":e=jQuery("#ctl00_ContentPlaceHolder1_artDesc").html(),o=!0;break;case"www.decobb.com":e=jQuery(".textnomprod").html(),o=!0;break;case"www.natalys.com":e=jQuery("#main h2").html(),o=!0;break;case"www.avenuedesjeux.com":e=jQuery("#middle h1").html(),o=!0;break;case"www.micromania.fr":e=jQuery("#content h2").html(),o=!0;break;case"www.sephora.fr":e=jQuery("#fiche .titre").html(),o=!0;break;case"madame.lefigaro.fr":jQuery(".produit").length&&(e=jQuery(".produit .legende").html(),o=!0);break;case"www.toysrus.fr":e=jQuery("h1").html(),o=!0;break;case"www.doudouplanet.com":e=jQuery("h1").html(),o=!0;break;case"www.zara.com":e=jQuery("h2").html(),o=!0;break;case"luisaviaroma.com":case"www.luisaviaroma.com":e=document.title;var r=e.split("LUISAVIAROMA");e=r[0],e=e.replace(/-/gm," "),e=jQuery.trim(e),o=!0;break;case"www.rueducommerce.fr":e=jQuery(".fpTop").find(".title").html(),o=!0}return o||(e=jQuery("h1").length?jQuery("h1").length>1?document.getElementsByTagName("h1")[1].innerHTML:document.getElementsByTagName("h1")[0].innerHTML:""),""!=e&&null!=e&&void 0!=e&&(e=okdo_clean_string(e)),""!=e&&null!=e&&void 0!=e||(e=document.title),e=okdo_clean_string(e)}function okdo_clean_string(e){return e=okdo_stripTags(e),e=jQuery.trim(e),e=e.replace(/(\r\n|\n|\r)/gm," "),e=e.replace(/ /g," "),e=okdo_removeMultiSpace(e)}function okdo_string_forWork(e){var o=["/",".","*","+","?","|","(",")","[","]","{","}","\\"],t=new RegExp("(\\"+o.join("|\\")+")","g");return e.replace(t,"\\$1")}function okdo_getPrice(){var e="[class=newPrice],[id=prezzo]",o="[class*=price],[class*=prix],[class*=Price],[id*=prix],[id*=Prix],[id*=price],[id*=Price],[class=prz]",t="#prixBarre, .prixBarre, .oldprice, #oldprice, .oldPrice",r="body",n=0,a=!1,d=window.location.hostname;switch(jQuery("[itemprop*=price]").length&&(n=jQuery("[itemprop*=price]").html(),n=okdo_priceClean(n),parseInt(n)>4&&(a=!0)),d){case"www.aubert.com":jQuery("#informationLocation").find(".current-price-amount").length?(n=jQuery("#informationLocation").find(".current-price-amount").html(),n+=jQuery("#informationLocation").find(".current-price-amount small").html(),a=!0):jQuery("[itemprop*=price]").length&&(n=parseFloat(jQuery("[itemprop*=price]").attr("content")).toFixed(2),a=!0);break;case"www.laredoute.fr":n=jQuery('[itemprop="price"]').html(),a=!0;break;case"www.amazon.fr":n=jQuery("#priceblock_ourprice").html(),"undefined"!=typeof n&&null!=n||(n=jQuery("#priceblock_saleprice").html()),a=!0;break;case"www.webdistrib.com":n=jQuery(".prodInfos .price").html(),a=!0;break;case"www.boulanger.fr":n=jQuery("#pp_purchase_scroll_price").html(),a=!0;break;case"www.cdiscount.com":n=jQuery(".price-xx_large").html(),a=!0;break;case"www.kiabi.com":n=jQuery(".prixFP").html(),a=!0;break;case"www.doudouplanet.com":n=jQuery("#centre #prix_final").html(),a=!0;break;case"www.darty.com":r="#main";break;case"www.3suisses.fr":n=jQuery("#zonePrix:first").html(),a=!0;break;case"www.sarenza.com":n=jQuery("#divDetailsPrix .price").html(),a=!0;break;case"www.sephora.fr":n="",a=!0;break;case"www.natiloo.com":r="#prod_details";break;case"www.marionnaud.fr":n=jQuery(".p_list_item .c3").html(),a=!0;break;case"www.cultura.com":n=jQuery(".priceArea .basketArea").html(),a=!0;break;case"www.prenatal.it":n=jQuery('meta[name="zx:amount"]').attr("content"),a=!0;break;case"www.allobebe.fr":n=jQuery(".prix span").html(),a=!0;break;case"www.salustore.com":n=jQuery(".product-shop .price").html(),a=!0;break;case"www.vertbaudet.fr":n=jQuery("#ctl00_cphZoneActive_InfoProduitPrincipale").find(".price-value").attr("data-price"),a=!0;break;case"www.toysrus.fr":n=jQuery(".ours").next().html(),a=!0;break;case"www.rueducommerce.fr":n=jQuery("#zm_price_final").html(),"undefined"==typeof n&&(n=jQuery(".fpPriceBig").html()),"undefined"!=typeof n&&"undefined"!=n||(n=jQuery(".pricemarchand").find(".px_ctc").html()),"undefined"!=typeof n&&"undefined"!=n||(n=jQuery(".ficheProduit_prix").html()),a=!0;break;case"www.eveiletjeux.com":n=jQuery(".prix").html(),a=!0;break;case"www.oxybul.com":n=jQuery(".ficheProduit").find(".prix").text(),a=!0;break;case"www.bebeconcept.com":n=jQuery("[itemprop='price']").attr("content"),a=!0;break;case"www.bebeconcept.de":n=jQuery("[itemprop='price']").attr("content"),a=!0;break;case"www.bebeconcept.es":n=jQuery("[itemprop='price']").attr("content"),a=!0;break;case"www.bebeconcept.it":n=jQuery("[itemprop='price']").attr("content"),a=!0;break;case"www.babystock.fr":n=jQuery("#center_column").find(".form-horizontal").find(".dyn_devise_price").html(),a=!0;break;case"www.king-jouet.com":n=jQuery("#ProductDetails").find(".blocPrixLigne").find(".PrixProduit").text().replace("€",""),a=!0;break;case"www.priceminister.com":jQuery(".prdInfos").length&&(n=jQuery(".prdInfos").find(".price").html(),a=!0)}if(!a){var i="",c="";jQuery(r).find(e).not(t).each(function(){i=jQuery(this);var e=i.find(o);if(e.length>0)return!0;if(c=jQuery(o,i),0==c.length){try{var t=i.parents("[id*=nav],[class*=conseil],[class*=other],[class*=autre],[class*=prixBarre]")}catch(r){var t=""}if(0==t.length&&(n=i.html(),n=okdo_priceClean(n),parseInt(n)>4))return a=!0,!1}})}if(a)n=okdo_priceClean(n);else{var i="",c="";jQuery(r).find(o).not(t).each(function(){i=jQuery(this);var e=i.find(o);if(e.length>0)return!0;if(c=jQuery(o,i),0==c.length){try{var t=i.parents("[id*=nav],[class*=conseil],[class*=other],[class*=autre],[class*=prixBarre]")}catch(r){var t=""}if(0==t.length&&(n=i.html(),n=okdo_priceClean(n),parseInt(n)>4))return a=!0,!1}})}return n}function okdo_priceClean(e){return e=e||"",e=e.toString(),e=okdo_stripTags(e),e=e.replace(/ /g," "),e=e.replace(/\u20ac/g,","),e=e.replace(/[0-9]{1,2}\%/,""),e=e.replace(/[^0-9\.,]/g,""),e=e.replace(/^[^0-9]/,""),e.match(/([0-9]*[,]{1}[0-9]{2})/)&&e.match(/([0-9]*[.]?[0-9]{2})/)&&(e=e.replace(/\./,"")),e.match(/([0-9]*[,\.]?[0-9]{2})/)&&(e=e.replace(/([0-9]*[,\.]?[0-9]{2}).*/,"$1")),isNaN(parseInt(e))||parseInt(e)<2||parseInt(e)>15e3?"":e}function okdo_sendFrameMessage_b(e){var o="",t="",r="scrapFrame/1",n=[];if(okdo_setLanguage(),"undefined"!=typeof okdo_scrap_providedUrl&&null!=okdo_scrap_providedUrl?(o+="?"+encodeURIComponent("url")+"="+encodeURIComponent(okdo_scrap_providedUrl),n.scrapurl=encodeURIComponent(okdo_scrap_providedUrl)):(o+="?"+encodeURIComponent("url")+"="+encodeURIComponent(location.href),n.scrapurl=encodeURIComponent(location.href)),"undefined"==typeof okdo_scrap_currency&&jQuery("[itemprop*=priceCurrency]").length&&(okdo_scrap_currency=jQuery("[itemprop*=priceCurrency]").attr("content"),o+="&"+encodeURIComponent("currency")+"="+encodeURIComponent(okdo_scrap_currency),n.scrapcurrency=encodeURIComponent(okdo_scrap_currency)),"undefined"!=typeof okdo_scrap_partnerId&&null!=okdo_scrap_partnerId&&(o+="&"+encodeURIComponent("title")+"="+encodeURIComponent(okdo_scrap_title),o+="&"+encodeURIComponent("price")+"="+encodeURIComponent(okdo_scrap_price),o+="&"+encodeURIComponent("currency")+"="+encodeURIComponent(okdo_scrap_currency),o+="&"+encodeURIComponent("devise")+"="+encodeURIComponent(okdo_scrap_devise),o+="&"+encodeURIComponent("partnerId")+"="+encodeURIComponent(okdo_scrap_partnerId),o+="&"+encodeURIComponent("productId")+"="+encodeURIComponent(okdo_scrap_productId),o+="&"+encodeURIComponent("image")+"="+encodeURIComponent(okdo_scrap_productPicture),o+="&"+encodeURIComponent("width")+"="+encodeURIComponent(okdo_scrap_productPictureWidth),o+="&"+encodeURIComponent("height")+"="+encodeURIComponent(okdo_scrap_productPictureHeight),n.scraptitle=encodeURIComponent(okdo_scrap_title),n.scrapprice=encodeURIComponent(okdo_scrap_price),n.scrapcurrency=encodeURIComponent(okdo_scrap_currency),n.scrappartnerId=encodeURIComponent(okdo_scrap_devise),n.scrapproductId=encodeURIComponent(okdo_scrap_partnerId),n.scrapimage=encodeURIComponent(okdo_scrap_productId),n.scraptitle=encodeURIComponent(okdo_scrap_productPicture),n.scrapwidth=encodeURIComponent(okdo_scrap_productPictureWidth),n.scrapheight=encodeURIComponent(okdo_scrap_productPictureHeight)),"undefined"==typeof okdo_scrap_price&&(okdo_scrap_price=okdo_getPrice(),o+="&"+encodeURIComponent("price")+"="+encodeURIComponent(okdo_scrap_price),n.scrapprice=encodeURIComponent(okdo_scrap_price)),"undefined"!=typeof okdo_scrap_proSiteId){o+="&"+encodeURIComponent("pro-site-id")+"="+encodeURIComponent(okdo_scrap_proSiteId),n.scrapprositeid=encodeURIComponent(okdo_scrap_proSiteId);var a=window.location.hostname;if(1745==okdo_scrap_proSiteId&&"www.rueducommerce.fr"==a){var d=jQuery("#ref").html(),i=d.split("|");i.length>0&&(okdo_scrap_productId=i[3]),o+="&"+encodeURIComponent("productId")+"="+encodeURIComponent(okdo_scrap_productId),o+="&"+encodeURIComponent("currency")+"="+encodeURIComponent("EUR"),n.scrapproductId=encodeURIComponent(okdo_scrap_partnerId),n.scrapcurrency=encodeURIComponent("EUR")}"undefined"!=typeof okdo_scrap_currency||jQuery("[itemprop*=priceCurrency]").length||(o+="&"+encodeURIComponent("currency")+"="+encodeURIComponent("EUR"),n.scrapcurrency=encodeURIComponent("EUR")),"undefined"!=typeof okdo_scrap_partnerItemGroupId&&(o+="&"+encodeURIComponent("partnerItemGroupId")+"="+encodeURIComponent(okdo_scrap_partnerItemGroupId),n.scrappartnerItemGroupId=encodeURIComponent(okdo_scrap_partnerItemGroupId))}if("undefined"!=typeof okdo_scrap_size&&null!=okdo_scrap_size&&(o+="&"+encodeURIComponent("size")+"="+encodeURIComponent(okdo_scrap_size),n.scrapsize=encodeURIComponent(okdo_scrap_size)),"undefined"!=typeof okdo_scrap_comments&&null!=okdo_scrap_comments&&(o+="&"+encodeURIComponent("comments")+"="+encodeURIComponent(okdo_scrap_comments),n.scrapcomments=encodeURIComponent(okdo_scrap_comments)),"undefined"!=typeof okdoprolang&&(o+="&"+encodeURIComponent("okdoprolang")+"="+encodeURIComponent(okdoprolang),n.scrapokdoprolang=encodeURIComponent(okdoprolang)),"undefined"!=typeof okdoprocountry&&(o+="&"+encodeURIComponent("okdoprocountry")+"="+encodeURIComponent(okdoprocountry),n.scrapokdoprocountry=encodeURIComponent(okdoprocountry)),"undefined"==typeof okdo_scrap_partnerId||null==okdo_scrap_partnerId)for(var c in e)if(e.hasOwnProperty(c)&&!n.hasOwnProperty("scrap"+c)){if("image"==c){var s=IsBase64Encoded(e[c]);null!=s&&(e[c]=s)}o+=o.length?"&":"",o+=encodeURIComponent(c)+"="+encodeURIComponent(e[c])}o+="&"+encodeURIComponent("scrap")+"="+encodeURIComponent("true"),n.scrapscrap=encodeURIComponent("true");var l;if(l=-1!=navigator.userAgent.indexOf("Safari")?frames.okdo_frame:okdo_byId("okdo_frame").contentWindow){t=0==okdo_scrap_proSite_https?okdo_scrap_proSite_sso_url+o+"&okdopid="+okdo_scrap_proSiteId:okdo_hostServer+"/"+okdoLanguage+"/"+r+"/"+o,1==okdo_newpopin&&(t+="&newpopin=1"),console.log("p: "+o);try{l.location.replace(t)}catch(p){try{l.src=t}catch(p){l.src=t}}}}function handleMessage(e){e=e.split("-");for(var o=0;o=0){if(jQuery("#imgMainVisual").length)return okdo_selectedImage=jQuery("#imgMainVisual")[0].src;if(jQuery(".nav-diaporama img").length)return okdo_selectedImage=jQuery(".nav-diaporama img")[0].src}}return null}function okdo_getPicture(){var e=document.getElementsByTagName("img"),o=0,t=-1;okdo_selectedImageHeight=0;var r=document.title;r=okdo_string_forWork(r);var n=r.split(" "),a=n.length,d=.8*a,i=0,c=okdo_picture_manuel(),s="",l="",p="";if("undefined"!=typeof okdo_scrap_productPicture&&null!=okdo_scrap_productPicture||""!=c&&null!=c&&void 0!=c&&(okdo_scrap_productPicture=okdo_selectedImage),old_jQuery||"undefined"==typeof jQuery('meta[property="og:image"]').attr("content"))for(var u=0;u0)continue;i=0;for(var m=0;a>m;m++)l.search(n[m])>=0&&(2>m?i+=2:i++);if(o=s.height,o>okdo_selectedImageHeight){if(i>=t||3>t){if(i==t&&okdo_selectedImageHeight>250)continue;if(okdo_selectedImage=s.src,okdo_selectedImageWidth=s.width,okdo_selectedImageHeight=s.height,t=i,i>d)break}}else i>t&&i>2&&(okdo_selectedImage=s.src,okdo_selectedImageWidth=s.width,okdo_selectedImageHeight=s.height,t=i)}else{var g=0,k=0;-1!=navigator.appVersion.indexOf("MSIE")&&(g=parseFloat(navigator.appVersion.split("MSIE")[1]),k=document.documentMode),7==g||7==document.documentMode?s.attributes.src&&s.attributes.src==okdo_scrap_productPicture&&(okdo_scrap_productPictureHeight=s.height,okdo_scrap_productPictureWidth=s.width,okdo_selectedImageWidth=s.width,okdo_selectedImageHeight=s.height):s.hasAttribute("src")&&s.getAttribute("src")==okdo_scrap_productPicture&&(okdo_scrap_productPictureHeight=s.height,okdo_scrap_productPictureWidth=s.width,okdo_selectedImageWidth=s.width,okdo_selectedImageHeight=s.height)}else{okdo_scrap_productPicture=jQuery('meta[property="og:image"]').attr("content");var _=new Image;_.src=jQuery('meta[property="og:image"]').attr("content"),okdo_scrap_productPictureHeight=_.height,okdo_scrap_productPictureWidth=_.width,okdo_selectedImageWidth=_.width,okdo_selectedImageHeight=_.height,okdo_selectedImage=okdo_scrap_productPicture}}function okdo_bookmarklet_b(){if(okdo_byId("okdo_scrapBox"))return void okdo_unColapse();var e;if(window.getSelection?e=""+window.getSelection():document.selection&&(e=document.selection.createRange().text),"undefined"==typeof okdo_scrap_proSiteId||0==okdo_scrap_proSiteId,1){scrapBoxHeight=560;var o=(okdo_getWindowHeight()-scrapBoxHeight)/2,t=okdo_createDiv();t.id="okdo_scrapBoxHeader",t.style.position="fixed",t.style.backgroundColor="transparent",t.style.zIndex=0,t.style.width=okdo_scrapBoxWidth+2*okdo_scrapBoxborder+"px",t.style.height=okdo_scrapBoxHeaderSize+"px",t.style.top=o+"px",t.style.right=0,t.style.marginTop="0px",t.style.marginRight="0px",t.style.color="#FFF",t.style.padding="0px",t.style.border="0px",t.style.visibility="visible",t.style.zIndex=20000000003,t.style.display="block";var r=okdo_createDiv(t);r.id="okdo_close",r.style.cursor="pointer",r.style.marginTop="14px",r.style.marginRight="10px";var n=document.createElement("img");n.src=okdo_hostServerFiles+"/pictures/close.gif",r.appendChild(n);var a=okdo_createDiv(t);a.id="okdo_colapse",a.style.cursor="pointer",a.style.marginTop="14px",a.style.marginRight="10px";var d=document.createElement("img");d.src=okdo_hostServerFiles+"/pictures/colapse.gif",a.appendChild(d);var i=okdo_createDiv(t);i.id="okdo_unColapse",i.style.cursor="pointer",i.style.marginTop="14px",i.style.marginRight="0px",i.style.visibility="hidden";var c=document.createElement("img");c.src=okdo_hostServerFiles+"/pictures/expand.gif",i.appendChild(c),"Microsoft Internet Explorer"==navigator.appName?(r.style.styleFloat="right",a.style.styleFloat="right",i.style.styleFloat="right"):(r.style.cssFloat="right",a.style.cssFloat="right",i.style.cssFloat="right");var s=document.createElement("iframe");s.id="okdo_frame",s.frameBorder=0,s.scrolling="no",s.style.position="fixed",s.style.height=scrapBoxHeight+"px",s.style.width=okdo_scrapBoxWidth+2*okdo_scrapBoxborder+"px",s.style.padding="0px",s.style.margin="0px",s.style.visibility="visible",s.style.top=o+"px",s.style.right="0",s.style.zIndex=3141592,s.style.overflow="hidden",s.allowTransparency="true",s.style.display="block",okdo_setLanguage(),console.log("okdoLanguage: "+okdoLanguage),console.log("okdo_scrap_proSiteId: "+okdo_scrap_proSiteId),1==okdo_newpopin&&0==okdo_scrap_proSiteId?s.style.background="#FFF url("+okdo_hostServer+"/sites/all/themes/ookoodoo/images/newdesign/ookoodoo-launch.png) no-repeat scroll center center / cover":s.style.background="transparent url("+okdo_hostServerFiles+"/widget/ajax-loader.gif) no-repeat center center / cover"}else{scrapBoxHeight=420,okdo_scrapBoxWidth=540;var o=10,t=okdo_createDiv();t.id="okdo_scrapBoxHeader",t.style.position="fixed",t.style.backgroundColor="transparent",t.style.zIndex=0,t.style.width=okdo_scrapBoxWidth+2*okdo_scrapBoxborder+"px",t.style.height=okdo_scrapBoxHeaderSize+"px",t.style.top=o+"px",t.style.right=0,t.style.marginTop="0px",t.style.marginRight="0px",t.style.color="#FFF",t.style.padding="0px",t.style.border="0px",t.style.visibility="visible",t.style.zIndex=20000000003,t.style.display="block";var r=okdo_createDiv(t);r.id="okdo_close",r.style.cursor="pointer",r.style.marginTop="14px",r.style.marginRight="20px";var n=document.createElement("img");r.style.marginTop="8px",n.src=url+"/sites/all/themes/ookoodoo/images/newdesign/mobile_close_popin.png",n.height="24",n.width="24",r.appendChild(n);var a=okdo_createDiv(t);a.id="okdo_colapse",a.style.cursor="pointer",a.style.marginTop="14px",a.style.marginRight="10px",a.style.display="none";var d=document.createElement("img");a.style.marginTop="8px",d.src=url+"/sites/all/themes/ookoodoo/images/newdesign/mobile_popin_collapse.png",a.appendChild(d);var i=okdo_createDiv(t);i.id="okdo_unColapse",i.style.cursor="pointer",i.style.marginTop="14px",i.style.marginRight="0px",i.style.visibility="hidden",i.style.display="none";var c=document.createElement("img");i.style.marginTop="8px",c.src=url+"/sites/all/themes/ookoodoo/images/newdesign/mobile_popin_expand.png",i.appendChild(c),"Microsoft Internet Explorer"==navigator.appName?(r.style.styleFloat="right",a.style.styleFloat="right",i.style.styleFloat="right"):(r.style.cssFloat="right",a.style.cssFloat="right",i.style.cssFloat="right");var s=document.createElement("iframe");s.id="okdo_frame",s.frameBorder=0,s.scrolling="no",s.style.position="fixed",s.style.height=scrapBoxHeight+"px",s.style.width=okdo_scrapBoxWidth+"px",s.style.padding="0px",s.style.margin="0px",s.style.visibility="visible",s.style.top=o+"px",s.style.right="10px",s.style.zIndex=3141592,s.style.overflow="hidden",s.allowTransparency="true",s.style.display="block",s.style.background="#FFF url("+okdo_hostServer+"/sites/all/themes/ookoodoo/images/newdesign/ookoodoo-launch.png) no-repeat scroll center center / cover"}if(okdo_windowContener.body.appendChild(t),okdo_windowContener.body.appendChild(s),okdo_windowContener.getElementById("okdo_close").onclick=function(){okdo_close()},okdo_windowContener.getElementById("okdo_colapse").onclick=function(){okdo_colapse()},okdo_windowContener.getElementById("okdo_unColapse").onclick=function(){okdo_unColapse()},"undefined"!=typeof okdo_scrap_productPicture&&null!=okdo_scrap_productPicture||okdo_getPicture(),okdo_addSwitchPicture(),okdo_hostSite=okdo_getHost(),"undefined"!=typeof okdo_scrap_providedUrl&&null!=okdo_scrap_providedUrl)var l=encodeURIComponent(okdo_scrap_providedUrl);else var l=location.href;var p;p=null===okdo_selectedImage?{}:old_jQuery?{title:document.title,url:l,image:okdo_selectedImage,width:okdo_selectedImageWidth,height:okdo_selectedImageHeight}:{title:okdo_getTitle(),price:okdo_getPrice(),url:l,image:okdo_selectedImage,width:okdo_selectedImageWidth,height:okdo_selectedImageHeight};var u=okdo_createDiv();u.id="okdo_imageDiv",u.style.position="absolute",u.style.display="none",u.style.left="0px",u.style.top="0px",u.style.zIndex=99999,u.style.fontSize="8pt",u.style.fontFamily="Arial",u.style.fontStyle="normal",u.style.fontWeight="normal",u.style.background="transparent",document.body.appendChild(u),fixQuirks(t,s,i),okdo_sendFrameMessage_b(p)}function fixQuirks(e,o,t){"CSS1Compat"!=document.compatMode&&"Microsoft Internet Explorer"==navigator.appName&&(e.style.position="absolute",o.style.position="absolute",t.style.marginRight="-22px")}function okdo_check_NotOokoodoO(){var e=document.domain;return e.search("ookoodoo")>=0?(alert(alertMessage),!1):!0}function okdo_load(){var e=okdo_getHost();e.match(/google/)&&!e.match(/play.google/)?alert(frameAlert):okdo_check_NotOokoodoO()&&(okdo_close(),okdo_bookmarklet_b())}function okdo_setLanguage(){"undefined"==typeof okdoLanguage&&("undefined"!=typeof okdoprolang?okdoLanguage=okdoprolang.toLowerCase():navigator.browserLanguage?okdoLanguage=navigator.browserLanguage.toLowerCase():navigator.language?okdoLanguage=navigator.language.toLowerCase():okdoLanguage="en-us"),"fr-fr"==okdoLanguage&&(okdoLanguage="fr"),"en"==okdoLanguage&&(okdoLanguage="en-gb"),"it-it"==okdoLanguage&&(okdoLanguage="it"),"de-de"==okdoLanguage&&(okdoLanguage="de"),"en-us"!=okdoLanguage&&"en-gb"!=okdoLanguage&&"en-ca"!=okdoLanguage&&"fr"!=okdoLanguage&&"fr-ca"!=okdoLanguage&&"fr-ch"!=okdoLanguage&&"it"!=okdoLanguage&&"de"!=okdoLanguage&&"es"!=okdoLanguage&&"ca"!=okdoLanguage&&(okdoLanguage="en-us")}function IsBase64Encoded(e){var o=e.split("data:image/jpeg;base64,")[1];if(void 0!=o){for(var t=atob(o),r=t.length,n=new ArrayBuffer(r),a=new Uint8Array(n),d=0;r>d;d++)a[d]=t.charCodeAt(d);var i=new Blob([n],{type:"image/jpeg"}),c=URL.createObjectURL(i);c=c.split("blob:");var s=i.type;return s=s.split("image/"),c[1]+"."+s[1]}return null}function getBrowserInfo(){var e,o,t,r=(navigator.appVersion,navigator.userAgent),n=navigator.appName,a=""+parseFloat(navigator.appVersion),d=parseInt(navigator.appVersion,10),i=[];return-1!=(o=r.indexOf("Opera"))?(n="Opera",a=r.substring(o+6),-1!=(o=r.indexOf("Version"))&&(a=r.substring(o+8))):-1!=(o=r.indexOf("MSIE"))?(n="Microsoft Internet Explorer",a=r.substring(o+5)):-1!=(o=r.indexOf("Chrome"))?(n="Chrome",a=r.substring(o+7)):-1!=(o=r.indexOf("Safari"))?(n="Safari",a=r.substring(o+7),-1!=(o=r.indexOf("Version"))&&(a=r.substring(o+8))):-1!=(o=r.indexOf("Firefox"))?(n="Firefox",a=r.substring(o+8)):(e=r.lastIndexOf(" ")+1)<(o=r.lastIndexOf("/"))&&(n=r.substring(e,o),a=r.substring(o+1),n.toLowerCase()==n.toUpperCase()&&(n=navigator.appName)),-1!=(t=a.indexOf(";"))&&(a=a.substring(0,t)),-1!=(t=a.indexOf(" "))&&(a=a.substring(0,t)),d=parseInt(""+a,10),isNaN(d)&&(a=""+parseFloat(navigator.appVersion),d=parseInt(navigator.appVersion,10)),i.name=n,i.fullVersion=a,i.version=d,i.appName=navigator.appName,i.userAgent=navigator.userAgent,i}var okdo_kMinImageSize=30,okdo_kOutlineColor="#2486C3",okdo_kOutlineSize=5,okdo_kShadowSize=7,okdo_gAvailableImages=[],okdo_selectedImage,okdo_selectedImageHeight,okdo_selectedImageWidth,okdo_currentHeightestImage="70",okdo_scrapBoxHeaderSize=40,okdo_scrapBoxFooterSize=20,okdo_scrapBoxborder=7,scrapBoxHeight=0,okdo_scrapBoxWidth=300,okdo_wishlist_bestwindow=null,okdo_windowContener=okdo_getBestDocumentObj(),old_jQuery=!1,browser=getBrowserInfo();"Microsoft Internet Explorer"==browser.name&&browser.version<11?okdo_newpopin=0:okdo_newpopin=1,document.head||(document.head=document.getElementsByTagName("head")[0]),void function(){function e(){ if("function"==typeof jQuery){if(clearInterval(r),"1"==o)jQuery.noConflict();else{var e=jQuery().jquery,t=new RegExp("[$Rev]","g");"undefined"!=typeof okdo_scrap_partnerId&&null!=okdo_scrap_partnerId||"undefined"!=typeof okdo_scrap_proSiteId&&null!=okdo_scrap_proSiteId||!e.match(t)||(old_jQuery=!0)}okdo_load()}}var o="0";if("function"!=typeof jQuery){var t=document.createElement("script");t.setAttribute("src","https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"),document.getElementsByTagName("head")[0].appendChild(t),o="1"}var r=window.setInterval(e,100)}();