PageSourceSearch

https://www.medicon.co.il/items~2.htm

html medicon.co.il collected 2026-09-29 20:25:50 UTC 336,265 bytes, 7,519 lines download raw bytes

1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="he-IL">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
5<meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE; chrome=1" />
6<meta http-equiv="imagetoolbar" content="no"/>
7<title>÷åøàé ñôøéí àì÷èøåðéí Pocketbook</title>
8<meta name="Keywords" content=""/>
9
10<meta name="Description" content=""/>
11<meta name="Monitor" content="medicon.co.il"/>
12
13<script>
14 
15
16    var collectAnalytic = "1"; 
17    var cookieconsent = false;
18    var cookieconsentapproved = document.cookie
19    .split('; ')
20    .find(function(row) {
21        return row.startsWith('cookieconsentapproved=');
22    });
23
24    if (cookieconsentapproved) {
25        cookieconsentapproved = cookieconsentapproved.split('=')[1];
26    }
27
28    if((cookieconsentapproved && cookieconsentapproved !== "declined") || collectAnalytic == "1" ) {
29        cookieconsent = true;
30    }
31   
32   
33
34// stash the true landing URL + referrer once per tab (consent-independent, sessionStorage only) -
35// used to restore the session's campaign source when gtag starts late (after consent) on a later page
36try {
37    if (!sessionStorage.getItem('eshop_landing')) {
38        sessionStorage.setItem('eshop_landing', JSON.stringify({
39            u: String(location.href).substring(0, 2000),
40            r: String(document.referrer).substring(0, 500),
41            t: Date.now()
42        }));
43    }
44} catch (e) {}
45
46</script>
46
47
48<link rel="canonical" href="https://www.medicon.co.il/items~2~0.htm" />
49<link rel="icon" href="/itemfiles/favicon.ico" type="image/x-icon"/>
50
51 
52    <link rel="stylesheet" href="/base.css?v=4.7.13"/>
53 
54
55        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1">
56
57
58 
59    
59<script language="javascript" src="/scripts/jquery/jquery-1.7.2.min.js" type="text/javascript"></script>
59
60    
60<script src="/scripts/head.js?v=4.7.13" type="text/javascript"></script>
60
61    
61<script defer="defer" src="/scripts/jquery/scripts.js?v=4.7.13" type="text/javascript"></script>
61
62    <link rel="stylesheet" type="text/css" href="/scripts/jquery/fancybox/jquery.fancybox.css?v=2.1.4" media="screen" />
63    
63<script defer="defer" type="text/javascript" src="/scripts/jquery/fancybox/jquery.fancybox.pack.js?v=2.1.4"></script>
63
64    <link rel="stylesheet" type="text/css" href="/scripts/jquery/revolution/fonts/font-awesome/css/font-awesome.min.css?v=5.18">
65 
66
67
68
69    
70
71<script type="text/javascript">
72	var langdir='rtl';
73    var AjaxAddToCart_Msg = "äîåöø ðåñó ìòâìä áäöìçä";
74    var RenderAllCartsFlag = "";
75</script>
75
76
77 
78    
78<script src="/scripts/ajax.js" type="text/javascript"></script>
78
79 
80
81
82
83 
84        <link rel="stylesheet" href="/inc/FloatingCart/FloatingCart.min.css?v=4.7.13"/>
85        
85<script type="text/javascript" src="/inc/FloatingCart/Scripts/floatingcart.js?v=4.7.13"></script>
85
86 
87
88    
89        <meta property="og:locale" content="he_IL" />
90        
91        <meta property="og:site_name" content = "www.medicon.co.il"/>
92        
93        <meta property="og:title" content = "÷åøàé ñôøéí àì÷èøåðéí Pocketbook"/>
94        
95        
95<script>
96                var currentCurrencySign     = "¤";
97                var currentCurrency         = "0";
98                var currentSiteLang         = "HE";
99                var CartAjaxQuantityName    = "ôøéèéí áòâìä";
100                var CartAjaxTotalName       = "ñä&quot;ë";
101                var CurrencyMinimumOrder    = "0";
102                var CartAjaxContinueTxt     = "äîùê ì÷ðåú";
103                var CartAjaxBuyingTxt       = "ì÷åôä";
104                var CartAjaxAddTxt          = "äîåöø ðåñó ìòâìä áäöìçä" ;
105                var stats_si_org            = "0";
106                
107                var js_cartid = '';
108                
109        </script>
109
110
111    
112        <link rel="stylesheet" href="https://www.medicon.co.il/template_inc/eshopstoresframework/css/jqueryplugins.css?v=4.7.13" />
113        <link rel="stylesheet" href="https://www.medicon.co.il/scripts/jquery/JqueryUI/css/ui-lightness/jquery-ui-1.8.21.custom.css" />
114        
114<script src="https://www.medicon.co.il/scripts/jquery/JqueryUI/jquery-ui-1.8.21.custom.min.js" type="text/javascript"></script>
114
115    
116
117                <link rel="stylesheet" type="text/css" href="/scripts/bootstrap/css/bootstrap.min.css">
118                
118<script type="text/javascript" defer="defer" src="/scripts/bootstrap/js/bootstrap.min.js"></script>
118    
119            
120            <link rel="stylesheet" href="https://www.medicon.co.il/template_inc/eshopstoresframework/css/esh-templates.css?v=4.7.13" />
121            
121<script type="text/javascript" defer="defer" src="/template_inc/eshopstoresframework/js/esh-templates.js?v=4.7.13"></script>
121
122 
123 
124    
125        <link rel="stylesheet" href="/template_inc/eshopstoresframework/css/Open_Sans_Hebrew/opensans.css" />
126 
127
128
129   
130        <!--[if lt IE 8]>
131            <link rel="stylesheet" type="text/css" href="https://www.medicon.co.il/template_inc/eshopstoresframework/css/ie.css" />
132        <![endif]-->
133        <link rel="stylesheet" href="https://www.medicon.co.il/template_inc/eshopstoresframework/css/main.css?v=4.7.13" />                                                                   
134        
135                    <link rel="stylesheet" href="https://www.medicon.co.il/template_inc/eshopstoresframework/templates/VD/css/custom.css?v=4.7.13" />
136                    
137                     <!--[if IE 7]>
138                         <link rel="stylesheet" type="text/css" href="https://www.medicon.co.il/template_inc/eshopstoresframework/templates/VD/css/Ie7.css" />
139                     <![endif]-->
140                
141         
141<script src="https://www.medicon.co.il/scripts/jquery/jquery.carouFredSel-6.2.1-packed.js" type="text/javascript"></script>
141
142        
143
144        <link rel="stylesheet" href="https://www.medicon.co.il/template_inc/eshopstoresframework/js/prettyphoto/css/prettyPhoto.css"/>
145        
146        
146<script defer="defer" src="https://www.medicon.co.il/template_inc/eshopstoresframework/js/prettyphoto/js/jquery.prettyPhoto.js?v=1" type="text/javascript" ></script>
146
147        
148                 <style>
149                          
150                            #sidebar .categories .content a ,  #secondsideBar .categories .content a
151                            {
152                                background: none repeat scroll 0 0  inherit !important ;
153                              
154                             }
155                            #sidebar .categories .content a:hover , #sidebar .categories li.current > a
156                            , #secondsideBar .categories .content a:hover , #secondsideBar .categories li.current > a
157                            {
158                                 background: none repeat scroll 0 0  inherit !important  ;
159                                  
160
161                            }
162                        
163                           body
164                           {background-color: rgb(255,255,255);}
165                       
166                           #pl_web_page
167                           {
168                                background-image:url("/template_inc/eshopstoresframework/DesignRoller/images/bgs/bg_t_0.png");
169                                background-attachment:fixed;
170                                background-position:top left;
171                                background-repeat:repeat;
172                           }
173                       
174                        #header .header_wrap
175                            {
176
177                              
178                                background: none repeat scroll 0% 0% rgb(0);
179                               
180                                background: none repeat scroll 0% 0% rgba(0, 0);
181                            }
182                     
183                      
184                     #footer
185                     {
186                       background-color: ;
187                     }
188                       
189                        #footer .footer_wrap
190                            {
191                              
192                                background: none repeat scroll 0% 0% rgb(0);
193                               
194                                background: none repeat scroll 0% 0% rgba(0, 0);
195                            }
196                     
197                        a.add-to-cart , .special-box a.add-to-cart,.product-prices a.add-to-cart
198                            {
199                                background-color: #139c13;
200                                color: #000000;
201                            }
202                     
203                         div.maindivCenter-wrap
204                            {
205
206                               
207                                    background:none;
208                                    -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFCFC,endColorstr=#FFFFFCFC);
209                                    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FFFFFCFC,endColorstr=#FFFFFCFC);
210                                    zoom: 1;
211                               
212
213                                background:  rgba(255,252,252 , 1 );
214                            }
215                     
216                        #sidebar
217                            {
218                               
219                                 background:none;
220                                 -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#66829CA3,endColorstr=#66829CA3);
221                                filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#66829CA3,endColorstr=#66829CA3);
222                                zoom: 1;
223                               
224                             background:  rgba(130,156,163 , 0.4 );
225                           }
226                     
227                         .products-box-titles ,.block.homepage .title,.block .title
228                         {
229                            background:none repeat scroll 0 0 rgb(35,125,30);
230
231                               
232                                color:  #000000 !important;
233                              
234                         }
235                     
236                </style>
237               
238<!--[if IE 9]>
239<style>
240     #header .menu ,#header .smallcart ,#sidebar .block .content  , #secondsideBar .block .content,#header .categories,ul.productBoxes .boxItem
241    ,.homepage.block.spacial-items .jcarousel-container , #defProductboxesTbl .jcarousel-container ,#slider-700-nav a
242    ,#slider-700-nav a.activeSlide ,.maindivCenter  ,#sidebar ,#secondsideBar,#header .menu li:h
242over a, #header .menu li.sfHover a, #header .menu li.sfHover li:hover a
243    ,#header .breadcrumb,#header .spaciel-items-wide .content, .spaciel-items-wide .content,#footer .menu ul,.products-page .block.miscfileds
244    ,.articles-thumnails ,.articles-single ,#header .userbar     ,div.maindivCenter-wrap
245    {
246        filter: none;
247    }
248</style>
249<![endif]-->
250 
251
252
253  
253<script type="text/javascript">
254
255  function encodeEmojis(str) {
256      var result = '';
257      for (var i = 0; i < str.length; i++) {
258          var code = str.charCodeAt(i);
259          if (code >= 0xD800 && code <= 0xDBFF && i + 1 < str.length) {
260              var low = str.charCodeAt(i + 1);
261              if (low >= 0xDC00 && low <= 0xDFFF) {
262                  var fullCode = ((code - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000;
263                  result += '&#x' + fullCode.toString(16).toUpperCase() + ';';
264                  i++;
265                  continue;
266              }
267          }
268          if (code > 0xFF && (code < 0x590 || code > 0x5FF)) {
269              result += '&#x' + code.toString(16).toUpperCase() + ';';
270          } else {
271              result += str.charAt(i);
272          }
273      }
274      return result;
275  }
276
277  function ga_viewItemList(){
278                                            $(".ee_list").each(function()
279                                            {
280                                                var ee_list_name = $(this).attr("ee_list_name") ;
281                                                var sanitized_list_name = ee_list_name.replace(/[\s,]/g, '_'); // Remove spaces and commas
282
283                                                var itemsArray = [];
284                                               
285                                               
286                                                $(this).find(".ee_list_item").each(function()
287                                                {
288
289                                                   var ee_list_counter = $(this).attr("ee_list_item_position");
290                                                   // console.log( $(this).find("[ee_list_itemid]").text() + '  = '  + $(this).find("[ee_list_itemname]").text() + ' = ' + ee_list_category + ' = ' +ee_list_counter);
291                                                   if (ee_list_counter<16)
292                                                   {
293                                                   
294                                                         
295
296                                                    }
297                                                    
298
299                                                        var priceholder = $(this).find(".priceholder");
300                                                        if (priceholder.length > 0) {
301                                                            var item_price = priceholder.attr("price");
302                                                        } else {
303                                                            var item_price = 0 ;
304                                                        }
305
306
307                                                       var item = {
308                                                        item_id: $(this).find(".item-name a").attr("ee_list_itemid"),
309                                                        item_name: $(this).find(".item-name a").attr("ee_list_itemname"),
310                                                        item_brand: $(this).find(".item-name a").attr("ee_list_itembrand"),
311                                                        item_category: $(this).find(".item-name a").attr("ee_list_category"),
312                                                        price: item_price,
313                                                        quantity:1,
314                                                        index: ee_list_counter,
315                                                        item_list_id: ee_list_name,
316                                                        item_list_name: ee_list_name
317                                                    };
318
319                                                    itemsArray.push(item);
320 
321                                                });
322                                            
323                                                 
324
325                                            });
326}                      
327function ga4_viewItemList(){
328                                            $(".ee_list").each(function()
329                                            {
330                                                var ee_list_name = $(this).attr("ee_list_name") ;
331                                                var sanitized_list_name = ee_list_name.replace(/[\s,]/g, '_'); // Remove spaces and commas
332
333                                                var itemsArray = [];
334                                               
335                                               
336                                                $(this).find(".ee_list_item").each(function()
337                                                {
338
339                                                   var ee_list_counter = $(this).attr("ee_list_item_position");
340                                                   
341                                                    
342
343                                                        var priceholder = $(this).find(".priceholder");
344                                                        if (priceholder.length > 0) {
345                                                            var item_price = priceholder.attr("price");
346                                                        } else {
347                                                            var item_price = 0 ;
348                                                        }
349
350
351                                                       var item = {
352                                                        item_id: $(this).find(".item-name a").attr("ee_list_itemid"),
353                                                        item_name: $(this).find(".item-name a").attr("ee_list_itemname"),
354                                                        item_brand: $(this).find(".item-name a").attr("ee_list_itembrand"),
355                                                        item_category: $(this).find(".item-name a").attr("ee_list_category"),
356                                                        price: item_price,
357                                                        quantity:1,
358                                                        index: ee_list_counter,
359                                                        item_list_id: ee_list_name,
360                                                        item_list_name: ee_list_name
361                                                    };
362
363                                                    itemsArray.push(item);
364 
365                                                });
366                                            
367                                                
368
369                                            });
370}    
371var google_analytics_loaded = false;
372     function loadGoogleAnalytics() {
373
374       }
375
376            if (cookieconsent == true) {
377                   $(document).ready(function() {
378                loadGoogleAnalytics();
379            });
380            }
381      </script>
381
382
383 
383<script>
384 var google_tag_loaded = false;
385   
386                function loadGoogleTag() {
387                     
388 
389
390         }
391                    // Consent Mode v2: gtag always loads; consent state (granted/denied) is set
392                    // inside loadGoogleTag before the script is appended
393                    $(document).ready(function() {
394                            loadGoogleTag();
395                        });
396                    </script>
396
397
398    
399     
400     
400<script>
401     var load_tiktok_pixel = false;
402        function loadTiktokPixel() {
403            
404        }
405
406        if (cookieconsent == true) {
407              $(document).ready(function() {
408            loadTiktokPixel();
409              });
410        }
411    </script>
411
412    
413
414
415<script>
416var load_facebook_pixel = false;
417function loadFacebookPixel() {
418    
419       
420    }
421    if (cookieconsent == true) {
422           $(document).ready(function() {
423                loadFacebookPixel();
424           });
425    }
426</script>
426
427
428
429
430<script type="text/javascript">
431   var cart_opened = false;
432   var cart_add_to_cart = false;
433   var cart_remove_from_cart = false;
434
435   function datecountdown(){
436 
437                      $('.datecountdown').each(function()
438                      {
439                          var tempdate   = $(this).attr("date");
440                          var tempitemid = $(this).attr("itemid");
441                          var isRule     = $(".rule").length;
442                          $(this).countdown(
443                              {
444                                  date: tempdate,
445                                  render: function (date)
446                                  {
447                                    var daysHundred = Math.floor(date.days / 100);
448                                            var daysTens = Math.floor((date.days % 100) / 10);
449                                            var daysOnes = date.days % 10;
450                                            var hourTens = Math.floor(date.hours / 10);
451                                            var hourOnes = date.hours % 10;
452                                            var minTens = Math.floor(date.min / 10);
453                                            var minOnes = date.min % 10;
454                                            var secTens = Math.floor(date.sec / 10);
455                                            var secOnes = date.sec % 10;
456                                            var totalHours = date.days * 24 + date.hours;
457                                            var totalHourTens = Math.floor(totalHours / 10);
458                                            var totalHourOnes = totalHours % 10;                                           
459                                      if (totalHours > 80)
460                                      {
461                                          
462                                              this.el.innerHTML = "<span class='days'>"+date.days+"</span><em>:</em><span class='hours'>"+this.leadingZeros(date.hours)+"</span><em>:</em><span class='min'>"+this.leadingZeros(date.min)+"</span><em>:</em><span class='sec'>"+this.leadingZeros(date.sec)+"</span>";
463                                          
464                                            
465                                            // Check if any of the days variables is truthy
466
467                                            if (daysHundred) {
468                                                this.el.innerHTML = '<div><span class="days"><div>' + daysHundred + '</div><div>' + daysTens + '</div><div>' + daysOnes + '</div><span>éîéí</span></span></div><em>:</em><div><span class="hours"><div>' + hourTens + '</div><div>' + hourOnes + '</div><span>ùòåú</span></span></div><em>:</em><div><span class="minutes"><div>' + minTens + '</div><div>' + minOnes + '</div><span>ã÷åú</span></span></div><em>:</em><div><span class="seconds"><div>' + secTens + '</div><div>' + secOnes + '</div><span>ùðéåú</span></span></div>';
469                                            } else if (daysHundred == 0 && daysTens > 0 && daysOnes > 0) {
470                                                this.el.innerHTML = '<div><span class="days"><div>' + daysTens + '</div><div>' + daysOnes + '</div><span>éîéí</span></span></div><em>:</em><div><span class="hours"><div>' + hourTens + '</div><div>' + hourOnes + '</div><span>ùòåú</span></span></div><em>:</em><div><span class="minutes"><div>' + minTens + '</div><div>' + minOnes + '</div><span>ã÷åú</span></span></div><em>:</em><div><span class="seconds"><div>' + secTens + '</div><div>' + secOnes + '</div><span>ùðéåú</span></span></div>';
471                                             } else if (daysHundred == 0 && daysTens > 0 && daysOnes == 0) {
472                                                this.el.innerHTML = '<div><span class="days"><div>' + daysTens + '</div><div>' + daysOnes + '</div><span>éîéí</span></span></div><em>:</em><div><span class="hours"><div>' + hourTens + '</div><div>' + hourOnes + '</div><span>ùòåú</span></span></div><em>:</em><div><span class="minutes"><div>' + minTens + '</div><div>' + minOnes + '</div><span>ã÷åú</span></span></div><em>:</em><div><span class="seconds"><div>' + secTens + '</div><div>' + secOnes + '</div><span>ùðéåú</span></span></div>';
473                                            } else if (daysHundred == 0 && daysTens == 0 && daysOnes > 0) {
474                                                this.el.innerHTML = '<div><span class="days"><div>' + daysOnes + '</div><span>éîéí</span></span></div><em>:</em><div><span class="hours"><div>' + hourTens + '</div><div>' + hourOnes + '</div><span>ùòåú</span></span></div><em>:</em><div><span class="minutes"><div>' + minTens + '</div><div>' + minOnes + '</div><span>ã÷åú</span></span></div><em>:</em><div><span class="seconds"><div>' + secTens + '</div><div>' + secOnes + '</div><span>ùðéåú</span></span></div>';
475                                            } else if (daysHundred == 0 && daysTens == 0 && daysOnes == 0) { 
476                                                // Display the days element
477                                                this.el.innerHTML = '<div style="display:none;"><span class="days" ><div>' + daysHundred + '</div><div>' + daysTens + '</div><div>' + daysOnes + '</div><span>éîéí</span></span><em>:</em></div><div><span class="hours"><div>' + hourTens + '</div><div>' + hourOnes + '</div><span>ùòåú</span></span></div><em>:</em><div><span class="minutes"><div>' + minTens + '</div><div>' + minOnes + '</div><span>ã÷åú</span></span></div><em>:</em><div><span class="seconds"><div>' + secTens + '</div><div>' + secOnes + '</div><span>ùðéåú</span></span></div>';                                                  
478                                            }
479                                            
480                                      }
481                                      else
482                                      {
483                                          
484                                              this.el.innerHTML = "<span class='days'>"+date.days+"<b>éîéí</b></span><em>:</em><span class='hours'>"+this.leadingZeros(date.hours)+"</span><em>:</em><span class='min'>"+this.leadingZeros(date.min)+"</span><em>:</em><span class='sec'>"+this.leadingZeros(date.sec)+"</span>";
485                                           
486                                                if(totalHours > 0){                                          
487                                                this.el.innerHTML = '<div><span class="hours"><div>' + totalHourTens + '</div><div>' + totalHourOnes + '</div><span>ùòåú</span></span></div><em>:</em><div><span class="minutes"><div>' + minTens + '</div><div>' + minOnes + '</div><span>ã÷åú</span></span></div><em>:</em><div><span class="seconds"><div>' + secTens + '</div><div>' + secOnes + '</div><span>ùðéåú</span></span></div>';
488                                                }
489                                                else{
490                                                this.el.innerHTML = '<div><span class="minutes"><div>' + minTens + '</div><div>' + minOnes + '</div><span>ã÷åú</span></span></div><em>:</em><div><span class="seconds"><div>' + secTens + '</div><div>' + secOnes + '</div><span>ùðéåú</span></span></div>';    
491                                                }
492                                          
493                                          }
494
495                                  },
496                                  onEnd: function() 
497                                  {
498                                      
499                                      setTimeout(
500                                          function() 
501                                          {
502                                              $.get("/siteservices.asp?service=deals_end&params="+ tempitemid + "&rule_id=0" , function(data)
503                                              {
504                                                  if(data == "1" )
505                                                  {
506                                                      window.location.reload();
507                                                  }
508                                              });
509                                          }, 3000);
510                                  }
511                              });
512                      });
513    }
514    
515function preloadAdjacentImages(carousel, count) {
516    let visibleItems = $(carousel).find('.owl-item.active').map(function() { return this; }).get();
517    visibleItems.forEach(function(item, index) {
518        $(item).nextAll().addBack().slice(0, count).find('img[loading="lazy"]').each(function() {
519            this.setAttribute('src', this.getAttribute('data-src') || this.getAttribute('src'));
520            this.removeAttribute('loading'); // Remove the lazy loading attribute once the image is loaded
521        });
522    });
523}
524
525
526        var mobile_breadcrumb_flag = false;
527          function get_factory_url(element_id) {
528 
529            var url = "/factory.asp?id=" + element_id ;
530
531            // Function to check if ASP Classic parameter is empty or not
532            function checkParamEmpty(paramValue) {
533                return paramValue !== "" && paramValue !== undefined && paramValue !== null;
534            }
535
536            // Append parameters to the URL only if they are not empty
537            var params = {
538                "cat": "",
539                "cat1": "2",
540                "cat2": "0",
541                "SV_SCRIPT_NAME": "/products.asp",
542                "FriendlyReq": "",
543                "itemident": "",
544                "PageHead": "",
545                "pageid": "",
546                "Qsearch": "",
547                "MiscFieldsNames": "",
548                "IN_Name": "",
549                "OrderID": "",
550                "qmanufact" : "0",
551            };
552
553            for (var key in params) {
554                if (checkParamEmpty(params[key])) {
555                    url += "&" + key + "=" + params[key];
556                }
557            }
558
559            return url;
560        }
561        function mobile_breadcrumb() {
562
563            
564            
565                if ($(window).width() < 801) {
566                       if ($(".header_breadcrumb_mobile").length == 0 ) {
567                            $(".mobile_header").after($(".header_breadcrumb").html());
568                            $(".breadcrumb").wrap("<div class='header_breadcrumb_mobile'> </div>");
569                       }
570                }
571
572            
573
574        }
575
576  
577    function account_verification_success ( param ){
578        //if ( $("#lightpopup.user_connect").is(":visible") ){
579            location.reload();                      
580        //}
581    }
582  
583    function show_sms_code_validation_form( param )
584    {
585        $(".user_phone_login_div").hide();
586        $(".account_verification_div").show();
587    }
588
589    function dynamicform() {
590        $("form.dynamic").each(function () {
591         
592            $(this).validate({
593                submitHandler: function (form) {
594                    
595                    var data        = $(form).serialize();
596                    var action      = $(form).attr("action");
597                    var messagediv  = $(form).find(".messagediv");
598                    var reload      = $(form).attr("reload");
599                    var onsuccess   = $(form).attr("onsuccess");
600                    $.post(
601                            action,
602                            data,
603                            function (data) {
604                                if (data != '') {
605                                    array = data.split("|")
606                                    if (array[0] == "0") {
607                                        $(messagediv).html("<div class='error'>" + array[1] + "</div>");
608                                    }
609                                    if (array[0] == "1") {
610                                        if (reload == "1")
611                                            { 
612                                                location.reload(); 
613                                            }
614                                        else
615                                        { 
616                                           if ( typeof onsuccess == 'undefined' ){
617                                                $(messagediv).html("<div class='success'>" + array[1] + "</div>"); 
618                                           } 
619                                           else 
620                                           {
621                                               
622                                             //   console.log(" call function " + onsuccess );    
623                                                
624                                                window[onsuccess]("");
625                                           }
626                                        }
627                                    }
628                                }
629                            }
630                            );
631                }
632            });
633
634        });
635    }
636         
637
638    $.fn.isInViewport = function() {
639                var elementTop = $(this).offset().top;
640                var elementBottom = elementTop + $(this).outerHeight();
641                var viewportTop = $(window).scrollTop() ; 
642                var viewportBottom = viewportTop + $(window).height() + 200 ;
643                return elementBottom > viewportTop && elementTop < viewportBottom;
644            };
645
646    $.fn.isInViewportScroll = function() {
647                var elementTop = $(this).offset().top;
648                var elementBottom = elementTop + $(this).outerHeight();
649                var viewportTop = $(window).scrollTop() + 200 ;
650                var viewportBottom = viewportTop + $(window).height() ;
651                return elementBottom > viewportTop && elementTop < viewportBottom;
652            };                    
653
654    $.fn.imageLoad = function(fn){
655                this.load(fn);
656                this.each( function() {
657                    if ( this.complete && this.naturalWidth !== 0 ) {
658                        $(this).trigger('load');
659                    }
660                });
661            }
662
663
664    $(document).ready(function ()
665    {
666  
667        $("body").on("click",".login_with_username_password",function(){
668            $(".user_phone_login_container").hide();
669            $(".user_login_container").show();
670            localStorage.setItem('lastLoginForm', 'username'); // Save the choice
671         
672            return false;
673        });
674
675        $("body").on("click",".login_with_phone_number",function(){
676            $(".user_phone_login_container").show();
677            $(".user_login_container").hide();
678            localStorage.setItem('lastLoginForm', 'phone'); // Save the choice
679            return false;
680        });
681
682        //add order by to category if cookie exist
683        var ProdsOrderBy = $.cookie('ProdsOrderBy');
684        if ( ProdsOrderBy != "" ){ 
685                $(".breadcrumb-item a").each( function(){
686                    var breadcrumb_url = $(this).attr("href");
687                    if ( breadcrumb_url.indexOf("/category/") > 0 && breadcrumb_url.indexOf("?") == -1 ) {
688                        $(this).attr("href" , breadcrumb_url + "?orderby=" + ProdsOrderBy );
689                    }
690                });
691        }
692
693        $("img[data-src]").each(function()
694        {
695            if ( $(this).isInViewport() )
696            { 
697                $(this).attr("src" , $(this).attr("data-src") );
698                $(this).removeAttr("data-src") ;
699                calculate_icons_position();
700            }
701        });
702
703        $("#sticky_header img[data-src]").each(function() {
704            $(this).attr("src" , $(this).attr("data-src") );
705            $(this).removeAttr("data-src") ;
706        });
707
708        
709                 
710    });
711
712
713
714    $(document).ready(function ()
715        {
716        var $container = $('.itembox-style-4 .productBoxes');
717        // initialize
718        $container.masonry({
719        columnWidth: 0,
720        itemSelector: '.boxItem'
721    });
722    $container.imagesLoaded(function () {
723        $container.masonry();
724    });
725});
726
727 
728              $(document).ready(function () {
729                  $("a[rel^='prettyPhoto']").prettyPhoto(
730                  {
731                      deeplinking: false
732                  }
733                  );
734              });
735 
736
737                    function isValidPhoneNumber(phoneNumber) {
738                        const length = phoneNumber.length;
739                        if (phoneNumber[0] !== '0') {
740                            return false;
741                        }
742                        if (length === 9 && /^0((2|3|4|8|9)[0-9]{7}|(2|3|4|8|9)[0-9]{6})$/.test(phoneNumber)) {
743                            return true;
744                        }
745                        if (length === 10 && /^0((5[0-8]|7[1-9])[0-9]{7}|(2|3|4|8|9))$/.test(phoneNumber)) {
746                            return true;
747                        }
748                        return false;
749                    }
750
751                    function widget_form(){  
752                        $(".widget_form").each(function(){
753                            var $form = $(this);
754                            $form.validate({
755                                submitHandler: function(form) {
756                                    var phoneNumber = $(form).find("[name='Phone']").val(); // assuming the input field name for phone number is 'Phone'
757                                    if( phoneNumber !== ""){
758                                    if(!isValidPhoneNumber(phoneNumber)) {
759                                        alert('äëðñ îñôø èìôåï ú÷éï');
760                                        return;
761                                    }
762                                    }
763
764                                    var data       = $(form).serialize();
765                                    var action     = $(form).attr("action");
766                                    var messagediv = $(form).next(".messagediv");
767
768                                    $.post(
769                                        action,
770                                        data,
771                                        function(data) {
772
773                                            if (typeof CaptchaReCall === 'function') {
774                                                CaptchaReCall();
775                                            }
776
777                                            if (data != "") {
778                                                var array = data.split("|")
779                                                if (array[0] == "0") {
780                                                    $(messagediv).html("<div class='error'>" + array[1] + "</div>");
781                                                  
782                                                }
783                                                if (array[0] == "1") {
784                                                    $(messagediv).html("<div class='success'>" + array[1] + "</div>");
785                                                    $(form).hide();
786                                                    
787                                                    if (cookieconsent == true) {
788                                                        
789                                                    }
790                                            }
791                                        }
792                                        }
793                                    );
794                                }
795                            });
796                        });
797}
798
799                            function miniuserbar_login()
800                                {
801
802
803
804                                    $(document).on({
805                                        mouseenter: function(){
806                                          
807                                    if ($("#miniuserbar .toggle-hover i").length)
808                                    {
809                                        var icon_obj    = $("#miniuserbar .toggle-hover i");
810                                        var icon_position = $(icon_obj).position();
811                                        var icon_width  = $(icon_obj).width();
812                                        var icon_height = $(icon_obj).height();
813                                        var caluclate_top  = ((icon_position.top) * 1) + (icon_height*1) * 1 ;
814      
815                                        if ($("#miniuserbar").hasClass("open-right"))
816                                        {
817                                            $("#miniuserbarholder.loginh
817older").css({
818                                                "top"  : caluclate_top + 8 +"px",
819                                                "left" :(icon_position.left*1) + (icon_width) - (icon_width/2)  - 20 + "px" ,
820                                                "right": "auto"
821                                            });
822                                        }
823                                        else{
824          
825                                            $("#miniuserbarholder.loginholder").css({
826                                                "top"  : caluclate_top + 8 +"px",
827                                                "left" : (icon_position.left*1) + (icon_width/2*1) - 325 + "px" ,
828                                                "right": "auto"
829                                            });
830                                        }
831                                    }
832                                    else
833                                    {
834                                        var icon_obj    = $("#miniuserbar.dynamic_view .login_block .userlogin_link");
835                                        var icon_position = $(icon_obj).position();
836                                        var icon_width  = $(icon_obj).width();
837                                        var icon_height = $(icon_obj).height();
838                                        var caluclate_top  = ((icon_position.top) * 1) + (icon_height*1) * 1 ;
839
840                                        if ($("#miniuserbar").hasClass("open-right"))
841                                        {
842                                            $("#miniuserbarholder.loginholder").css({
843                                                "top"  : caluclate_top + 8 +"px",
844                                                "left" :(icon_position.left*1) + (icon_width) - (icon_width/2)  - 20 + "px" ,
845                                                "right": "auto"
846                                            });
847                                        }
848                                        else
849                                        {
850                                            $("#miniuserbarholder.loginholder").css({
851                                                "top"  : caluclate_top + 8 +"px",
852                                               /* "right" :  18 + "px" ,*/
853                                                "left": "auto"
854                                            });
855                                        }
856                                    }
857                                    $("#miniuserbarholder.loginholder").show();
858                                    return false;
859                                        },
860                                        mouseleave: function(){
861                                             $("#miniuserbarholder.loginholder").hide();
862                                    return false;
863                                        }
864                                    },"div#miniuserbar.dynamic_view .login_block");
865 
866
867                            }
868
869                        function mini_userbar_element(){
870                        if ($("#miniuserbar.dynamic_view").length)  
871                        {
872                            
873                            if ($("#miniuserbar.dynamic_view .login_block.open_window").length) 
874                            {   
875                                miniuserbar_login();
876                            }
877                            if ($("#miniuserbar.dynamic_view .registration_block.open_window").length) 
878                            {
879                               
880                               
881                               
882                               $("body").on({
883                                    mouseenter: function(){
884                                            var icon_obj    = $("#miniuserbar.dynamic_view .registration_block .register_link");
885                                            var icon_position = $(icon_obj).position();
886                                            var icon_width  = $(icon_obj).width();
887                                            var icon_height = $(icon_obj).height();
888                                            var caluclate_top  = ((icon_position.top) * 1) + (icon_height*1) * 1 ;
889
890                                            if ($("#miniuserbar").hasClass("open-right"))
891                                            {
892                                                $("#miniuserbarholder.registerholder").css({
893                                                    "top"  : caluclate_top + 8 +"px",
894                                                    "left" :(icon_position.left*1) + (icon_width) - (icon_width/2)  - 20 + "px" ,
895                                                    "right": "auto"
896                                                });
897                                            }
898                                            else
899                                            {
900                                                $("#miniuserbarholder.registerholder").css({
901                                                    "top"  : caluclate_top + 8 +"px",
902                                                    // "right" : (icon_position.left*1) + (icon_width/2*1) - 55 + "px" ,
903                                                    "right" : 0,
904                                                    "left": "auto"
905                                                });
906                                            }
907                                    
908                                            $("#miniuserbarholder.registerholder").show();
909                                            return false;
910                                    },
911                                    mouseleave: function(){
912                                        $("#miniuserbarholder.registerholder").hide();
913                                        return false;
914                                    }
915                                }, "div#miniuserbar.dynamic_view .registration_block");
916                               
917                            
918                                 
919                            }
920                        }
921
922                        else{
923 
924                            $("body").on({
925                                mouseenter: function(){
926                                    if ($("#miniuserbar .toggle-hover i").length)
927                                {
928                                    var icon_obj    = $("#miniuserbar .toggle-hover i");
929                                    var icon_position = $(icon_obj).position();
930                                    var icon_width  = $(icon_obj).width();
931                                    var icon_height = $(icon_obj).height();
932                                    var caluclate_top  = ((icon_position.top) * 1) + (icon_height*1) * 1 ;
933      
934                                    if ($("#miniuserbar").hasClass("open-right"))
935                                    {
936                                        $("#miniuserbarholder").css({
937                                            "top"  : caluclate_top + 7 +"px",
938                                            "left" :(icon_position.left*1) + (icon_width) - (icon_width/2)  - 20 + "px" ,
939                                            "right": "auto"
940                                        });
941                                    }
942                                    else{
943          
944                                        $("#miniuserbarholder").css({
945                                            "top"  : caluclate_top + 7 +"px",
946                                            "left" : (icon_position.left*1) + (icon_width/2*1) - 325 + "px" ,
947                                            "right": "auto"
948                                        });
949                                    }
950                                }
951     
952                                $("#miniuserbarholder").show();
953                                return false;
954                                },
955                                mouseleave: function(e){
956                                  if(e.relatedTarget != null){
957                                       cartpopuptimer = setTimeout(function (){
958                                    $("#miniuserbarholder").hide();
959                                     }, 6000 );
960                                    return false;
961                                }
962                                }
963                            }, "#miniuserbar");
964 
965                        }
966                    }
967
968
969
970                   cartpopuptimer = setTimeout(function ()
971                   {
972                        
973                        
974                   }, 6000 );
975
976
977
978
979 function resize_menu_items ()
980{
981var menu_maxHeight = 0;
982$(".header_menus:not(.minimize) .menu.menu-horizontal>li>a").css("height", "");
983$(".header_menus:not(.minimize) .menu.menu-horizontal>li>a").each(function () {
984   if ($(this).outerHeight(true) > menu_maxHeight ) { menu_maxHeight  = $(this).outerHeight(true); }
985});
986 
987
988
989
990$(".header_menus:not(.minimize) .menu.menu-horizontal>li>a").css("height", menu_maxHeight + "px");
991
992}
993        function dynamicStickyCart(){
994            // disable dyanmic sticky small screen            
995            if ( $(window).width() > 800 ) 
996                {
997
998                    $(".dynamic-sticky").dynamic_sticky(); 
999                        if ($("#header").find(".fixed-top").length )
1000                        {
1001                            var campainHeight=0;
1002                            if($(".campain.slidefromtop").length){
1003                                campainHeight=$("#header").offset().top;
1004                            }
1005                            var header_height = $("#header").find(".fixed-top").height() + 10 + campainHeight ;
1006                            $('<style>.dynamic-sticky.is_stuck{margin-top:' + header_height + 'px}</style>').appendTo( document.head );
1007                        }
1008
1009                        if ($("#sticky_header").length )
1010                        {
1011                            var campainHeight=0;
1012                            if($(".campain.slidefromtop").length){
1013                                campainHeight=$("#sticky_header").offset().top;
1014                            }
1015                            var header_height = $("#sticky_header").height() + 10 + campainHeight;
1016                            $('<style>.dynamic-sticky.is_stuck{margin-top:' + header_height + 'px}</style>').appendTo( document.head );
1017                        }
1018
1019                }
1020        }
1021
1022             
1023
1024           function OpenSmallCart()
1025           {
1026               
1027
1028                 clearTimeout(cartmobilepopuptimer);   
1029                if ( !$("#mobile_minicart").is(':visible') )
1030                    {
1031                        //$("#mobile_header .header_smallcart").trigger("click");
1032                       mobile_minicart_toggle("2");
1033                    }
1034                    cartmobilepopuptimer = setTimeout(function() 
1035                    {
1036                        //$("#mobile_header .header_smallcart").trigger("click");
1037                        mobile_minicart_toggle("3");
1038                    }, 6000 );
1039
1040
1041           }
1042
1043
1044        function OpenSmallWishCart()
1045            {
1046                
1047            }
1048
1049       function submitsearchform(obj)
1050           {
1051               if (cookieconsent == true) {
1052                    
1053               }
1054                if (typeof ( obj ) != 'undefined')
1055                {
1056                    $(obj).submit();
1057
1058                    search_form_submited = true;
1059
1060                    // Find the submit button within the form
1061                    var submitButton = $(obj).find("button[type='submit']");
1062                      
1063                    // Disable the submit button
1064                    submitButton.prop("disabled", true);
1065 
1066                }
1067           else
1068                {
1069                    $('form[name="SearchFrm"]').submit();
1070
1071                    search_form_submited = true;
1072                     
1073                    // Find the submit button within the form
1074                    var submitButton = $('form[name="SearchFrm"]').find("button[type='submit']");
1075            
1076                    // Disable the submit button
1077                    submitButton.prop("disabled", true);
1078
1079                }
1080               
1081                    return false;
1082           }
1083
1084 let search_form_submited = false;
1085
1086 // Attach the function to the window's load event
1087     function enableSubmitButton() {
1088       try {  
1089	 
1090            if ( $("#Button1").length  ){
1091                document.getElementById("Button1").disabled = false;
1092            }
1093
1094            if ( $("#right_srch_str").length  ){
1095                document.getElementById("right_srch_str").disabled = false;
1096            }
1097            
1098            var searchForms = $("form[name='SearchFrm']");
1099            searchForms.each(function(index) {
1100                // Find the submit button within each form
1101                var submitButton = $(this).find("button[type='submit']");
1102                // Disable the submit button
1103                submitButton.prop("disabled", true);
1104            });
1105
1106        } catch (e) {}
1107    }
1108 window.addEventListener("unload", enableSubmitButton);
1109
1110	   function change_product_box_total(id)
1111                    {
1112                        var Num_After_dot = "2";
1113                        var temp_dropDecimals = 0;
1114                        if (Num_After_dot == "1" || Num_After_dot == "2" )
1115                        {
1116                            temp_dropDecimals = 2;
1117                        }
1118
1119                        var quan      = $(id).parents("li").find("input[name=quantity]").val();
1120                        var quan_base = $(id).parents("li").attr("quan_base");
1121                        if(!$.isNumeric(quan_base)){quan_base = 1;}
1122                        if(!$.isNumeric(quan)){quan = 1;}
1123
1124                        var newtotal = $(id).attr("price")*quan/quan_base;
1125                        $(id).html(newtotal.toFixed(Num_After_dot)).formatCurrency({
1126                             groupDigits: true , symbol: '',
1127                                 roundToDecimalPlace: temp_dropDecimals
1128                            });
1129	                }
1130
1131      
1132           $(window).on("load",function()
1133           {
1134                     $(".slider-auto").css( 'height' , $(".slider-auto img:first").height()+'px');
1135                     $(".slider-auto").css( 'width' , $(".slider-auto img:first").width()+'px');
1136                     $(".slider-700").css( 'height' , $(".slider-700 img:first").height()+'px');
1137                     $(".slider-940").css( 'height' , $(".slider-940 img:first").height()+'px');
1138                    
1139                    
1140
1141    resize_menu_items ();
1142                  
1143}
1144
1145                   
1146             );
1147
1148            
1149
1150              
1151 
1152          function user_connect()
1153          {
1154                $.get("/siteservices.asp?service=user_connect", function(data)
1155                    {
1156                        lightpopup (data,'user_connect') ;
1157                        
1158                        dynamicform();
1159                        
1160                    });
1161           }
1162
1163function es_tooltip () 
1164             {
1165                        $(".es_tooltip").qtip({
1166                        overwrite: false,
1167                        position: {
1168                            
1169                            my: "top center",
1170                            at: "bottom center",
1171                            viewport: $(document.body)
1172
1173                    
1174                        },
1175                        style: {
1176                            classes: "qtip-light qtip-rounded" 
1177                        },
1178                        content: {
1179                            
1180                            text: function (event, api) { return $(this).find("span.content").html(); }
1181                        },
1182                        show: {
1183                            ready: false  
1184                        }
1185
1186                        
1187                    });
1188            }
1189        
1190var resizeTimer;
1191
1192 
1193
1194 if( $(window).width() <= 800 )
1195 {
1196    if ( $("#mobile_header").length )
1197        {}
1198        else
1199        {
1200            clearTimeout(resizeTimer);
1201            resizeTimer = setTimeout(function() {
1202                    
1203            $.ajax({
1204                url: get_factory_url( "mobile_header" ) ,
1205                }).done(function (data)
1206                {
1207                    $("#mobile_header_holder").html(data)
1208                    dynamicform();
1209                 
1210                });
1211    
1212            }, 250);
1213        }
1214 }
1215
1216 $(window).on('resize', function ()
1217           {
1218              if ( $("#mobile_header").length )
1219                {}
1220                else
1221                {
1222                    clearTimeout(resizeTimer);
1223                    resizeTimer = setTimeout(function() {
1224                            
1225                    $.ajax({
1226                        url:get_factory_url( "mobile_header" ),
1227                        }).done(function (data)
1228                        {
1229                            $("#mobile_header_holder").html(data)
1230                              dynamicform();
1231                        });
1232            
1233                    }, 250);
1234                }
1235              
1236              })
1237 
1238
1239
1240
1241           $(window).on('resize scroll', function ()
1242           {
1243              
1244            $(document).ready (function()
1245            {
1246            
1247                
1248
1249
1250               $("img[data-src]").each(function()
1251                {
1252                    if ( $(this).isInViewportScroll() )
1253                    { 
1254                        $(this).attr("src" , $(this).attr("data-src") );
1255                        $(this).removeAttr("data-src") ;
1256                        calculate_icons_position();
1257                    }
1258                });
1259              
1260              
1261              if ( $("div.lazyscroll").length)
1262                {
1263                    $("div.lazyscroll").each(function ()
1264                        {
1265                            var element = $(this);
1266                            //console.log ($(this).attr("id"));
1267                            if ( $(element).isInViewport()  )
1268                            {   $(element).removeClass("lazyscroll");
1269                                $.ajax({
1270                                url: get_factory_url ( $(this).attr("id") ) ,
1271                                }).done(function (data)
1272                                {
1273                                    
1274                                    $(element).html(data);
1275                                    $(element).show();
1276                                      dynamicform();
1277                                      mobile_breadcrumb();
1278                                });
1279                            }
1280                        }); 
1281                }
1282                resize_menu_items ();
1283            });     
1284           });
1285           
1286            $(document).ready (function()
1287            {
1288
1289                $("img[data-src]").each(function()
1290                {
1291                        if ( $(this).isInViewport() )
1292                        { 
1293                        $(this).attr("src" , $(this).attr("data-src") );
1294                        $(this).removeAttr("data-src") ;
1295                          
1296                        }
1297                });
1298
1299                $(".sectionitems .owl-carousel img[data-src]").each(function(){
1300                    $(this).attr("src" , $(this).attr("data-src") );
1301                    $(this).removeAttr("data-src") ;
1302                });
1303
1304                $(".megamenu img[data-src]").each(function()
1305                {
1306                        $(this).attr("src" , $(this).attr("data-src") );
1307                        $(this).removeAttr("data-src") ;
1308                });
1309                
1310                $(".MiscFieldsIcons img[data-src]").each(function()
1311                {
1312                        $(this).attr("src" , $(this).attr("data-src") );
1313                        $(this).removeAttr("data-src") ;
1314                });
1315                
1316                 
1317                $("#item-relativeitems-popup  img[data-src]").each(function()
1318                {
1319                        $(this).attr("src" , $(this).attr("data-src") );
1320                        $(this).removeAttr("data-src") ;
1321                });
1322  
1323                if ( $("div.lazyload").length)
1324                {
1325                $("div.lazyload").each(function ()
1326                {    
1327                    var element = $(this);
1328                    var element_id = $(this).attr("id");
1329                    $.ajax({
1330                    url: get_factory_url( element_id ),
1331                    }).done(function (data)
1332                    {
1333                       
1334                        $(element).html(data);
1335                            dynamicform();
1336                            mobile_breadcrumb();
1337                            datecountdown();
1338                         
1339                        $(element).find("img[data-src]").each(function()
1340                        {
1341                            $(this).attr( "src" , $(this).attr("data-src") );
1342                            $(this).removeAttr("data-src") ;
1343                        });
1344
1345                    });
1346                }); 
1347                }
1348            
1349         
1350             
1351            es_tooltip();
1352
1353
1354
1355                
1356                //currencies
1357                $("body").on( "click" , ".currencies_switch a, .currencies_switch input[type='radio']" , function () {
1358                    var current_currancy = $(this);
1359                    if (current_currancy.hasClass("active")) { return false; }
1360                    var currency_value = current_currancy.attr("data");
1361                    if (current_currancy.is("input[type='radio']")) {
1362                        currency_value = current_currancy.val();
1363                    }
1364                    if (!currency_value || currency_value == "") {
1365                        return false;
1366                    }
1367                    $.ajax({
1368                        url: "/siteservices.asp?service=currencies_switch&params="+ currency_value ,
1369                        async:false,
1370                    }).done(function(data) 
1371                    {
1372                        if (data == "1")
1373                        {
1374                            location.reload();
1375                        }
1376                    });
1377                    return false;
1378                });
1379
1380                $("body").on( "change" , ".currencies_switch select" , function () {
1381                    var currency_value = $(this).val();
1382                    if (!currency_value || currency_value == "") {
1383                        return false;
1384                    }
1385                    $.ajax({
1386                        url: "/siteservices.asp?service=currencies_switch&params="+ currency_value ,
1387                        async:false,
1388                    }).done(function(data) 
1389                    {
1390                        if (data == "1")
1391                        {
1392                            location.reload();
1393                        }
1394                    });
1395                });
1396
1397
1398                //prevent from contact header close when autocomplete is chosen
1399                
1400                setTimeout(function(){
1401                        $(".header_contactform .contactform form.widget_form input.form-control[type='text']").on('focus', function() {
1402                        $('.header_contactform .block.contactform').addClass('hovered');
1403                    }).on('blur', function() {
1404                setTimeout(function(){
1405                    $('.header_contactform .block.contactform').removeClass('hovered');
1406                    },3000);
1407                });    
1408
1409                        $(".header_contactform .contactform form input[type='text']").on('focus', function() {
1410                        $('.header_contactform .block.contactform').addClass('hovered');
1411                    }).on('blur', function() {
1412                setTimeout(function(){
1413                        $('.header_contactform .block.contactform').removeClass('hovered');
1414                    },3000);
1415                });  
1416                }, 1000);
1417
1418                
1419
1420                
1421                $("body").on({
1422                    mouseenter: function(){
1423                        $(this).find(".image_1").hide();
1424                        $(this).find(".image_2").show();
1425                    },
1426                    mouseleave: function(){
1427                       $(this).find(".image_2").hide();
1428                        $(this).find(".image_1").show();
1429                    }
1430                }, '.icon_switch');
1431
1432
1433
1434
1435
1436
1437
1438 
1439                
1440
1441                //numbering
1442                $(".es_numbering_element").each(function()
1443                {
1444                   
1445                    
1446                         $(this).find(".ProperyName").addClass("es_number_title");
1447                    $(this).find(".ProperyLinkName").addClass("es_number_title");
1448                    $(this).find(".product-deliverydate > p").addClass("es_number_title");
1449                    
1450                   
1451               });
1452
1453                $(".es_numbering_container").each(function()
1454                {
1455                    var numbering = 1;
1456                    var titlecounter = $(".es_number_title").length  ;
1457                    $(".es_number_title").each(function(){
1458
1459                        if ( titlecounter > 1 )
1460                        {
1461                            $(this).prepend("<span class='es_number'>"+ numbering +"</span>");
1462                        }
1463                        else
1464                        {
1465                            $(this).addClass("nonumber");
1466                        }
1467                        numbering = numbering + 1 ;
1468                    });
1469                    $(".es_numbering_layout_4 .es_number_title").each(function(){
1470                        $(this).append("<span class='border-line'></span>");
1471                    });
1472                      
1473                });
1474
1475
1476                
1477
1478                $("body").on({
1479                    mouseenter: function(){
1480                      $(this).parent().find(".ItemBoxPromotionInfo").show();
1481                    },
1482                    mouseleave: function(){
1483                      $(this).parent().find(".ItemBoxPromotionInfo").hide();
1484                    }
1485                }, ".ProductBox_promotion .promotion_image");
1486
1487
1488
1489
1490                 
1491                $("body").on("click",".button_open_id", function()
1492                {
1493                    var widget_open_id = $( this ).attr("openonwidgetid");
1494                   
1495                        if ($(widget_open_id).is(":visible" ))
1496                        {
1497                            $(widget_open_id).hide();
1498                        }
1499                        else
1500                        {
1501                            $(widget_open_id).show();
1502                      
1503                        }
1504                       
1505                    return false;
1506
1507                });      
1508          
1509               //menu images switch
1510                $("body").on({
1511                    mouseenter: function(){
1512                        $(this).find("img").eq(0).attr("src",$(this).find("img").eq(0).attr("image-hover"))
1513                    },
1514                    mouseleave: function(){
1515                          $(this).find("img").eq(0).attr("src",$(this).find("img").eq(0).attr("image-source"))
1516                    }
1517                }, ".switch_image");
1518
1519
1520 
1521               // quickview start
1522               $("body").on("click",".quickview_lightpopup .image" , function() {
1523                   var temp_src = $(this).find("img").attr("src");
1524                   $(".boxItem  .image img").each( function() {
1525                       if ( $(this).attr("src") == temp_src )
1526                       {
1527                           $(this).parents(".boxItem").find(".product_quickview").trigger("click");
1528                       }
1529                   });
1530                   return false;
1531               });
1532
1533               $("body").on("click",".boxItem .product_quickview",function(){
1534                  
1535                   var next_item     = '';
1536                   var previous_item = '';
1537
1538                   if ( $(this).parents(".boxItem").next().is('li') )
1539                   {
1540                       tempobj   = $(this).parents(".boxItem").next().find(".boxPicture");
1541                       next_item = tempobj.html();
1542                   }
1543
1544                   if ( $(this).parents(".boxItem").prev().is('li') )
1545                   {
1546                       tempobj = $(this).parents(".boxItem").prev().find(".boxPicture");
1547                       previous_item = tempobj.html();
1548                   }
1549
1550                   
1551                       data = "<div class='product'><a href='"+$(this).parents(".boxItem").find(".image").attr("href")+"' id='quickview_product_link' class='hide'>ìîòáø ìãó îåöø</a><div class='loader'></div><iframe id='quickview_iframe' scrolling='no' frameborder='0' width='100%' src='"+$(this).attr("href")+"'></iframe></div><div class='nav'><div class='navImage'><span class='imgnavSpan'>äáà</span>" +  previous_item +" </div><div class='navImage'><span class='imgnavSpan'>
1551ä÷åãí</span> "+ next_item +"</div></div>";
1552                   
1553                   
1554
1555
1556                   lightpopup (data,"quickview_lightpopup");
1557                   $("#quickview_iframe").hide();
1558                   $("#quickview_iframe").on("load" ,function(){
1559                       $("#quickview_iframe").show();
1560                       $(".loader").hide();
1561                   });
1562                  
1563                   $('.navImage').each(function () {
1564                       var navspan = "";
1565                       navspan = $(this).find(".imgnavSpan");
1566                       $(this).find(".image").append(navspan);
1567                   });
1568                   return false;
1569               });
1570               // quickview end
1571
1572               /*whatsapp start*/
1573
1574                $("body").on("click",".wame_whatsapp",function(){
1575                    if (cookieconsent == true) {
1576                        
1577                    }
1578                });
1579
1580               $("body").on("click",".whatsapp_share,.header_whatsapp,a.fa-whatsapp,#stickey_whatsapp,.whatsapp.btn",function(){
1581                  
1582                   var whatsapp = $(this);
1583                   var whatsapp_product_image = $('meta[property="og:image"]').attr('content');
1584                   var whatsapp_product_url   = window.location.href;
1585                   var whatsapp_product_title = $(document).find("title").text();
1586                    
1587                   if ( $(this).hasClass("linktopage") )
1588                   {
1589                       var whatsapp_product_image = $(this).attr('data-image');
1590                       var whatsapp_product_url   = $(this).attr('data-href');
1591                       var whatsapp_product_title = $(this).attr('data-title');
1592                   }
1593                
1594                 if (cookieconsent == true) {
1595                    
1596               }
1597
1598                   $.ajax({
1599                       url: "/siteservices.asp?service=whatsapp_save&title="+whatsapp_product_title+"&image="+ whatsapp_product_image +"&url="+ whatsapp_product_url ,
1600                       async:false,
1601                   }).done(function(data) 
1602                   {
1603                       var redirect_url = $(whatsapp).attr("href") + "https://www.medicon.co.il/whatsapp.asp?id=" + data ;
1604                       //window.location.href = redirect_url;
1605                       window.open(redirect_url);
1606                   });
1607                  
1608                   return false;
1609               });  
1610               /*whatsapp end*/
1611
1612      
1613
1614
1615                  $("li.parent:last-child").addClass("last");
1616 
1617                    $("body").on("click",".filter_link",function(){
1618                        // $(this).parent().parent().find(".misc_chk").prop("checked", true);
1619                        
1620                        if ( $(this).parent().parent().find(".misc_chk").is(":checked") == true ){
1621                            $(this).parent().parent().find(".misc_chk").prop("checked", false);
1622                        }
1623
1624                        $(this).parent().parent().find(".misc_chk").trigger("click");
1625                        return false;
1626                    });
1627
1628                    $("body").on("click",".miscfileds .misc_chk",function(){
1629
1630                        var checkedCount = $(".miscfileds .misc_chk:checked").length;
1631                        var sameFieldCheckedCount = $(this).closest(".misc_section").find(".misc_chk:checked").not(this).length;
1632
1633                        if (sameFieldCheckedCount >= 2) {
1634                            alert("You can only select up to 2 options per field");
1635                            $(this).prop("checked", false);
1636                        } else if (checkedCount > 4 && sameFieldCheckedCount == 0) {
1637                            alert("ðéúï ìáçåø òã 4 îàôééðéí");
1638                            $(this).prop("checked", false);
1639                        } else {
1640                            location.href = $(this).val();
1641                        }
1642
1643                        
1644                    });
1645
1646                 dependonwidget();
1647          
1648                
1649        dynamicStickyCart();
1650        $("body").on( "submit" , ".NewsLatterFrm", function()
1651        {
1652            var form = $(this) ;
1653            if ( $(this).find("input[name='FirstName']").length )
1654            {
1655                if ( $(this).find("input[name='FirstName']").val() == "" )
1656                    {
1657                        alert("äëðñ ùí îìà");
1658                        $(this).find("input[name='FirstName']").focus();
1659                        return false;
1660                    }
1661            }
1662         
1663        var emailInput = $(this).find("input[name='Email']");
1664        var email = $.trim(emailInput.val());
1665        var emailPlaceholder = emailInput.attr("placeholder") || "";
1666        if (email === emailPlaceholder) email = "";
1667        if (email != "")
1668        {
1669            var i=email.indexOf("@");
1670            var i2=email.indexOf("@",i+1);
1671            var j=email.indexOf(".",i);
1672            var k=email.indexOf(",");
1673            var kk=email.indexOf(" ");
1674            var jj=email.lastIndexOf(".") + 1;
1675            var leng = email.length;
1676            if ((i>0)&&(j>(i+1))&&(k==-1)&&(kk==-1)&&(leng-jj >= 2)&&(leng-jj <= 3)&&(i2==-1))
1677            {
1678
1679            }
1680            else
1681            {
1682                alert("ëúåáú äîééì ùâåéä");
1683                emailInput.focus();
1684                return false;
1685            }
1686        }
1687        else
1688        {
1689            alert("ëúåáú äîééì ùâåéä");
1690            emailInput.focus();
1691            return false;
1692        }
1693        
1694        if ( $(this).find("input[name='agreetoterms']").length )
1695        {
1696            if ( $(this).find("input[name='agreetoterms']").is(":checked") == false )
1697            {
1698                $(this).find("input[name='agreetoterms']").focus();
1699                alert("àðà äñëí ìú÷ðåï äàúø");
1700                return false;
1701            }
1702        }
1703
1704        
1705            if ( $(this).find("input[name='privacy']").is(":checked") == false )
1706            {
1707                $(this).find("input[name='privacy']").focus();
1708                alert("éù ìñîï àú äúéáä ëãé ìàùø àú äúðàéí åäîãéðéåú.");
1709                return false;
1710            }
1711        
1712
1713        $.post('/siteservices.asp?service=addtonewsletter', $(form).serialize(), function(data)
1714        {
1715          
1716            data = data + '|||';
1717            data = data.split("|");
1718        if (data[0]=="1")
1719        {
1720            $(form).parent().html('<div class=\'success alert alert-success\'>'+data[1]+'</div>');
1721            $(form).html("");
1722        }
1723        else
1724        {
1725            $(form).find(".status").addClass("error alert alert-danger");
1726            $(form).find(".status").html(data[1]);
1727        }
1728        return false;
1729        } );
1730
1731        return false
1732        });
1733
1734              
1735                   
1736                    $.extend($.validator.messages,
1737                           {
1738                               required: "ùãä æä äéðå çåáä",
1739                               remote: "àðà ú÷ï ùãä æä.",
1740                               email: "àðà äëðñ ëúåáú îééì ú÷éðä.",
1741                               url: "àðà äëðñ ëúåáú URL ú÷éðä.",
1742                               date: "àðà äëðñ úàøéê ðëåï.",
1743                                dateISO: "äëðñ îéãò ðëåï.",
1744                                number: "àðà äëðñ îñôø ú÷éï.",
1745                               digits: "àðà äëðñ ø÷ ñôøåú.",
1746                               creditcard: "äëðñ îñôø ëøèéñ àùøàé ú÷éï.",
1747                      equalTo: "äëðñ ùåá àú àåúå äòøê.",
1748                               maxlength: $.validator.format("ìà ðéúï ìäëðéñ éåúø î {0} úååéí."),
1749                        minlength: $.validator.format("àðà äëðñ ìôçåú {0} úååéí."),
1750                        rangelength: $.validator.format("àðà äëðñ òøê áéï {0} ì {1} úååéí."),
1751                        range: $.validator.format("àðà äëðñ òøê áéï {0} ì {1} úååéí."),
1752                        max: $.validator.format("{àðà äëðñ òøê ôçåú àå ùååä ì {0"),
1753                        min: $.validator.format("{àðà äëðñ òøê âãåì àå ùååä ì {0")
1754                        });
1755
1756                      dynamicform();
1757                 
1758
1759                      
1760
1761                    widget_form();
1762                   
1763                   $("body").on("click",".lightpopup.html",function()
1764                   { 
1765                        var lightpopup_id    = $(this).attr("lightpopup_id") ;
1766                        var lightpopup_class = $(this).attr("lightpopup_class") ;
1767                        var lightpopup_html  = $('#'+lightpopup_id).html();
1768                        lightpopup(lightpopup_html , lightpopup_class);
1769                        return false;
1770                   });
1771
1772                   $("body").on("click","#image_mobile_enlarge",function()
1773                   { 
1774                       
1775                       if  ( $("#enlargeIcon a").length )
1776                       {
1777                           $("#enlargeIcon a").trigger("click");
1778                       }
1779                       else
1780                       {
1781                           var lightpopup_id    = $(this).attr("lightpopup_id") ;
1782                           var lightpopup_class = $(this).attr("lightpopup_class") ;
1783                           var lightpopup_html  = $('#'+lightpopup_id).html();
1784                           lightpopup(lightpopup_html , lightpopup_class);
1785                           var image_src = $('.'+lightpopup_class).find("img").attr("src");
1786                           var image_src = image_src.replace("_large", "");
1787                           $('.'+lightpopup_class).find("img").attr("src",image_src);
1788                       }
1789
1790                       return false;
1791                       
1792                   });
1793
1794                    $("body").on("click",".lightpopup.iframe",function(){
1795                       lightpopup("<iframe scrolling='no' frameborder='0' width='100%' src="+$(this).attr("href")+">" , $(this).attr("lightpopup_class") );
1796                       return false;
1797                    });
1798
1799                    $("body").on("click",".user_connect .switchregister",function(){
1800                        $(".user_connect #user_login_div").hide();
1801                        $(".user_connect #user_account_recovery").hide();
1802                        $(".user_connect .user_account_recovery").hide();
1803                        $(".user_connect #user_account_register").show();
1804                    });
1805
1806
1807                    $("body").on("click",".account_verification_new_number",function(){
1808                            var $section = $(this).parents(".user_phone_login_container");
1809                            $section.find(".user_phone_login_div").show();
1810                            $section.find(".account_verification_div").hide();
1811                    });
1812
1813                    $("body").on("click",".user_connect .switchpassword",function(){
1814                        $(".user_connect #user_login_div").hide();
1815                        $(".user_connect #user_account_recovery").show();
1816                        $(".user_connect .user_account_recovery").show();
1817                    });
1818
1819                    $("body").on("click",".account_verification_resend_number",function(){
1820                        var $section = $(this).parents(".user_phone_login_container");
1821                        $section.find(".messagediv").html("");
1822                        $section.find(".user_phone_login_form").submit();
1823                    });
1824 
1825                    $("body").on("click",".switchlogin",function(){
1826                        $(".user_connect #user_login_div").show();
1827                        $(".user_connect #user_account_recovery").hide();
1828                        $(".user_connect .user_account_recovery").hide();
1829
1830                        $(".user_account_recovery").hide();
1831                        $(".user_phone_login_container").show();
1832                    });
1833 
1834                    $("body").on("click",".user_phone_login_switchpassword",function(){
1835                          
1836                            var $section = $(this).parents(".user_phone_login_container").parent();
1837                            $section.find(".user_phone_login_container").hide();
1838                            $section.find(".user_account_recovery").show();
1839                        });
1840 
1841                    $('form[name="SearchFrm"]').submit(function( event )
1842                        {
1843                                if (cookieconsent == true) {
1844                            
1845                            }
1846                        });
1847 
1848                    $('#sidebar .accordion ul').dcAccordion({eventType: 'click',hoverDelay: 0,menuClose: true,autoClose: true,saveState: false,autoExpand: true,classExpand: 'current',classDisable: '',showCount: false,disableLink: true,cookie: 'categories-accordion',speed: 'slow'});
1849$jScroller.add('.jcroller ','.jcroller .spaciels-wrap','up',1,true);$jScroller.start();
1850$('#footer .manufactores ul').jcarousel({ });
1851
1852
1853                      if( $(window).width() < 1100 )
1854                          {
1855                              $("#scroll-all").hide();
1856                              $("#floating-icons .icons-box").hide();
1857                              $("#floating-icons .icons-box.accessibility").show();
1858                          }
1859                          else
1860                          {
1861                            $("#scroll-all").show();
1862                            $("#floating-icons .icons-box").show();
1863                          }
1864
1865            
1866
1867                      $(window).resize(function()
1868                        {
1869                          
1870                          if( $(window).width() < 1100 )
1871            	            {
1872                                  $("#scroll-all").hide();
1873                                  $("#floating-icons .icons-box").hide();
1874                                  $("#floating-icons .icons-box.accessibility").show();
1875                            }
1876                            else
1877                            {
1878                                 $("#scroll-all").show();
1879                                 $("#floating-icons .icons-box").show();
1880                            }
1881                        });
1882
1883                        scrollerrows()
1884                        $("#scroll-full").click(function(){
1885                        $("html,body").animate({ scrollTop:0});
1886                        });
1887                        $("#scroll-bottom").click(function(){
1888                        $("html,body").animate({ scrollTop:20000});
1889                        });
1890
1891                     
1892                    
1893                     
1894                        $("body").on("change",".productbox_sons_select select",function()
1895                        {
1896                           $(this).parents("li").find(".product-box-prices .priceholder").html($('option:selected', this).attr('price'));
1897                                                                                                          
1898                             if ( $('option:selected', this).attr('regprice') != "0" )
1899                             {
1900                                $(this).parents("li").find(".product-box-prices .reg-price .value span").html($('option:selected', this).attr('regprice'));
1901                             }
1902                         });
1903
1904                         $("body").on("change",".productbox_product_son .prs_radio select",function()
1905                         {
1906                              
1907
1908                             if ( $(this).parents(".productbox_product_son").find(".prs_prices .text .value").html() != $(this).parent("p").text()  )
1909                             {
1910                                 $(this).parents(".productbox_product_son").find("input[name=quantity]").val("0");
1911                             }
1912                                
1913                        
1914                             $(this).parents(".productbox_product_son").find(".prs_prices .price .value").html( $('option:selected', this).attr('price')  ) ;
1915
1916                             if ($('option:selected', this).attr('regprice') != "0")
1917                             {
1918                                $(this).parents(".productbox_product_son").find(".prs_prices .regprice .value").html($('option:selected', this).attr('regprice'));
1919                             }
1920
1921                             $(this).parents(".productbox_product_son").find(".price_unit_line .quantity_base").html( $('option:selected', this).attr("quan_base") );
1922                             $(this).parents(".productbox_product_son").find(".price_unit_line .dimension").html( $('option:selected', this).attr("dimensionname") );
1923                             $(this).parents(".productbox_product_son").find(".price_unit_line .unit_price .value").html( $('option:selected', this).attr("price") );
1924                             $(this).parents(".productbox_product_son").find(".size").html( $('option:selected', this).attr("dimensionname") );
1925
1926
1927
1928
1929                             if ( $('option:selected', this).attr('regprice') != '0' )
1930                             {
1931                                 $(this).parents(".productbox_product_son").find(".prs_prices .regprice").show();
1932                             }
1933                             else
1934                             {
1935                                 $(this).parents(".productbox_product_son").find(".prs_prices .regprice").hide();
1936                             }
1937                             $(this).parents(".productbox_product_son").find(".prs_prices .text .value").html( $(this).parent("p").text())
1938
1939                         });
1940
1941                           $("body").on("click",".productbox_product_son .prs_radio .product_son",function()
1942                           {
1943                               
1944                               
1945                               $(this).parents(".boxItem ").find(".sale-price .priceholder").html( $(this).attr("price
1945") );
1946
1947                               if ( $(this).parents(".productbox_product_son").find(".prs_prices .text .value").html() != $(this).parent("p").text()  )
1948                               {
1949                                   $(this).parents(".productbox_product_son").find("input[name=quantity]").val("0");
1950                               }
1951                                
1952                               $(this).parents(".productbox_product_son").find(".prs_prices .price .value").html( $(this).attr("price"));
1953                               $(this).parents(".productbox_product_son").find(".prs_prices .regprice .value").html( $(this).attr("regprice"));
1954                               $(this).parents(".productbox_product_son").find(".price_unit_line .quantity_base").html( $(this).attr("quan_base") );
1955                               $(this).parents(".productbox_product_son").find(".price_unit_line .dimension").html( $(this).attr("dimensionname") );
1956                               $(this).parents(".productbox_product_son").find(".price_unit_line .unit_price .value").html( $(this).attr("price") );
1957                               $(this).parents(".productbox_product_son").find(".size").html( $(this).attr("dimensionname") );
1958                                
1959                               if ( $(this).attr("regprice") != '0' && $(this).attr("regprice") != $(this).attr("price") )
1960                                   {
1961                                        $(this).parents(".productbox_product_son").find(".prs_prices .regprice").show();
1962                                   }
1963                               else
1964                                   {
1965                                        $(this).parents(".productbox_product_son").find(".prs_prices .regprice").hide();
1966                                   }
1967
1968                            
1969                                $(this).parents(".productbox_product_son").find(".prs_prices .text .value").html( $(this).parent("p").text() )
1970                            
1971                   });
1972
1973                       
1974                       
1975                       
1976                       let debounceTimer;
1977
1978                        $("body").on("keyup", ".productbox_product_son .prs_buttons input", function (e) {
1979                            // Allow only numeric input by removing any non-numeric characters
1980                            const inputVal = $(this).val();
1981                            if (!/^\d*$/.test(inputVal)) {
1982                                $(this).val(inputVal.replace(/\D/g, "")); // Replace non-numeric characters
1983                                return;
1984                            }
1985 
1986                            // Debounce to reduce the frequency of AJAX requests on typing
1987                            clearTimeout(debounceTimer);
1988                            debounceTimer = setTimeout(() => {
1989                                const $parent = $(this).parents(".productbox_product_son");
1990                                const itemident = $parent.attr("itemident");
1991
1992                                let objid;
1993                                if ($parent.find("select").length) {
1994                                    objid = $parent.find("select").val();
1995                                } else {
1996                                    objid = $parent.find("input:checked").val();
1997                                    if (typeof objid === "undefined") {
1998                                        $parent.find("input").prop("checked", true);
1999                                        objid = $parent.find("input:checked").val();
2000                                    }
2001                                }
2002
2003                                // Make AJAX request
2004                                $.get('/siteservices.asp?service=productbox_addproductson&params=' + objid + '|' + $(this).val() + '|' + itemident, function (data) {
2005                                    const [status, message] = data.split("|");
2006
2007                                    if (status === "1") {
2008                                        Ajax_updateCartInfo();
2009                                    } else if (message) {
2010                                        alert(message);
2011                                    }
2012                                });
2013                            }, 300); // Wait 300ms after the last keyup
2014                        });
2015                       
2016                       
2017                       
2018                       
2019                       /*
2020                       $("body").on("keyup",".productbox_product_son .prs_buttons input",function(e){
2021                        if(e.keyCode == 13)
2022                            {
2023                                var itemident = $(this).parents(".productbox_product_son").attr("itemident") ;
2024                                
2025                                if ( $(this).parents(".productbox_product_son").find("select").length )
2026                                {
2027                                    var objid = $(this).parents(".productbox_product_son").find("select").val();
2028                                }
2029                                else
2030                                {
2031                                    var objid = $(this).parents(".productbox_product_son").find("input:checked").val();
2032                                    if ( typeof objid == "undefined" )
2033                                    {
2034                                        $(this).parents(".productbox_product_son").find("input").prop("checked", true);
2035                                        var objid = $(this).parents(".productbox_product_son").find("input:checked").val();
2036                                    }
2037                                }    
2038
2039                                $.get('/siteservices.asp?service=productbox_addproductson&params='+objid+'|'+$(this).val()+'|'+itemident, function(data)
2040                                {
2041                                        var answer_array = data.split("|");
2042                                        var status  = answer_array[0];
2043                                        var message = answer_array[1];
2044
2045                                        if (status == "1")
2046                                        {
2047                                            Ajax_updateCartInfo();
2048                                        }
2049                                        else
2050                                        {
2051                                            if ( message != "" )
2052                                            {
2053                                                alert ( message ) ;
2054                                            }
2055                                        }
2056                                })
2057
2058                            }
2059                        });
2060                    */
2061
2062                        $("body").on("click",".productbox_product_son_links .product_son_link",function(){
2063                        if ( $(this).hasClass("switch_image") )
2064                        { 
2065                            var bigimage = $(this).attr("bigimage");
2066                           
2067                            $(this).parents(".boxItem").find(".image img").attr("src", bigimage )  ;
2068                            }
2069
2070                         $(this).parent().find(".product_son_link").each(function(){
2071                            $(this).removeClass("current");
2072                         });
2073                         $(this).addClass("current");
2074                   
2075                        if (cookieconsent == true) {
2076
2077                            
2078                        }
2079                           
2080
2081
2082                          var Num_After_dot = "2";
2083                          var temp_dropDecimals = 0;
2084                          if (Num_After_dot == "1" || Num_After_dot == "2" )
2085                          {
2086                            temp_dropDecimals = 2;
2087                          }
2088
2089                          var pricespanid =  $(this).parents("li").find(".priceholder");
2090                          var newtotal = $(this).attr("price")*1;
2091                          $("#"+pricespanid).attr("price",newtotal.toFixed(Num_After_dot)).formatCurrency(
2092                            {
2093                             groupDigits: true , symbol: '',
2094                             roundToDecimalPlace: temp_dropDecimals
2095                            });
2096                            change_product_box_total(pricespanid);
2097                        return false;
2098                    });
2099                    // product son dynamic start
2100                    $(".productbox_product_son_dynamic .dinamicitemsons .its_add_btn").click(function()
2101                    {
2102
2103                        var obj = $(this).parents(".its_information");
2104                        if ( obj.find(".its_itemid span").length > 0 )
2105                        {
2106                            
2107                            return addme_cart( obj.find(".its_itemid span").html(), 0, obj.find(".its_quantity").val() );
2108                            return false;
2109                            
2110                        }
2111                        else
2112                        {
2113                           /*
2114                                $(".productbox_product_son_dynamic .dinamicitemsons .box").each(function()
2115                                {
2116                                    if ( $(this).find(".misc.image.current").length == 0 )
2117                                    {
2118                                        var dinamicitemsons_label = $(this).find("h3").text();
2119                                        alert(dinamicitemsons_label );         
2120                                        return false;
2121                                    }
2122                                    if ( $(this).find("select").val() == "" )
2123                                    {
2124                                        var dinamicitemsons_label = $(this).find("h3").text();
2125                                        alert(dinamicitemsons_label );         
2126                                        return false;
2127                                    }
2128                                });
2129                            */
2130                            
2131                            alert("áçø îàôééï");
2132                            return false;
2133                        }
2134                    });
2135
2136
2137                    $("body").on("click",".productbox_product_son_dynamic .dinamicitemsons a.misc",function()
2138                    {
2139                         
2140                        $(this).parent('.box').find('.currentselect').html($(this).attr("miscOptionValue"));
2141                        $(this).parent('.box').find('.misc').removeClass('current');
2142                        $(this).addClass('current');
2143                        var miscOptionId = '';
2144
2145                        $(this).parents(".dinamicitemsons").find('a.misc.current').each(function()
2146                        {
2147                            miscOptionId = miscOptionId + $(this).attr("miscOptionId") + '~';
2148                        });
2149
2150                        $(this).parents(".dinamicitemsons").find('select.misc.current').each(function()
2151                        {
2152                            var tempoptionid = $('option:selected', this).attr('miscOptionId');
2153                            miscOptionId = miscOptionId + tempoptionid + '~';
2154                        });
2155                        var obj = $(this).parents(".dinamicitemsons").find(".its_information");
2156                        dynamicproductscall  (obj,miscOptionId);
2157                        return false;
2158                    });
2159
2160                    $("body").on("change",".productbox_product_son_dynamic .dinamicitemsons select.misc",function()
2161                    {
2162
2163                        $(this).parent('.box').find('.currentselect').html( $(this).val() );
2164                        $(this).parent('.box').find('.misc').removeClass('current');
2165
2166                        if ( $(this).val() != "" )
2167                        {
2168                            $(this).addClass('current');
2169
2170                        }
2171                        var miscOptionId = '';
2172                        $(this).parents(".dinamicitemsons").find('a.misc.current').each(function()
2173                        { miscOptionId = miscOptionId + $(this).attr("miscOptionId") + '~';
2174                        });
2175
2176
2177                        $(this).parents(".dinamicitemsons").find('select.misc.current').each(function()
2178                        {
2179                            var tempoptionid = $('option:selected', this).attr('miscOptionId');
2180                            miscOptionId = miscOptionId + tempoptionid + '~';
2181                        });
2182
2183                        var obj = $(this).parents(".dinamicitemsons").find(".its_information");
2184                        dynamicproductscall (obj,miscOptionId);
2185                        return false;
2186                    });
2187           // product son dynamic end
2188
2189
2190
2191
2192
2193                   
2194
2195
2196                    $("body").on("click",".productbox_product_son_links .add-to-cart",function()
2197                    {
2198                        if ($(this).parent().find(".product_son_link.current").length > 0 )
2199                        {
2200                            var pid   = $(this).parent().find(".product_son_link.current").attr("itemid");
2201                            var allow = $(this).parent().find(".product_son_link.current").attr("allow");
2202                            if (allow == "0")
2203                             {
2204
2205                                    if (cookieconsent == true) {
2206                                  
2207
2208                                
2209                            }
2210
2211                                 alert("äîåöø àéðå áîìàé")
2212                                 return false;
2213                             }
2214                            var quan = $(this).parents("li").find("input[name=quantity]").val();
2215                            if(!$.isNumeric(quan)){quan = 1;}
2216                            addme_cart(pid, quan , '', '', '', '', '',$(this));
2217
2218                        }
2219                        else
2220                        {
2221                            alert("áçø îéãä åäåñó ìñì");
2222                            return false;
2223                        }
2224                        return false;
2225
2226                    });
2227
2228                    $("body").on("click",".product_box_quantity a",function()
2229                    {
2230                        var obj = this;
2231
2232                        $(this).parent("div").find("input").each(function()
2233                            {
2234
2235                            var quan_multiply = 1;
2236                            if ( $(this).parents(".boxItem").attr("quan_multiply") != "" )
2237                            {
2238                                quan_multiply = $(this).parents(".boxItem").attr("quan_multiply");
2239                            }
2240                            var quan_base = 1;
2241                            if ( $(this).parents(".boxItem").attr("quan_base") != "" )
2242                            {
2243                                quan_base = $(this).parents(".boxItem").attr("quan_base");
2244                            }
2245                              
2246
2247                                if ( $(obj).hasClass("minus") )
2248                                    {
2249                                         if ($(this).val() > 1)
2250                                         {
2251                                             
2252                                             var newquantity =  ( $(this).val() - quan_multiply * 1)*1 ;
2253                                             if( newquantity % 1 != 0 )
2254                                             {
2255                                                    
2256                                                        $(this).val( newquantity );
2257                                                    
2258                                                 
2259                                             }
2260                                             else
2261                                             {
2262                                                if ( newquantity < 0 ) { newquantity = 0; }
2263                                                 $(this).val( newquantity );
2264                                             }
2265                                              
2266                                         }
2267                                         else
2268                                         {
2269                                             $(this).val(quan_base);
2270                                         }
2271                                    }
2272                                else
2273                                    {
2274                                        var newquantity = ($(this).val()*1) + (quan_multiply*1) ;   
2275
2276                                          if ( $(this).val() == 1 && quan_multiply > 1 ) {
2277                                                newquantity = $(this).val() * 1 + (quan_multiply * 1) - 1;
2278                                            }
2279                                    
2280                                        if( newquantity % 1 != 0 )
2281                                        {
2282                                            
2283                                                 $(this).val( newquantity );
2284                                            
2285                                        }
2286                                        else
2287                                        {
2288                                            $(this).val( newquantity );
2289                                        }
2290                                    
2291                                    }
2292                            });
2293                         
2294                           var pricespanid =  $(this).parents("li").find(".priceholder");
2295                           change_product_box_total(pricespanid);
2296                   return false;
2297                   });
2298
2299
2300
2301                    var clickTimeout;
2302                                $("body").on("click",".productbox_product_son .prs_buttons a",function()
2303                   { 
2304                        clearTimeout(clickTimeout);
2305 
2306                        var obj = this ;
2307                        var quan_multiply = 1;
2308                        var quan_base = 1;
2309                        var quan_min = 1;
2310                        
2311                        // Find the current boxItem and productbox_product_son to scope all operations
2312                        var currentBoxItem = $(this).closest(".boxItem");
2313                        var currentProductBox = $(this).closest(".productbox_product_son");
2314                        
2315                        var obj_itemident = currentBoxItem.attr("itemident"); 
2316                        var property = "";
2317                       
2318                        if ( currentBoxItem.find(".required-properties").length )
2319                        {
2320                            var properties_selected = "1";
2321                            currentBoxItem.find(".required-properties").each(function(){
2322                                if ( $(this).val() == "" )
2323                                {
2324                                    $(this).focus();
2325                                    alert ( $(this).find("option:first-child").text() );
2326                                    properties_selected = "0";
2327                                }
2328                                else
2329                                {
2330                                  // var ProperyId = currentBoxItem.find()  
2331                                   property = property + currentBoxItem.find("#prop_id_hid_"+obj_itemident).val() + "@" ;
2332                                  
2333                                }
2334                            });
2335
2336                            if ( properties_selected == "0" )
2337                                {
2338                                    return false;
2339                                }
2340                               // property = currentBoxItem.find("#prop_id_hid_"+obj_itemident).val();
2341                                // property = property + currentBoxItem.find("#prop_id_hid_"+obj_itemident).val() + "@" ;
2342                              
2343                        }
2344                        
2345                        if ( currentProductBox.find("select").length )
2346                        {
2347                            var objid     = currentProductBox.find("select").val();
2348                            quan_multiply = $('option:selected', currentProductBox.find("select") ).attr('quan_multiply');
2349                            quan_base     = $('option:selected', currentProductBox.find("select") ).attr('quan_base');
2350                            quan
2350_min      = $('option:selected', currentProductBox.find("select") ).attr('quan_min');
2351                        }
2352                        else
2353                        {  
2354                            var objid = currentProductBox.find("input:checked").val();
2355                             
2356                            if ( typeof objid == "undefined" )
2357                            {
2358                                currentProductBox.find("input").eq(1).prop("checked", true);
2359                                var objid = currentProductBox.find("input:checked").val();
2360                            }
2361                            if ( typeof objid == "undefined" )
2362                            {
2363                                currentProductBox.find("input").eq(0).prop("checked", true);
2364                                var objid = currentProductBox.find("input:checked").val();
2365                            }
2366
2367                            quan_multiply = currentProductBox.find("input:checked").attr('quan_multiply');
2368                            quan_base   = currentProductBox.find("input:checked").attr('quan_base');
2369                            quan_min    = currentProductBox.find("input:checked").attr('quan_min');
2370                        }
2371
2372                        var itemident =  currentProductBox.attr("itemident") ;
2373                        var objaction  = ""
2374                        
2375                        $(this).parent("div").find("input").each(function()
2376                        {
2377                            if ( $(obj).hasClass("minus") )
2378                                {
2379                                     if ($(this).val() > 0)
2380                                     {
2381                                        var quantity_calc = ($(this).val() - quan_multiply * 1) * 1;
2382                                       // console.log( quantity_calc );
2383                                        //if ( quantity_calc < quan_min  ) { quantity_calc = quan_min*1 ; }
2384                                        if ( quantity_calc < quan_min  ) { quantity_calc = 0 ; }
2385                                        
2386                                            $(this).val(quantity_calc);
2387                                        
2388                                     }
2389                                     else
2390                                     {
2391                                         $(this).val("0");
2392                                     }
2393                                }
2394                            else
2395                                {
2396                                    var quantity_calc = ($(this).val() * 1) + (quan_multiply * 1);
2397                                    if ( quantity_calc < quan_min ) { quantity_calc = quan_min*1 ; }
2398                                    
2399                                        $(this).val(quantity_calc);
2400                                    
2401                                }
2402                        });
2403
2404                        var quantity = $(obj).parent("div").find("input").val();
2405                         
2406                        
2407                       
2408
2409                        // update price
2410                        var Num_After_dot = "2";
2411                        var temp_dropDecimals = 0;
2412                        if (Num_After_dot == "1" || Num_After_dot == "2" )
2413                        {
2414                            temp_dropDecimals = 2;
2415                        }
2416
2417                        if(!$.isNumeric(quan_base)){quan_base = 1;}
2418                        if(!$.isNumeric(quantity)){quantity = 1;}
2419
2420                        
2421
2422                        var priceAttr = currentProductBox.find("input:checked").attr("price");
2423                       
2424                        if (priceAttr !== undefined && priceAttr !== "") {
2425                            if (!isNaN(quantity) && quantity !== 0 && quan_base !== 0) {
2426                                  priceAttr = priceAttr.replace(/,/g, '');
2427                                newtotal =  priceAttr  * quantity / quan_base;
2428                                 
2429                           }
2430                        }
2431 
2432
2433                       // var newtotal = currentProductBox.find("input:checked").attr("price")*quantity/quan_base;
2434                        
2435                        if ( currentProductBox.find("select").length )
2436                        {
2437                             
2438                            var currentselect = currentProductBox.find("select");
2439                            newtotal = $('option:selected',currentselect).attr('price') * quantity / quan_base;  
2440                             
2441                        }
2442                      
2443                        if (newtotal <= 0 )
2444                        {
2445                          
2446                            newtotal = currentProductBox.find(".son_saleprice").attr("price")*1;
2447                        }
2448  
2449                        
2450                        
2451
2452
2453                            if (newtotal !== undefined && newtotal.length > 0) {
2454                                    newtotal = newtotal.replace(/,/g, '');
2455                                   
2456                            } 
2457
2458
2459                            
2460
2461
2462                            currentProductBox.find(".son_saleprice").html(newtotal.toFixed(Num_After_dot)).formatCurrency({
2463                                groupDigits: true , symbol: '',
2464                                roundToDecimalPlace: temp_dropDecimals
2465                            });
2466                        
2467                         
2468                        if ( currentProductBox.find(".son_regprice").attr("price") != "" )
2469                        {
2470                            
2471                          var newregtotal = 0;
2472 
2473                          
2474                          var regPriceAttr = currentProductBox.find("input:checked").attr("regprice");
2475                          if (regPriceAttr !== undefined && regPriceAttr.length > 0) {
2476                             
2477                                regPriceAttr = regPriceAttr.replace(/,/g, '');
2478                                newregtotal = regPriceAttr*quantity/quan_base;
2479                                
2480                          }
2481                           
2482                         
2483                          if (newregtotal <= 0 )
2484                            {
2485                                newregtotal = currentProductBox.find(".son_regprice").attr("price")*1;
2486                           
2487                            }
2488
2489                            
2490                              
2491
2492                                currentProductBox.find(".son_regprice").html(newregtotal.toFixed(Num_After_dot)).formatCurrency({
2493                                    groupDigits: true , symbol: '',
2494                                    roundToDecimalPlace: temp_dropDecimals
2495                                });
2496    
2497                               
2498                            
2499
2500                        }
2501                        
2502                       
2503                        if ( currentProductBox.find("input:checked").is("[dimension_unitweight]") )
2504                            {
2505                               //property = "@-9997{=}{addtext} " + quantity + " éçé'";
2506                                
2507                               //quantity = quantity * currentProductBox.find("input:checked").attr("dimension_unitweight");
2508                               
2509                            }
2510
2511                            if ( currentBoxItem.find(".item-comment textarea") )
2512                            {
2513                              if ( currentBoxItem.find(".item-comment textarea").length )
2514                              {
2515                                property = property + "@-9997{=}{addtext}" + encodeEmojis(currentBoxItem.find(".item-comment textarea").val()) ;
2516                              }
2517                            }
2518                       
2519                            var dimension_type = "0";
2520                            if ( currentProductBox.find("input:checked").length )
2521                            {
2522                                dimension_type = currentProductBox.find("input:checked").attr("dimension");
2523                            }
2524
2525                            if ( currentProductBox.find("select").length )
2526                            {
2527                                var currentselect = currentProductBox.find("select");
2528                                dimension_type = $('option:selected',currentselect).attr("dimension");  
2529                            }
2530                            
2531                            if (  $(this).hasClass("withoutcart") ) 
2532                            {
2533
2534                            }
2535                            else
2536                            {
2537                                   
2538                                   
2539                                    clickTimeout = setTimeout(function(){
2540                                    
2541                                        $.get('/siteservices.asp?service=productbox_addproductson&params='+objid+'|'+quantity+'|'+itemident + '|' + property + '|' + dimension_type , function(data)
2542                                        {
2543                                            var answer_array = data.split("|");
2544                                            var status  = answer_array[0];
2545                                            var message = answer_array[1];
2546
2547                                            if (status == "1")
2548                                            {
2549                                                
2550                                                
2551                                                Ajax_updateCartInfo();
2552                                            }
2553                                            else
2554                                            {
2555                                                if ( message != "" )
2556                                                {
2557                                                    alert ( message ) ;
2558                                                }
2559                                            }
2560                                        })
2561                                    
2562                                    }, 1000);
2563
2564
2565                             }
2566
2567                        return false;
2568
2569
2570
2571
2572                   });
2573
2574
2575
2576
2577
2578
2579
2580   $("body").on("click",".productbox_product_son .addtocart",function()
2581                   { 
2582                        var obj   = this ;
2583                        var quan_multiply = 1;
2584                        var quan_base = 1;
2585                       
2586                        if ( $(this).parents(".productbox_product_son").find("select").length )
2587                        {
2588                            var objid     = $(this).parents(".productbox_product_son").find("select").val();
2589                            quan_multiply = $('option:selected', $(this).parents(".productbox_product_son").find("select") ).attr('quan_multiply');
2590                            quan_base     = $('option:selected', $(this).parents(".productbox_product_son").find("select") ).attr('quan_base');
2591                        }
2592                        else
2593                        {  
2594                            var objid = $(this).parents(".productbox_product_son").find("input:checked").val();
2595                             
2596                            if ( typeof objid == "undefined" )
2597                            {
2598                                $(this).parents(".productbox_product_son").find("input").eq(1).prop("checked", true);
2599                                var objid = $(this).parents(".productbox_product_son").find("input:checked").val();
2600                            }
2601                            if ( typeof objid == "undefined" )
2602                            {
2603                                $(this).parents(".productbox_product_son").find("input").eq(0).prop("checked", true);
2604                                var objid = $(this).parents(".productbox_product_son").find("input:checked").val();
2605                            }
2606
2607                            quan_multiply = $(this).parents(".productbox_product_son").find("input:checked").attr('quan_multiply');
2608                            quan_base     = $(this).parents(".productbox_product_son").find("input:checked").attr('quan_base');
2609                        }
2610
2611                        var itemident =  $(this).parents(".productbox_product_son").attr("itemident") ;
2612                        var objaction  = ""
2613                         
2614
2615                        var quantity = $(this).parents(".productbox_product_son").find("input[name='quantity']").val();
2616                          
2617                        // update price
2618                        var Num_After_dot = "2";
2619                        var temp_dropDecimals = 0;
2620                        if (Num_After_dot == "1" || Num_After_dot == "2" )
2621                        {
2622                            temp_dropDecimals = 2;
2623                        }
2624
2625                        if(!$.isNumeric(quan_base)){quan_base = 1;}
2626                        if(!$.isNumeric(quantity)){quantity = 1;}
2627
2628                        var newtotal = $(this).parents(".productbox_product_son").find("input:checked").attr("price")*quantity/quan_base;
2629                        if ( $(this).parents(".productbox_product_son").find("select").length )
2630                        {
2631                            var currentselect = $(this).parents(".productbox_product_son").find("select");
2632                            newtotal = $('option:selected',currentselect).attr('price') * quantity / quan_base;  
2633                        }
2634                      
2635                        if (newtotal <= 0 )
2636                        {
2637                            newtotal = $(this).parents(".productbox_product_son").find(".son_saleprice").attr("price")*1;
2638                        }
2639
2640                        
2641                         
2642                        if ( $(this).parents(".productbox_product_son").find(".son_regprice").attr("price") != "" )
2643                        {
2644                            var newregtotal = "";
2645                            newregtotal = $(this).parents(".productbox_product_son").find("input:checked").attr("regprice")*quantity/quan_base;
2646                            if (newregtotal <= 0 )
2647                            {
2648                                newregtotal = $(this).parents(".productbox_product_son").find(".son_regprice").attr("price")*1;
2649                            }
2650
2651                            
2652                        }
2653                        
2654                        var property = "";
2655                        var dimension_type = "0";
2656                        if ( $(this).parents(".productbox_product_son").find("input:checked").length )
2657                        {
2658                           dimension_type = $(this).parents(".productbox_product_son").find("input:checked").attr("dimension");
2659                        }
2660
2661                        if ( $(this).parents(".productbox_product_son").find("select").length )
2662                        {
2663                            var currentselect = $(this).parents(".productbox_product_son").find("select");
2664                            dimension_type = $('option:selected',currentselect).attr('dimension');  
2665                        }
2666
2667                        if ( $(this).parents(".productbox_product_son").find("input:checked").is("[dimension_unitweight]") )
2668                            {
2669                               //property = "-9997{=}{addtext} " + quantity + " éçé'";
2670                              // quantity = quantity * $(this).parents(".productbox_product_son").find("input:checked").attr("dimension_unitweight");
2671                            }
2672
2673
2674                
2675
2676
2677                        if ( $(this).parents(".boxItem").find(".item-comment textarea") )
2678                            {
2679                              if ( $(this).parents(".boxItem").find(".item-comment textarea").length )
2680                                  {
2681                                     property = property + "@-9997{=}{addtext}" + encodeEmojis($(this).parents(".boxItem").find(".item-comment textarea").val())  ;
2682                                  }
2683                            }
2684
2685                             
2686 
2687                                    $.get('/siteservices.asp?service=productbox_addproductson&params='+objid+'|'+quantity+'|'+itemident + '|' + property + '|' + dimension_type , function(data)
2688                                    {
2689                                    
2690                                            var answer_array = data.split("|");
2691                                            var status  = answer_array[0];
2692                                            var message = answer_array[1];
2693
2694                                            if (status == "1")
2695                                            {
2696                                                Ajax_updateCartInfo();
2697                                            }
2698                                            else
2699                                            {
2700                                                if ( message != "" )
2701                                                {
2702                                                    alert ( message ) ;
2703                                                }
2704                                            }
2705                                    
2706                                    
2707                                    })
2708                              
2709                             
2710                        return false;
2711
2712                   });
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729                    $("body").on("click",".productbox_product_son_items .buttons a",function()
2730                   {
2731                      var obj       = this ;
2732                      var objid     = $(this).parents("li").find(".product_son_item").attr("itemid");
2733                      var itemident = $(this).parents("li").find(".product_son_item").attr("itemident");
2734                      var objaction = ""
2735
2736                        $(this).parent("div").find("input").each(function()
2737                        {
2738
2739                            if ( $(obj).hasClass("minus") )
2740                                {
2741                                     if ($(this).val() > 0)
2742                                     {
2743                                         var quantity_calc = ($(this).val() - 1) * 1;
2744                                         
2745                                                $(this).val(quantity_calc);
2746                                         
2747
2748                                     }
2749
2750                                }
2751                            else
2752                                {
2753                                    var quantity_calc = ($(this).val() * 1) + (1);
2754                                    
2755                                        
2756                                                $(this).val(quantity_calc);
2757                                         
2758
2759                                }
2760                        })
2761
2762                        var quantity = $(obj).parent("div").find("input").val();
2763
2764                          $.get('/siteservices.asp?service=productbox_addproductson&params='+objid+'|'+quantity+'|'+itemident, function(data)
2765                             {
2766                                    var answer_array = data.split("|");
2767	                                   var status  = answer_array[0];
2768	                                   var message = answer_array[1];
2769
2770                                       if (status == "1")
2771                                       {
2772                                          Ajax_updateCartInfo();
2773                                       }
2774                                       else
2775                                       {
2776                                           if ( message != "" )
2777                                           {
2778                                             alert ( message ) ;
2779                                           }
2780                                       }
2781                             })
2782                          return false;
2783                   });
2784
2785
2786
2787                    $("body").on("click","#mobile_minicart .delete a",function()
2788                      {
2789                             obj  =  $(this).attr("cartitemid") ;
2790                             $.get('/services/cartservices.asp?service=deletefromcart&params='+obj, function(data)
2791                             {
2792
2793                               RenderAllCarts(1);
2794                             })
2795                             return false;
2796                      });
2797
2798                    $("body").on("click","#mobile_header .header_smallcart",function()
2799                    {
2800                        
2801                          if ($("#mobile_header #minicarttotalquantity").length  )
2802                              {}
2803                              else
2804                              {
2805                                
2806                                  //Ajax_updateCartInfo();
2807                                  RenderAllCarts();
2808                              }
2809
2810
2811
2812                           if( $(".mobile_search_form").is(":visible"))
2813      	                  {
2814      		                $(".mobile_search_form").slideUp('fast');
2815      	                  }
2816
2817                        if( $(".mobile_menu").is(':visible'))
2818      	                  {
2819      	                    $(".mobile_menu").slideUp('fast');
2820      	                  }
2821
2822                          if ($("#SlidingCart").length && $("#SlidingCart").is(":visible")) {
2823                                   
2824                                 $("#SlidingCart").attr("style", "left:0px !important;");
2825
2826                                // Detect clicks anywhere on the page
2827                                $(document).on("click", function (event) {
2828
2829                                    // Check if the clicked element is NOT #SlidingCart or its desce
2829ndants
2830                                    
2831                                    if (!$(event.target).closest("#SlidingCart").length) {
2832                                        // If clicked outside, update the style of #SlidingCart
2833                                        $("#SlidingCart").css("left", "-400px");
2834                                    }
2835
2836                                });
2837  
2838                            }   else {
2839
2840                                mobile_minicart_toggle("4");
2841                            }
2842                          return false;
2843                    });
2844
2845                    var miniCarttimer = "";
2846                    var cartClass = "";
2847                    if ( $(".cart_icon_button").length ){
2848                         cartClass = "click";
2849                    }
2850                    else{
2851                        cartClass = "mouseenter";
2852                    }
2853
2854
2855                     if ( $("#miniCart .toggle-hover").length )
2856                     {
2857
2858
2859                    $("body").on( cartClass, "#miniCart", function()
2860                    {
2861                           clearTimeout(miniCarttimer);  
2862                        if ($("#miniCart #minicarttotalquantity").length  )
2863                        {}
2864                        else
2865                        {
2866                           RenderAllCarts();
2867                        }
2868
2869                        if ($("#miniCart .toggle-hover i").length)
2870                        {
2871                            var icon_obj    = $("#miniCart .toggle-hover i");
2872                            var icon_position = $(icon_obj).position();
2873                            var icon_width  = $(icon_obj).width();
2874                            var icon_height = $(icon_obj).height();
2875                            
2876                            var caluclate_top  = ((icon_position.top) * 1) + (icon_height*1) * 1 ;
2877                         
2878                            if ($("#miniCart").hasClass("open-left"))
2879                            {
2880                                $("#minicartdiv").css({
2881                                    "top"  : caluclate_top + 20 +"px",
2882                                    "left" :(icon_position.left*1) + (icon_width) - (icon_width/2)  - 28 + "px" ,
2883                                    "right": "auto"
2884                                });
2885                            }
2886                            else{
2887                            
2888                                $("#minicartdiv").css({
2889                                    "top"  : caluclate_top + 20 +"px",
2890                                    
2891                                    "left" : (icon_position.left*1) + (icon_width/2*1) - 520 + "px" ,
2892                                    
2893                                    "right": "auto"
2894                                });
2895                            }
2896
2897                        }
2898                        $("#minicartdiv").show();
2899
2900                        if ( cartClass == "click" ){
2901
2902
2903                      
2904
2905
2906
2907                         
2908                         }
2909 
2910                         if ( cartClass != "click" )
2911                            {
2912                                return false;
2913                            }
2914                        });
2915                    }
2916
2917
2918                        $("body").on("mouseleave","#miniCart", function()
2919                        {
2920                            clearTimeout(miniCarttimer);  
2921                            miniCarttimer = setTimeout(function() {
2922                                    $("#minicartdiv").hide();
2923                            }, 1000);
2924                            return false;
2925                        });
2926                   
2927                  
2928                    
2929
2930                        $("body").on("click","#minicart_continue",function()
2931                        {
2932                            $("#minicartdiv").hide();
2933                           mobile_minicart_toggle("5");
2934
2935                            return false;
2936
2937                        });
2938                         $(".cart_icon_button #minicartdiv a.button-silver.btn.btn-primary").click(function() {
2939                             window.location = "/cart.asp";
2940                           });
2941                    
2942                        mini_userbar_element();
2943
2944            
2945
2946
2947                     
2948                       $("ul.dropdown-menu").supersubs({
2949                            minWidth:    12,
2950                            maxWidth:    27,
2951                            delay:       0,
2952                            speed:       'fast',
2953                            speedOut:    'fast',
2954                            extraWidth:  1
2955                       }).superfish();
2956                     
2957                     }
2958                 );
2959 
2960                function dynamicproductscall (obj,miscOptionId)
2961                {
2962                    
2963                       var itemident = obj.parents(".productbox_product_son_dynamic").attr("itemident") ;
2964                       //var colors_images = obj.parents(".productbox_product_son_dynamic.colors_images").attr("itemident") ;
2965                       var calculate_tax =1;
2966                       $.ajax
2967                            (
2968                                {
2969                                    url: "/Service_product_son_misc.asp?itemident="+itemident+"&miscfields=" + miscOptionId,
2970                                    success: function(data)
2971                                    {
2972                                       
2973                                        if (data == 0)
2974                                        {
2975                                            obj.find(".its_itemid").html("ìà ðîöà îåöø äîúàéí ìáçéøúê");
2976                                            obj.find(".its_price").html("");
2977                                            obj.find(".its_btn").hide();
2978                                            obj.find(".its_quan").hide();
2979                                            return false;
2980                                        }
2981                                        else
2982                                        {
2983                                            var Num_After_dot = "2";
2984                                            var temp_dropDecimals = 0;
2985                                            if (Num_After_dot == "1" || Num_After_dot == "2" )
2986                                            {
2987                                                temp_dropDecimals = 2;
2988                                            }
2989
2990                                            dataarray                 = data.split("|")
2991                                            var its_itemident         = dataarray[0];
2992                                            var its_itemid            = dataarray[1];
2993                                            var its_itemprice         = dataarray[2];
2994                                            var its_quan              = dataarray[3];
2995                                            var its_image             = dataarray[4];
2996                                            
2997                                            var its_allowbuyingbyquan = "1";
2998
2999                                            if (its_quan > 0 || (its_quan <= 0 && its_allowbuyingbyquan==1) )
3000                                            {
3001                                               
3002                                                if ( its_image != "" )
3003                                                {
3004                                                   obj.parents(".boxItem").find(".image img").attr("src",its_image);
3005                                                }
3006                                                
3007                                                var its_itemprice = its_itemprice / calculate_tax;
3008                                                its_itemprice = its_itemprice.toFixed(Num_After_dot) ;
3009                                                obj.find(".its_btn").show();
3010                                                obj.find(".its_quan").show();
3011                                                obj.find(".its_itemid").html('î÷è: <span>' + its_itemid + '</span>, ');
3012                                                obj.find(".its_price").html(  its_itemprice  ).formatCurrency({
3013                                                    groupDigits: true , symbol: 'îçéø: ¤',
3014                                                    roundToDecimalPlace: temp_dropDecimals
3015                                                });
3016
3017                                                if ( obj.parents("li").find(".bundlecheckbox").length )
3018                                                {
3019                                                    obj.parents("li").find(".bundlecheckbox").val(its_itemid);
3020                                                    obj.parents("li").find(".bundlecheckbox").attr("price",its_itemprice);
3021                                                    change_total();
3022                                                }
3023
3024                                            }
3025                                            else
3026                                            {
3027
3028                                                obj.find(".its_itemid").html("äîåöø äîáå÷ù àéðå áîìàé");
3029                                                obj.find(".its_itemid").append("<a class='fancybox iframe quantityalertlink' href='/product_alert.asp?AlertType=2&itemident="+its_itemident+"'>äåãéòå ìé ùçæø ìîìàé</a>");
3030                                                obj.find(".its_price").html("");
3031                                                obj.find(".its_btn").hide();
3032                                                obj.find(".its_quan").hide();
3033
3034                                                if ( obj.parents("li").find(".bundlecheckbox").length )
3035                                                {
3036                                                    obj.parents("li").find(".dinamicitemsons .misc").each(function(){
3037                                                        $(this).val("");
3038                                                    })
3039                                                    obj.parents("li").find(".bundlecheckbox").val("");
3040                                                    obj.parents("li").find(".bundlecheckbox").attr("price",0);
3041                                                    change_total();
3042                                                    alert ("äîåöø äîáå÷ù àéðå áîìàé");
3043                                                }
3044 
3045                                                return false;
3046                                            }
3047                                        }
3048                                        return false;
3049
3050                                    }
3051                                }
3052                            );
3053                }
3054
3055              function scrollerrows()
3056              {
3057                $(window).scroll(function()
3058                        {
3059
3060                      var top=$(window).scrollTop();
3061                            if(top>1)
3062                            {
3063                                $("#scroll-all").fadeIn("slow");
3064                            }
3065                            else
3066                            {
3067                                $("#scroll-all").fadeOut("slow");
3068                            }
3069                });
3070
3071              }
3072
3073             function mycarousel_initCallback(carousel)
3074                {
3075                    // Disable autoscrolling if the user clicks the prev or next button.
3076                    carousel.buttonNext.bind('click', function() {
3077                        carousel.startAuto(0);
3078                    });
3079
3080                    carousel.buttonPrev.bind('click', function() {
3081                        carousel.startAuto(0);
3082                    });
3083
3084                    // Pause autoscrolling if the user moves with the cursor over the clip.
3085                    carousel.clip.hover(function() {
3086                        carousel.stopAuto();
3087                    }, function() {
3088                        carousel.startAuto();
3089                    });
3090                };
3091        
3092        var glastDivId = "";
3093        var gLastsmallLink = "";
3094
3095        function gswitchdiv(divid, smalldivid, DivNum) {
3096            try {
3097                    $('#gLnk_gsmall_' + DivNum + '_0').removeClass("current");
3098                    $('#gLnk_gsmall_' + DivNum + '_1').removeClass("current");
3099                    $('#gLnk_gsmall_' + DivNum + '_2').removeClass("current");
3100                    $('#gLnk_gsmall_' + DivNum + '_3').removeClass("current");
3101                }
3102            catch (err)
3103               { }
3104
3105               $('#' + divid).html($('#' + smalldivid).html());
3106               $('#gLnk_' + smalldivid).addClass("current");
3107
3108                if (glastDivId == divid && gLastsmallLink != smalldivid & glastDivId != "" && gLastsmallLink != "")
3109                    {
3110                      $('#gLnk_' + LastsmallLink).removeClass("current");
3111                    }
3112            glastDivId = divid;
3113            gLastsmallLink = smalldivid;
3114        }
3115
3116            var plastDivId = "";
3117            var pLastsmallLink = "";
3118               function pswitchdiv(divid, smalldivid, DivNum)
3119                {
3120                    try {
3121                           $('#pLnk_psmall_' + DivNum + '_0').removeClass("current");
3122                           $('#pLnk_psmall_' + DivNum + '_1').removeClass("current");
3123                           $('#pLnk_psmall_' + DivNum + '_2').removeClass("current");
3124                           $('#pLnk_psmall_' + DivNum + '_3').removeClass("current");
3125                        } catch (err) { }
3126
3127                       $('#' + divid).html($('#' + smalldivid).html());
3128                       $('#pLnk_' + smalldivid).addClass("current");
3129
3130                        if (plastDivId == divid && pLastsmallLink != smalldivid & plastDivId != "" && pLastsmallLink != "")
3131                            {
3132                                $('#pLnk_' + LastsmallLink).removeClass("current");
3133                            }
3134                        plastDivId = divid;
3135                        pLastsmallLink = smalldivid;
3136                }
3137
3138              function onAfter(curr, next, opts, fwd)
3139                {
3140                    var $ht = $(this).height();
3141                    $(this).parent().css("height", $ht);
3142                }
3143
3144                var lastDivId = "";
3145                var LastsmallLink = "";
3146                function switchdiv(divid, smalldivid, DivNum)
3147                   {
3148                       try
3149                       {
3150                           $('#Lnk_small_' + DivNum + '_0').removeClass("current");
3151                           $('#Lnk_small_' + DivNum + '_1').removeClass("current");
3152                           $('#Lnk_small_' + DivNum + '_2').removeClass("current");
3153                           $('#Lnk_small_' + DivNum + '_3').removeClass("current");
3154                       } catch (err)
3155                       {
3156                       }
3157                       $('#' + divid).html($('#' + smalldivid).html());
3158                       $('#Lnk_' + smalldivid).addClass("current");
3159                       if (lastDivId == divid && LastsmallLink != smalldivid & lastDivId != "" && LastsmallLink != "") {
3160                           $('#Lnk_' + LastsmallLink).removeClass("current");
3161                       }
3162                       lastDivId = divid;
3163                       LastsmallLink = smalldivid;
3164                   }
3165
3166                  $("body").on("click",".propertiesbox .properties-image",function(){
3167                    $(this).parent(".propertiesbox").find(".properties-image").each(function(){
3168                        $(this).removeClass("current");
3169
3170                    });
3171                    $(this).addClass("current");
3172                    $(this).parent(".propertiesbox").find("select").val($(this).attr("value")).change() ;
3173                    return false
3174                  });
3175                           
3176
3177
3178                function ProductBoxUpdatePrices(ItemId,itemIdent,startP,arrIP,PropVal,regPrice ,currentElement)
3179                        {
3180
3181                             var total = startP;
3182                             var propPrice = 0;
3183                             var pro_id    = '';
3184                             var pro_name  = '';
3185                             
3186                             // Find the closest li element to scope the search properly
3187                                 var currentLi = $(currentElement).closest("li");
3188                         
3189                             // Only search within the current li element to avoid duplicates
3190                             currentLi.find(".required-properties").each(function()
3191                             {
3192                                
3193                              /*
3194                                  console.log("Number of elements found:", currentLi.find(".required-properties").length);
3195                                  console.log("Options:", $(this).find("option").length);
3196                                  console.log("arrIP:", arrIP);
3197                                  console.log("Selected option:", $(this).val());
3198                                  console.log("Selected option:", $(this).find("option:selected").attr("value"));
3199                               */
3200                               
3201                                       if ( $(this).val() != '' )
3202                                       {
3203
3204                                          PropVal = $(this).val();
3205                                    
3206                                          arrProperty = PropVal.split('|');
3207                                          if ( PropVal != "")
3208                                          {
3209                                             propPrice = propPrice + Number(arrProperty[1]);
3210                                            
3211
3212                                             pro_id    = pro_id + '@'+arrProperty[2];
3213                                             pro_name  = pro_name + '/'+arrProperty[0]
3214      
3215                                             if (Number(arrProperty[1]) > 0 )
3216                                             {
3217                                              //total = Number ( (total*1) + (propPrice*1)) ;
3218                                              //total=total.toFixed(2);
3219                                              }
3220                                          }
3221                                       }
3222                             });
3223
3224                             if (propPrice > 0 )
3225                             {
3226                                 total = Number ((total*1) + (propPrice*1));
3227                                 total = total.toFixed(2);
3228                             }
3229
3230      
3231                              // Scope all element selections to the current li to avoid duplicates
3232                              currentLi.find("#prop_id_hid_"+itemIdent).val(pro_id);
3233                             
3234                              currentLi.find("#prop_name_hid_"+itemIdent).val(pro_name);
3235                              currentLi.find("#prop_price_hid_"+itemIdent).val(propPrice);
3236                              currentLi.find("#total_hid_"+itemIdent).val(total);
3237                              currentLi.find("#total"+itemIdent).html(total);
3238                              if (regPrice != 0)
3239                              {
3240                                 RegTotal = regPrice + propPrice;
3241                                 RegTotal=RegTotal.toFixed(2);
3242                                 currentLi.find("#totalreg"+itemIdent).html(RegTotal);
3243                              }
3244                        }
3245                
3246                 function PB_AddToCartWithProperties(pid,itemIdent,obj)
3247                 {
3248                    document.addme.pid.value = pid;
3249    	            var pip_str = ""
3250                    var pip_prices = 0
3251                    var pip_ids = ""
3252                    var temparr = ""
3253                    var isRequierd = ""
3254
3255                    pip_ids     = $("#prop_id_hid_" + itemIdent).val();
3256                    pip_str     = $("#prop_name_hid_" + itemIdent).val();
3257                    pip_prices  = $("#prop_price_hid_" + itemIdent).val();
3258
3259                    selectedproperties = "0" ;
3260                    $(obj).parents("li").find(".required-properties").each(function()
3261                    {
3262                        if ( $(this).val() == '' )
3263                            {selectedproperties = "1";}
3264                    });
3265
3266
3267                    if (pip_ids != "" && selectedproperties == "0" )
3268                    {
3269                        pip_str = pip_str.substr(1, pip_str.length - 1)
3270                        pip_ids = pip_ids.substr(1, pip_ids.length - 1)
3271
3272                        document.addme.pip_str.value    = pip_str;
3273                        document.addme.pip_prices.value = pip_prices;
3274                        document.addme.pip_ids.value    = pip_ids;
3275
3276                        
3277                                document.addme.submit();
3278                        
3279                    }
3280                    else
3281                    {
3282                        alert("çåáä ìáçåø îàôééï ìîåöø");
3283                     }
3284
3285                     return false;
3286                 }
3287
3288 
3289    
3290
3291             function s_addme_cart(pid, quan, pip_str, pip_prices, pip_ids, numOfItems, ItemPromotionIdentStr)
3292             {
3293              if (quan == undefined || quan==0 ){ quan = 1; }
3294               
3295                      document.s_addme.pid.value = pid
3296                      document.s_addme.quan.value = quan;
3297                      document.s_addme.submit();
3298               
3299             }
3300
3301  
3302                   
3303
3304 
3305            $(document).ready
3306                (
3307                function () {
3308                    ViewFloatingCart();
3309                    FloatingCartObj_StartEffects();
3310                    if ($.browser.msie) {
3311                        if (parseInt($.browser.version, 10) < 9) {
3312                            $("#SlidingCart").css({ 'position': 'fixed' });
3313                        }
3314                    }
3315                });
3316           
3317
3318 
3319	  
3320    
3321
3322	    function openTakanon(){
3323	        window.open("Page_pop.asp?page=216",null,"width=700,height=500,scrollbars=yes,resizable=yes")
3324	    }
3325        function openprivacy(){
3326            window.open("Page_pop.asp?page=",null,"width=700,height=500,scrollbars=yes,resizable=yes")
3327        }
3328
3329	    function username_validation()
3330	    {
3331	        $(".username_validation").focus(function(){
3332	            $(this).parent().find("div.error").replaceWith("");
3333	        });
3334
3335	        $(".username_validation").focusout(function(){
3336	            var username_input  =  $(this);
3337	            if ( $(username_input).val() != "")
3338	            {
3339	                $.get("/siteservices.asp?service=user_username_check&username=" + $(this).val() , function(data)
3340	                {
3341	                    if (data == "1")
3342	                    {
3343	                        $(username_input).val("");
3344	                        if ( $(username_input).parent().find("div.error").length )
3345	                        {
3346                                $(username_input).parent().find("div.error").html("ëúåáú ãåàø äàì÷èøåðé ÷ééîú áîòøëú, ðñä ìäúçáø");
3347	                        }
3348	                        else
3349	                        {   $(username_input).parent().append("<div class='error checkout_error'>ëúåáú ãåàø äàì÷èøåðé ÷ééîú áîòøëú, ðñä ìäúçáø</div>");  }
3350                            $("#loginlink").trigger("click");
3351                        }
3352	                });
3353	            }
3354	        });
3355	    }
3356         
3357
3358         function calculate_icons_position()
3359                        {
3360                             
3361
3362                              if (  $(".productBoxes .MiscFieldsIcons").length ) 
3363                                {
3364                                    $(".productBoxes .MiscFieldsIcons").each(function ()
3365                                    {
3366                                    if ($(this).parent().find(".ProductBox_promotion").length) {
3367                                        var icons_height  = $(this).parent().find(".ProductBox_promotion").height();
3368                                        if (icons_height > 0) {
3369                                                $(this).css("top", icons_height + "px");
3370                                            }
3371                                    }
3372                                    else
3373                                    {
3374                                        $(this).css("top", "0px");
3375                                    }
3376                                    });
3377                                }    
3378
3379                             $(".boxItem-wrap .MiscFieldsIcons").show();
3380                            
3381                        }
3382                        
3383	    $(document).ready
3384               (
3385 
3386                   function()
3387                   {
3388                        $("body").on("click",".email_share",function(){
3389                            var title = $('meta[property="og:title"]').attr('content');
3390                            var desc  = $('meta[property="og:description"]').attr('content');
3391                            var url   = $('meta[property="og:url"]').attr('content');
3392                            var image = $('meta[property="og:image"]').attr('content');
3393                            window.location.href = "mailto:[email protected]?subject=÷øàúé îàîø ùéòðééï àåúê&body="+ title + "<br>" + desc + "<br>" + url;
3394                            return false;
3395                        });
3396
3397                        $("body").on("click",".linkedin_share",function(){
3398                            var url = "";
3399                            var redirect_url = $(this).attr("href") + url;
3400                            //window.location.href = redirect_url
3401                            window.open(redirect_url);
3402                            return false;
3403                        });
3404                      
3405                        
3406
3407
3408                        
3409                          
3410
3411
3412                    $("body").on("change", ".cart_items_ul .value",function()
3413                       {
3414                             
3415                            var quantity                = $(this).val();
3416                            var quantity_action         = "odd";
3417                            var tmp_ee_list_item_obj    = $(this).parents(".ee_list_item");
3418                            var current_quantity        = $(this).attr("quantity");
3419                            var new_quantity            = quantity;
3420                            var quantity_request        = 1;
3421                            
3422                           // console.log( parseFloat(new_quantity) + '!=' + parseFloat(current_quantity));
3423
3424                            if  ( new_quantity != current_quantity ) {
3425
3426                                if (  parseFloat(new_quantity) > parseFloat(current_quantity) ) {
3427                                    quantity_action  = "odd";
3428                                    quantity_request = new_quantity - current_quantity;
3429                                   //  console.log( quantity_action + " " + parseFloat(new_quantity) + '>' + parseFloat(current_quantity));
3430                                }
3431
3432                                if ( parseFloat(new_quantity) < parseFloat(current_quantity) ) {
3433                                    quantity_action  = "minus";
3434                                    quantity_request = current_quantity - new_quantity;
3435                                 
3436                                }
3437                                
3438                            }
3439
3440
3441 
3442                            $.get('/services/cartservices.asp?service=setcartitemquantity&params=update&CartItemID='+$(this).next().attr("cartitemid")+'&quan_multiply=1&quan='+quantity , function(data)
3443                            {
3444                                       var answer_array = data.split("|");
3445	                                   var status  = answer_array[0];
3446	                                   var message = answer_array[1];
3447
3448                                       if (status == "1")
3449                                       {
3450 
3451                                            if (quantity_action == "minus" )
3452                                                {
3453                                                    
3454                                                    // cart_remove_from_cart = true;
3455                                                 
3456                                                    
3457                                                    
3458                                            }
3459
3460                                            if (quantity_action == "odd" )
3461                                                {
3462                                                   
3463                                                    // cart_add_to_cart = true;
3464                                                    
3465                                                    
3466                                                }
3467 
3468
3469                                            RenderAllCarts(1);
3470                                        
3471                                              
3472                               if (cookieconsent == true) {
3473                                           
3474                                                
3475 
3476                                                
3477                                                
3478
3479 
3480                                                if (quantity_action == "minus" )
3481                                                    {
3482                                                          
3483
3484                                                        
3485                                                    }
3486
3487                                                if (quantity_action == "odd" )
3488                                                    {
3489                                                          
3490                                                         
3491                                                    }
3492                                            
3493              }
3494
3495                                       }
3496                                       else
3497                                       {
3498                                            alert(message);
3499                                       }
3500
3501                                    })
3502                                    return false;
3503                       });
3504                         
3505                       $("body").on("change",".cart_dimension_type",function() {
3506                            var cartitemident  = $(this).parents(".ee_list_item").attr("itemident");
3507                            var cartitemid     = $(this).parent().find(".odd").attr("cartitemid");
3508                            var dimension_type = $(this).val();
3509                            $.get('/services/cartservices.asp?service=setcartitemdimension&itemident='+cartitemident+'&params='+dimension_type+"&CartItemID="+cartitemid  , function(data)
3510                            {
3511                                RenderAllCarts(1) ;
3512                            });
3513                        });
3514
3515                       $("body").on("click",".minicartsetquan",function()
3516                        {
3517                            
3518                            var quantity_action      = $(this).attr("action");
3519                            var quan_multiply        = $(this).parent().find(".value").attr("quan_multiply");
3520                            
3521                            var tmp_ee_list_item_obj = $(this).parents(".ee_list_item");
3522                            var quan_param = "";
3523                            var quantity_multiply = 1;
3524                            var quantity_request  = 1;
3525                            var current_quantity = $(this).parent().find(".value").val() || $(this).parent().find(".value").text();
3526  
3527                            if ( $(this).parent().find("input").length )
3528                            {
3529                                quan_param = "&quan=" + $(this).parent().find("input").val();
3530                            }
3531  
3532                            if ( $(tmp_ee_list_item_obj).find(".quantity .value").attr("quan_multiply") != "" )
3533                            {
3534                                quantity_multiply = $(tmp_ee_list_item_obj).find(".quantity .value").attr("quan_multiply");
3535                            }
3536
3537                            if ( $(this).parent().parent().find("input:checked").length ) {
3538                                if ( $(this).parent().parent().find("input:checked").val() == "0" ) {
3539                                    quantity_multiply = 1;
3540                                }
3541                            }
3542 
3543                            $.get('/services/cartservices.asp?service=setcartitemquantity&params='+quantity_action+"&CartItemID="+$(this).attr("cartitemid")+"&quan_multiply="+quantity_multiply + quan_param , function(data)
3544                                    {
3545                                       
3546                                       var answer_array = data.split("|");
3547	                                   var status  = answer_array[0];
3548	                                   var message = answer_array[1];
3549
3550                                       if (status == "1")
3551                                       {
3552 
3553                                         if (quantity_action == "minus" )
3554                                            {
3555                                                 
3556                                                // cart_remove_from_cart = true;
3557 
3558                                                
3559                                                
3560                                            }
3561
3562                                        if (quantity_action == "odd" )
3563                                            {
3564                                               
3565                                                // cart_add_to_cart = true;
3566
3567                                                
3568                                               
3569                                            }
3570
3571                                            RenderAllCarts(1) ;
3572
3573                                              
3574    if (cookieconsent == true) {
3575                                           
3576                                            
3577                                             
3578                                               
3579
3580                                                if ( quantity_action == "minus" )
3581                                                    {
3582                                                        
3583                                                   }
3584
3585                                                if ( quantity_action == "odd" )
3586                                                    {
3587                                                        
3588
3589                                                        
3590                                                    }
3591                                              
3592    }
3593                                       }
3594                                       else
3595                                       {
3596                                            alert(message);
3597                                       }
3598
3599                                    })
3600                                    return false;
3601                        });
3602
3603
3604                        $("body").on("click",".cart_items_ul .delete a",function()
3605                        {
3606                                obj  =   $(this).attr("cartitemid") ;
3607                                var tmp_ee_list_item_obj = $(this).parents(".ee_list_item");
3608                                var current_quantity = $(this).parents(".ee_list_item").find(".value").val() || $(this).parents(".ee_list_item").find(".value").text();
3609
3610                                $.get('/services/cartservices.asp?service=deletefromcart&params='+obj, function(data)
3611                                {
3612                                    var dataarray = data.split("|");
3613                                    if ( dataarray[0] == "0" )
3614                                         {
3615                                            alert (dataarray[1]);
3616                                         }
3617                                    else
3618                                        {
3619                                            //cart_remove_from_cart = true
3620                                               if (cookieconsent == true) {
3621                                           
3622                                                 
3623                                                
3624  
3625                                          
3626                                               }
3627                                            RenderAllCarts(1);
3628                                        }
3629
3630                                })
3631                                return false;
3632                        });
3633 
3634                      datecountdown();
3635
3636                      $("body").on("click",".close",function(){ 
3637                          if ( $(this).parent().hasClass("campain_wrap") )
3638                          {
3639                               $(this).parent().parent().hide(); 
3640                          }
3641                          else
3642                          {
3643                                $(this).parent().hide(); 
3644                          }
3645                          return false;
3646                          });
3647                      
3648
3649                       
3650                    }
3651                 );
3652
3653	    jQuery.fn.center = function ()
3654                      {
3655                            this.css("position","fixed");
3656                            var horizontalCenter =
3656 Math.floor(window.innerWidth/2 - ( $(this).outerWidth()/2));
3657                            var verticalCener = Math.floor(window.innerHeight/2 - ($(this).outerHeight()/2));
3658                            this.css("top", verticalCener + "px" );
3659                            this.css("left",horizontalCenter  + "px");
3660                            return this;
3661                        }
3662
3663       
3664    
3665
3666           function checkSectionfrm() {
3667                if (IsEmptyStr("document.memberFrm.UserName")) {
3668                    document.memberFrm.UserName.focus();
3669                    alert("ìà äåæï ùí îùúîù".charRefToUnicode());
3670                    return false;
3671                }
3672                if (IsEmptyStr("document.memberFrm.IDNum")) {
3673                    document.memberFrm.IDNum.focus();
3674                    alert("ñéñîà çééáú ìäëéì 4-20 úååéí, éù ìäæéï àåúéåú å/àå ñôøåú".charRefToUnicode());
3675                    return false;
3676                }
3677                return true;
3678            }
3679
3680 
3681function google_event_couponapply( coupon_code ){
3682    
3683        
3684}
3685
3686
3687var last_payment_info = '';
3688function google_event_addpaymentinfo( payment_info ){
3689    
3690        
3691}
3692
3693var last_shipping_method = '';
3694function google_event_begincheckout_add_shipping_info( shipping_value, shipping_method ){
3695        
3696        
3697        
3698        
3699}
3700
3701 function google_event_begincheckout(){
3702 
3703        
3704 }
3705
3706 
3707 function google_event_removefromcart()
3708 {
3709     
3710
3711
3712
3713
3714 
3715 
3716
3717 
3718 }
3719  
3720
3721
3722    function google_event_viewcart(){
3723
3724        
3725
3726    }
3727 
3728function flytocart(obj)
3729    {
3730                 
3731            var cart = $('#miniCart');
3732            var imgtodrag = $(obj).parents("li").find(".image img");
3733                        
3734            if (imgtodrag) {
3735                var imgclone = imgtodrag.clone()
3736                    .offset({
3737                        top: imgtodrag.offset().top,
3738                        left: imgtodrag.offset().left
3739                    })
3740                    .css({
3741                        'opacity': '0.5',
3742                        'position': 'absolute',
3743                        'height': '150px',
3744                        'width': '150px',
3745                        'z-index': '100'
3746                    })
3747                    .appendTo($('body'))
3748                    .animate({
3749                        'top': cart.offset().top + 10,
3750                        'left': cart.offset().left + 10,
3751                        'width': 75,
3752                        'height': 75
3753                    }, 1000, 'easeInOutExpo');
3754            
3755                setTimeout(function () {
3756                    cart.effect("shake", {
3757                        times: 2
3758                    }, 200);
3759                }, 1500);
3760
3761                imgclone.animate({
3762                    'width': 0,
3763                    'height': 0
3764                }, function () {
3765                    $(this).detach()
3766                });
3767            }
3768
3769            $('html, body').animate({
3770                'scrollTop' : $(cart).position().top
3771            }, 1000, 'easeInOutExpo');
3772 
3773    }
3774
3775String.prototype.charRefToUnicode = function()
3776{
3777    return this.replace(
3778    /&#(([0-9]{1,7})|(x[0-9a-f]{1,6}));?/gi,
3779    function(match, p1, p2, p3, offset, s)
3780    {
3781        return String.fromCharCode(p2 || ("0" + p3));
3782    });
3783}
3784
3785function loanCal(A,C,I) {
3786   
3787
3788    let monthlyInterestRate; // Define monthlyInterestRate outside the if block
3789    if ( I > 0 ) {
3790            I = I / 100; // Annual percentage rate
3791              monthlyInterestRate = I / 12;
3792        } else {
3793              monthlyInterestRate = I  ;
3794        }
3795    // Calculate monthly interest rate
3796      
3797
3798    // Calculate fixed monthly payment
3799    const fixedMonthlyPayment = calculateFixedMonthlyPayment(A, monthlyInterestRate, C);
3800    
3801   
3802
3803    let remainingAmount = A;
3804    let results = [];
3805
3806    for (let month = 1; month <= C; month++) {
3807        const interestPayment = remainingAmount * monthlyInterestRate;
3808        const principalPayment = fixedMonthlyPayment - interestPayment;
3809
3810        remainingAmount -= principalPayment;
3811  
3812        results.push({
3813            month: month,
3814            remainingAmount: parseFloat((remainingAmount).toFixed(2)) ,
3815            principal: parseFloat((principalPayment).toFixed(2)) ,
3816            interest: parseFloat((interestPayment).toFixed(2)) ,
3817            monthlyRepayment: parseFloat((fixedMonthlyPayment).toFixed(2))  
3818        });
3819    }
3820
3821    const totalLoanAmount = parseFloat((fixedMonthlyPayment * C).toFixed(2));
3822    const totalInterest = parseFloat((totalLoanAmount - A).toFixed(2));
3823	 
3824    
3825    
3826    return {
3827        monthlyDetails: results,
3828        totalLoanAmount,
3829        totalInterest,
3830		monthlyPayment: parseFloat(fixedMonthlyPayment.toFixed(2))  
3831    };
3832}
3833
3834function calculateFixedMonthlyPayment(loanAmount, monthlyInterestRate, totalMonths) {
3835    if ( totalMonths == 1 ) {
3836      
3837        return loanAmount*1 ;
3838        } else {
3839       
3840            if ( monthlyInterestRate > 0 ) {
3841            return loanAmount * monthlyInterestRate / (1 - (Math.pow(1 / (1 + monthlyInterestRate), totalMonths)));
3842            } else {
3843                return loanAmount /  totalMonths ;
3844            }
3845        }
3846    
3847}
3848
3849
3850$( document ).ready(function()
3851{
3852
3853       if ( $(".monthly_payments_select").length ) {
3854            $("body").on("change",".monthly_payments_select", function(){
3855                var monthly_payments_total = $(this).attr("total");
3856                var monthly_payments_ribit = $(this).find("option:selected").attr("ribit"); // Get the ribit attribute from the selected option
3857                var monthly_payments_num = $(this).val();
3858                var payment_details = loanCal(monthly_payments_total,monthly_payments_num,monthly_payments_ribit);
3859               if ( monthly_payments_num == 1   ) {
3860
3861                $(this).parent().find(".price .value").html(monthly_payments_total);
3862               }
3863               else {
3864                //console.log(payment_details.monthlyPayment);
3865                    $(this).parent().find(".price .value").html(payment_details.monthlyPayment.toFixed(2));
3866               }
3867                
3868            });
3869            $(".monthly_payments_select").trigger("change");
3870       }
3871
3872       $(".navbar-toggler").click(function(){
3873            if ( $(this).parent().hasClass("active") )
3874            {
3875                $(this).parent().removeClass("active");
3876                 $(this).attr('aria-expanded', 'false');
3877            }
3878            else
3879            {
3880                $(this).parent().addClass("active");
3881                 $(this).attr('aria-expanded', 'true');
3882            }
3883
3884       });
3885
3886
3887         $("body").on('mouseleave', '#floating-icons .icons-box',function (e) {
3888                            if (!$(e.target).is('input')) {
3889                              //   $('.content', this).removeClass("active");
3890                                $(this).removeClass("active");
3891                            }
3892                        });
3893  $("body").on('mouseenter', '#floating-icons .icons-box .icon', function () {
3894                           // $('.content', this).addClass("active");
3895                        $('#floating-icons .icons-box').removeClass("active");
3896                        $(this).parent().addClass("active");
3897                        
3898                        
3899                        if ( $(this).next().find("iframe").length  )
3900                            {
3901                                var iframedata = $(this).next().find("iframe").attr("data");
3902                                if ( iframedata != '' )
3903                                {
3904                                    $(this).next().find("iframe").attr("src" , iframedata);
3905                                    $(this).next().find("iframe").attr("data" , "");
3906                                }
3907                            }
3908                 })
3909                                     
3910                
3911                
3912username_validation()
3913 
3914 $("body").on("click","#usepointsbtn",function(){
3915            $.get("/services/CartServices.asp?service=points_cart_add", function(data)
3916            {
3917                if (data == "1")
3918                    {
3919                      RenderAllCarts();
3920                          startConfetti();
3921                    }
3922            });
3923                if ( $(this).attr("href") == 'cart.asp' )
3924                {
3925                    location.href=$(this).attr("href");
3926                }
3927        return false;
3928    });
3929 
3930$("body").on("click",".points_delete_btn",function(){
3931            $.get("/services/CartServices.asp?service=points_cart_del", function(data)
3932            {
3933                if (data == "1")
3934                    {
3935                      RenderAllCarts();
3936                    }
3937            });
3938        return false;
3939    });
3940
3941    $("body").on("click",".delete_coupon",function(){
3942            $.get("/services/CartServices.asp?service=deletecoupon", function(data)
3943            {
3944                if (data == "1")
3945                    {
3946                      RenderAllCarts();
3947                    }
3948            });
3949        return false;
3950    });
3951
3952   $(".populartag").click(function()
3953        {
3954                var randomnumber = Math.floor(Math.random()*1000)
3955                var tag_id = $(this).attr("tag_id");
3956                var tag_url = $(this).attr("href");
3957
3958                $.ajax({
3959                    url:'/Tags.asp?IsRecordTag=1&TagId='+tag_id+'&rnd='+randomnumber ,
3960                    type:'GET',
3961                    success:
3962                        function(data)
3963                        {
3964                             location.href = tag_url;
3965                        }
3966                   });
3967                return false;
3968        });
3969
3970    $("body").on("click",".toggle:not(.misc_title)",function()
3971        {
3972            $(this).next().toggle();
3973             if ( $(this).next().is(":visible")  )
3974                {
3975                    $(this).addClass("active");
3976                     $(this).attr('aria-expanded', 'true');
3977                }
3978                else
3979                {
3980                    $(this).removeClass("active");
3981                    $(this).attr('aria-expanded', 'false');
3982                    
3983                }
3984            return false;
3985        });
3986
3987    try {
3988
3989           if ($('#SlidingCart').length)
3990            { 
3991                RenderAllCarts();
3992               //get_cart_quantity();
3993            }
3994
3995           $('form.validate').each( function()
3996            {
3997                $(this).validate({});
3998            });
3999           
4000        }
4001    catch (err)
4002        { }
4003
4004});
4005
4006
4007
4008
4009
4010var glbl_int_cat1_menu_num = -1;
4011var glbl_bln_oncat2 = 0;
4012var checkout_validation = "";
4013function ViewFloatingCart()
4014    {
4015        /* if ($('#SlidingCart').length)
4016        {
4017           //  rnd = new Date().getTime();
4018           // SetInnerHTMLFromAjaxResponse("../inc/FloatingCart/FloatingCart.asp?rnd="+rnd,"SlidingCart");
4019        }*/
4020    }
4021
4022function setproductsonquantity()
4023    { }
4024
4025function setcustomscroller()
4026	{ }
4027
4028    function get_checkout_payments()
4029        {
4030             var deliveryprice = 0 ;
4031             var ribit = 0 ;
4032             var checkout_payments = default_payment;
4033           
4034             $("#OrderPayments option:selected").each(function ()
4035              {
4036                ribit = $(this).attr("ribit");
4037                checkout_payments = $(this).attr("value");
4038              });
4039               
4040              $("#delivery option:selected").each(function ()
4041                { deliveryprice = $(this).attr("price"); });
4042
4043                var checkout_payments_type = $('input[name=payment_type]:checked', '#checkout-form').val();
4044                var checkout_payments_id = $('input[name=payment_type]:checked', '#checkout-form').attr("id");
4045             var agree_credit_token = $('input[name=agree_credit_token]:checked', '#checkout-form').val();
4046
4047              var bitxt_p = $("#bit_phone").val();
4048    var bitxt_e = $("#bit_phone_ext").val();
4049               $.get('/siteservices.asp?service=get_checkout_payments&payment_id='+checkout_payments_id+'&payment_type='+checkout_payments_type+'&payments='+checkout_payments+"&lang="+currentSiteLang+"&CurrencyID="+currentCurrency+"&delivery_price=" + deliveryprice+"&agree_credit_token=" + agree_credit_token + "&bitxt_e=" + bitxt_e + "&bitxt_p=" + bitxt_p, function (data)
4050                {
4051                    $("#checkout_payments").html(data);
4052                            
4053                        if ( $("input[name=payment_type]:checked").length == 0 )
4054                            {
4055                                $("input[name=payment_type]").eq(0).attr('checked', true);
4056                            }
4057                       
4058                        if ( $("input[name=payment_type]:checked").val() == "bit" ) {
4059                             $("#bit_phone_div").show();
4060                            }
4061
4062                        if ( $("input[name=payment_type]:checked").attr("payments") == "0" )
4063                            {
4064                                $("#OrderPayments").val("1");
4065                                $("#OrderPayments").trigger("change");
4066                                $("#OrderPayments").next().find(".sbSelector").html("1");
4067                                $("#OrderPayments").next().hide();
4068                                $(".payments_wrap").hide();
4069                            }
4070 
4071                        try {
4072                                if ( checkout_validation != "1" && global_settings_bootstrap != "1" )
4073                                {
4074                                    $("select#OrderPayments").selectbox();
4075                                }
4076                        }
4077                        catch (err)
4078                        {}
4079 
4080                        if ( $("#bit_phone_ext").length && $("#Phone_ext").length ){
4081                            if ( $("#bit_phone").val() == '' && $("#bit_phone_ext").val() == '' ){
4082                                $("#bit_phone").val(  $("#Phone").val()  )
4083                                $("#bit_phone_ext").val( $("#Phone_ext").val() )
4084                            }
4085                        }
4086
4087
4088                            
4089                            
4090                            
4091                            
4092
4093                  
4094                });
4095        }
4096  function get_checkout_relative_items()
4097        {
4098            $.get("/siteservices.asp?service=get_checkout_relative_items&lang="+currentSiteLang+"&CurrencyID="+currentCurrency, function (data)
4099                {
4100                    $("#checkout_relative_items").html(data);
4101                    dependonwidget();
4102                });
4103        }
4104
4105 function ShowAllCarts()
4106 {
4107
4108        if ($('#SlidingCart').length)
4109        {
4110            $('#SlidingCart').show();
4111        }
4112
4113        if ($("#sidebarcart").length || $("#checkout_fullcart").length || '' == '1'  || '' == ''  )
4114        {
4115            RenderAllCarts();
4116        }
4117        else
4118        {
4119
4120        
4121        $("#mobile_smallcart_items_counter").html('0');
4122        $("#miniCart #cartQuantity").html('0');
4123  
4124        if ( $(".smallcart").length >0 )
4125        {
4126            //console.log('0');
4127            if( 0 >0 )
4128            {
4129
4130                $(".smallcart #cartEmptyTR").hide();
4131                $(".smallcart #cartPriceTR").show();
4132                $(".smallcart #cartPrice").html('');
4133                $(".smallcart #cartQuantity").html('0');
4134                
4135            }
4136            else
4137            {
4138                $(".smallcart #cartEmptyTR").show();
4139                $(".smallcart #cartPriceTR").hide();
4140            }
4141        }
4142        setcustomscroller();
4143
4144       if ($('#SlidingCart').length)
4145        {
4146            if( 0 > 0 )
4147                {
4148                    $("#SlidingCart #CartIcon").removeClass('empty');
4149                    $("#floatingcart-total").html('0');
4150                }
4151            else
4152                {
4153                    $("#SlidingCart #CartIcon").addClass('empty');
4154                    $("#floatingcart-total").html('');
4155                }
4156        }
4157        }
4158 }
4159
4160
4161 function dependonwidget() {
4162    $(".dependonwidget").each(function () {
4163
4164        // Get the target designbox ID from the attribute"
4165        var dependonwidgetid = $(this).attr("dependonwidgetid");
4166        var $target = $("#designbox_" + dependonwidgetid);
4167
4168        // Safety check: if no such element exists, skip
4169        if (!$target.length) {
4170            return;
4171        }
4172
4173        // Check only the actual content, without script tags
4174        var $content = $target.find('.content');
4175
4176        // Check if there are products
4177        var hasProducts = $content.find('ul.productBoxes li').length > 0;
4178
4179        // Check if there are images
4180        var hasImages = $content.find('img').length > 0;
4181
4182        // Check if there is real text
4183        var hasText = $.trim($content.text()) !== "";
4184
4185        if (hasProducts || hasImages || hasText) {
4186             $(this).removeClass("hide-v");
4187        } else {
4188             $(this).addClass("hide-v");
4189        }
4190    });
4191}
4192
4193
4194function get_cart_quantity(){
4195    $.get("/services/CartServices.asp?service=get_cart_quantity", function(data)
4196    {
4197        
4198    });
4199}
4200
4201 function RenderAllCarts(render_sonquan)
4202{
4203   
4204  if (render_sonquan == undefined )
4205    {
4206        render_sonquan=0;
4207    }
4208     if ( $("#sidebarcartdiv").length )
4209      {
4210        render_sonquan=1;
4211      }
4212
4213 try {
4214     var add_js_cartid = ''
4215     if (js_cartid != '')
4216     {
4217        add_js_cartid = "&cartid="+js_cartid+"&lang="+currentSiteLang+"&CurrencyID="+currentCurrency
4218        //add_js_cartid = "&cartid="+js_cartid
4219        
4220
4221     }
4222
4223    if ($(".page-checkout").length >0)
4224        {
4225           add_js_cartid = add_js_cartid + "&checkout=1"
4226           $.get("/services/CartServices.asp?service=cartdeliverydelete" + add_js_cartid , function(data)
4227            {});
4228              
4229        }                        
4230    
4231    $.get('/services/cartservices.asp?service=getcart'+add_js_cartid+"&n=1", function (data)
4232    {
4233
4234        $("#minicartdiv #minicartdiv_container").html(data);
4235        $("#minicartdiv #minicartdiv_total").empty();  
4236        $("#minicartdiv .minicartbottom").appendTo('#minicartdiv_total');  
4237
4238        $("#mobile_minicart #mobile_minicart_container").html( data );
4239        $("#mobile_minicart #mobile_minicart_total").empty(); 
4240        $("#mobile_minicart .minicartbottom").appendTo('#mobile_minicart_total');  
4241      
4242        if ( ! $("#mobile_minicart .close-icon").length )
4243        {
4244            $("#mobile_minicart").append('<i class="fa fa-times close-icon" aria-hidden="true"></i>');
4245        }
4246        
4247 
4248
4249        $("#sidebarcart").html(data);
4250      
4251        $("#shoppingcart").html(data);
4252
4253   
4254      if ($('#SlidingCart').length)
4255            {
4256              $(".FlyingCartDivWrap").html(data);
4257               if( $("#minicartproductcount").val() >0 )
4258                {
4259                    $("#SlidingCart #CartIcon").removeClass('empty');
4260                    $("#floatingcart-total").html($("#minicartproductcount").val());
4261                }
4262                else
4263                {
4264                    $("#SlidingCart #CartIcon").addClass('empty');
4265                     $("#floatingcart-total").html('0');
4266                }
4267               
4268                if ( $("#SlidingCart .promotion_notice.success").length ){
4269                     startConfetti();
4270                }
4271
4272                if ( $("#SlidingCart .promotions-carousel").length ){
4273
4274                    if ( $("#SlidingCart .promotion-item").length > 1 ) {
4275                    
4276
4277                    
4278 
4279                    }
4280
4281                };
4282
4283            if ( $("#SlidingCart #promotionsoffers").length ){
4284                if ( $("#SlidingCart #promotionsoffers .promotionsofferitemsul li ").length > 1 ) {
4285                    
4286                }
4287            } ;
4288
4289
4290            if ( $("#SlidingCart .cart-relatives-carousel").length ){
4291                if ( $("#SlidingCart .cart-relatives-carousel .relatives-carousel .relative-item").length > 1 ) {
4292                    
4293                }
4294            }
4295
4296        const $cartDiv = $('#SlidingCart'); // The parent container
4297        const $cartItems = $('#SlidingCart .cart_items_ul'); // The list element
4298        const $bottomDiv = $('#SlidingCart .minicartbottom'); // The bottom section
4299        const $cartHeader = $('#SlidingCart .cart_header'); // The progress bar
4300        
4301        // Calculate the height of other elements
4302        const otherElementsHeight = 
4303            $bottomDiv.outerHeight(true) + 
4304            $cartHeader.outerHeight(true) + 
4305            15; // Adjust for additional padding or margins if needed
4306
4307        // Calculate the available height for the cart items
4308        const availableHeight = $cartDiv.outerHeight() - otherElementsHeight;
4309
4310        // Set the max-height of the cart items
4311        $cartItems.css({
4312            'max-height': `${availableHeight}px`,
4313            'overflow-y': 'auto'
4314        });
4315
4316            }
4317
4318
4319        $("#mobile_smallcart_items_counter").html($("#minicartproductcount").val());
4320        $("#miniCart #cartQuantity").html($("#minicartproductcount").val());
4321 
4322    
4323        if ($(".checkout_fullcart").length >0)
4324        {
4325             $(".checkout_fullcart .cart").html(data);
4326             if ($(".checkout_fullcart .cart #minicarttotalquantity").val()==0)
4327             {
4328                 location.reload();
4329             }
4330             else
4331             {
4332
4333                try {
4334        
4335                        get_checkout_relative_items();
4336                        get_checkout_payments();
4337                        get_checkout_shipping();
4338                        setTimeout(function() {calculateordertotal()}, 500);
4339
4340                }
4341                catch (err)
4342                { }
4343  
4344                //console.log('calculateordertotal');
4345             }
4346        }
4347
4348
4349        if ( $(".smallcart").length >0 )
4350        {
4351            //$(".smallcart #cartQuantity").html("<div id='smallcartdata' style='display:none'>"+data+"</div>");
4352            if( $("#minicartproductcount").val() >0 )
4353            {
4354
4355                $(".smallcart #cartEmptyTR").hide();
4356                $(".smallcart #cartPriceTR").show();
4357                $(".smallcart #cartPrice").html($("#minicarttotal").val());
4358                $(".smallcart #cartQuantity").html($("#minicartproductcount").val());
4359
4360            }
4361            else
4362            {
4363                $(".smallcart #cartEmptyTR").show();
4364                $(".smallcart #cartPriceTR").hide();
4365            }
4366        }
4367
4368        if (render_sonquan=="1")
4369        {
4370            setproductsonquantity();
4371        }
4372        setcustomscroller();
4373 
4374        ViewFloatingCart();
4375
4376
4377            if ( $("#minicartproductcount").val() == "0" )  
4378                {
4379                    $(".cart-link").each( function() 
4380                    {
4381                        $(this).attr("href","#");
4382                    });
4383                }
4384            else
4385            {
4386                  $(".cart-link").each( function() {
4387                        $(this).attr("href","/cart.asp");
4388                    });
4389            }
4390        
4391        
4392         
4393
4394        $("#minicartdiv .cart_dimension_type").each( function ( index ){
4395            var temp_attr_name  = $(this).attr("name");
4396            $(this).attr("name", temp_attr_name + "mc"  );
4397            var attr = $(this).attr('checked');
4398            if (typeof attr !== typeof undefined && attr !== false) {
4399                $(this).prop("checked", true); 
4400            }
4401        });
4402 
4403        $("#sidebarcartdiv .cart_dimension_type").each( function ( index ){
4404            var temp_attr_name  = $(this).attr("name");
4405            $(this).attr("name", temp_attr_name + "sb"  );
4406            var attr = $(this).attr('checked');
4407            if (typeof attr !== typeof undefined && attr !== false) {
4408                $(this).prop("checked", true); 
4409            }
4410        });
4411
4412
4413            if ( $("#cart-points").length > 0 )
4414            {
4415                $.get('/siteservices.asp?service=points_cart_get', function(data)
4416                    {
4417                        $("#cart-points span").html(data);
4418                        
4419                    });
4420            }
4421
4422  
4423 
4424    }) ;
4425}
4426catch (err)
4427        { }
4428 
4429}
4430
4431 var cartmobilepopuptimer = "";
4432
4433function mobile_minicart_toggle(num)
4434{
4435    // console.log("mobile_minicart_toggle = " + num);
4436     $("#mobile_minicart").toggle();
4437}
4438
4439function Ajax_updateCartInfo()
4440{
4441	  
4442     RenderAllCarts();
4443
4444     try {
4445 
4446            clearTimeout(cartmobilepopuptimer);   
4447            
4448            if (  !$("#mobile_minicart").is(':visible') )
4449            {
4450                //$("#mobile_header .header_smallcart").trigger("click");
4451               mobile_minicart_toggle("6");
4452            }
4453 
4454             cartmobilepopuptimer = setTimeout(function() {
4455                    //$("#mobile_header .header_smallcart").trigger("click");
4456                  mobile_minicart_toggle("7");
4457               }, 6000 );
4458            
4459            
4460         }
4461     catch (err)
4462         { }
4463    
4464     if ($('#SlidingCart').length)
4465        {
4466            OpenFloatingCart();
4467        }
4468        else
4469        {
4470             OpenSmallCart();
4471        }
4472        
4473        cart_opened = true;
4474       
4475}
4476
4477
4478
4479
4480
4481function AddToCartAjaxDivNote(xml, p, t)
4482{
4483
4484
4485        try { removeAjaxDivNote(); }
4486        catch (e) { }
4487
4488            var e
4489	        if(window.ActiveXObject){
4490	        // *** IE
4491	            var xmlDom = getDOMObject();
4492	            xmlDom.loadXML(xml);
4493	            p = xmlDom.getElementsByTagName("PRICE")[0].text;
4494	            t = xmlDom.getElementsByTagName("QUANTITY")[0].text;
4495	        }
4496	        else if (document.implementation && document.implementation.createDocument)
4497	        {
4498	        // *** Mozilla
4499	        var oParser = new DOMParser();
4500	        var xmlDom = oParser.parseFromString(xml,'text/xml');
4501	            p = xmlDom.getElementsByTagName("PRICE")[0].textContent;
4502	            t = xmlDom.getElementsByTagName("QUANTITY")[0].textContent;
4503	        }
4504
4505	        if (p != "" && t != "" && p != "undefined" && t != "undefined") {
4506	            try {
4507	                var ni = document.getElementById('MainWrapDiv');
4508	                var newdiv = document.createElement('div');
4509	                var divIdName = 'AddToCartAjaxDivNote';
4510	                newdiv.setAttribute('id', divIdName);
4511	                newdiv.innerHTML = "<a class=\'DelAddToCartAjaxDivNote\' href=\'#\' onclick=\'removeAjaxDivNote()\'><span>X</span></a> <h3>"+CartAjaxAddTxt+"</h3><p class='info'> " + t+ " " +CartAjaxQuantityName +  " | " +CartAjaxTotalName+ " " + currentCurrencySign+p +  "</p><p class='buttons'><a class='cartlink' href='/cart.asp' >"+CartAjaxBuyingTxt+"</a>&nbsp;<a class='checkoutlink' href='#' onclick=\'removeAjaxDivNote()\' >"+CartAjaxContinueTxt+"</a></p>";
4512	                ni.appendChild(newdiv);
4513                    showdeadcenterdiv("AddToCartAjaxDivNote");
4514	            }
4515	            catch (e) { }
4516	        }
4517    }
4518 
4519
4520var ObjName;
4521var tempval;
4522var templateSubCatOffset=0;
4523
4524function IsEmptyStr(objName){
4525	if (eval(objName+".value")==""){
4526		return true;
4527	}
4528	else{
4529		tempval = new String(eval(objName+".value"))
4530		for (y=0;y<tempval.length;y++){
4531				if (tempval.substring(y,y+1) != " "){
4532					tempval=tempval.slice(y,tempval.length);
4533					y = tempval.length;
4534					eval(objName+".value = tempval")
4535				}
4536				else {
4537						if (y == tempval.length-1){
4538							eval(objName+".value = ''")
4539							return true;
4540						}
4541				}
4542		}
4543	}
4544	tempval = new String(eval(objName+".value"))
4545	for (y=tempval.length;y>0;y--){
4546		if (tempval.substring(y-1,y) != " "){
4547			tempval = tempval.slice(0,y);
4548			y=0;
4549			eval(objName+".value = tempval")
4550		}
4551	}
4552	return false;
4553}
4554
4555
4556function Cat_mouseover(cate1,num){
4557if (cate1 != glbl_int_cat1_menu_num){
4558glbl_int_cat1_menu_num = cate1;
4559
4560var start_div = "";
4561var mid_div = "";
4562var end_div = "";
4563var found_cat2 = 0;
4564eval("cat2array = cat1_"+cate1+"_cat2array")
4565//	document.body.scrollLeft = 150;
4566	
4567	winW2 = (document.layers)? window.innerWidth-16 : document.body.offsetWidth-20
4568	winW1 = 960
4569	winW = (winW2-winW1)/2 + winW1
4570	
4571	my = (document.layers)? e.layerY:event.y;
4572	mx = (document.layers)? e.layerX:event.x;
4573	my_off = event.offsetY
4574	mx_off = event.offsetX
4575	my_dsTOP = document.body.scrollTop
4576	my_dsLFT = document.body.scrollLeft
4577
4578
4579	document.getElementById("Cat2lay").style.top = my-20+my_dsTOP;
4580	if (langdir == "rtl" ){
4581		document.getElementById("Cat2lay").style.left = winW-235+my_dsLFT+templateSubCatOffset;}
4582	else {
4583	   
4584		document.getElementById("Cat2lay").style.left = 229;
4585	   
4586	}
4587
4588	if (num > 0){
4589		tbl_mover = "onmouseover=document.all.df"+num+".style.backgroundColor='#FFFFFF'"
4590		tbl_mout = "onmouseout=document.all.df"+num+".style.backgroundColor=''"
4591	}
4592	else{
4593		tbl_mover = ""
4594		tbl_mout = ""
4595	}
4596
4597	start_div = "<table cellpadding=4 cellspacing=1 border=0 bgcolor='black' width=120 "+tbl_mover+" "+tbl_mout+" style='cursor:hand'>";
4598	for (i=0;i < cat2array.length;i++){
4599		if (cat2array[i][0]==cate1){
4600			//products_href = "products.asp?Cat2Cat1ID="+cat2array[i][0]+"&Cat2ID="+cat2array[i][1];
4601			var products_href = "items~"+cat2array[i][0]+"~"+cat2array[i][1]+".htm";
4602			mid_div=mid_div+"<tr><td bgcolor='#898989' align=center id=cat2mo"+i+" class='sub_cats_txt_col' onmouseover='Cat2_mouseover("+i+")'  onmouseout='Cat2_mouseout("+i+")' onclick=document.location='"+products_href+"' dir='"+langdir+"'>"+cat2array[i][2]+"<\/td><\/tr>";
4603		}
4604	}
4605
4606	end_div = "<\/table>";
4607	document.getElementById("Cat2lay").innerHTML = start_div+mid_div+end_div;
4608	document.getElementById("Cat2lay").style.display = 'block'
4609
4610}
4611}
4612
4613
4614function Cat_mouseout(){
4615	if (document.getElementById("Cat2lay").style.display == 'block')
4616		var timer = setTimeout('close_menus()',2500);
4617}
4618
4619function close_menus(){
4620	if (glbl_bln_oncat2 == 0){
4621		document.getElementById("Cat2lay").style.display = 'none'
4622		glbl_int_cat1_menu_num = -1;
4623	}
4624}
4625
4626
4627function Cat2_mouseover(i){
4628	glbl_bln_oncat2 = 1;
4629	eval("document.all.cat2mo"+i+".style.backgroundColor='#898989'")
4630	eval("document.all.cat2mo"+i+".style.color='white'")
4631}
4632
4633function Cat2_mouseout(i){
4634	glbl_bln_oncat2 = 0;
4635	eval("document.all.cat2mo"+i+".style.backgroundColor='#898989'")
4636	eval("document.all.cat2mo"+i+".style.color='#000000'")
4637}
4638
4639function opendiv(cat1id){
4640	if (eval("document.all.tbl_"+cat1id+".style.display") == 'none'){
4641		eval("document.all.pic_"+cat1id+".src = 'images/minus.gif'")
4642		eval("document.all.tbl_"+cat1id+".style.display = 'block'")
4643	}
4644	else{
4645		eval("document.all.pic_"+cat1id+".src = 'images/plus.gif'")
4646		eval("document.all.tbl_"+cat1id+".style.display = 'none'")
4647	}
4648
4649}
4650
4651function directcat1(cid){
4652	eval("cat2array = cat1_"+cid+"_cat2array")
4653	found_cat2 = 0;
4654	for (i=0;i < cat2array.length;i++){
4655		if (cat2array[i][0] == cid){
4656			found_cat2 = cat2array[i][1]
4657			break
4658		}
4659	}
4660	if (found_cat2 == 0){
4661		//document.location='products.asp?Cat2Cat1ID='+cid;
4662		document.location='items~'+cid+'.htm';
4663	}
4664	else{
4665		//document.location='products.asp?Cat2Cat1ID='+cid+'&Cat2ID='+found_cat2;
4666		document.location='items~'+cid+'~'+found_cat2+'.htm';
4667	}
4668}
4669
4670function subserach(){
4671	if ((IsEmptyStr('document.all.srch_str.value')) || (document.all.srch_str.value.length > 1) || document.all.srch_manufact.value != ""){
4672		document.quicksearch.qsearch.value = document.all.srch_str.value
4673		document.quicksearch.qmanufact.value = document.all.srch_manufact.value
4674		document.quicksearch.submit()
4675	}
4676}
4677
4678function chkchr(){
4679    if (window.event.keyCode == 13)
4680        subserach()
4681}
4682
4683
4684function setCartInfo(xml,p,t){
4685
4686	var e
4687
4688	var cartarray = xml.split("{|}");
4689	var p = cartarray[1];
4690	var t = cartarray[2];
4691
4692	//var p = $(xml).find('PRICE').text();
4693    //var t = $(xml).find('QUANTITY').text();
4694
4695	if (p != "" && t != "" && p != "undefined" && t != "undefined"){
4696	    try
4697        {
4698    	    $("#cartQuantity").html(t);
4699            $("#cartPrice").html(p);
4700            //var cartp = document.getElementById("cartPrice");
4701		    //var cartq = document.getElementById("cartQuantity");
4702    		var cartpTR = document.getElementById("cartPriceTR");
4703    		var cartqTR = document.getElementById("cartQuantityTR");
4704		    var carteTR = document.getElementById("cartEmptyTR");
4705		    carteTR.style.display = 'none';
4706    		//cartp.innerHTML = p;
4707	    	//cartq.innerHTML = t;
4708            cartpTR.style.display = '';
4709    		cartqTR.style.display = '';
4710    	}
4711    	catch(e){};
4712	}
4713	else{
4714	    try
4715	    {
4716	        var carteTR = document.getElementById("cartEmptyTR");
4717		    carteTR.style.display = '';
4718		}
4719		catch(e){}
4720	}
4721}
4722
4723// Floating banners //
4724var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1
4725
4726function positionit(pos,div,w,h,ho,vo){
4727	//ho = HorizontalOffset //vo = VerticalOffset;
4728	var bannerObj=ie? eval("document.all."+div) : document.getElementById? document.getElementById(div) : eval("document."+div)
4729	var dsocleft=ie? document.body.scrollLeft : pageXOffset
4730	var dsoctop=ie? document.body.scrollTop : pageYOffset
4731	var window_width=ie? document.body.clientWidth : window.innerWidth-20
4732
4733	if (ie||document.getElementById){
4734		if(pos == "L")
4735			bannerObj.style.left=parseInt(dsocleft)+5+ho
4736		else
4737			bannerObj.style.left=parseInt(dsocleft)+parseInt(window_width)-w-ho
4738		bannerObj.style.top=parseInt(dsoctop)+5+vo
4739	}
4740	else if (document.layers){
4741		if(pos == "L"){
4742			bannerObj.left=dsocleft+5+ho
4743			bannerObj.top=dsoctop+5+vo
4744		}
4745		else{
4746			bannerObj.left=dsocleft+window_width-ho-w
4747			bannerObj.top=dsoctop+window_height+5+vo
4748		}
4749	}
4750}
4751
4752function beingFloatingBanners(){
4753	var window_width=ie? document.body.clientWidth : window.innerWidth-20
4754	
4755		if(window_width > 1100){
4756			if (document.getElementById("FloatBNRight").innerHTML.length > 20 ){
4757				document.getElementById("FloatBNRight").style.display='block';
4758				setInterval("positionit('R','FloatBNRight',80,200,25,0)",50);
4759			}
4760			if (document.getElementById("FloatBNLeft").innerHTML.length > 20 ){
4761				document.getElementById("FloatBNLeft").style.display='block';
4762				setInterval("positionit('L','FloatBNLeft',80,200,2,0)",50);
4763			}
4764		}
4765	
4766}
4767</script>
4767
4768
4769  
4770
4771
4772     
4773    
4774    
4775    
4775<script>
4776
4777
4778   
4779
4780
4781$( document ).ready(function() {
4782
4783    
4784    
4785    $( ".first_layer" ).delegate( "*", "focus blur", function() {
4786        var elem = $( this );
4787            if(elem.is(":focus") == true ){
4788            elem.parent().addClass( "active" );
4789        }
4790        else {
4791            elem.parent().removeClass( "active" );
4792        }
4793    });
4794
4795    
4796
4797    $("body").on( "click", ".product_add_to_cart_button", function(){
4798    
4799        var product_ids ='';
4800        $(".item_checkbox_input:checked").each( function(){
4801             if ( $(this).parents(".boxItem").find(".product_son").length ) {
4802                product_ids = product_ids + $(this).parents(".boxItem").find(".product_son:checked").val()+ ", ";
4803             } 
4804             else 
4805             {
4806                if ( $(this).val() != '' ){
4807                    product_ids = product_ids + $(this).val() + ", ";
4808                }
4809            }
4810        });
4811
4812        if ( product_ids != '' ){
4813            product_ids = product_ids.substring(0, product_ids.length - 2);
4814         
4815            $.post( "/cartLogic.asp?ajax=1", { pid:product_ids } ).done(function( data ) {
4816                RenderAllCarts();
4817                OpenSmallCart();
4818            });
4819        }
4820    return false;
4821    });
4822    
4823
4824   
4825
4826    $("body").on( "click", "#product_multi_checkbox", function(){
4827
4828        if  ( $(this).is(":checked") )      
4829            {
4830                $(".item_checkbox_input").each (function(){
4831                $(this).prop("checked",true);
4832                });
4833            }
4834        else
4835            {
4836                $(".item_checkbox_input").each (function(){
4837                    $(this).prop("checked",false);
4838                });
4839            }
4840 
4841    });                        
4842       
4843  });
4844
4845 $(document).ready(function() {
4846   
4847   
4848    // Hide the div when clicking the close icon
4849    $(document).on('click', '.close-icon', function() {
4850        $(this).parent().hide();
4851    });
4852
4853     // Hide the div when clicking outside of it
4854   $(document).click(function(event) {
4855        var $target = $(event.target);
4856        if(!$target.closest('.mobile_search_form').length && $('.mobile_search_form').is(":visible")) {
4857            $('.mobile_search_form').hide();
4858        }
4859
4860         if(!$target.closest('#mobile_minicart').length && $('#mobile_minicart').is(":visible")) {
4861           $('#mobile_minicart').hide();
4862        }
4863    });
4864
4865    
4866});
4867
4868
4869(() => {
4870  const prefix = 'animate__';
4871
4872  function play(el, anim) {
4873    const trimmedAnim = anim.trim();
4874    const cls = `${prefix}${trimmedAnim}`;
4875    el.classList.add(`${prefix}animated`, cls);
4876    el.addEventListener('animationend', () => {
4877      el.classList.remove(cls);         
4878    }, { once: true });
4879  }
4880
4881  function stripAnimate(el) {
4882    // remove any animate.css classes that might have been pre-added
4883    el.className = el.className.replace(/\banimate__\S+/g, '').trim();
4884  }
4885
4886  let io = null;
4887
4888  function getObserver() {
4889    if (io) return io;
4890    const prefersReduced = matchMedia('(prefers-reduced-motion: reduce)').matches;
4891
4892    // If your items scroll inside a container, set root to that container
4893    // const rootEl = document.querySelector('.your-scrollable-wrapper');
4894
4895    io = new IntersectionObserver((entries, obs) => {
4896      entries.forEach(entry => {
4897        if (!entry.isIntersecting || entry.intersectionRatio < 0.01) return;
4898
4899        const el = entry.target;
4900        const anim = el.getAttribute('data-animation');
4901
4902        if (prefersReduced) {
4903          el.classList.add(`${prefix}animated`); // reveal without motion
4904        } else {
4905          play(el, anim);
4906        }
4907
4908        obs.unobserve(el); // animate once
4909      });
4910    }, {
4911      root: null,        // change to rootEl if not window scrolling
4912      threshold: 0.01,
4913      rootMargin: '0px 0px -5% 0px'
4914    });
4915    return io;
4916  }
4917
4918  // Observe every element that declares data-animation inside `root` (root itself included).
4919  // Runs once on DOM ready and again for every node injected later (infinite scroll,
4920  // lazyscroll blocks, ajax popups) - otherwise those stay at opacity:0 forever because
4921  // nothing ever adds animate__animated to them.
4922  function observeAnimations(root) {
4923    const scope = root || document;
4924    const items = Array.prototype.slice.call(scope.querySelectorAll('[data-animation]'));
4925    if (scope.nodeType === 1 && scope.hasAttribute('data-animation')) items.unshift(scope);
4926    if (!items.length) return;
4927
4928    const obs = getObserver();
4929    items.forEach(el => {
4930      if (el.dataset.esAnimObserved === '1') return; // already handled (or already played)
4931      el.dataset.esAnimObserved = '1';
4932      stripAnimate(el);
4933      obs.observe(el);
4934    });
4935  }
4936
4937  function bootAnimations() {
4938    observeAnimations(document);
4939    if (!window.MutationObserver || !document.body) return;
4940    if (window.__esAnimObserver) return;
4941    window.__esAnimObserver = new MutationObserver(mutations => {
4942      mutations.forEach(mutation => {
4943        mutation.addedNodes.forEach(node => {
4944          if (node.nodeType === 1) observeAnimations(node);
4945        });
4946      });
4947    });
4948    window.__esAnimObserver.observe(document.body, { childList: true, subtree: true });
4949  }
4950
4951  window.es_observe_animations = observeAnimations;
4952
4953  if (document.readyState === 'loading') {
4954    document.addEventListener('DOMContentLoaded', bootAnimations);
4955  } else {
4956    bootAnimations();
4957  }
4958})();
4959
4960(function() {
4961  function clearHaClasses(el) {
4962    el.classList.remove('es-ha-in', 'es-ha-out');
4963  }
4964
4965  function bindHoverAnim(el) {
4966    if (el.dataset.esHaBound === '1') return;
4967    el.dataset.esHaBound = '1';
4968
4969    el.addEventListener('mouseenter', function() {
4970      clearHaClasses(el);
4971      void el.offsetWidth;
4972      el.classList.add('es-ha-in');
4973    });
4974
4975    el.addEventListener('mouseleave', function() {
4976      clearHaClasses(el);
4977      void el.offsetWidth;
4978      el.classList.add('es-ha-out');
4979      var onEnd = function(e) {
4980        if (e.target !== el || e.animationName === 'none') return;
4981        el.classList.remove('es-ha-out');
4982        el.removeEventListener('animationend', onEnd);
4983      };
4984      el.addEventListener('animationend', onEnd);
4985    });
4986  }
4987
4988  function initEsHoverAnims(root) {
4989    var scope = root || document;
4990    var boxes = scope.querySelectorAll('[id^="designbox_"]');
4991    boxes.forEach(function(box) {
4992      var candidates = [box].concat(Array.prototype.slice.call(box.querySelectorAll('*')));
4993      candidates.forEach(function(el) {
4994        try {
4995          if (getComputedStyle(el).getPropertyValue('--es-ha').trim()) {
4996            bindHoverAnim(el);
4997          }
4998        } catch (e) {}
4999      });
5000    });
5001  }
5002
5003  function bootEsHoverAnims() {
5004    initEsHoverAnims(document);
5005    if (!window.MutationObserver || !document.body) return;
5006    if (window.__esHoverAnimObserver) return;
5007    window.__esHoverAnimObserver = new MutationObserver(function(mutations) {
5008      mutations.forEach(function(mutation) {
5009        mutation.addedNodes.forEach(function(node) {
5010          if (node.nodeType === 1) initEsHoverAnims(node);
5011        });
5012      });
5013    });
5014    window.__esHoverAnimObserver.observe(document.body, { childList: true, subtree: true });
5015  }
5016
5017  if (document.readyState === 'loading') {
5018    document.addEventListener('DOMContentLoaded', bootEsHoverAnims);
5019  } else {
5020    bootEsHoverAnims();
5021  }
5022})();
5023
5024
5025</script>
5025
5026
5027 
5028
5029
5030</head>
5031
5032<body class="page-products he   is_desktop    cat_2  " id='page-items-2'  >
5033 
5034     
5035<div id="fb-root"></div>
5036<div id="pl_web_page">
5037   <div id="pl_web_page_wrap">
5038 
5039    <div id="scroll-all" style="position: fixed; right: 10px; bottom: 10%; z-index: 100; display: block;z-index: 99999;">
5040        <div id="scroll-full"></div>
5041        <div id="scroll-bottom"></div>
5042    </div>
5043 
5044
5045                <div id="FloatBNLeft" style="display:none;float:left"  >
5046                
5047                </div>
5048
5049                <div id="FloatBNRight"  style="display:none;float:right"  >
5050                  
5051                </div>
5052      
5053        <div id="SlidingCart" style="display:none">
5054              <div id="FlyingCartDiv">
5055                <div class="confetti-wrapper"></div>
5056                    <div id="InnerCartDiv">
5057                        <div class="FlyingCartDivWrap"><div class="emptycart text">èåòï òâìä àðà äîúï...</div></div></div>
5058                        
5059                        <div class="cart_content">
5060
5061                    
5062                        <div id="cart_add_order_comment" class="cart_content_panel">
5063                            <i class="fal fa-times close"></i>
5064                            <h3 class="mb-4">äåñôú äòøä ìäæîðä</h3>
5065                            <div class="form-group">
5066                                <textarea class="form-control"  aria-label="äåñéôå äòøåú îéåçãåú ìäæîðä (ëîå äðçéåú ìùìéç)" placeholder="äåñéôå äòøåú îéåçãåú ìäæîðä (ëîå äðçéåú ìùìéç)"></textarea>
5067                            </div>
5068                            <button class="btn btn-block btn-primary" id="save_cart_order_comment">ùîéøú äòøä</button>
5069                        </div>
5070                    
5071                        <!-- Content for "Coupon Code" -->
5072                        <div id="cart_choose_coupons" class="cart_content_panel">
5073                            <i class="fal fa-times"></i>
5074                            <div class="loader" style="display: none;">
5075                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" style="width:120px; height:120px;">
5076                                    <defs>
5077                                        <linearGradient id="a1" x1="0%" y1="0%" x2="100%">
5078                                            <stop offset="0%" stop-color="#000000" stop-opacity="1"></stop>
5079                                            <stop offset="100%" stop-color="#333333" stop-opacity="1"></stop>
5080                                        </linearGradient>
5081                                    </defs>
5082                                    <circle transform-origin="center" fill="none" stroke="url(#a1)" stroke-width="7" stroke-linecap="round" stroke-dasharray="200 1000" stroke-dashoffset="0" cx="100" cy="100" r="70">
5083                                        <animateTransform type="rotate" attributeName="transform" calcMode="spline" dur="0.7s" values="360;0" keyTimes="0;1" keySplines="0 0 1 1" repeatCount="indefinite"></animateTransform>
5084                                    </circle>
5085                                    <circle transform-origin="center" fill="none" opacity=".2" stroke="black" stroke-width="1.62" stroke-linecap="round" cx="100" cy="100" r="70"></circle>
5086                                </svg>
5087                            </div>
5088                            <div class="panel_content"></div>
5089
5090                            <h3 class="mt-4">éù ìê ÷åã ÷åôåï?</h3>
5091                            <div class="form-group">
5092                            <input type="text" value="" placeholder="÷åã ÷åôåï" aria-label="÷åã ÷åôåï"  class="form-control"  name="cart_coupon_code" id="cart_coupon_code"> 
5093                                <span id="cart_coupon_code_error" class="error"></span>
5094                            </div>
5095                            <button class="btn btn-block btn-primary" id="apply_cart_coupon">äçì ÷åôåï</button>
5096                        </div>
5097                    
5098                        <!-- Content for "Delivery Details" -->
5099                        <div id="cart_delivery_details" class="cart_content_panel">
5100                              
5101                            <i class="fal fa-times"></i>
5102                            <h3>ôøèé äîùìåç</h3>
5103                            <div class="loader" style="display: none;">
5104                                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" style="width:120px; height:120px;">
5105                                    <defs>
5106                                        <linearGradient id="a1" x1="0%" y1="0%" x2="100%">
5107                                            <stop offset="0%" stop-color="#000000" stop-opacity="1"></stop>
5108                                            <stop offset="100%" stop-color="#333333" stop-opacity="1"></stop>
5109                                        </linearGradient>
5110                                    </defs>
5111                                    <circle transform-origin="center" fill="none" stroke="url
5111(#a1)" stroke-width="7" stroke-linecap="round" stroke-dasharray="200 1000" stroke-dashoffset="0" cx="100" cy="100" r="70">
5112                                        <animateTransform type="rotate" attributeName="transform" calcMode="spline" dur="0.7s" values="360;0" keyTimes="0;1" keySplines="0 0 1 1" repeatCount="indefinite"></animateTransform>
5113                                    </circle>
5114                                    <circle transform-origin="center" fill="none" opacity=".2" stroke="black" stroke-width="1.62" stroke-linecap="round" cx="100" cy="100" r="70"></circle>
5115                                </svg>
5116                            </div>
5117                            <div class="panel_content"></div>
5118                                  
5119                        </div>
5120                     
5121
5122                    </div>
5123
5124                    
5124<script>
5125
5126            function startConfetti() {
5127                const confettiWrapper = document.querySelector('.confetti-wrapper');
5128
5129                // Clear any existing confetti
5130                confettiWrapper.innerHTML = '';
5131
5132                // Show the confetti wrapper
5133                confettiWrapper.style.display = 'block';
5134
5135                const totalConfetti = 150; // Total number of confetti pieces
5136                let completedConfetti = 0; // Track completed animations
5137
5138                for (let i = 0; i < totalConfetti; i++) {
5139                    const confetti = document.createElement('div');
5140                    confetti.classList.add('confetti-piece');
5141
5142                    // Random position, size, and animation duration
5143                    confetti.style.left = `${Math.random() * 100}%`;
5144                    confetti.style.setProperty('--fall-duration', `${Math.random() * 2 + 1}s`);
5145                    confetti.style.setProperty('--confetti-color', getRandomColor());
5146
5147                    // Randomly create rectangles or arcs
5148                    if (Math.random() > 0.5) {
5149                        const isSmall = Math.random() > 0.7;
5150                        const width = isSmall ? `${Math.random() * 5 + 2}px` : `${Math.random() * 10 + 5}px`;
5151                        const height = isSmall ? `${Math.random() * 10 + 5}px` : `${Math.random() * 20 + 10}px`;
5152                        confetti.style.width = width;
5153                        confetti.style.height = height;
5154                    } else {
5155                        confetti.classList.add('confetti-arc');
5156                        const size = `${Math.random() * 6 + 3}px`;
5157                        confetti.style.width = size;
5158                        confetti.style.height = size;
5159                        confetti.style.setProperty('--arc-rotation', `${Math.random() * 360}deg`);
5160                    }
5161
5162                    // Add confetti with staggered delays
5163                    setTimeout(() => {
5164                        confettiWrapper.appendChild(confetti);
5165
5166                        // Remove confetti when animation ends
5167                        confetti.addEventListener('animationend', () => {
5168                            confetti.remove();
5169                            completedConfetti++;
5170
5171                            // Hide the wrapper when all confetti is done
5172                            if (completedConfetti === totalConfetti) {
5173                                confettiWrapper.style.display = 'none';
5174                            }
5175                        });
5176                    }, Math.random() * 1000); // Staggered start
5177                }
5178            }
5179
5180            function getRandomColor() {
5181                const colors = [
5182                    '#ff6347', '#ffa500', '#32cd32', '#1e90ff', '#ff69b4',
5183                    '#9400d3', '#00ced1', '#f4a460', '#7fff00', '#ff4500'
5184                ];
5185                return colors[Math.floor(Math.random() * colors.length)];
5186            }
5187                      
5188                      
5189$(document).ready(function () {
5190 
5191    $("body").on("click", "#SlidingCart .coupon_box" , function(){
5192        var current_coupon = $(this).find(".code").text();
5193        $("#cart_coupon_code").val(current_coupon);
5194
5195    });
5196    $("#apply_cart_coupon").on("click",function(){
5197        let coupon_is_valid = true;
5198        const cart_coupon_code = $("#cart_coupon_code");
5199            if (!cart_coupon_code.val()) {
5200                coupon_is_valid = false;
5201                cart_coupon_code.css("border", "1px solid red");
5202                $("#cart_coupon_code_error").text("Type coupon code"); // Show error
5203            } else {
5204                cart_coupon_code.css("border", "");
5205                $("#cart_coupon_code_error").text(""); // Clear error
5206            }
5207        if (coupon_is_valid){
5208            
5209            
5210		        $.get("/services/CartServices.asp?service=setcoupon&CouponCode=" + cart_coupon_code.val(), function (data)
5211                {
5212                        answer = data.split("|");
5213                        if (answer[0] == "1")
5214                        {
5215		                    RenderAllCarts();
5216                            $(".cart_content_panel").removeClass("active");
5217                              $(".FlyingCartDivWrap").removeClass("opacity");
5218                            startConfetti();
5219		                }
5220		                else
5221                        {
5222		                   if (answer[1] != "")
5223                           {
5224                              $("#cart_coupon_code_error").text(answer[1]); // Show error
5225		                   }
5226		                    return false;
5227		                }
5228
5229		        });
5230        }
5231    });
5232
5233  // Save the comment to localStorage on button click
5234  $("#save_cart_order_comment").on("click", function () {
5235    const commentTextarea = $("#cart_add_order_comment textarea");
5236    const comment = commentTextarea.val().trim(); // Get the value of the textarea
5237
5238    if (comment) {
5239    localStorage.setItem("order_comment", comment); // Save to localStorage
5240    commentTextarea.val(comment); // Clear the textarea after saving
5241    } else {
5242      
5243    }
5244     $(".cart_content_panel").removeClass("active");
5245      $(".cart_content").removeClass("active");
5246      $(".FlyingCartDivWrap").removeClass("opacity");
5247  });
5248
5249  // Optional: Load saved comment on page load
5250  const savedComment = localStorage.getItem("order_comment");
5251  if (savedComment) {
5252    $("#cart_add_order_comment textarea").val(savedComment); // Populate the textarea with the saved comment
5253  }
5254
5255  // Handle tab clicks to open panels
5256  $("body").on( "click", ".cart_tab", function (e) {
5257   
5258        $(".FlyingCartDivWrap").addClass("opacity");
5259        const targetid    = $(this).attr("data-target");
5260        const targetPanel = $($(this).data("target"));
5261    
5262        // Check if the target panel exists
5263        if (targetPanel.length) {
5264        // Show the loader if the panel is empty
5265        const loader = targetPanel.find(".loader");
5266        const panelContent = targetPanel.find(".panel_content");
5267        
5268        if (targetid == "#cart_choose_coupons"){
5269            var url = "/siteservices.asp?service=get_cart_tab&params=cart_choose_coupons"  ;
5270        }
5271        
5272        if (targetid == "#cart_delivery_details"){
5273            var url = "/siteservices.asp?service=get_cart_tab&params=cart_delivery_details"  ;
5274        }
5275         
5276        if ( targetid != "#cart_add_order_comment" ) {
5277            if (!panelContent.html().trim() ) {
5278                loader.show(); // Show the loader
5279                 
5280                $.ajax({
5281                url:  url  , // Replace with your endpoint URL
5282                method: "GET",
5283                dataType: "html",
5284                success: function (response) {
5285                    panelContent.html(response); // Insert the HTML content
5286                    loader.hide(); // Hide the loader
5287                },
5288                error: function () {
5289                    loader.hide(); // Hide the loader on error
5290                },
5291                });
5292
5293                }
5294        }
5295
5296      $(".cart_content_panel").removeClass("active");
5297      // Close all panels and open the current one
5298      $(".content_panel").removeClass("active");
5299      targetPanel.addClass("active");
5300      $(".cart_content").addClass("active");
5301
5302    }
5303
5304    return false;
5305  });
5306
5307
5308  // Handle clicking outside to close panels
5309  $(document).on("click", function (e) {
5310    if (
5311      !$(e.target).closest(".cart_tabs").length &&
5312      !$(e.target).closest(".cart_content").length
5313    ) {
5314      $(".cart_content_panel").removeClass("active");
5315      $(".cart_content").removeClass("active");
5316        $(".FlyingCartDivWrap").removeClass("opacity");
5317    }
5318  });
5319
5320  // Handle "fa-times" click to close the specific panel
5321  $(".fal.fa-times").on("click", function (e) {
5322    e.stopPropagation(); // Prevent triggering the document click listener
5323    const parentPanel = $(this).closest(".cart_content_panel");
5324    if (parentPanel.length) {
5325      parentPanel.removeClass("active");
5326      $(".cart_content").removeClass("active");
5327        $(".FlyingCartDivWrap").removeClass("opacity");
5328    }
5329  });
5330});
5331                    </script>
5331
5332
5333                    <div class="empty" id="CartIcon">
5334                        <span id="floatingcart-total"></span>
5335                        <i class="fal fa-shopping-cart icon " aria-hidden="true"></i>
5336                    </div>
5337                </div>
5338            
5339        </div>
5340    
5341 
5342    <div id="Cat2lay"></div>
5343
5344    
5345        <div align="center" id="MainWrapDiv" >
5346        <div align="center" id="MainContentDiv" >
5347    
5348        
5349           <!--[ header start ]-->
5350           
5351
5352
5353
5354                        <div id="header" class="header">
5355
5356
5357                                <div class="header_wrap">
5358                                    <div class="container_16 wrap " > 
5359                                <!--[ start_userbar_6 ]-->
5360                            <div class=" lazyload designbox header_userbar"  id="designbox_6"  >
5361
5362                           </div><!--[ end_userbar_6 ]--><!--[ start_menu_7 ]-->
5363                            <div class=" designbox header_menu"  id="designbox_7"  >
5364
5365                           
5366                <div class="block menu grid_16"  >
5367                
5368                    <div class="content ">
5369
5370         <ul class="dropdown-menu  ">
5371    	                
5372						                <li class=" first  parent">
5373    						                <a class=""  href="/"  ><span>øàùé</span></a>
5374							                  </li>   
5375						                <li class=" parent">
5376    						                <a class=""  href="/infopage.asp?page=183"  ><span>àåãåúéðå</span></a>
5377							                  </li>   
5378						                <li class=" parent">
5379    						                <a class=""  href="/infopage.asp?page=216"  ><span>ú÷ðåï  </span></a>
5380							                  </li>   
5381						                <li class=" parent">
5382    						                <a class=""  href="/infopage.asp?page=190"  ><span>á÷øåá</span></a>
5383							                
5384						  	                        <ul>
5385							                            <li class=""><a class=""  href="/infopage.asp?page=198"  ><span>îàîø øàùåï</span></a>
5386
5387        								                             
5388
5389        								                           </li><li class=""><a class=""  href="/infopage.asp?page=199"  ><span>îàîø ùðé</span></a>
5390
5391        								                             
5392
5393        								                           </li><li class=""><a class=""  href="/infopage.asp?page=200"  ><span>îàîø ùìéùé</span></a>
5394
5395        								                             
5396
5397        								                           </li>
5398				  		                            </ul>
5399
5400				  		              </li>   
5401						                <li class=" parent">
5402    						                <a class=""  href="contact.asp?page=184"  ><span>öåø ÷ùø</span></a>
5403							                  </li>   
5404                    </ul>
5405          </div></div>
5406
5407          
5408       
5408<script type="text/javascript" >
5409           $(document).ready(function(){
5410               
5411                
5412                $("ul.dropdown-menu").supersubs({
5413                   minWidth:    12,
5414                   maxWidth:    27,
5415                   delay:       0,
5416                   extraWidth:  1
5417               }).superfish();
5418               
5419            });
5420      </script>
5420
5421  </div><!--[ end_menu_7 ]--><!--[ start_header_banner1_12 ]-->
5422                            <div class=" designbox header_header_banner1"  id="designbox_12"  >
5423
5424                           
5425                            <div class="header-banner1 banner-div" ><div class='banner-block editorcss'  ><a ee_promo_loc="header_banner1" ee_promo_name="ìåâå" ee_promo_id="145" href="/" class='eventtracking ee_promo image b15'  target='_blank'><span></span></a><P dir=ltr><IMG style="MARGIN-LEFT: 10px" border=0 alt="ìåâå" align=top src="/images/itemPics/uploads/banner medicon.jpg" width=940 height=100></P></div></div>
5426                       </div><!--[ end_header_banner1_12 ]--><!--[ start_header_banner2_13 ]-->
5427                            <div class=" designbox header_header_banner2"  id="designbox_13"  >
5428
5429                           
5430                            <div class="header-banner2 banner-div" ></div>
5431                         </div><!--[ end_header_banner2_13 ]--><!--[ start_breadcrumb_33 ]-->
5432                            <div class=" lazyload designbox header_breadcrumb"  id="designbox_33"  >
5433
5434                           </div><!--[ end_breadcrumb_33 ]--><!--[ start_header_banner3_14 ]-->
5435                            <div class=" designbox header_header_banner3"  id="designbox_14"  >
5436
5437                           
5438                            <div class="header-banner3 banner-div" ></div>
5439                         </div><!--[ end_header_banner3_14 ]--><!--[ start_header_banner4_15 ]-->
5440                            <div class=" designbox header_header_banner4"  id="designbox_15"  >
5441
5442                           
5443                            <div class="header-banner4 banner-div" ></div>
5444                            </div><!--[ end_header_banner4_15 ]-->
5445                                    </div> 
5446                                </div>
5447                                
5448                        </div>
5449                        
5450           <!--[ header end ]-->
5451            <div id='mobile_header_holder'></div>
5452    <!--[ content start ]-->
5453    
5454<div class="maindivCenter  container_16 page-columns-2  "> 
5455<div class="maindivCenter-wrap"> 
5456
5457    
5458    <table cellpadding="0" cellspacing="0" class="tlb_main" >
5459    <tr>
5460       <td valign="top">
5461	    
5462	    </td>
5463	    <td valign="top" class = "mainTD" align="center" >
5464            <div class = "mainTDWrap grid_12" >
5465                <div class = "mainTDcontainer" >
5466                          
5467                           
5468                      
5469                       <div class="AllPagesContent_banner banner-div"></div>
5470                       
5471                      
5472                       
5473<script>
5474	     function ShowAllMiscDiv()
5475	     {  
5476             if (lastmoredivid!=0){document.getElementById(lastmoredivid).style.display="none"}
5477             document.getElementById("MoreMiscLink").className = "MoreMiscLinkOn";
5478             var AllMfldsDiv = document.getElementById("AllFiledsDiv");
5479             if (AllMfldsDiv.style.display == "none")
5480                {AllMfldsDiv.style.display="";}
5481             else
5482                {AllMfldsDiv.style.display="none";}
5483          }
5484	     
5485	     
5486	     var lastmoredivid=0;
5487	     function HandleMoreDiv(DivId)
5488	     {
5489	            try 
5490	            {document.getElementById("AllFiledsDiv").style.display="none";}
5491	            catch(err)
5492	            {}
5493	            
5494	         CurrentDiv = document.getElementById(DivId);
5495	         if (CurrentDiv.style.display == "none")
5496	            {CurrentDiv.style.display=""}
5497	            else
5498	            {CurrentDiv.style.display="none"}
5499	         if (DivId!= lastmoredivid && lastmoredivid!=0)
5500	                {document.getElementById(lastmoredivid).style.display="none"}
5501	        lastmoredivid = DivId ;
5502	     }
5503	     
5504	     var LastLinkId = 0
5505	     var LastSwitchTdId = 0;
5506	    
5507	     function SwitchMiscTD(FieldId)
5508	      {  
5509	          document.getElementById("MiscFieldContent").style.display="";
5510	           try {document.getElementById("AllFiledsDiv").style.display="none";}
5511	            catch(err)
5512	            {}     
5513        
5514	          if (LastSwitchTdId!=FieldId && LastSwitchTdId != 0)
5515	                {
5516	                    document.getElementById(FieldId).style.display = '';
5517	                    document.getElementById(LastSwitchTdId).style.display = 'none';
5518	                }
5519	           
5520                 LinkId = "Link"+FieldId;
5521	              document.getElementById(LinkId).className = "MiscDynamicLink";       
5522	              if (LastLinkId != LinkId && LastLinkId!=0)
5523	                    {document.getElementById(LastLinkId).className = "";}
5524	            
5525	            LastSwitchTdId  = FieldId;
5526	            LastLinkId      =   LinkId;   
5527	            try {
5528	            document.getElementById("MoreMiscLink").className = "MoreMiscLink";   
5529	            }
5530	            catch(err)
5531	            {} 
5532       if (LastSwitchTdId != 0 )
5533       {
5534                if ( $(".products-page #MiscFieldContent .center-ul:visible").length == 5 )
5535                    {
5536                         $(".products-page #MiscFieldContent .center-ul:eq(3)").hide();
5537                     }
5538       }
5539
5540	      }
5541
5542         
5543	 </script>
vendor: 1 bytes, line 5543
5543
5544<SCRIPT type="text/javascript" src="/scripts/main.js"></SCRIPT>
vendor: 1 bytes, line 5544
5544
5545<SCRIPT type="text/javascript">
5546<!--
5547//	miscfields tooltip
5548var FiltersEnabled = 0 // if your not going to use transitions or filters in any of the tips set this to 0
5549//Style[...]=[TitleColor,TextColor,TitleBgColor,TextBgColor,TitleBgImag,TextBgImag,TitleTextAlign,TextTextAlign, TitleFontFace, TextFontFace, TipPosition, StickyStyle, TitleFontSize, TextFontSize, Width, Height, BorderSize, PadTextArea, CoordinateX , CoordinateY, TransitionNumber, TransitionDuration, TransparencyLevel ,ShadowType, ShadowColor]
5550Style[0]=["white","black","#7c7c7c","#efefef","","","right","right","arial","arial","center","","2","1.8",150,"",2,2,10,10,"","","","",""]
5551applyCssFilter()
5552
5553//Files compare
5554
5555var Cat2Cat1ID = 2;
5556//-->
5557</script>
5557
5558
5559
5560
5561<div class="products-page type_m">
5562    <!--[ start_products_banner1_34 ]-->
5563                            <div class=" designbox products_products_banner1"  id="designbox_34"  >
5564
5565                           
5566                          <div class="products_banner1 banner-div" ></div>
5567
5568                         </div><!--[ end_products_banner1_34 ]--><!--[ start_categoryname_32 ]-->
5569                            <div class=" designbox products_categoryname"  id="designbox_32"  >
5570
5571                           <h1><span>÷åøàé ñôøéí àì÷èøåðéí Pocketbook</span></h1></div><!--[ end_categoryname_32 ]--><!--[ start_itemsgridsort_29 ]-->
5572                            <div class=" designbox products_itemsgridsort"  id="designbox_29"  >
5573
5574                           
5575        <div class="block itemsgridsort first  grid_4" >
5576            
5577
5578            <div class="content">
5579
5580                
5581                <span class="label">îééï îåöøéí ò"ô: </span>
5582
5583                
5584
5585
5586                    <select class='sorting-select form-control' name="sorting-select" onChange="location.href=this.value;"    >
5587                        
5588                        <option attrvalue='0'  value = "https://www.medicon.co.il/items~2~0.htm?OrderBy=0&amp;Pnum=1&amp;Qsearch=&amp;qmanufact=0&amp;key=">ääîìöä ùìðå</option>
5589                        
5590                        <option attrvalue='5'  value = "https://www.medicon.co.il/items~2~0.htm?OrderBy=5&amp;Pnum=1&amp;Qsearch=&amp;qmanufact=0&amp;key=">ôåôåìøéåú</option>
5591                        <option attrvalue='3'  value = "https://www.medicon.co.il/items~2~0.htm?OrderBy=3&amp;Pnum=1&amp;Qsearch=&amp;qmanufact=0&amp;key=">îçéø (îäðîåê ìâáåä)</option>
5592                        <option attrvalue='6'  value = "https://www.medicon.co.il/items~2~0.htm?OrderBy=6&amp;Pnum=1&amp;Qsearch=&amp;qmanufact=0&amp;key=">îçéø (îäâáåä ìðîåê)</option>
5593                        <option attrvalue='7'  value = "https://www.medicon.co.il/items~2~0.htm?OrderBy=7&amp;Pnum=1&amp;Qsearch=&amp;qmanufact=0&amp;key=">äçãùéí áéåúø</option>
5594            
5595                        
5596                    </select>
5597
5598                   
5599                
5600            </div>
5601        </div>
5602        
5603                    
5603<script>
5604                        $(document).ready(function()
5605                        {
5606                              
5607                            $(".sorting-select option[attrvalue='0']").attr('selected', 'selected');
5608                        });
5609                    </script>
5609
5610        
5611     <div class="block itemsgridsort first  grid_4" >
5612                
5613
5614                <div class="content">
5615
5616	
5617
5618	        úöåâä:
5619	        <select class='itemsview-select' name="itemsview-select" onChange="location.href=this.value;"    >
5620	            <option attrvalue="gallery" value="https://www.medicon.co.il/items~2~0.htm?OrderBy=0&amp;itemsview=gallery&amp;Qsearch=&amp;qmanufact=0&amp;key=" >âìøééä</option>
5621	            <option attrvalue="list"  value="https://www.medicon.co.il/items~2~0.htm?OrderBy=0&amp;itemsview=list&amp;Qsearch=&amp;qmanufact=0&amp;key=" >øùéîä</option>
5622                
5623	        </select>
5624</div>
5625</div>
5626
5627	
5627<script>
5628		    $(document).ready
5629               (
5630                   function()
5631                   {
5632
5633                       $(".itemsview-select option[attrvalue='gallery']").attr('selected', 'selected');
5634
5635                   }
5636               );
5637		</script>
5637
5638</div><!--[ end_itemsgridsort_29 ]--><!--[ start_itemsgridpaging_30 ]-->
5639                            <div class=" designbox products_itemsgridpaging"  id="designbox_30"  >
5640
5641                           
5642    <div class="block itemsgridpaging grid_4" >
5643        
5644
5645    <div class="content">
5646        <div class="paging-div">
5647            
5648        </div>
5649     </div>
5650  </div>
5651
5652  </div><!--[ end_itemsgridpaging_30 ]--><!--[ start_itemsgridcompare_31 ]-->
5653                            <div class=" designbox products_itemsgridcompare"  id="designbox_31"  >
5654
5655                           </div><!--[ end_itemsgridcompare_31 ]--><!--[ start_itemsgrid_28 ]-->
5656                            <div class=" designbox products_itemsgrid"  id="designbox_28"  >
5657
5658                           
5659             <div class="block itemsgrid gallery boxsinline_3  icons_right ee_list" ee_list_name="Category-÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_category_name="÷åøàé ñôøéí àì÷èøåðéí Pocketbook"  >
5660                    
5661
5662                <div class="content">
5663                    
5664                    
5665 
5666                   
5667
5668                 <ul class="productBoxes">
5669                   
5670                                <li itemident="270"  class="boxItem ee_list_item auto-height    first   grid_4  " ee_list_item_position="1" quan_min = "" quan_base="1" quan_multiply="1" >
5671                                    <div class="boxItem-wrap" isSameItem="0">
5672                                    
5673                                              <div class="boxPicture" aria-hidden=true>
5674                                                 
5675                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~270~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/270_200720220205431_small.jpg?20260812203136" border="0" title="÷åøà ñôøéí àì÷èøåðé Pocketbook Era  øåñéú, òáøéú, àðâìéú áîìàé îééãé"  alt="÷åøà ñôøéí àì÷èøåðé Pocketbook Era  øåñéú, òáøéú, àðâìéú áîìàé îééãé" dir="rtl" /></a>
5676                                                 
5677
5678                                               </div>
5679
5680                                        
5681                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~270~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="270" ee_list_itemid="270" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="859.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé PocketBook ERA Lite PB710 ">÷åøà ñôøéí àì÷èøåðé PocketBook ERA Lite PB710 </a></div>
5682                                        
5683                                            <div class="product-box-prices">
5684
5685                                                
5686                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg270">930.00</span><em>¤</em></span></strike>
5687                                                        
5688                                                                        <p class="sale-price ">
5689                                                                            <span class="name">îáöò </span>
5690                                                                            <span class="value"><span class="priceholder" id="total270" price="859.00">859.00</span><em>¤</em></span>
5691                                                                            
5692                                                                        </p>
5693                                                                        
5694                                                </div>
5695                                          
5696
5697                                            <div class="ProductBoxBtn ">
5698                                                
5699                                                
5700                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~270~2~0.htm" ><span>ìîéãò ðåñó</span></a>
5701                                                     
5702                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="addme_cart('270',$(this).parents('li').find('input[name=quantity]').val(), '', '', '', '', '',$(this));return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
5703                                                                                
5704
5705                                            </div>
5706
5707                                    
5708                                        </div>
5709                                 </li>
5710                              
5711                                <li itemident="288"  class="boxItem ee_list_item auto-height     grid_4  " ee_list_item_position="2" quan_min = "" quan_base="1" quan_multiply="1" >
5712                                    <div class="boxItem-wrap" isSameItem="0">
5713                                    
5714                                              <div class="boxPicture" aria-hidden=true>
5715                                                 
5716                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~288~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/288_23072023121635_small.jpg?20260219154750" border="0" title="÷åøà ñôøéí àì÷èøåðé  Pocketbook InkPad 4"  alt="÷åøà ñôøéí àì÷èøåðé  Pocketbook InkPad 4" dir="rtl" /></a>
5717                                                 
5718
5719                                               </div>
5720
5721                                        
5722                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~288~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="288" ee_list_itemid="288" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="1,159.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé PocketBook InkPad 4 PB743-G">÷åøà ñôøéí àì÷èøåðé PocketBook InkPad 4 PB743-G</a></div>
5723                                        
5724                                            <div class="product-box-prices">
5725
5726                                                
5727                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg288">1,349.00</span><em>¤</em></span></strike>
5728                                                        
5729                                                                        <p class="sale-price ">
5730                                                                            <sp
5730an class="name">îáöò </span>
5731                                                                            <span class="value"><span class="priceholder" id="total288" price="1159.00">1,159.00</span><em>¤</em></span>
5732                                                                            
5733                                                                        </p>
5734                                                                        
5735                                                </div>
5736                                          
5737
5738                                            <div class="ProductBoxBtn ">
5739                                                
5740                                                
5741                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~288~2~0.htm" ><span>ìîéãò ðåñó</span></a>
5742                                                     
5743                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="addme_cart('288',$(this).parents('li').find('input[name=quantity]').val(), '', '', '', '', '',$(this));return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
5744                                                                                
5745
5746                                            </div>
5747
5748                                    
5749                                        </div>
5750                                 </li>
5751                              
5752                                <li itemident="302"  class="boxItem ee_list_item auto-height    last   grid_4  " ee_list_item_position="3" quan_min = "" quan_base="1" quan_multiply="1" >
5753                                    <div class="boxItem-wrap" isSameItem="0">
5754                                    
5755                                              <div class="boxPicture" aria-hidden=true>
5756                                                 
5757                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~302~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/302_171020230943121_small.jpg?20260902135656" border="0" title="÷åøà ñôøéí àì÷èøåðé  Pocketbook Verse"  alt="÷åøà ñôøéí àì÷èøåðé  Pocketbook Verse" dir="rtl" /></a>
5758                                                 
5759
5760                                               </div>
5761
5762                                        
5763                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~302~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="302" ee_list_itemid="302" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="559.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé PocketBook Verse PB629 àæì  áîìàé">÷åøà ñôøéí àì÷èøåðé PocketBook Verse PB629 àæì  áîìàé</a></div>
5764                                        
5765                                            <div class="product-box-prices">
5766
5767                                                
5768                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg302">639.00</span><em>¤</em></span></strike>
5769                                                        
5770                                                                        <p class="sale-price ">
5771                                                                            <span class="name">îáöò </span>
5772                                                                            <span class="value"><span class="priceholder" id="total302" price="559.00">559.00</span><em>¤</em></span>
5773                                                                            
5774                                                                        </p>
5775                                                                        
5776                                                </div>
5777                                          
5778
5779                                            <div class="ProductBoxBtn ">
5780                                                
5781                                                
5782                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~302~2~0.htm" ><span>ìîéãò ðåñó</span></a>
5783                                                     
5784                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="addme_cart('302',$(this).parents('li').find('input[name=quantity]').val(), '', '', '', '', '',$(this));return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
5785                                                                                
5786
5787                                            </div>
5788
5789                                    
5790                                        </div>
5791                                 </li>
5792                              
5793                                <li itemident="303"  class="boxItem ee_list_item auto-height    first   grid_4  " ee_list_item_position="4" quan_min = "" quan_base="1" quan_multiply="1" >
5794                                    <div class="boxItem-wrap" isSameItem="0">
5795                                    
5796                                              <div class="boxPicture" aria-hidden=true>
5797                                                 
5798                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~303~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/303_061120231309261_small.jpg?20260812203014" border="0" title="÷åøà ñôøéí àì÷èøåðé  Pocketbook Verse Pro (634) áîìàé îééãé!!!"  alt="÷åøà ñôøéí àì÷èøåðé  Pocketbook Verse Pro (634) áîìàé îééãé!!!" dir="rtl" /></a>
5799                                                 
5800
5801                                               </div>
5802
5803                                        
5804                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~303~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="303" ee_list_itemid="303" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="699.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé Pocketbook Verse Pro PB634-A-WW">÷åøà ñôøéí àì÷èøåðé Pocketbook Verse Pro PB634-A-WW</a></div>
5805                                        
5806                                            <div class="product-box-prices">
5807
5808                                                
5809                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg303">799.00</span><em>¤</em></span></strike>
5810                                                        
5811                                                                        <p class="sale-price ">
5812                                                                            <sp
5812an class="name">îáöò </span>
5813                                                                            <span class="value"><span class="priceholder" id="total303" price="699.00">699.00</span><em>¤</em></span>
5814                                                                            
5815                                                                        </p>
5816                                                                        
5817                                                </div>
5818                                          
5819
5820                                            <div class="ProductBoxBtn ">
5821                                                
5822                                                
5823                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~303~2~0.htm" ><span>ìîéãò ðåñó</span></a>
5824                                                     
5825                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="location.href='/pl_product~303~2~0.htm?isproperty=1#propnt';return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
5826                                                                                
5827
5828                                            </div>
5829
5830                                    
5831                                        </div>
5832                                 </li>
5833                              
5834                                <li itemident="307"  class="boxItem ee_list_item auto-height     grid_4  " ee_list_item_position="5" quan_min = "" quan_base="1" quan_multiply="1" >
5835                                    <div class="boxItem-wrap" isSameItem="0">
5836                                    
5837                                              <div class="boxPicture" aria-hidden=true>
5838                                                 
5839                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~307~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/307_13112023165622_small.jpg?20260902131421" border="0" title="÷åøà ñôøéí àì÷èøåðé PocketBook InkPad Color3  "  alt="÷åøà ñôøéí àì÷èøåðé PocketBook InkPad Color3  " dir="rtl" /></a>
5840                                                 
5841
5842                                               </div>
5843
5844                                        
5845                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~307~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="307" ee_list_itemid="307" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="1,259.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé PocketBook InkPad Color 3 PB743-K3-WW àæì áîìàé">÷åøà ñôøéí àì÷èøåðé PocketBook InkPad Color 3 PB743-K3-WW àæì áîìàé</a></div>
5846                                        
5847                                            <div class="product-box-prices">
5848
5849                                                
5850                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg307">1,399.00</span><em>¤</em></span></strike>
5851                                                        
5852                                                                        <p class="sale-price ">
5853                                                                            <span class="name">îáöò </span>
5854                                                                            <span class="value"><span class="priceholder" id="total307" price="1259.00">1,259.00</span><em>¤</em></span>
5855                                                                            
5856                                                                        </p>
5857                                                                        
5858                                                </div>
5859                                          
5860
5861                                            <div class="ProductBoxBtn ">
5862                                                
5863                                                
5864                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~307~2~0.htm" ><span>ìîéãò ðåñó</span></a>
5865                                                     
5866                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="addme_cart('307',$(this).parents('li').find('input[name=quantity]').val(), '', '', '', '', '',$(this));return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
5867                                                                                
5868
5869                                            </div>
5870
5871                                    
5872                                        </div>
5873                                 </li>
5874                              
5875                                <li itemident="315"  class="boxItem ee_list_item auto-height    last   grid_4  " ee_list_item_position="6" quan_min = "" quan_base="1" quan_multiply="1" >
5876                                    <div class="boxItem-wrap" isSameItem="0">
5877                                    
5878                                              <div class="boxPicture" aria-hidden=true>
5879                                                 
5880                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~315~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/315_02052024091615_small.jpg?20250316174535" border="0" title="÷åøà ñôøéí àì÷èøåðé Pocketbook Era Color øåñéú, òáøéú, àðâìéú öôåé áîìàé îééãé"  alt="÷åøà ñôøéí àì÷èøåðé Pocketbook Era Color øåñéú, òáøéú, àðâìéú öôåé áîìàé îééãé" dir="rtl" /></a>
5881                                                 
5882
5883                                               </div>
5884
5885                                        
5886                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~315~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="315" ee_list_itemid="315" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="1,089.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé PocketBook Era Color PB700K3-1-WW">÷åøà ñôøéí àì÷èøåðé PocketBook Era Color PB700K3-1-WW</a></div>
5887                                        
5888                                            <div class="product-box-prices">
5889
5890                                                
5891                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg315">1,250.00</span><em>¤</em></span></strike>
5892                                                        
5893                                                                        <p class="sale-price ">
5894                                                                            <sp
5894an class="name">îáöò </span>
5895                                                                            <span class="value"><span class="priceholder" id="total315" price="1089.00">1,089.00</span><em>¤</em></span>
5896                                                                            
5897                                                                        </p>
5898                                                                        
5899                                                </div>
5900                                          
5901
5902                                            <div class="ProductBoxBtn ">
5903                                                
5904                                                
5905                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~315~2~0.htm" ><span>ìîéãò ðåñó</span></a>
5906                                                     
5907                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="addme_cart('315',$(this).parents('li').find('input[name=quantity]').val(), '', '', '', '', '',$(this));return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
5908                                                                                
5909
5910                                            </div>
5911
5912                                    
5913                                        </div>
5914                                 </li>
5915                              
5916                                <li itemident="324"  class="boxItem ee_list_item auto-height    first   grid_4  " ee_list_item_position="7" quan_min = "" quan_base="1" quan_multiply="1" >
5917                                    <div class="boxItem-wrap" isSameItem="0">
5918                                    
5919                                              <div class="boxPicture" aria-hidden=true>
5920                                                 
5921                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~324~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/324_040920242235091_small.jpg?20260211122809" border="0" title="÷åøà ñôøéí àì÷èøåðé PocketBook Verse Pro Color PB634K3-1-WW"  alt="÷åøà ñôøéí àì÷èøåðé PocketBook Verse Pro Color PB634K3-1-WW" dir="rtl" /></a>
5922                                                 
5923
5924                                               </div>
5925
5926                                        
5927                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~324~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="324" ee_list_itemid="324" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="779.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé PocketBook Verse Pro Color PB634K3-1-WW">÷åøà ñôøéí àì÷èøåðé PocketBook Verse Pro Color PB634K3-1-WW</a></div>
5928                                        
5929                                            <div class="product-box-prices">
5930
5931                                                
5932                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg324">890.00</span><em>¤</em></span></strike>
5933                                                        
5934                                                                        <p class="sale-price ">
5935                                                                            <span class="name">îáöò </span>
5936                                                                            <span class="value"><span class="priceholder" id="total324" price="779.00">779.00</span><em>¤</em></span>
5937                                                                            
5938                                                                        </p>
5939                                                                        
5940                                                </div>
5941                                          
5942
5943                                            <div class="ProductBoxBtn ">
5944                                                
5945                                                
5946                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~324~2~0.htm" ><span>ìîéãò ðåñó</span></a>
5947                                                     
5948                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="addme_cart('324',$(this).parents('li').find('input[name=quantity]').val(), '', '', '', '', '',$(this));return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
5949                                                                                
5950
5951                                            </div>
5952
5953                                    
5954                                        </div>
5955                                 </li>
5956                              
5957                                <li itemident="326"  class="boxItem ee_list_item auto-height     grid_4  " ee_list_item_position="8" quan_min = "" quan_base="1" quan_multiply="1" >
5958                                    <div class="boxItem-wrap" isSameItem="0">
5959                                    
5960                                              <div class="boxPicture" aria-hidden=true>
5961                                                 
5962                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~326~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/326_040520251513531_small.jpg?20260211123400" border="0" title="÷åøà ñôøéí àì÷èøåðé  Pocketbook Verse Lite"  alt="÷åøà ñôøéí àì÷èøåðé  Pocketbook Verse Lite" dir="rtl" /></a>
5963                                                 
5964
5965                                               </div>
5966
5967                                        
5968                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~326~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="326" ee_list_itemid="326" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="459.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé  Pocketbook Verse Lite">÷åøà ñôøéí àì÷èøåðé  Pocketbook Verse Lite</a></div>
5969                                        
5970                                            <div class="product-box-prices">
5971
5972                                                
5973                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg326">529.00</span><em>¤</em></span></strike>
5974                                                        
5975                                                                        <p class="sale-price ">
5976                                                                            <sp
5976an class="name">îáöò </span>
5977                                                                            <span class="value"><span class="priceholder" id="total326" price="459.00">459.00</span><em>¤</em></span>
5978                                                                            
5979                                                                        </p>
5980                                                                        
5981                                                </div>
5982                                          
5983
5984                                            <div class="ProductBoxBtn ">
5985                                                
5986                                                
5987                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~326~2~0.htm" ><span>ìîéãò ðåñó</span></a>
5988                                                     
5989                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="addme_cart('326',$(this).parents('li').find('input[name=quantity]').val(), '', '', '', '', '',$(this));return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
5990                                                                                
5991
5992                                            </div>
5993
5994                                    
5995                                        </div>
5996                                 </li>
5997                              
5998                                <li itemident="341"  class="boxItem ee_list_item auto-height    last   grid_4  " ee_list_item_position="9" quan_min = "" quan_base="1" quan_multiply="1" >
5999                                    <div class="boxItem-wrap" isSameItem="0">
6000                                    
6001                                              <div class="boxPicture" aria-hidden=true>
6002                                                 
6003                                                 <a class="image pic-160 grid_3 ee_product_click" aria-hidden=true  href='/pl_product~341~2~0.htm'  ><span></span><img width="160" src="data:image/png;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=" data-src="/images/itempics/341_14042026150506727_small.jpg?20260701111725" border="0" title="÷åøà ñôøéí àì÷èøåðé Pocketbook InkPad One"  alt="÷åøà ñôøéí àì÷èøåðé Pocketbook InkPad One" dir="rtl" /></a>
6004                                                 
6005
6006                                               </div>
6007
6008                                        
6009                                            <div class="item-name"><a class="ee_product_click"   href='/pl_product~341~2~0.htm'   ee_list_itembrand="Pocketbook" ee_list_itemident="341" ee_list_itemid="341" ee_list_category="÷åøàé ñôøéí àì÷èøåðéí Pocketbook" ee_list_itemprice="1,279.00" ee_list_itemname="÷åøà ñôøéí àì÷èøåðé Pocketbook InkPad One">÷åøà ñôøéí àì÷èøåðé Pocketbook InkPad One</a></div>
6010                                        
6011                                            <div class="product-box-prices">
6012
6013                                                
6014                                                        <strike class="reg-price"><span class="name">øâéì </span><span class="value"><span id="totalreg341">1,399.00</span><em>¤</em></span></strike>
6015                                                        
6016                                                                        <p class="sale-price ">
6017                                                                            <span class="name">îáöò </span>
6018                                                                            <span class="value"><span class="priceholder" id="total341" price="1279.00">1,279.00</span><em>¤</em></span>
6019                                                                            
6020                                                                        </p>
6021                                                                        
6022                                                </div>
6023                                          
6024
6025                                            <div class="ProductBoxBtn ">
6026                                                
6027                                                
6028                                                    <a class="more-info  btn-secondary ee_product_click  btn-link " href="/pl_product~341~2~0.htm" ><span>ìîéãò ðåñó</span></a>
6029                                                     
6030                                                                                <a href="#" class="add-to-cart btn-primary btn-link " onclick="addme_cart('341',$(this).parents('li').find('input[name=quantity]').val(), '', '', '', '', '',$(this));return false;" title="÷ðä òëùéå" ><span class="content">÷ðä òëùéå</span></a>
6031                                                                                
6032
6033                                            </div>
6034
6035                                    
6036                                        </div>
6037                                 </li>
6038                              
6039	               </ul>
6040 
6041                </div>
6042              </div>
6043            </div><!--[ end_itemsgrid_28 ]--><!--[ start_products_banner2_35 ]-->
6044                            <div class=" designbox products_products_banner2"  id="designbox_35"  >
6045
6046                           
6047                          <div class="products_banner2 banner-div" ></div>
6048                         </div><!--[ end_products_banner2_35 ]-->
6049</div>
6050<form name="addme" method="post" action="https://www.medicon.co.il/CartLogic.asp">
6051	<input type="hidden" name="pid"/>
6052	<input type="hidden" name="pip_str"/>
6053	<input type="hidden" name="pip_prices"/>
6054	<input type="hidden" name="pip_ids"/>
6055	<input type="hidden" name="quan"/>
6056	<input type="hidden" name="M" value=""/>
6057	<input type="hidden" name="RequestGiftInfo" />
6058</form>
6059
6060<form name="quicksearch2" action="https://www.medicon.co.il/items.asp"  method="post" ID="Form1">
6061	<input type="hidden" name="qsearch" ID="Hidden1"/>
6062	<input type="hidden" name="Cat2Cat1ID" ID="Hidden2"/>
6063	<input type="hidden" name="Cat2ID" ID="Hidden3"/>
6064    <input type="hidden" name="key" value=""/>
6065    <input type="hidden" name="IsPostback" value="true"/>
6066</form>
6067
6068<script type="text/javascript">
6069<!--
6070   function addtocart_hook()
6071     {return true;}
6072
6073   function addme_cart(pid, quan , pip_str, pip_prices, pip_ids, numOfItems, ItemPromotionIdentStr,obj,IgnorAjax)
6074    {    
6075       if (IgnorAjax == undefined)
6076       {IgnorAjax = "";  } 
6077       
6078       if (quan == undefined || quan==0 ){ quan = 1; }
6079       
6080        if ( addtocart_hook() == false)
6081            {
6082                return false;
6083            }
6084
6085       if (typeof obj !== typeof undefined && obj !== false) 
6086        {
6087                   try
6088                    {
6089                        
6090                                      
6091                                      var temp_ee_list_obj = $(obj).parents(".ee_list");
6092                                      var temp_ee_list_item_obj = $(obj).parents(".ee_list_item");
6093                                      //var temp_ee_list_category = $(temp_ee_list_obj).attr("ee_list_category_name");
6094                                      
6095                                      var varient = '';
6096                                      var price = '';
6097                                      if ( $(obj).hasClass("product_son_addtocart") )
6098                                          {
6099                                            price   = $(obj).parent(".productbox_product_son_links").find(".current").attr("price");
6100                                            varient = varient + $(obj).parent(".productbox_product_son_links").find(".current").attr("itemname");
6101                                            //console.log('here:' + varient);
6102                                          }
6103                                      else
6104                                          {
6105                                            price = $(temp_ee_list_item_obj).find("[ee_list_itemprice]").attr("ee_list_itemprice");
6106                                          }
6107                                         
6108                                       if ( price != '' ){price = price.replace(/[^\d\.]/g,'') }
6109                                       try
6110                                       {
6111                                         if (cookieconsent == true) {
6112                                       
6113
6114                                            
6115                                         } 
6116                                        }
6117                                         catch (e)
6118                                        { }
6119                                
6120                    }
6121                    catch(e)
6122                    {
6123        
6124                    }
6125            }
6126            
6127
6128
6129                        
6130		    document.addme.pid.value = pid;
6131            document.addme.quan.value = quan;
6132            document.addme.submit();
6133		
6134	}
6135//-->
6136</script>
6136	
6137
6138<script type="text/javascript">
6139<!--
6140    var JsUrl = "https://www.medicon.co.il/items~2~0.htm";
6141	
6142    function subserach2()
6143	{
6144			var obj_str2 = document.getElementById("searchInCategoryInput2");
6145			if (obj_str2.value!=''){
6146				var obj_Frm = document.quicksearch2;
6147				obj_Frm.qsearch.value = obj_str2.value;
6148				obj_Frm.Cat2Cat1ID.value = 2;
6149				obj_Frm.Cat2ID.value     = 0;
6150                obj_Frm.key.value=$("#userkey").attr("userkey");
6151				obj_Frm.submit();
6152			}	
6153	}
6154    
6155     let subserach3form = false;
6156
6157    
6158
6159    
6160
6161    function subserach3()
6162	{ 
6163			var obj_str2 = document.getElementById("searchInCategoryInput3");
6164			if (obj_str2.value!=''){
6165				var obj_Frm = document.quicksearch2;
6166				obj_Frm.qsearch.value = obj_str2.value;
6167				obj_Frm.Cat2Cat1ID.value = 2;
6168				obj_Frm.Cat2ID.value     = 0;
6169                obj_Frm.key.value=$("#userkey").attr("userkey");
6170
6171                var submitButton = $("#Button1");
6172                // Disable the submit button
6173                submitButton.prop("disabled", true);
6174
6175                 
6176                if ( subserach3form == false ) {
6177                    subserach3form = true;
6178                    obj_Frm.submit();
6179
6180                }
6181				
6182
6183			}	
6184	}
6185	
6186	function chkchr2()
6187	{
6188		if (window.event.keyCode == 13)
6189			{subserach2();}
6190	}
6191
6192	function clearPriceRange(){
6193		thisHref = JsUrl.split("?");
6194		if (thisHref.length == 2)
6195			baseURL = JsUrl + "&clearRange=1";
6196		else	
6197			baseURL = JsUrl + "?clearRange=1";
6198			
6199		location.href = baseURL;
6200		
6201	}
6202	function subSerachPriceRange()
6203	{
6204		var StartPriceObj = document.getElementById("StartPrice");
6205		var EndPriceObj = document.getElementById("EndPrice");
6206		if (isNaN(StartPriceObj.value)){
6207			StartPriceObj.value = "";
6208			StartPriceObj.focus();
6209			return;
6210		} 
6211		if (isNaN(EndPriceObj.value)){
6212			EndPriceObj.value = "";
6213			EndPriceObj.focus();
6214			return;
6215		}
6216		
6217		thisHref = JsUrl.split("?");
6218		if (thisHref.length == 2){
6219			baseURL = thisHref[0];
6220			queryTMP = thisHref[1].split("&");
6221			queryPrefix = "?";
6222			queryURL = "";
6223			found=0;
6224			for (x=0;x<queryTMP.length;x++){
6225				param = queryTMP[x].split("=");
6226				if (param.length == 2){
6227					if (param[0].toLowerCase() == "startprice"){
6228						thisParam = "StartPrice="+StartPriceObj.value;
6229						found=1;
6230					}
6231					else if (param[0].toLowerCase() == "endprice"){
6232						thisParam = "EndPrice="+EndPriceObj.value;
6233						found=1;
6234					}
6235					else if (param[0].toLowerCase() == "clearrange"){
6236						thisParam = "";
6237					}
6238					else{
6239						thisParam = param[0] + "=" + param[1]
6240					}
6241					if (thisParam != ""){
6242						queryURL = queryURL + queryPrefix + thisParam
6243						queryPrefix = "&";
6244					}
6245				}
6246			}
6247			if (found == 0){queryURL = queryURL + queryPrefix + "StartPrice="+StartPriceObj.value+"&EndPrice="+EndPriceObj.value;}
6248			
6249            
6250            var finalURL = baseURL + queryURL;
6251		    finalURL = finalURL.replace(/&amp;/g, '&');
6252		    location.href = finalURL;
6253          
6254		}
6255		else
6256		     
6257            var finalURL = thisHref + "?StartPrice="+StartPriceObj.value+"&EndPrice="+EndPriceObj.value+'&key=&Qsearch=&qmanufact=0';
6258            finalURL = finalURL.replace(/&amp;/g, '&');
6259            location.href = finalURL;
6260 
6261	}
6262	
6263	// delete the cookies and zero
6264	function delcookie(){
6265		var d = new Date();
6266		var vad = d.getTime();
6267		// call ajax to delete cookies and refresh the page 
6268		document.location.href='/ajaxdelcookies.asp?cat=2&vad=1'+vad+'&a='+document.compare.C1ID.value+'';
6269	}
6270	
6271	function ChangeCat2(kk){
6272		cat2id = kk
6273		 document.location = 'https://www.medicon.co.il/items.asp?Cat2Cat1ID=2&amp;Cat2ID=' + cat2id
6274	}
6275
6276
6277 
6278//-->
6279</script>
6279
6280 
6281
6282
6283</td>
6284<td valign="top" align="right" height="100%">
6285   
6286 <!--[ SideBar Start ]-->
6287  
6288  <div id="sidebar"  > 
6289     <div class = "wrap">
6290           <!--[Dynamic SideBar Modules]-->
6291          <!--[ start_smallcart_39 ]-->
6292                            <div class=" designbox sidebar_smallcart"  id="designbox_39"  >
6293
6294                           
6295               <div class="block smallcart grid_4 cart_icon   " >
6296                   
6297                   <div class="title"><strong><span>
6298                   òâìú ä÷ðéåú
6299                   </span></strong></div>
6300                   
6301                   <div class="content">
6302                        <p id="cartPriceTR" style="display:none" onclick="location.href='https://www.medicon.co.il/cart.asp';" >
6303                                <span id="cartQuantity"></span>
6304                                <span id="cartitemstext">ôøéèéí áòâìä</span>
6305                                <span id="carttotaltext">ñä"ë</span>
6306                                <span id="cartpricetext">¤<span id="cartPrice"></span></span>
6307                        </p>
6308                        <p id="cartEmptyTR" >
6309                            <span>àéï îåöøéí áòâìä&nbsp;</span>
6310                            <span id="cartQuantityTR"></span>
6311                        </p>
6312        		   </div>
6313             </div>
6314        </div><!--[ end_smallcart_39 ]--><!--[ start_searchbox_38 ]-->
6315                            <div class=" designbox sidebar_searchbox"  id="designbox_38"  >
6316
6317                           
6318    <div class="block searchbox grid_4" >
6319        
6320            <div class="title"><strong><span>
6321            çéôåù áàúø</span></strong></div>
6322        
6323        <div class="content ui-widget">
6324    
6325          
6325<script type="text/javascript">
6326              
6327             
6328              $( document ).ready(function()    
6329              {
6330                  
6331                  
6332
6333                 $("#right_srch_str").keydown(function(event)
6334                 {
6335                    if(event.keyCode == 13 && search_form_submited == false ) 
6336                    {
6337                        event.preventDefault();       
6338                        submitsearchform();
6339                        return false;
6340                    }
6341                 });
6342
6343                  $("#right_srch_str").autocomplete
6344                  ({
6345                  delay: 700 ,
6346                  minLength: 3,
6347                  appendTo:$("#right_srch_str").parent(),
6348                  select: function(event, ui) 
6349              {       
6350                          if (ui.item.itemid == "category")
6351              {
6352                              document.location = 'https://www.medicon.co.il/' + ui.item.url ;
6353              }
6354              else if (ui.item.itemid == "")
6355              {
6356                              submitsearchform();
6357                              return false;
6358              }
6359              else
6360              {
6361                              
6362                                  document.location = 'https://www.medicon.co.il/product.asp?pid='+ui.item.itemid;
6363                              
6364              }
6365              },
6366                  source: function(request, response)
6367              {
6368                   
6369                  
6370                              $.ajax(
6371                                      {
6372                              url: "/autocompletexml.asp?term=" + encodeURIComponent(request.term),
6373                              dataType: "xml",
6374                              success: function(xmlResponse)
6375                          {
6376                                              var data = $("Item", xmlResponse).map(function()
6377                          {
6378                                              return {
6379                              label: $("Name", this).text(),
6380                              value: $("Name", this).text(),
6381                              id: $("Ident", this).text(),
6382                              itemid: $("ItemId", this).text(),
6383                              image: $("Image1", this).text(),
6384                              url : $("Url", this).text(),
6385                              image_name:$("Image_name", this).text()
6386                          };
6387                          });
6388                                              response(data);
6389                          }
6390                          });
6391                     
6392              }
6393              }).data("autocomplete")._renderItem = function(ul, item)
6394              {
6395                    if (item.image == '1')
6396                        { img = '<span class="item-icon"><span><img align=absmiddle src=/images/itempics/' + item.image_name + '_small50.jpg></span></span>'; }
6397                    else
6398                        { img = '';}
6399
6400                    if (item.url != '')
6401                        {
6402                            item_class = 'with_url';
6403                        }
6404                    else
6405                        {
6406                            item_class = '';
6407                        }
6408                          return $('<li class="ui-menu-item-with-icon ' + item_class + '  "></li>')
6409                              .data("item.autocomplete", item)
6410                              .append('<a>' + img + '<span class="item-name">' + item.label + '</span></a>')
6411                              .appendTo(ul);
6412              };
6413
6414                  
6415                        
6416                  $.ui.autocomplete.prototype._renderMenu = function(ul, items) {
6417                      var self = this;
6418                      $.each(items, function(index, item)
6419              {
6420                          if (index < 8) // here we define how many results to show
6421              { self._renderItem(ul, item); }
6422              });
6423              }
6424              });
6425              
6426
6427
6428                  function send_search_event (formObj)
6429              {     
6430                     
6431                      
6432              }
6433
6434                        function submitsearchbuttonform(obj){
6435                            search_form_submited = true;
6436                            var submitButton = $(obj).find("button[type='submit']");
6437                            // Disable the submit button
6438                            submitButton.prop("disabled", true);
6439                            return true;
6440                        }
6441
6442                  function checkSrchFormSP(formObj)
6443                  {
6444                      if ( $(formObj).find("select[name=mfield]").length > 0 )
6445                      {
6446                          var mFLDs ='';
6447                          $(formObj).find("select[name=mfield]").each(function()
6448                          {
6449                              if ( $(this).val() != '' )
6450                              {
6451                                  mFLDs = mFLDs + $(this).val() + "-";
6452                              }
6453                          });
6454                          $(formObj).find("input[name=mFLDs]").val(mFLDs);
6455                      }
6456                     
6457                     var qmanufact = $(formObj).find("select[name=qmanufact]").val();
6458                     var qsearch   = $(formObj).find("input[name=Qsearch]").val();
6459
6460                      var DefaultStr = 'äëðñ îéìåú çéôåù';
6461                      if (  qsearch.length > 1  || qmanufact != "" )
6462                      {
6463                          if (DefaultStr == qsearch )
6464                          {delText(DefaultStr);}
6465
6466                          if ( qsearch.length > 1 || qmanufact != "")
6467                          {
6468                              formObj.key.value=$("#userkey").attr("userkey");
6469                              send_search_event (formObj);
6470                              return submitsearchbuttonform(formObj);
6471                              //return false;
6472                          }
6473                          else
6474                          {
6475
6476                              if ( $(formObj).find("select[name=Cat2Cat1ID]").length > 0 )
6477                              {
6478                                  if ($(formObj).find("select[name=Cat2Cat1ID]").val() != '')
6479                                  {
6480                                      send_search_event (formObj);
6481                                       return submitsearchbuttonform(formObj);
6482                                      //return false;
6483                                  }
6484                              }
6485
6486                              if ( $(formObj).find("input[name=mFLDs]").length > 0 )
6487                              {
6488                                  if ($(formObj).find("input[name=mFLDs]").val() != '')
6489                                  {
6490                                      send_search_event (formObj);
6491                                      return submitsearchbuttonform(formObj);
6492                                      //return false;
6493                                  }
6494                              }
6495
6496                              return false;
6497                          }
6498                      }
6499                      else
6500                      {
6501
6502                          if ( $(formObj).find("select[name=Cat2Cat1ID]").length > 0 )
6503                          {
6504                              if ($(formObj).find("select[name=Cat2Cat1ID]").val() != '')
6505                              {
6506                                  send_search_event (formObj);
6507                                   return submitsearchbuttonform(formObj);
6508                                  //return false;
6509                              }
6510                          }
6511
6512                          if ( $(formObj).find("input[name=mFLDs]").length > 0 )
6513                          {
6514                              if ($(formObj).find("input[name=mFLDs]").val() != '')
6515                              {
6516                                  send_search_event (formObj);
6517                                   return submitsearchbuttonform(formObj);
6518                                  //return false;
6519                              }
6520                          }
6521
6522                          return false;
6523                      }
6524                  }
6525
6526              function delText(Text,formObj) {
6527
6528                  if (formObj.Qsearch.value == Text) {
6529                      formObj.Qsearch.value = '';
6530                  }
6531              }
6532              
6533              function checkFormChrSP(formObj)
6534              {
6535                  if (formObj == 13)
6536                  {
6537                     
6538                     
6539                     // $( "#right_srch_str" ).autocomplete( "destroy" );
6540                     //submitsearchform();
6541                      return false;
6542                  }
6543              }
6544
6545              function showtext(Text,formObj) {
6546                  if (formObj.Qsearch.value == '')
6547                  { formObj.Qsearch.value = Text; }
6548              }
6549          </script>
6549
6550    
6551              <form action="https://www.medicon.co.il/items.asp" method="get" name="SearchFrm" onsubmit="return checkSrchFormSP(this);">
6552                  <input type="hidden" name="IsPostback" value="true"/>
6553                  <fieldset>
6554                    <div class="">
6555                    
6556                          <label for="right_srch_str">çôù:</label>
6557                          
6558                                  <input type="text"  dir="rtl" name="Qsearch" placeholder="äëðñ îéìåú çéôåù" class="text" id="right_srch_str"  value="" />
6559                                  <label for='right_srch_manf_slct'>áçø éöøï:</label><select name='qmanufact' id='right_srch_manf_slct'><option value=''>ëì äéöøðéí </option><option  value='18'>Amazon</option><option  value='27'>Anker</option><option  value='9'>Barnes&Noble</option><option  value='17'>Cine</option><option  value='26'>Fintie</option><option  value='23'>GP</option><option  value='24'>Kobo</option><option  value='14'>Onyx international Inc.</option><option  value='8'>Pocketbook</option><option  value='25'>ShenZhen Boyue Technology</option> </select> 
6560                                       <input type="hidden" name="stype" value="M"/>
6561                                        
6562                                       <button class="button btn-primary" title="çôù" type="submit"><span><span>çôù</span></span></button>
6563                                </fieldset>
6564                                <input type="hidden" value="s" name="key">
6565                            
6566                      </form>
6567                </div>
6568             </div>
6569         </div><!--[ end_searchbox_38 ]--><!--[ start_categories_37 ]-->
6570                            <div class=" designbox sidebar_categories"  id="designbox_37"  >
6571
6572                           
6573
6574       <div class="block accordion categories grid_4">
6575         
6576         <div class="title "><strong><span>
6577         ÷èìåâ îåöøéí
6578         </span></strong></div>
6579         
6580         <div class="content ">
6581
6582
6583    	                 
6584                        
6585                           <ul class="menu ">
6586	                       
6587	                        
6588                                                  <li class="parent current first  li-0" > 
6589                                                     
6590                                                        <a class="Catname" href="/items~2.htm" >
6591                                                            
6592                                                            <span>÷åøàé ñôøéí àì÷èøåðéí Pocketbook</span></a>
6593                                                    
6594                                                </li>
6595                                                
6596                                                  <li class="parent  li-1" > 
6597                                                     
6598                                                        <a class="Catname" href="/items~11.htm" >
6599                                                            
6600                                                            <span>÷åøàé ñôøéí àì÷èøåðé Kobo</span></a>
6601                                                    
6602                                                </li>
6603                                                
6604                                                  <li class="parent  li-2" > 
6605                                                     
6606                                                        <a class="Catname" href="/items~6.htm" >
6607                                                            
6608                                                            <span>÷åøàé ñôøéí àì÷èøåðéí MeeBook</span></a>
6609                                                    
6610                                                </li>
6611                                                
6612                                                  <li class="parent  li-3" > 
6613                                                     
6614                                                        <a class="Catname" href="/items~9.htm" >
6615                                                            
6616                                                            <span>÷åøàé ñôøéí àì÷èøåðéí Amazon Kindle</span></a>
6617                                                    
6618                                                </li>
6619                                                
6620                                                  <li class="parent  li-4" > 
6621                                                     
6622                                                        <a class="Catname" href="/items~8.htm" >
6623                                                            
6624                                                            <span>àáéæøéí</span></a>
6625                                                    
6626                                                </li>
6627                                                
6628                                                  <li class="parent  li-5" > 
6629                                                     
6630                                                        <a class="Catname" href="/items~3.htm" >
6631                                                            
6632                                                            <span>ðøúé÷éí ì÷åøàé ñôøéí àì÷èøåðéí</span></a>
6633                                                    <ul><li class='  first '><a href='/items~3~10.htm'>ðøúé÷éí ì÷åøàé ñôøéí Likebook Boyue</a></li><li class=' '><a href='/items~3~1.htm'>ðøúé÷éí ì÷åøàé ñôøéí Amazon</a></li><li class=' '><a href='/items~3~4.htm'>ðøúé÷éí ì÷åøàé ñôøéí Pocketbook</a></li><li class=' '><a href='/items~3~8.htm'>ðøúé÷éí ì÷åøàé ñôøéí Kobo</a></li><li class=' '><a href='/items~3~9.htm'>ðøúé÷éí ì÷åøàé ñôøéí Onyx</a></li></ul>
6634                                                </li>
6635                                                
6636                                                  <li class="parent  li-6" > 
6637                                                     
6638                                                        <a class="Catname" href="/items~10.htm" >
6639                                                            
6640                                                            <span>÷åøàé ñôøéí àì÷èøåðéí Onyx Boox</span></a>
6641                                                    
6642                                                </li>
6643                                                
6644                                                  <li class="parent  li-7" > 
6645                                                     
6646                                                        <a class="Catname" href="/items~12.htm" >
6647                                                            
6648                                                            <span>÷åøàé ñôøéí àì÷èøåðéí (Likebook (Boyue</span></a>
6649                                                    
6650                                                </li>
6651                                                 </ul> 
6652
6653	     </div>
6654       </div>
6655
6656</div><!--[ end_categories_37 ]--><!--[ start_spacielitems_10 ]-->
6657                            <div class=" designbox sidebar_spacielitems"  id="designbox_10"  >
6658
6659                           
6660
6661   <div class="block spacial-items grid_4" tabindex="0">
6662
6663
6664                        
6665                                <div class="title"><strong><span>îáöòéí îéåçãéí</span></strong>
6666                               </div>
6667                         
6668
6669
6670
6671
6672                          <div class="content jcroller">
6673                          <div class="spaciels-wrap">
6674
6675
6676  
6677                 <div class="special-box" id="spaciel-items-v1-0" >
6678
6679
6680
6681                   
6682                                        <div class="item-name"><a href="https://www.medicon.co.il/pl_product~270~2~0.htm">÷åøà ñôøéí àì÷èøåðé PocketBook ERA Lite PB710 </a></div>
6683                                    
6684                                     <div class="imagediv"  ><a class="image"  href="https://www.medicon.co.il/pl_product~270~2~0.htm"><span></span><img alt="÷åøà ñôøéí àì÷èøåðé Pocketbook Era  øåñéú, òáøéú, àðâìéú áîìàé îééãé" title="÷åøà ñôøéí àì÷èøåðé Pocketbook Era  øåñéú, òáøéú, àðâìéú áîìàé îééãé" src='/images/itempics/270_200720220205431_small160.jpg' /></a>
6685                                      
6686                                     </div>
6687                                 
6688                                        <strike class="reg-price">
6689                                            <span class="name">øâéì:</span>
6690                                            <span><em>¤</em>930.00</span>
6691                                            
6692                                        </strike>
6693                                    
6694                                             <div class="sale-price">
6695                                                <span class="name">îáöò:</span>
6696                                                <span><em>¤</em><span class="priceholder" id="spacial_total270" price="859.00">859.00</span></span>
6697                                                
6698                                             </div>
6699                                    
6700                                            <div class="buttons-box">
6701                                                  <a class="more-info btn-link btn-secondary" href="https://www.medicon.co.il/pl_product~270~2~0.htm" ><span>ìîéãò ðåñó</span></a>
6702                                               
6703                                                        <a class="add-to-cart btn-link btn-link  btn-primary" href="#" onclick="s_addme_cart('270',$(this).parents('li').find('input[name=quantity]').val()); return false; "><span>÷ðä òëùéå</span></a>
6704                                                    
6705                                              
6706                                            </div>
6707                                      
6708                </div>
6709              
6710                 <div class="special-box" id="spaciel-items-v1-1" >
6711
6712
6713
6714                   
6715                                        <div class="item-name"><a href="https://www.medicon.co.il/pl_product~288~2~0.htm">÷åøà ñôøéí àì÷èøåðé PocketBook InkPad 4 PB743-G</a></div>
6716                                    
6717                                     <div class="imagediv"  ><a class="image"  href="https://www.medicon.co.il/pl_product~288~2~0.htm"><span></span><img alt="÷åøà ñôøéí àì÷èøåðé  Pocketbook InkPad 4" title="÷åøà ñôøéí àì÷èøåðé  Pocketbook InkPad 4" src='/images/itempics/288_23072023121635_small160.jpg' /></a>
6718                                      
6719                                     </div>
6720                                 
6721                                        <strike class="reg-price">
6722                                            <span class="name">øâéì:</span>
6723                                            <span><em>¤</em>1,349.00</span>
6724                                            
6725                                        </strike>
6726                                    
6727                                             <div class="sale-price">
6728                                                <span class="name">îáöò:</span>
6729                                                <span><em>¤</em><span class="priceholder" id="spacial_total288" price="1159.00">1,159.00</span></span>
6730                                                
6731                                             </div>
6732                                    
6733                                            <div class="buttons-box">
6734                                                  <a class="more-info btn-link btn-secondary" href="https://www.medicon.co.il/pl_product~288~2~0.htm" ><span>ìîéãò ðåñó</span></a>
6735                                               
6736                                                        <a class="add-to-cart btn-link btn-link  btn-primary" href="#" onclick="s_addme_cart('288',$(this).parents('li').find('input[name=quantity]').val()); return false; "><span>÷ðä òëùéå</span></a>
6737                                                    
6738                                              
6739                                            </div>
6740                                      
6741                </div>
6742              
6743                 <div class="special-box" id="spaciel-items-v1-2" >
6744
6745
6746
6747                   
6748                                        <div class="item-name"><a href="https://www.medicon.co.il/pl_product~307~2~0.htm">÷åøà ñôøéí àì÷èøåðé PocketBook InkPad Color 3 PB743-K3-WW àæì áîìàé</a></div>
6749                                    
6750                                     <div class="imagediv"  ><a class="image"  href="https://www.medicon.co.il/pl_product~307~2~0.htm"><span></span><img alt="÷åøà ñôøéí àì÷èøåðé PocketBook InkPad Color3  " title="÷åøà ñôøéí àì÷èøåðé PocketBook InkPad Color3  " src='/images/itempics/307_13112023165622_small160.jpg' /></a>
6751                                      
6752                                     </div>
6753                                 
6754                                        <strike class="reg-price">
6755                                            <span class="name">øâéì:</span>
6756                                            <span><em>¤</em>1,399.00</span>
6757                                            
6758                                        </strike>
6759                                    
6760                                             <div class="sale-price">
6761                                                <span class="name">îáöò:</span>
6762                                                <span><em>¤</em><span class="priceholder" id="spacial_total307" price="1259.00">1,259.00</span></span>
6763                                                
6764                                             </div>
6765                                    
6766                                            <div class="buttons-box">
6767                                                  <a class="more-info btn-link btn-secondary" href="https://www.medicon.co.il/pl_product~307~2~0.htm" ><span>ìîéãò ðåñó</span></a>
6768                                               
6769                                                        <a class="add-to-cart btn-link btn-link  btn-primary" href="#" onclick="s_addme_cart('307',$(this).parents('li').find('input[name=quantity]').val()); return false; "><span>÷ðä òëùéå</span></a>
6770                                                    
6771                                              
6772                                            </div>
6773                                      
6774                </div>
6775              
6776        </div>
6777        </div>
6778         </div>
6779
6780         </div><!--[ end_spacielitems_10 ]--><!--[ start_sidebar_banner_general_17 ]-->
6781                            <div class=" designbox sidebar_sidebar_banner_general"  id="designbox_17"  >
6782
6783                           
6784                           <div class="sidebar_banner_general banner-div grid_4"  ></div>
6785                        </div><!--[ end_sidebar_banner_general_17 ]--><!--[ start_sidebar_banner_categories_16 ]-->
6786                            <div class=" designbox sidebar_sidebar_banner_categories"  id="designbox_16"  >
6787
6788                           
6789                             <div class="sidebar_banner_categories banner-div grid_4" ></div>
6790                        </div><!--[ end_sidebar_banner_categories_16 ]--><!--[ start_sidebar_banner_product_18 ]-->
6791                            <div class=" designbox sidebar_sidebar_banner_product"  id="designbox_18"  >
6792
6793                           </div><!--[ end_sidebar_banner_product_18 ]--><!--[ start_sidebar_banner_homepage_19 ]-->
6794                            <div class=" designbox sidebar_sidebar_banner_homepage"  id="designbox_19"  >
6795
6796                           </div><!--[ end_sidebar_banner_homepage_19 ]--><!--[ start_newsletter_8 ]-->
6797                            <div class=" designbox sidebar_newsletter"  id="designbox_8"  >
6798
6799                           
6800               <div class="block newsletter grid_4" >
6801                     
6802                   <div class="title">
6803                       <strong>
6804                           <span>
6805                            øùéîú úôåöä
6806                           </span>
6807                       </strong>
6808                   </div>
6809                   
6810                   <div class="content">
6811                       <form action="https://www.medicon.co.il/club.asp?IsNewsleter=1" method="post" name="NewsLatterFrm" class="NewsLatterFrm" id="NewsLatterFrm" >
6812                         <input type="hidden" name="IsPostback" value="true"/>
6813                            
6814                             <h3 class="subtitle">äåñéôå àåúé ìøùéîú úôåöä</h3>
6815                           
6816
6817                              <div class="status"></div>
6818                           
6819                              <fieldset >
6820                                    
6821                                    <p class='email_p'>
6822                                        
6823                                        <label for="email" >äëðñ ëúåáú àé îééì:</label>
6824                                        
6825                                        <input type="text" name="Email" class="text" id="email" maxlength="45" dir="ltr" value="" aria-label="email"  />
6826                                        
6827                                    </p>
6828                                    
6829  
6830                                    
6831                                        <input type="hidden" name="AuthCode" value="1" />
6832                                        <input type="hidden" name="CapachaAnswer" value="1" />
6833                                    <button class='checkNewsEmail btn-primary button' title="äøùí" type="submit"><span><span>äøùí</span></span></button>
6834                                  <div class='privacy_p custom-control  custom-checkbox mt-1 mr-sm-3  '>
6835                                    <input type="checkbox" class="custom-control-input" name="privacy" id='privacy_8' >
6836                                     
6837                                                    <label class="custom-control-label " for='privacy_8' style="font-size:14px">àðé îñëéí/ä ìúðàéí, ääâáìåú, ì-îãéðéåú ôøèéåú åîàùø/ú éöéøú ÷ùø îàúø medicon.co.il.</label> 
6838                                     
6839                                  
6840                                </div>
6841                            
6842                                  
6843                              </fieldset>
6844                       </form>
6845                  </div>
6846             </div>
6847  
6848        </div><!--[ end_newsletter_8 ]--><!--[ start_populartags_9 ]-->
6849                            <div class=" designbox sidebar_populartags"  id="designbox_9"  >
6850
6851                           </div><!--[ end_populartags_9 ]--><!--[ start_contactform_11 ]-->
6852                            <div class=" designbox sidebar_contactform"  id="designbox_11"  >
6853
6854                           
6855            <div class="block contactform grid_4" >
6856                        
6857                            
6858                                    <div class="title"><strong><span>èåôñ öåø ÷ùø</span></strong>
6859                                </div>
6860                            
6861
6862                          <form name="contctfrm" id="contctfrm_11" method="post" action="https://www.medicon.co.il/contact.asp" onsubmit="return  
6862checkcontactform();">
6863                          <input type="hidden" name="IsPostback" value="true"/>
6864                          <div class="content">
6865
6866                          <input type="hidden" name="formFields" value="ContactPerson,Subject,Phone,content,email" />
6867                            
6868                         
6869                            <p id="cf_fullname">
6870                               
6871                                         <label for="ContactPerson"><em>*</em>ùí:</label>
6872                                
6873                            <input type="text" class="text" aria-label="ùí" dir="rtl"  name="ContactPerson" id="ContactPerson" value="" />
6874                          </p>
6875
6876                           
6877                            <p id="cf_phone">
6878                               
6879                                        <label for="cf_text_Phone"><em>*</em>èìôåï:</label>
6880                               
6881                              <input type="text" class="text" aria-label="èìôåï" name="Phone" id="cf_text_Phone" value=""  />
6882                          </p>
6883
6884                           
6885                              <p id="cf_email">
6886                              
6887                                <label for="cf_text_email"><em>*</em>ãåàø àì÷èøåðé:</label>
6888                              
6889                              <input type="text" class="text" aria-label="ãåàø àì÷èøåðé" name="email" id="cf_text_email" value=""   />
6890                          </p>
6891
6892                         
6893                            <p id="cf_subject">
6894                               
6895                             <label for="Subject"><em>*</em>ðåùà:</label>
6896                              
6897                            <text type="text" class="text" aria-label="ðåùà" name="Subject" id="Subject" value=""     />
6898                          </p>
6899
6900                         
6901                            <p id="cf_content">
6902                              
6903                              <label for="content">úåëï:</label>
6904                              
6905                              <textarea name="content" aria-label="úåëï" id="content" cols="" rows=""  ></textarea>
6906                          </p>
6907
6908                          
6909                                <p id="cf_CodeAuth">
6910                                   
6911                                        <label for="AuthCode"> 
6912                                         ? 3 + 8 ëîä æä<em>*</em>
6913                                          
6914                                        </label>
6915                                      
6916                                  <input type="text"  class="text" id="AuthCode" aria-label="? 3 + 8 ëîä æä" name="AuthCode" size="15" maxlength="3" dir="rtl" value=""   >
6917					          </p>
6918                               
6919 
6920                          <!--<p id="cf_newsletter">-->
6921                            
6922                              
6923                            <p id="cf_newsletter">
6924                            <input id="checkoutNewsletter" type="checkbox" name="club" aria-label="áøöåðé ì÷áì îéãò òì îåöøéí åîáöòéí áàúø" value="1" checked /> áøöåðé ì÷áì îéãò òì îåöøéí åîáöòéí áàúø
6925                          </p>
6926                              
6927                            <input type='hidden' name='ContactPerson_HE' value='ùí îìà'> 
6928                            <input type='hidden' name='Phone_HE'  value='èìôåï' > 
6929                            <input type='hidden' name='email_HE'  value='ãåàø àì÷èøåðé' > 
6930                            <input type='hidden' name='Subject_HE'  value='ðåùà' > 
6931                            <input type='hidden' name='content_HE' value='úåëï' > 
6932                          
6933                          
6934                            <button class="button btn-primary btn" aria-label="ùìç"  title="ùìç" type="submit"><span><span>ùìç</span></span></button>
6935                         
6936     </div>
6937     </form>
6938
6939      </div>
6940        
6941    
6941<script type="text/javascript">
6942        
6943         
6944    function ContactCheckEmail(CurMail)
6945        {
6946		if (CurMail.length != 0)
6947        {
6948				var i=CurMail.indexOf("@")
6949				var i2=CurMail.indexOf("@",i+1)
6950				var j=CurMail.indexOf(".",i)
6951				var k=CurMail.indexOf(",")
6952				var kk=CurMail.indexOf(" ")
6953				var jj=CurMail.lastIndexOf(".") + 1
6954				var leng = CurMail.length
6955
6956			if ((i>0)&&(j>(i+1))&&(k==-1)&&(kk==-1)&&(leng-jj >= 2)&&(leng-jj <= 3)&&(i2==-1))
6957        {
6958				return true;
6959        }
6960        else
6961        {
6962				return false;
6963        }
6964        }
6965        else{
6966			return false;
6967        }
6968        }
6969
6970            function checkcontactform()
6971            {
6972
6973                if (document.contctfrm.ContactPerson.value == "")
6974                {
6975                    alert("äëðñ ùí îìà");
6976                    document.contctfrm.ContactPerson.focus();
6977                    return false;
6978                }
6979
6980
6981                if (document.contctfrm.Phone.value == "")
6982                {
6983                    alert("ìà äåæï èìôåï");
6984                    document.contctfrm.Phone.focus();
6985                    return false;
6986                }
6987                if (document.contctfrm.email.value == "")
6988                {
6989                    alert("ëúåáú äîééì ùâåéä");
6990                    document.contctfrm.email.focus();
6991                    return false;
6992                }
6993
6994                if(  !ContactCheckEmail(document.contctfrm.email.value) )
6995                {
6996                    alert("ëúåáú äîééì ùâåéä");
6997                    document.contctfrm.email.focus();
6998                    return false;
6999                }
7000
7001                
7002                      if (document.contctfrm.AuthCode.value == "")
7003                {
7004                    alert("ôúåø ðëåï àú äúøâéì");
7005                    document.contctfrm.AuthCode.focus();
7006                    return false;
7007                }
7008
7009                
7010
7011
7012
7013                 if (document.contctfrm.Subject.value == "")
7014                {
7015                    alert("àðà îìà ðåùà");
7016                    document.contctfrm.Subject.focus();
7017                    return false;
7018                }
7019            
7020                
7021
7022
7023   return true;
7024        }
7025    </script>
7025
7026</div><!--[ end_contactform_11 ]-->     
7027     </div>
7028 </div>
7029 <!--[ SideBar end ]-->
7030
7031</tr>
7032</table>
7033	</td>
7034</tr>
7035</table>
7036
7037
7038<!-- Cookie Consent Check - Add this to every page -->
7039
7040<script>
7041// Check if cookie consent exists on page load
7042(function() {
7043    function getCookie(name) {
7044        var nameEQ = name + "=";
7045        var ca = document.cookie.split(';');
7046        for(var i = 0; i < ca.length; i++) {
7047            var c = ca[i];
7048            while (c.charAt(0) == ' ') c = c.substring(1, c.length);
7049            if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
7050        }
7051        return null;
7052    }
7053    
7054    // Check if consent cookie exists
7055
7056    if (!getCookie('cookieconsentapproved')) {
7057
7058        // Show popup if no consent
7059        window.addEventListener('load', function() {
7060            var popup = document.getElementById('cookie-consent-popup');
7061            if (popup) {
7062                popup.style.display = 'block';
7063                // Add animation class after a small delay
7064                setTimeout(function() {
7065                    popup.classList.add('show');
7066                }, 100);
7067            }
7068        });
7069    }
7070
7071    // Pages restored from the back/forward cache (mostly mobile) keep the DOM
7072    // snapshot with the popup still visible even after consent was given on
7073    // another page - scripts do not re-run on restore, so re-check the cookie
7074    // and hide the stale popup on pageshow / tab return
7075    function syncCookieConsentPopup() {
7076        if (getCookie('cookieconsentapproved')) {
7077            var popup = document.getElementById('cookie-consent-popup');
7078            if (popup) {
7079                popup.classList.remove('show');
7080                popup.style.display = 'none';
7081            }
7082        }
7083    }
7084    window.addEventListener('pageshow', syncCookieConsentPopup);
7085    document.addEventListener('visibilitychange', function() {
7086        if (!document.hidden) syncCookieConsentPopup();
7087    });
7088})();
7089</script>
7089
7090   
7091          </td>
7092        </tr>
7093      </table>
7094        
7095
7096    </div>
7097      </div>
7098 
7099  </div>
7100</div>
7101   
7102 
7103
7104   <!--[ content end ]-->
7105
7106     
7107            <!--[ footer start ]-->
7108            
7109            <div id="footer">
7110                  
7111                <div class="footer_wrap">
7112                  <div class="container_16 " >
7113                      
7114                      <!--[Dynamic Footer Modules]-->
7115                      <!--[ start_manufactoreslogos_1 ]-->
7116                            <div class=" designbox footer_manufactoreslogos"  id="designbox_1"  >
7117
7118                           
7119                        <div class="manufactores_logos  block manufactores logos width-920 jcarousel " >
7120                        <div class="sr-only"><span>éöøðéí</span></div>
7121                      
7122                            <div class="content">
7123                                        
7124                                        <ul class="">
7125                                    
7126                                        <li class="">
7127                                        
7128                                        
7129
7130                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=27"><span></span>
7131                                        
7132                                       
7133                                                
7134                                              
7135                                        </a>
7136                                        <span class="name">Anker</span>
7137                                        
7138                                          
7139                                        
7140                                            </li>
7141                                        
7142                                        <li class="">
7143                                        
7144                                        
7145
7146                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=26"><span></span>
7147                                        
7148                                       
7149                                                
7150                                              
7151                                        </a>
7152                                        <span class="name">Fintie</span>
7153                                        
7154                                          
7155                                        
7156                                            </li>
7157                                        
7158                                        <li class="">
7159                                        
7160                                        
7161
7162                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=25"><span></span>
7163                                        
7164                                       
7165                                                
7166                                              
7167                                        </a>
7168                                        <span class="name">ShenZhen Boyue Technology</span>
7169                                        
7170                                          
7171                                        
7172                                            </li>
7173                                        
7174                                        <li class="">
7175                                        
7176                                        
7177
7178                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=18"><span></span>
7179                                        
7180                                       
7181                                                <img alt='Amazon' src='/images/itempics/manufact_18.jpg?20170312111616' >
7182                                              
7183                                        </a>
7184                                        <span class="name">Amazon</span>
7185                                        
7186                                          
7187                                        
7188                                            </li>
7189                                        
7190                                        <li class="">
7191                                        
7192                                        
7193
7194                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=8"><span></span>
7195                                        
7196                                       
7197                                                <img alt='Pocketbook' src='/images/itempics/manufact_8.jpg?20170312111616' >
7198                                              
7199                                        </a>
7200                                        <span class="name">Pocketbook</span>
7201                                        
7202                                          
7203                                        
7204                                            </li>
7205                                        
7206                                        <li class="">
7207                                        
7208                                        
7209
7210                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=14"><span></span>
7211                                        
7212                                       
7213                                                <img alt='Onyx international Inc.' src='/images/itempics/manufact_14.jpg?20170312111616' >
7214                                              
7215                                        </a>
7216                                        <span class="name">Onyx international Inc.</span>
7217                                        
7218                                          
7219                                        
7220                                            </li>
7221                                        
7222                                        <li class="">
7223                                        
7224                                        
7225
7226                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=9"><span></span>
7227                                        
7228                                       
7229                                                <img alt='Barnes&Noble' src='/images/itempics/manufact_9.jpg?20170312111616' >
7230                                              
7231                                        </a>
7232                                        <span class="name">Barnes&Noble</span>
7233                                        
7234                                          
7235                                        
7236                                            </li>
7237                                        
7238                                        <li class="">
7239                                        
7240                                        
7241
7242                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=17"><span></span>
7243                                        
7244                                       
7245                                                
7246                                              
7247                                        </a>
7248                                        <span class="name">Cine</span>
7249                                        
7250                                          
7251                                        
7252                                            </li>
7253                                        
7254                                        <li class="">
7255                                        
7256                                        
7257
7258                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=23"><span></span>
7259                                        
7260                                       
7261                                                
7262                                              
7263                                        </a>
7264                                        <span class="name">GP</span>
7265                                        
7266                                          
7267                                        
7268                                            </li>
7269                                        
7270                                        <li class="">
7271                                        
7272                                        
7273
7274                                           <a class="image"  href="/items.asp?qsearch=&amp;qmanufact=24"><span></span>
7275                                        
7276                                       
7277                                                
7278                                              
7279                                        </a>
7280                                        <span class="name">Kobo</span>
7281                                        
7282                                          
7283                                        
7284                                            </li>
7285                                        
7286                                        </ul>
7287                                    
7288                                    </div>
7289                                    </div>
7290                                </div><!--[ end_manufactoreslogos_1 ]--><!--[ start_footer_banner1_69 ]-->
7291                            <div class=" designbox footer_footer_banner1"  id="designbox_69"  >
7292
7293                           
7294                            <div class="footer_banner1 banner-div"></div>
7295                            </div><!--[ end_footer_banner1_69 ]--><!--[ start_footer_banner2_70 ]-->
7296                            <div class=" designbox footer_footer_banner2"  id="designbox_70"  >
7297
7298                           
7299                        <div class="footer_banner2 banner-div"></div>
7300                        </div><!--[ end_footer_banner2_70 ]--><!--[ start_footer_banner3_71 ]-->
7301                            <div class=" designbox footer_footer_banner3"  id="designbox_71"  >
7302
7303                           
7304                            <div class="footer_banner3 banner-div"></div>
7305                        </div><!--[ end_footer_banner3_71 ]--><!--[ start_footer_banner4_72 ]-->
7306                            <div class=" designbox footer_footer_banner4"  id="designbox_72"  >
7307
7308                           
7309                             <div class="footer_banner4 banner-div"></div>
7310                         </div><!--[ end_footer_banner4_72 ]-->
7311                    </div>       
7312                    </div>
7313                  
7314            </div>
7315            
7316            <!--[ footer end ]--> 
7317     
7318     
7319         <form name="s_addme" method="post" action="/CartLogic.asp">
7320	            <input type="hidden" name="pid"/>
7321	            <input type="hidden" name="pip_str"/>
7322	            <input type="hidden" name="pip_prices"/>
7323	            <input type="hidden" name="pip_ids"/>
7324	            <input type="hidden" name="quan"/>
7325	            <input type="hidden" name="M" value=""/>
7326	            <input type="hidden" name="RequestGiftInfo" />
7327         </form>
7328     
7329      
7330<div>
7331  <div>
7332
7333<div id="eshop-footer" class="">
7334<div id="eshop-footer-wrap">
7335<div id="eshop-footer-pages"><table></table></div>
7336
7337
7338
7339<div id="eshop-footer-credit">
7340
7341	    <span class="powered-by-holder"><a class="powered-by-link" href="https://www.e-shop.co.il" rel="nofollow" target="_blank">
7342       
7343        <img src="https://www.medicon.co.il/images/e-shop-powerd-by-black.png" height="33" width="201" alt="àéùåô çðåú åéøèåàìéú" />
7344        
7345        </a></span>
7346	</div>
7347 <div id="eshop-footer-text"></div>
7348</div>
7349</div>
7350
7351
7352<form name="quicksearch" action="https://www.medicon.co.il/search.asp" method="get">
7353	<input type='hidden' name='IsPostback' value='true'/>
7354    <input type="hidden" name="qsearch"/>
7355	<input type="hidden" name="qmanufact"/>
7356</form>
7357
7358<script type="text/javascript">
7359<!--
7360self.name = 'hps';
7361
7362try
7363{
7364if (ie||document.getElementById||document.layers)
7365     {
7366     
7367     }
7368
7369}
7370catch(err){}
7371
7372    
7373
7374
7375//form tags to omit in NS6+:
7376var omitformtags=["input", "textarea", "select"]
7377
7378omitformtags=omitformtags.join("|")
7379
7380function disableselect(e){
7381if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
7382return false
7383}
7384
7385function reEnable(){
7386return true
7387}
7388
7389if (typeof document.onselectstart!="undefined")
7390document.onselectstart=new Function ("return false")
7391else{
7392document.onmousedown=disableselect
7393document.onmouseup=reEnable
7394}
7395
7396//Disable right click script III- By Renigade ([email protected])
7397//For full source code, visit http://www.dynamicdrive.com
7398
7399var message="";
7400///////////////////////////////////
7401function clickIE() {if (document.all) {(message);return false;}}
7402function clickNS(e) {if
7403(document.layers||(document.getElementById&&!document.all)) {
7404if (e.which==2||e.which==3) {(message);return false;}}}
7405if (document.layers)
7406{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
7407else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
7408
7409document.oncontextmenu=new Function("return false")
7410
7411// -->
7412</script>
7412
7413
7414 </div></div>
7415
7416 
7417
7418
7419</div>
7420</div>
7421
7422
7423
7424<div id="userkey" userkey="key135068255662916"></div>
7425
7426    
7427 
7427<script>
7428 function fireAnalyticsEvents() {
7429    
7430            
7431    }
7432
7433   $(window).on("load" , function ()
7434    { 
7435      if (cookieconsent == true) {
7436        fireAnalyticsEvents();
7437      }
7438     }); 
7439 </script>
7439
7440
7441 
7442
7443
7444 
7444<script>
7445  $("#mobile_footer_newsletter button").detach().appendTo("#mobile_footer_newsletter .email_p");
7446 </script>
7446
7447
7448        
7448<script type="text/javascript" defer="defer">
7449            (function() {
7450                var scr = document.createElement('script');
7451                if ('https:' == document.location.protocol) {
7452                    scr.src = '/ajaxUtil/logstat.asp?c1=2&c2=0&pid=&aid=0&gsid=&sct=/products.asp&aff=';
7453                } else {
7454                    scr.src = '/ajaxUtil/logstat.asp?c1=2&c2=0&pid=&aid=0&gsid=&sct=/products.asp&aff=';
7455                }
7456                scr.type = 'text/javascript';
7457                //scr.type = 'text/html';
7458                scr.async = true;
7459                scr.setAttribute('defer', 'defer');
7460                document.getElementsByTagName('head')[0].appendChild(scr);
7461            } ());
7462        </script>
7462
7463
7464    
7464<script type="text/javascript" defer="defer">
7465
7466        (function() {
7467            var scr = document.createElement('script');
7468            if ('https:' == document.location.protocol) {
7469                scr.src = '/statsjs.asp?v=4.7.13';
7470            } else {
7471                scr.src = '/statsjs.asp?v=4.7.13';
7472            }
7473            scr.type = 'text/javascript';
7474            //scr.type = 'text/html';
7475             
7476            scr.async = true;
7477            scr.setAttribute('defer', 'defer');
7478            document.getElementsByTagName('head')[0].appendChild(scr);
7479        } ());
7480
7481    </script>
7481
7482
7483    
7484            
7484<script type="text/javascript">
7485                $.get( "/siteservices.asp?service=get_popup&Cat2Cat1ID=2&Cat2ID=0&SV_SCRIPT_NAME=/products.asp&itemid=&pageid=", function( data ) {
7486                    $( "body" ).append( data );
7487                });
7488            </script>
7488
7489        
7490               
7490<script type="text/javascript">
7491                    $.get( "/siteservices.asp?service=get_campaigns&Cat2Cat1ID=2&Cat2ID=0&SV_SCRIPT_NAME=/products.asp&itemident=341&pageid=", function( data ) {
7492                        $( "body" ).append( data );
7493                    });
7494                </script>
7494
7495            
7496<script type="text/javascript">
7497    $(document).ready(function () {
7498      ShowAllCarts();
7499    });
7500
7501
7502    window.onpageshow = function(event) {
7503    if (event.persisted) {
7504        //back event
7505        ShowAllCarts();
7506
7507    }
7508
7509};
7510
7511</script>
7511
7512
7513
7514
7515 
7516 
7517</body>
7518</html>
7519 

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.